summaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2024-03-07 17:37:22 +0100
committerGitHub <noreply@github.com>2024-03-07 16:37:22 +0000
commitaace521b56a078fd73f3d76862ee5f5d49235c51 (patch)
tree38a940173166d309468f780fe53de80949ecd226 /crates
parent1fa0f2f0f025bd5b0968f6cfc4a692916f31b24b (diff)
Bump our crates (#3573)
Diffstat (limited to 'crates')
-rw-r--r--crates/typst-cli/src/world.rs2
-rw-r--r--crates/typst-pdf/Cargo.toml2
-rw-r--r--crates/typst-svg/Cargo.toml2
-rw-r--r--crates/typst/Cargo.toml2
4 files changed, 4 insertions, 4 deletions
diff --git a/crates/typst-cli/src/world.rs b/crates/typst-cli/src/world.rs
index 3c4b8be6..893b02bd 100644
--- a/crates/typst-cli/src/world.rs
+++ b/crates/typst-cli/src/world.rs
@@ -199,7 +199,7 @@ impl World for SystemWorld {
let naive = match offset {
None => now.naive_local(),
- Some(o) => now.naive_utc() + chrono::Duration::hours(o),
+ Some(o) => now.naive_utc() + chrono::Duration::try_hours(o)?,
};
Datetime::from_ymd(
diff --git a/crates/typst-pdf/Cargo.toml b/crates/typst-pdf/Cargo.toml
index dd71b61e..61b84498 100644
--- a/crates/typst-pdf/Cargo.toml
+++ b/crates/typst-pdf/Cargo.toml
@@ -23,7 +23,7 @@ typst-timing = { workspace = true }
base64 = { workspace = true }
bytemuck = { workspace = true }
comemo = { workspace = true }
-ecow = { workspace = true}
+ecow = { workspace = true }
image = { workspace = true }
miniz_oxide = { workspace = true }
once_cell = { workspace = true }
diff --git a/crates/typst-svg/Cargo.toml b/crates/typst-svg/Cargo.toml
index 163d8557..a0acff95 100644
--- a/crates/typst-svg/Cargo.toml
+++ b/crates/typst-svg/Cargo.toml
@@ -21,7 +21,7 @@ typst-macros = { workspace = true }
typst-timing = { workspace = true }
base64 = { workspace = true }
comemo = { workspace = true }
-ecow = { workspace = true}
+ecow = { workspace = true }
flate2 = { workspace = true }
ttf-parser = { workspace = true }
xmlparser = { workspace = true }
diff --git a/crates/typst/Cargo.toml b/crates/typst/Cargo.toml
index 889d41e7..f15cdc8a 100644
--- a/crates/typst/Cargo.toml
+++ b/crates/typst/Cargo.toml
@@ -26,7 +26,7 @@ chinese-number = { workspace = true }
ciborium = { workspace = true }
comemo = { workspace = true }
csv = { workspace = true }
-ecow = { workspace = true}
+ecow = { workspace = true }
fontdb = { workspace = true }
hayagriva = { workspace = true }
hypher = { workspace = true }