From 81313e63eab50a38ffa7c8d5bdcd769aac31ee3f Mon Sep 17 00:00:00 2001 From: Wandering Lethe Date: Tue, 6 Jun 2023 18:07:21 +0200 Subject: [PATCH] Upgrade humantime_to_duration to version 0.3.1. Latest patch fixes the transitive dependency on time. Which can now also be removed from the deny skipped bans. --- Cargo.lock | 38 +++++++++----------------------------- Cargo.toml | 2 +- deny.toml | 5 +---- 3 files changed, 11 insertions(+), 34 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 63d748f9d82..1603bdc560b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -272,10 +272,7 @@ checksum = "ec837a71355b28f6556dbd569b37b3f363091c0bd4b2e735674521b4c5fd9bc5" dependencies = [ "android-tzdata", "iana-time-zone", - "js-sys", "num-traits", - "time 0.1.45", - "wasm-bindgen", "winapi", ] @@ -424,7 +421,7 @@ dependencies = [ "sha1", "tempfile", "textwrap", - "time 0.3.20", + "time", "unindent", "uu_arch", "uu_base32", @@ -1082,7 +1079,7 @@ checksum = "c05aeb6a22b8f62540c194aac980f2115af067bfe15a0734d7277a768d396b31" dependencies = [ "cfg-if", "libc", - "wasi 0.11.0+wasi-snapshot-preview1", + "wasi", ] [[package]] @@ -1154,14 +1151,14 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "714764645f21cc70c4c151d7798dd158409641f37ad820bed65224aae403cbed" dependencies = [ "regex", - "time 0.3.20", + "time", ] [[package]] name = "humantime_to_duration" -version = "0.3.0" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e0a674b970a2bbad01671718ca07604ca89258dd5e25d9af835c14ac6e0bc792" +checksum = "1a80a233096ddccb74e62145f3a49cacea6a2669ee90f6e144e15fe28f4037c4" dependencies = [ "chrono", "regex", @@ -1447,7 +1444,7 @@ checksum = "5b9d9a46eff5b4ff64b45a9e316a6d1e0bc719ef429cbec4dc630684212bfdf9" dependencies = [ "libc", "log", - "wasi 0.11.0+wasi-snapshot-preview1", + "wasi", "windows-sys 0.45.0", ] @@ -2302,17 +2299,6 @@ dependencies = [ "syn", ] -[[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", -] - [[package]] name = "time" version = "0.3.20" @@ -2552,7 +2538,7 @@ version = "0.0.19" dependencies = [ "chrono", "clap", - "humantime_to_duration 0.3.0", + "humantime_to_duration 0.3.1", "libc", "uucore", "windows-sys 0.48.0", @@ -3248,7 +3234,7 @@ dependencies = [ "clap", "filetime", "humantime_to_duration 0.2.1", - "time 0.3.20", + "time", "uucore", "windows-sys 0.48.0", ] @@ -3424,7 +3410,7 @@ dependencies = [ "sm3", "tempfile", "thiserror", - "time 0.3.20", + "time", "uucore_procs", "walkdir", "wild", @@ -3469,12 +3455,6 @@ dependencies = [ "winapi-util", ] -[[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" diff --git a/Cargo.toml b/Cargo.toml index 3df9aa1ac05..9c8d769a45d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -286,7 +286,7 @@ fundu = "0.5.1" gcd = "2.3" glob = "0.3.1" half = "2.2" -humantime_to_duration = "0.3.0" +humantime_to_duration = "0.3.1" indicatif = "0.17" is-terminal = "0.4.7" itertools = "0.10.5" diff --git a/deny.toml b/deny.toml index ba516de8425..c8498423048 100644 --- a/deny.toml +++ b/deny.toml @@ -78,11 +78,8 @@ skip = [ { name = "redox_syscall", version = "0.3.5" }, # cpp_macros { name = "aho-corasick", version = "0.7.19" }, - # chrono -> time - { name = "wasi", version = "0.10.0+wasi-snapshot-preview1" }, - # touch can be remove when touch switches from time to chrono + # touch, can be remove when touch switches from time to chrono { name = "humantime_to_duration", version = "0.2.1" }, - { name = "time", version = "0.3.20" }, ] # spell-checker: enable