Skip to content

Commit

Permalink
don't include all the features in chrono to avoid including the vulne…
Browse files Browse the repository at this point in the history
…rable time dependency
  • Loading branch information
marcograss authored and Aaron1011 committed Nov 26, 2022
1 parent 6873cda commit 0c851ec
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 23 deletions.
24 changes: 3 additions & 21 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ url = "2.3.1"
weak-table = "0.3.2"
percent-encoding = "2.2.0"
thiserror = "1.0"
chrono = "0.4"
chrono = { version = "0.4", default-features = false, features = ["clock"] }
instant = "0.1"
encoding_rs = "0.8.31"
rand = { version = "0.8.5", features = ["std", "small_rng"], default-features = false }
Expand Down
2 changes: 1 addition & 1 deletion web/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ url = "2.3.1"
wasm-bindgen = "=0.2.83"
wasm-bindgen-futures = "0.4.33"
serde-wasm-bindgen = "0.4.5"
chrono = { version = "0.4", features = ["wasmbind"] }
chrono = { version = "0.4", default-features = false, features = ["wasmbind", "clock"] }
getrandom = { version = "0.2", features = ["js"] }
serde = { version = "1.0.147", features = ["derive"] }
thiserror = "1.0"
Expand Down

0 comments on commit 0c851ec

Please sign in to comment.