diff --git a/.gitlab/scripts/security.sh b/.gitlab/scripts/security.sh index 3143666db2..9d1f7b33e9 100755 --- a/.gitlab/scripts/security.sh +++ b/.gitlab/scripts/security.sh @@ -1,4 +1,3 @@ #!/bin/bash -# RUSTSEC-2020-0071: segfault in time crate which is used by chrono # RUSTSEC-2021-0119: out-of-bounds write in nix::unistd::getgrouplist in a old nix version (0.18 and 0.20) that are needed by old winit, -time cargo audit --ignore RUSTSEC-2020-0071 --ignore RUSTSEC-2021-0119 \ No newline at end of file +time cargo audit --ignore RUSTSEC-2021-0119 \ No newline at end of file diff --git a/Cargo.lock b/Cargo.lock index 8ce58c2c8a..02f67526e7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -675,7 +675,6 @@ dependencies = [ "num-integer", "num-traits", "serde", - "time 0.1.45", "wasm-bindgen", "winapi 0.3.9", ] @@ -1736,7 +1735,7 @@ dependencies = [ "serde_json", "serde_repr", "thiserror", - "time 0.3.20", + "time", "tokio", "tracing", "url", @@ -5062,7 +5061,7 @@ checksum = "ffbe84efe2f38dea12e9bfc1f65377fdf03e53a18cb3b995faedf7934c7e785b" dependencies = [ "pem", "ring", - "time 0.3.20", + "time", "yasna", ] @@ -5126,7 +5125,7 @@ dependencies = [ "serde", "siphasher", "thiserror", - "time 0.3.20", + "time", "toml 0.7.3", "url", "walkdir 2.3.3", @@ -6378,17 +6377,6 @@ version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f685624f172cd0bde6f3363412455e81c018f2379fdf5a218e0be003f1bba642" -[[package]] -name = "time" -version = "0.1.45" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b797afad3f312d1c66a56d11d0316f916356d11bd158fbc6ca6389ff6bf805a" -dependencies = [ - "libc", - "wasi 0.10.0+wasi-snapshot-preview1", - "winapi 0.3.9", -] - [[package]] name = "time" version = "0.3.20" @@ -6593,7 +6581,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "09d48f71a791638519505cefafe162606f706c25592e4bde4d97600c0195312e" dependencies = [ "crossbeam-channel", - "time 0.3.20", + "time", "tracing-subscriber", ] @@ -6642,7 +6630,7 @@ dependencies = [ "sharded-slab", "smallvec", "thread_local", - "time 0.3.20", + "time", "tracing", "tracing-core", "tracing-log", @@ -7532,12 +7520,6 @@ version = "0.9.0+wasi-snapshot-preview1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519" -[[package]] -name = "wasi" -version = "0.10.0+wasi-snapshot-preview1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a143597ca7c7793eff794def352d41792a93c481eb1042423ff7ff72ba2c31f" - [[package]] name = "wasi" version = "0.11.0+wasi-snapshot-preview1" @@ -8666,5 +8648,5 @@ version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e17bb3549cc1321ae1296b9cdc2698e2b6cb1992adfa19a8c72e5b7a738f44cd" dependencies = [ - "time 0.3.20", + "time", ] diff --git a/common/Cargo.toml b/common/Cargo.toml index 38b9b5c14c..7f52837710 100644 --- a/common/Cargo.toml +++ b/common/Cargo.toml @@ -29,7 +29,7 @@ serde = { version = "1.0.110", features = ["derive", "rc"] } enum-map = "2.4" vek = { version = "0.15.8", features = ["serde"] } cfg-if = "1.0.0" -chrono = "0.4.22" +chrono = { version = "0.4.24", default-features=false, features = ["clock", "std", "wasmbind", "serde"] } chrono-tz = "0.8" itertools = "0.10" sha2 = "0.10" diff --git a/server/Cargo.toml b/server/Cargo.toml index fba764d22c..8c90dcfaaf 100644 --- a/server/Cargo.toml +++ b/server/Cargo.toml @@ -44,7 +44,7 @@ quinn = "0.8" rustls = { version = "0.20", default-features = false } rustls-pemfile = { version = "1", default-features = false } atomicwrites = "0.4" -chrono = { version = "0.4.22", features = ["serde"] } +chrono = { version = "0.4.24", default-features=false, features = ["clock", "std", "wasmbind", "serde"] } chrono-tz = { version = "0.8", features = ["serde"] } drop_guard = { version = "0.3.0" } humantime = "2.1.0" diff --git a/voxygen/Cargo.toml b/voxygen/Cargo.toml index 004a68c338..c2c6e93d0f 100644 --- a/voxygen/Cargo.toml +++ b/voxygen/Cargo.toml @@ -102,7 +102,7 @@ clap = { version = "4.2", features = ["derive"] } assets_manager = {version = "0.10", features = ["ab_glyph"]} backtrace = "0.3.40" bincode = "1.3.1" -chrono = { version = "0.4.22", features = ["serde"] } +chrono = { version = "0.4.24", default-features=false, features = ["clock", "std", "wasmbind", "serde"] } chumsky = "0.9" cpal = "0.14" copy_dir = "0.1.2"