get rid of oldtime in chrono

This commit is contained in:
Marcel Märtens 2023-05-05 10:15:05 +02:00
parent d995491f44
commit cd7d889c13
5 changed files with 10 additions and 29 deletions

View File

@ -1,4 +1,3 @@
#!/bin/bash #!/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, # 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 time cargo audit --ignore RUSTSEC-2021-0119

30
Cargo.lock generated
View File

@ -675,7 +675,6 @@ dependencies = [
"num-integer", "num-integer",
"num-traits", "num-traits",
"serde", "serde",
"time 0.1.45",
"wasm-bindgen", "wasm-bindgen",
"winapi 0.3.9", "winapi 0.3.9",
] ]
@ -1736,7 +1735,7 @@ dependencies = [
"serde_json", "serde_json",
"serde_repr", "serde_repr",
"thiserror", "thiserror",
"time 0.3.20", "time",
"tokio", "tokio",
"tracing", "tracing",
"url", "url",
@ -5062,7 +5061,7 @@ checksum = "ffbe84efe2f38dea12e9bfc1f65377fdf03e53a18cb3b995faedf7934c7e785b"
dependencies = [ dependencies = [
"pem", "pem",
"ring", "ring",
"time 0.3.20", "time",
"yasna", "yasna",
] ]
@ -5126,7 +5125,7 @@ dependencies = [
"serde", "serde",
"siphasher", "siphasher",
"thiserror", "thiserror",
"time 0.3.20", "time",
"toml 0.7.3", "toml 0.7.3",
"url", "url",
"walkdir 2.3.3", "walkdir 2.3.3",
@ -6378,17 +6377,6 @@ version = "0.4.2"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f685624f172cd0bde6f3363412455e81c018f2379fdf5a218e0be003f1bba642" 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]] [[package]]
name = "time" name = "time"
version = "0.3.20" version = "0.3.20"
@ -6593,7 +6581,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "09d48f71a791638519505cefafe162606f706c25592e4bde4d97600c0195312e" checksum = "09d48f71a791638519505cefafe162606f706c25592e4bde4d97600c0195312e"
dependencies = [ dependencies = [
"crossbeam-channel", "crossbeam-channel",
"time 0.3.20", "time",
"tracing-subscriber", "tracing-subscriber",
] ]
@ -6642,7 +6630,7 @@ dependencies = [
"sharded-slab", "sharded-slab",
"smallvec", "smallvec",
"thread_local", "thread_local",
"time 0.3.20", "time",
"tracing", "tracing",
"tracing-core", "tracing-core",
"tracing-log", "tracing-log",
@ -7532,12 +7520,6 @@ version = "0.9.0+wasi-snapshot-preview1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519" 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]] [[package]]
name = "wasi" name = "wasi"
version = "0.11.0+wasi-snapshot-preview1" 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" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e17bb3549cc1321ae1296b9cdc2698e2b6cb1992adfa19a8c72e5b7a738f44cd" checksum = "e17bb3549cc1321ae1296b9cdc2698e2b6cb1992adfa19a8c72e5b7a738f44cd"
dependencies = [ dependencies = [
"time 0.3.20", "time",
] ]

View File

@ -29,7 +29,7 @@ serde = { version = "1.0.110", features = ["derive", "rc"] }
enum-map = "2.4" enum-map = "2.4"
vek = { version = "0.15.8", features = ["serde"] } vek = { version = "0.15.8", features = ["serde"] }
cfg-if = "1.0.0" 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" chrono-tz = "0.8"
itertools = "0.10" itertools = "0.10"
sha2 = "0.10" sha2 = "0.10"

View File

@ -44,7 +44,7 @@ quinn = "0.8"
rustls = { version = "0.20", default-features = false } rustls = { version = "0.20", default-features = false }
rustls-pemfile = { version = "1", default-features = false } rustls-pemfile = { version = "1", default-features = false }
atomicwrites = "0.4" 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"] } chrono-tz = { version = "0.8", features = ["serde"] }
drop_guard = { version = "0.3.0" } drop_guard = { version = "0.3.0" }
humantime = "2.1.0" humantime = "2.1.0"

View File

@ -102,7 +102,7 @@ clap = { version = "4.2", features = ["derive"] }
assets_manager = {version = "0.10", features = ["ab_glyph"]} assets_manager = {version = "0.10", features = ["ab_glyph"]}
backtrace = "0.3.40" backtrace = "0.3.40"
bincode = "1.3.1" 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" chumsky = "0.9"
cpal = "0.14" cpal = "0.14"
copy_dir = "0.1.2" copy_dir = "0.1.2"