diff --git a/crates/egui_demo_app/Cargo.toml b/crates/egui_demo_app/Cargo.toml index 28966720..8aab70d8 100644 --- a/crates/egui_demo_app/Cargo.toml +++ b/crates/egui_demo_app/Cargo.toml @@ -29,7 +29,7 @@ wgpu = ["eframe/wgpu", "bytemuck"] [dependencies] -chrono = { version = "0.4", features = ["js-sys", "wasmbind"] } +chrono = { version = "0.4", default-features = false, features = ["js-sys", "wasmbind"] } eframe = { version = "0.21.0", path = "../eframe", default-features = false } egui = { version = "0.21.0", path = "../egui", features = [ "extra_debug_asserts", diff --git a/crates/egui_extras/Cargo.toml b/crates/egui_extras/Cargo.toml index f2cb4b1e..6ffc1d1f 100644 --- a/crates/egui_extras/Cargo.toml +++ b/crates/egui_extras/Cargo.toml @@ -44,7 +44,7 @@ serde = { version = "1", features = ["derive"] } #! ### Optional dependencies # Date operations needed for datepicker widget -chrono = { version = "0.4", optional = true } +chrono = { version = "0.4", optional = true, default-features = false, feature = ["js-sys", "wasmbind"]} ## Enable this when generating docs. document-features = { version = "0.2", optional = true }