Disable default features of `chrono`

To avoid bringing `time` v0.1.x into dependency graph, see https://github.com/time-rs/time/issues/293
This commit is contained in:
messense 2023-02-09 21:23:05 +08:00
parent 5d1e2198a3
commit 2ac6006ec8
No known key found for this signature in database
GPG Key ID: BB41A8A2C716CCA9
2 changed files with 2 additions and 1 deletions

View File

@ -32,7 +32,7 @@ inventory = { version = "0.3.0", optional = true }
# crate integrations that can be added using the eponymous features # crate integrations that can be added using the eponymous features
anyhow = { version = "1.0", optional = true } anyhow = { version = "1.0", optional = true }
chrono = { version = "0.4", optional = true } chrono = { version = "0.4", default-features = false, optional = true }
eyre = { version = ">= 0.4, < 0.7", optional = true } eyre = { version = ">= 0.4, < 0.7", optional = true }
hashbrown = { version = ">= 0.9, < 0.14", optional = true } hashbrown = { version = ">= 0.9, < 0.14", optional = true }
indexmap = { version = "1.6", optional = true } indexmap = { version = "1.6", optional = true }

View File

@ -0,0 +1 @@
Disable default features of `chrono` to avoid depending on `time` v0.1.x.