mirror of
https://github.com/emilk/egui.git
synced 2026-06-26 22:53:14 -04:00
chore: disable default feature for chrono (#2993)
This commit is contained in:
committed by
GitHub
parent
b758e9dbf0
commit
7195645a1a
@@ -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",
|
||||
|
||||
@@ -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 }
|
||||
|
||||
Reference in New Issue
Block a user