Skip to content

Commit

Permalink
fix: Don't use 'oldtime' feature of chrono by controlling exactly w…
Browse files Browse the repository at this point in the history
…hich features are enabled. (#75)

That particular feature has [a rustsec advisory](https://rustsec.org/advisories/RUSTSEC-2020-0071) up
against it.
  • Loading branch information
Byron committed Jul 1, 2023
2 parents 841bc13 + fad81a4 commit 55b0d5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ log = "0.4"

[dev-dependencies]
serial_test = "0.6.0"
chrono = "0.4.9"
chrono = { version = "0.4.9", default-features = false, features = ["clock"] }
rand = "0.8.3"
once_cell = "1.7.2"
env_logger = "0.10.0"
Expand All @@ -35,7 +35,7 @@ tempfile = "3.6.0"
objc = "0.2.7"

[target.'cfg(all(unix, not(target_os = "macos"), not(target_os = "ios"), not(target_os = "android")))'.dependencies]
chrono = { version = "0.4.9", optional = true }
chrono = { version = "0.4.9", optional = true, default-features = false, features = ["clock"] }
libc = "0.2.65"
scopeguard = "1.0.0"
url = "2.1.0"
Expand Down

0 comments on commit 55b0d5c

Please sign in to comment.