Skip to content

PdfCraft: An open-source PDF reader and editor written by scratch in pure Rust

Merge PR #2731: Layers panel: Reset to Initial Visibility

aiongga447dd3db5ad
diff --cc crates/engine/Cargo.toml
index bd92d3dca,2de1b4245..f5e35088b
--- a/crates/engine/Cargo.toml
+++ b/crates/engine/Cargo.toml
@@@ -48,6 -45,8 +48,9 @@@ icu_properties = "2.3
unicode-segmentation = "1.13"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
-# Already in the graph through lopdf; used only for the local UTC offset ("today").
-chrono = { version = "0.4", default-features = false, features = ["clock"] }
+# Already in the graph through lopdf; used only for the local UTC offset ("today"). The workspace
+# entry is std-only; this target adds `clock` for `chrono::Local::now`.
+chrono = { workspace = true, features = ["clock"] }
+
+ [dev-dependencies]
+ pdfcraft-testkit = { workspace = true }