diff --git a/Cargo.toml b/Cargo.toml index 414ec8d9..b70e6413 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -42,7 +42,7 @@ name = "bson" [dependencies] ahash = "0.7.2" -chrono = "0.4.15" +chrono = { version = "0.4.15", features = ["std"], default-features = false } rand = "0.8" serde = { version = "1.0", features = ["derive"] } serde_json = { version = "1.0", features = ["preserve_order"] } @@ -59,7 +59,7 @@ criterion = "0.3.0" pretty_assertions = "0.6.1" proptest = "1.0.0" serde_bytes = "0.11" -chrono = { version = "0.4", features = ["serde"] } +chrono = { version = "0.4", features = ["serde", "clock", "std"], default-features = false } [package.metadata.docs.rs] all-features = true