From 43899db1472af060373c32ce2ba809dda3ad2f94 Mon Sep 17 00:00:00 2001 From: qtfkwk Date: Sat, 17 Aug 2024 07:05:34 -0400 Subject: [PATCH 1/5] run cargo outdated and cargo audit --- cargo-audit.txt | 64 ++++++++ cargo-outdated.txt | 387 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 451 insertions(+) create mode 100644 cargo-audit.txt create mode 100644 cargo-outdated.txt diff --git a/cargo-audit.txt b/cargo-audit.txt new file mode 100644 index 000000000..af77b78d0 --- /dev/null +++ b/cargo-audit.txt @@ -0,0 +1,64 @@ + Fetching advisory database from `https://github.com/RustSec/advisory-db.git` + Loaded 648 security advisories (from /home/nick/.cargo/advisory-db) + Updating crates.io index + Scanning Cargo.lock for vulnerabilities (199 crate dependencies) +Crate: libgit2-sys +Version: 0.15.2+1.6.4 +Title: Memory corruption, denial of service, and arbitrary code execution in libgit2 +Date: 2024-02-06 +ID: RUSTSEC-2024-0013 +URL: https://rustsec.org/advisories/RUSTSEC-2024-0013 +Severity: 8.6 (high) +Solution: Upgrade to >=0.16.2 +Dependency tree: +libgit2-sys 0.15.2+1.6.4 +└── git2 0.17.2 + └── tokei 13.0.0-alpha.1 + +Crate: serde_cbor +Version: 0.11.2 +Warning: unmaintained +Title: serde_cbor is unmaintained +Date: 2021-08-15 +ID: RUSTSEC-2021-0127 +URL: https://rustsec.org/advisories/RUSTSEC-2021-0127 +Dependency tree: +serde_cbor 0.11.2 +└── tokei 13.0.0-alpha.1 + +Crate: term_size +Version: 0.3.2 +Warning: unmaintained +Title: `term_size` is unmaintained; use `terminal_size` instead +Date: 2020-11-03 +ID: RUSTSEC-2020-0163 +URL: https://rustsec.org/advisories/RUSTSEC-2020-0163 +Dependency tree: +term_size 0.3.2 +└── tokei 13.0.0-alpha.1 + +Crate: atty +Version: 0.2.14 +Warning: unsound +Title: Potential unaligned read +Date: 2021-07-04 +ID: RUSTSEC-2021-0145 +URL: https://rustsec.org/advisories/RUSTSEC-2021-0145 +Dependency tree: +atty 0.2.14 +└── clap 3.2.25 + └── tokei 13.0.0-alpha.1 + +Crate: unsafe-libyaml +Version: 0.2.9 +Warning: unsound +Title: Unaligned write of u64 on 32-bit and 16-bit platforms +Date: 2023-12-20 +ID: RUSTSEC-2023-0075 +URL: https://rustsec.org/advisories/RUSTSEC-2023-0075 +Dependency tree: +unsafe-libyaml 0.2.9 +└── serde_yaml 0.9.25 + └── tokei 13.0.0-alpha.1 + +warning: 4 allowed warnings found diff --git a/cargo-outdated.txt b/cargo-outdated.txt new file mode 100644 index 000000000..8590b9388 --- /dev/null +++ b/cargo-outdated.txt @@ -0,0 +1,387 @@ +Name Project Compat Latest Kind Platform +---- ------- ------ ------ ---- -------- +aho-corasick 1.0.2 1.1.3 1.1.3 Normal --- +aho-corasick->memchr 2.5.0 2.7.4 2.7.4 Normal --- +aho-corasick->memchr 2.5.0 2.7.4 Removed Normal --- +aho-corasick->memchr 2.5.0 Removed Removed Normal --- +android_system_properties->libc 0.2.155 0.2.156 0.2.156 Normal --- +arbitrary 1.3.0 1.3.2 1.3.2 Normal --- +arbitrary->derive_arbitrary 1.3.1 1.3.2 1.3.2 Normal --- +atty->hermit-abi 0.1.19 --- Removed Normal cfg(target_os = "hermit") +atty->libc 0.2.155 0.2.156 Removed Normal cfg(unix) +atty->winapi 0.3.9 --- Removed Normal cfg(windows) +bstr->memchr 2.5.0 2.7.4 2.7.4 Normal --- +bstr->serde 1.0.180 1.0.208 1.0.208 Normal --- +cc->jobserver 0.1.26 0.1.32 0.1.32 Normal --- +cc->jobserver 0.1.26 Removed Removed Normal --- +cc->libc 0.2.155 0.2.156 0.2.156 Normal cfg(unix) +cc->libc 0.2.155 Removed Removed Normal cfg(unix) +chrono->iana-time-zone 0.1.57 0.1.60 0.1.60 Normal cfg(unix) +chrono->num-traits 0.2.16 0.2.19 0.2.19 Normal --- +chrono->winapi 0.3.9 Removed Removed Normal cfg(windows) +chrono-tz->chrono 0.4.26 0.4.38 0.4.38 Normal --- +chrono-tz->chrono-tz-build 0.0.2 0.3.0 0.3.0 Build --- +chrono-tz->phf 0.10.1 0.11.2 0.11.2 Normal --- +chrono-tz-build->parse-zoneinfo 0.3.0 0.3.1 0.3.1 Normal --- +chrono-tz-build->phf 0.10.1 0.11.2 0.11.2 Normal --- +chrono-tz-build->phf_codegen 0.10.0 0.11.2 0.11.2 Normal --- +clap 3.2.25 --- 4.5.16 Normal --- +clap->atty 0.2.14 --- Removed Normal --- +clap->bitflags 1.3.2 --- Removed Normal --- +clap->clap_lex 0.2.4 --- Removed Normal --- +clap->indexmap 1.9.3 --- Removed Normal --- +clap->once_cell 1.18.0 1.19.0 Removed Normal --- +clap->strsim 0.10.0 --- Removed Normal --- +clap->termcolor 1.2.0 1.4.1 Removed Normal --- +clap->terminal_size 0.2.6 --- Removed Normal --- +clap->textwrap 0.16.0 0.16.1 Removed Normal --- +clap_lex->os_str_bytes 6.5.1 6.6.1 Removed Normal --- +colored 2.0.4 2.1.0 2.1.0 Normal --- +colored->is-terminal 0.4.9 Removed Removed Normal --- +colored->lazy_static 1.4.0 1.5.0 1.5.0 Normal --- +cpufeatures->libc 0.2.155 0.2.156 0.2.156 Normal aarch64-linux-android +crossbeam-channel 0.5.8 0.5.13 0.5.13 Normal --- +crossbeam-channel->cfg-if 1.0.0 Removed Removed Normal --- +crossbeam-channel->crossbeam-utils 0.8.16 0.8.20 0.8.20 Normal --- +crossbeam-channel->crossbeam-utils 0.8.16 Removed Removed Normal --- +crossbeam-deque->cfg-if 1.0.0 Removed Removed Normal --- +crossbeam-deque->crossbeam-epoch 0.9.15 0.9.18 0.9.18 Normal --- +crossbeam-deque->crossbeam-utils 0.8.16 0.8.20 0.8.20 Normal --- +crossbeam-epoch->autocfg 1.1.0 Removed Removed Build --- +crossbeam-epoch->cfg-if 1.0.0 Removed Removed Normal --- +crossbeam-epoch->crossbeam-utils 0.8.16 0.8.20 0.8.20 Normal --- +crossbeam-epoch->memoffset 0.9.0 Removed Removed Normal --- +crossbeam-epoch->scopeguard 1.2.0 Removed Removed Normal --- +crossbeam-utils->cfg-if 1.0.0 Removed Removed Normal --- +crypto-common->typenum 1.16.0 1.17.0 1.17.0 Normal --- +dashmap 5.5.0 5.5.3 6.0.1 Normal --- +dashmap->hashbrown 0.14.0 0.14.5 0.14.5 Normal --- +dashmap->lock_api 0.4.10 0.4.12 0.4.12 Normal --- +dashmap->once_cell 1.18.0 1.19.0 1.19.0 Normal --- +dashmap->parking_lot_core 0.9.8 0.9.10 0.9.10 Normal --- +dashmap->serde 1.0.180 1.0.208 1.0.208 Normal --- +derive_arbitrary->proc-macro2 1.0.66 1.0.86 1.0.86 Normal --- +derive_arbitrary->quote 1.0.32 1.0.36 1.0.36 Normal --- +derive_arbitrary->syn 2.0.28 2.0.74 2.0.74 Normal --- +encoding_rs_io->encoding_rs 0.8.32 0.8.34 0.8.34 Normal --- +env_logger 0.10.0 0.10.2 0.11.5 Normal --- +env_logger->is-terminal 0.4.9 0.4.13 Removed Normal --- +env_logger->log 0.4.19 0.4.22 0.4.22 Normal --- +env_logger->regex 1.9.1 1.10.6 Removed Normal --- +env_logger->termcolor 1.2.0 1.4.1 Removed Normal --- +errno->errno-dragonfly 0.1.2 Removed Removed Normal cfg(target_os = "dragonfly") +errno->libc 0.2.155 0.2.156 0.2.156 Normal cfg(target_os = "hermit") +errno->libc 0.2.155 0.2.156 Removed Normal cfg(target_os = "hermit") +errno->libc 0.2.155 Removed Removed Normal cfg(target_os = "hermit") +errno->windows-sys 0.48.0 0.52.0 0.52.0 Normal cfg(windows) +errno->windows-sys 0.48.0 0.52.0 Removed Normal cfg(windows) +errno->windows-sys 0.48.0 Removed Removed Normal cfg(windows) +errno-dragonfly->cc 1.0.81 Removed Removed Build --- +errno-dragonfly->libc 0.2.155 Removed Removed Normal --- +etcetera->home 0.5.5 0.5.9 0.5.9 Normal --- +form_urlencoded->percent-encoding 2.3.0 2.3.1 2.3.1 Normal --- +generic-array->typenum 1.16.0 1.17.0 1.17.0 Normal --- +generic-array->version_check 0.9.4 0.9.5 0.9.5 Build --- +getrandom->libc 0.2.155 0.2.156 0.2.156 Normal cfg(unix) +git2 0.17.2 --- 0.19.0 Development --- +git2->bitflags 1.3.2 --- 2.6.0 Normal --- +git2->libc 0.2.155 0.2.156 0.2.156 Normal --- +git2->libgit2-sys 0.15.2+1.6.4 --- 0.17.0+1.8.1 Normal --- +git2->log 0.4.19 0.4.22 0.4.22 Normal --- +git2->url 2.4.0 2.5.2 2.5.2 Normal --- +globset->aho-corasick 1.0.2 1.1.3 1.1.3 Normal --- +globset->bstr 1.6.0 1.10.0 1.10.0 Normal --- +globset->fnv 1.0.7 Removed Removed Normal --- +globset->log 0.4.19 0.4.22 0.4.22 Normal --- +globset->regex 1.9.1 Removed Removed Normal --- +globwalk->bitflags 1.3.2 2.6.0 2.6.0 Normal --- +globwalk->ignore 0.4.20 0.4.22 0.4.22 Normal --- +globwalk->walkdir 2.3.3 2.5.0 2.5.0 Normal --- +grep-matcher->memchr 2.5.0 2.7.4 2.7.4 Normal --- +grep-searcher 0.1.11 0.1.13 0.1.13 Normal --- +grep-searcher->bstr 1.6.0 1.10.0 1.10.0 Normal --- +grep-searcher->bytecount 0.6.3 Removed Removed Normal --- +grep-searcher->encoding_rs 0.8.32 0.8.34 0.8.34 Normal --- +grep-searcher->grep-matcher 0.1.6 0.1.7 0.1.7 Normal --- +grep-searcher->log 0.4.19 0.4.22 0.4.22 Normal --- +grep-searcher->memmap2 0.5.10 0.9.4 0.9.4 Normal --- +hermit-abi->libc 0.2.155 0.2.156 Removed Normal --- +home->windows-sys 0.48.0 0.52.0 0.52.0 Normal cfg(windows) +humansize->libm 0.2.7 0.2.8 0.2.8 Normal --- +iana-time-zone->core-foundation-sys 0.8.4 0.8.7 0.8.7 Normal cfg(any(target_os = "macos", target_os = "ios")) +iana-time-zone->js-sys 0.3.64 0.3.70 0.3.70 Normal cfg(target_arch = "wasm32") +iana-time-zone->wasm-bindgen 0.2.87 0.2.93 0.2.93 Normal cfg(target_arch = "wasm32") +iana-time-zone->windows 0.48.0 Removed Removed Normal cfg(target_os = "windows") +iana-time-zone-haiku->cc 1.0.81 1.1.13 1.1.13 Build --- +idna->unicode-bidi 0.3.13 0.3.15 0.3.15 Normal --- +idna->unicode-normalization 0.1.22 0.1.23 0.1.23 Normal --- +ignore 0.4.20 0.4.22 0.4.22 Normal --- +ignore->globset 0.4.12 0.4.14 0.4.14 Normal --- +ignore->lazy_static 1.4.0 Removed Removed Normal --- +ignore->log 0.4.19 0.4.22 0.4.22 Normal --- +ignore->memchr 2.5.0 2.7.4 2.7.4 Normal --- +ignore->regex 1.9.1 Removed Removed Normal --- +ignore->thread_local 1.1.4 Removed Removed Normal --- +ignore->walkdir 2.3.3 2.5.0 2.5.0 Normal --- +ignore->winapi-util 0.1.5 0.1.9 0.1.9 Normal cfg(windows) +indexmap->autocfg 1.1.0 1.3.0 Removed Build --- +indexmap->hashbrown 0.12.3 --- Removed Normal --- +indexmap->hashbrown 0.14.0 0.14.5 0.14.5 Normal --- +io-lifetimes->hermit-abi 0.3.2 0.3.9 Removed Normal cfg(target_os = "hermit") +io-lifetimes->libc 0.2.155 0.2.156 Removed Normal cfg(not(windows)) +io-lifetimes->windows-sys 0.48.0 --- Removed Normal cfg(windows) +is-terminal->hermit-abi 0.3.2 0.4.0 Removed Normal cfg(target_os = "hermit") +is-terminal->hermit-abi 0.3.2 Removed Removed Normal cfg(target_os = "hermit") +is-terminal->rustix 0.38.6 Removed Removed Normal cfg(not(any(windows, target_os = "hermit", target_os = "unknown"))) +is-terminal->windows-sys 0.48.0 0.52.0 Removed Normal cfg(windows) +is-terminal->windows-sys 0.48.0 Removed Removed Normal cfg(windows) +itertools->either 1.9.0 1.13.0 1.13.0 Normal --- +jobserver->libc 0.2.155 0.2.156 0.2.156 Normal cfg(unix) +jobserver->libc 0.2.155 Removed Removed Normal cfg(unix) +js-sys->wasm-bindgen 0.2.87 0.2.93 0.2.93 Normal --- +json5->pest 2.7.2 2.7.11 2.7.11 Normal --- +json5->pest_derive 2.7.2 2.7.11 2.7.11 Normal --- +json5->serde 1.0.180 1.0.208 1.0.208 Normal --- +libgit2-sys->cc 1.0.81 1.1.13 1.1.13 Build --- +libgit2-sys->libc 0.2.155 0.2.156 0.2.156 Normal --- +libgit2-sys->libz-sys 1.1.12 1.1.19 1.1.19 Normal --- +libgit2-sys->pkg-config 0.3.27 0.3.30 0.3.30 Build --- +libz-sys->cc 1.0.81 1.1.13 1.1.13 Build --- +libz-sys->libc 0.2.155 0.2.156 0.2.156 Normal --- +libz-sys->pkg-config 0.3.27 0.3.30 0.3.30 Build --- +lock_api->autocfg 1.1.0 1.3.0 1.3.0 Build --- +log 0.4.19 0.4.22 0.4.22 Normal --- +memmap2->libc 0.2.155 0.2.156 0.2.156 Normal cfg(unix) +memoffset->autocfg 1.1.0 Removed Removed Build --- +num-format->itoa 1.0.9 1.0.11 1.0.11 Normal --- +num-traits->autocfg 1.1.0 1.3.0 1.3.0 Build --- +num-traits->libm 0.2.7 0.2.8 0.2.8 Normal --- +num_cpus->hermit-abi 0.3.2 Removed Removed Normal cfg(target_os = "hermit") +num_cpus->libc 0.2.155 Removed Removed Normal cfg(not(windows)) +once_cell 1.18.0 1.19.0 1.19.0 Normal --- +parking_lot 0.12.1 0.12.3 0.12.3 Normal --- +parking_lot->lock_api 0.4.10 0.4.12 0.4.12 Normal --- +parking_lot->parking_lot_core 0.9.8 0.9.10 0.9.10 Normal --- +parking_lot_core->libc 0.2.155 0.2.156 0.2.156 Normal cfg(unix) +parking_lot_core->redox_syscall 0.3.5 0.5.3 0.5.3 Normal cfg(target_os = "redox") +parking_lot_core->smallvec 1.11.0 1.13.2 1.13.2 Normal --- +parking_lot_core->windows-targets 0.48.1 0.52.6 0.52.6 Normal cfg(windows) +parse-zoneinfo->regex 1.9.1 1.10.6 1.10.6 Normal --- +pest->thiserror 1.0.44 1.0.63 1.0.63 Normal --- +pest_derive->pest 2.7.2 2.7.11 2.7.11 Normal --- +pest_derive->pest_generator 2.7.2 2.7.11 2.7.11 Normal --- +pest_generator->pest 2.7.2 2.7.11 2.7.11 Normal --- +pest_generator->pest_meta 2.7.2 2.7.11 2.7.11 Normal --- +pest_generator->proc-macro2 1.0.66 1.0.86 1.0.86 Normal --- +pest_generator->quote 1.0.32 1.0.36 1.0.36 Normal --- +pest_generator->syn 2.0.28 2.0.74 2.0.74 Normal --- +pest_meta->once_cell 1.18.0 1.19.0 1.19.0 Normal --- +pest_meta->pest 2.7.2 2.7.11 2.7.11 Normal --- +pest_meta->sha2 0.10.7 0.10.8 0.10.8 Build --- +phf->phf_shared 0.10.0 0.11.2 0.11.2 Normal --- +phf_codegen->phf_generator 0.10.0 0.11.2 0.11.2 Normal --- +phf_codegen->phf_shared 0.10.0 0.11.2 0.11.2 Normal --- +phf_generator->phf_shared 0.10.0 0.11.2 0.11.2 Normal --- +phf_shared->siphasher 0.3.10 0.3.11 0.3.11 Normal --- +phf_shared->uncased 0.9.9 Removed Removed Normal --- +proc-macro2->unicode-ident 1.0.11 1.0.12 1.0.12 Normal --- +proptest 1.2.0 1.5.0 1.5.0 Development --- +proptest->bitflags 1.3.2 2.6.0 2.6.0 Normal --- +proptest->byteorder 1.4.3 Removed Removed Normal --- +proptest->lazy_static 1.4.0 1.5.0 1.5.0 Normal --- +proptest->num-traits 0.2.16 0.2.19 0.2.19 Normal --- +proptest->regex-syntax 0.6.29 0.8.4 0.8.4 Normal --- +proptest->tempfile 3.7.0 3.12.0 3.12.0 Normal --- +quote->proc-macro2 1.0.66 1.0.86 1.0.86 Normal --- +rand->libc 0.2.155 0.2.156 0.2.156 Normal cfg(unix) +rand_chacha->ppv-lite86 0.2.17 0.2.20 0.2.20 Normal --- +rand_core->getrandom 0.2.10 0.2.15 0.2.15 Normal --- +rayon 1.7.0 1.10.0 1.10.0 Normal --- +rayon->either 1.9.0 1.13.0 1.13.0 Normal --- +rayon->rayon-core 1.11.0 1.12.1 1.12.1 Normal --- +rayon-core->crossbeam-channel 0.5.8 Removed Removed Normal --- +rayon-core->crossbeam-deque 0.8.3 0.8.5 0.8.5 Normal --- +rayon-core->crossbeam-utils 0.8.16 0.8.20 0.8.20 Normal --- +rayon-core->num_cpus 1.16.0 Removed Removed Normal --- +redox_syscall->bitflags 1.3.2 2.6.0 2.6.0 Normal --- +redox_syscall->bitflags 1.3.2 Removed Removed Normal --- +regex 1.9.1 1.10.6 1.10.6 Normal --- +regex->aho-corasick 1.0.2 1.1.3 1.1.3 Normal --- +regex->aho-corasick 1.0.2 1.1.3 Removed Normal --- +regex->aho-corasick 1.0.2 Removed Removed Normal --- +regex->memchr 2.5.0 2.7.4 2.7.4 Normal --- +regex->memchr 2.5.0 2.7.4 Removed Normal --- +regex->memchr 2.5.0 Removed Removed Normal --- +regex->regex-automata 0.3.4 0.4.7 0.4.7 Normal --- +regex->regex-automata 0.3.4 0.4.7 Removed Normal --- +regex->regex-automata 0.3.4 Removed Removed Normal --- +regex->regex-syntax 0.7.4 0.8.4 0.8.4 Normal --- +regex->regex-syntax 0.7.4 0.8.4 Removed Normal --- +regex->regex-syntax 0.7.4 Removed Removed Normal --- +regex-automata->aho-corasick 1.0.2 1.1.3 1.1.3 Normal --- +regex-automata->aho-corasick 1.0.2 1.1.3 Removed Normal --- +regex-automata->aho-corasick 1.0.2 Removed Removed Normal --- +regex-automata->memchr 2.5.0 2.7.4 2.7.4 Normal --- +regex-automata->memchr 2.5.0 2.7.4 Removed Normal --- +regex-automata->memchr 2.5.0 Removed Removed Normal --- +regex-automata->regex-syntax 0.7.4 0.8.4 0.8.4 Normal --- +regex-automata->regex-syntax 0.7.4 0.8.4 Removed Normal --- +regex-automata->regex-syntax 0.7.4 Removed Removed Normal --- +rustix->bitflags 1.3.2 --- Removed Normal --- +rustix->bitflags 2.3.3 2.6.0 2.6.0 Normal --- +rustix->bitflags 2.3.3 Removed Removed Normal --- +rustix->errno 0.3.2 0.3.9 0.3.9 Development --- +rustix->errno 0.3.2 0.3.9 Removed Development --- +rustix->errno 0.3.2 Removed Removed Development --- +rustix->io-lifetimes 1.0.11 --- Removed Normal --- +rustix->libc 0.2.155 0.2.156 0.2.156 Development --- +rustix->libc 0.2.155 0.2.156 Removed Development --- +rustix->libc 0.2.155 Removed Removed Development --- +rustix->linux-raw-sys 0.3.8 --- Removed Normal cfg(all(any(target_os = "android", target_os = "linux"), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) +rustix->linux-raw-sys 0.4.5 0.4.14 0.4.14 Normal cfg(all(any(target_os = "android", target_os = "linux"), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) +rustix->linux-raw-sys 0.4.5 Removed Removed Normal cfg(all(any(target_os = "android", target_os = "linux"), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) +rustix->windows-sys 0.48.0 --- Removed Normal cfg(windows) +rustix->windows-sys 0.48.0 0.52.0 0.52.0 Normal cfg(windows) +rustix->windows-sys 0.48.0 Removed Removed Normal cfg(windows) +rusty-fork->tempfile 3.7.0 3.12.0 3.12.0 Normal --- +same-file->winapi-util 0.1.5 0.1.9 0.1.9 Normal cfg(windows) +serde 1.0.180 1.0.208 1.0.208 Normal --- +serde->serde_derive 1.0.180 1.0.208 1.0.208 Normal --- +serde_cbor->half 1.8.2 1.8.3 1.8.3 Normal --- +serde_cbor->serde 1.0.180 1.0.208 1.0.208 Normal --- +serde_derive->proc-macro2 1.0.66 1.0.86 1.0.86 Normal cfg(not(all(target_arch = "x86_64", target_os = "linux", target_env = "gnu"))) +serde_derive->quote 1.0.32 1.0.36 1.0.36 Normal cfg(not(all(target_arch = "x86_64", target_os = "linux", target_env = "gnu"))) +serde_derive->syn 2.0.28 2.0.74 2.0.74 Normal cfg(not(all(target_arch = "x86_64", target_os = "linux", target_env = "gnu"))) +serde_json 1.0.104 1.0.125 1.0.125 Normal --- +serde_json->itoa 1.0.9 1.0.11 1.0.11 Normal --- +serde_json->ryu 1.0.15 1.0.18 1.0.18 Normal --- +serde_json->serde 1.0.180 1.0.208 1.0.208 Normal --- +serde_spanned->serde 1.0.180 1.0.208 1.0.208 Normal --- +serde_yaml 0.9.25 0.9.34+deprecated 0.9.34+deprecated Normal --- +serde_yaml->indexmap 2.0.0 2.4.0 2.4.0 Normal --- +serde_yaml->itoa 1.0.9 1.0.11 1.0.11 Normal --- +serde_yaml->ryu 1.0.15 1.0.18 1.0.18 Normal --- +serde_yaml->serde 1.0.180 1.0.208 1.0.208 Normal --- +serde_yaml->unsafe-libyaml 0.2.9 0.2.11 0.2.11 Normal --- +sha2->cpufeatures 0.2.9 0.2.13 0.2.13 Normal cfg(any(target_arch = "aarch64", target_arch = "x86_64", target_arch = "x86")) +slug->deunicode 0.4.4 1.6.0 1.6.0 Normal --- +strum 0.25.0 --- 0.26.3 Development --- +strum_macros 0.25.1 0.25.3 0.26.4 Development --- +strum_macros->heck 0.4.1 --- 0.5.0 Normal --- +strum_macros->proc-macro2 1.0.66 1.0.86 1.0.86 Normal --- +strum_macros->quote 1.0.32 1.0.36 1.0.36 Normal --- +strum_macros->rustversion 1.0.14 1.0.17 1.0.17 Normal --- +strum_macros->syn 2.0.28 2.0.74 2.0.74 Normal --- +syn->proc-macro2 1.0.66 1.0.86 1.0.86 Normal --- +syn->quote 1.0.32 1.0.36 1.0.36 Normal --- +syn->unicode-ident 1.0.11 1.0.12 1.0.12 Normal --- +table_formatter->colored 2.0.4 2.1.0 2.1.0 Normal --- +table_formatter->thiserror 1.0.44 1.0.63 1.0.63 Normal --- +tempfile 3.7.0 3.12.0 3.12.0 Development --- +tempfile->fastrand 2.0.0 2.1.0 2.1.0 Normal --- +tempfile->redox_syscall 0.3.5 Removed Removed Normal cfg(target_os = "redox") +tempfile->rustix 0.38.6 0.38.34 0.38.34 Normal cfg(any(unix, target_os = "wasi")) +tempfile->windows-sys 0.48.0 0.59.0 0.59.0 Normal cfg(windows) +tera 1.19.0 1.20.0 1.20.0 Build --- +tera->chrono 0.4.26 0.4.38 0.4.38 Normal --- +tera->chrono-tz 0.6.1 0.9.0 0.9.0 Normal --- +tera->globwalk 0.8.1 0.9.1 0.9.1 Normal --- +tera->lazy_static 1.4.0 1.5.0 1.5.0 Normal --- +tera->percent-encoding 2.3.0 2.3.1 2.3.1 Normal --- +tera->pest 2.7.2 2.7.11 2.7.11 Normal --- +tera->pest_derive 2.7.2 2.7.11 2.7.11 Normal --- +tera->regex 1.9.1 1.10.6 1.10.6 Normal --- +tera->serde 1.0.180 1.0.208 1.0.208 Normal --- +tera->serde_json 1.0.104 1.0.125 1.0.125 Normal --- +tera->slug 0.1.4 0.1.6 0.1.6 Normal --- +tera->thread_local 1.1.4 Removed Removed Normal --- +term_size->libc 0.2.155 0.2.156 0.2.156 Normal cfg(not(target_os = "windows")) +termcolor->winapi-util 0.1.5 0.1.9 Removed Normal cfg(windows) +terminal_size->rustix 0.37.23 0.37.27 Removed Normal cfg(not(windows)) +terminal_size->windows-sys 0.48.0 --- Removed Normal cfg(windows) +textwrap->terminal_size 0.2.6 --- Removed Normal --- +thiserror->thiserror-impl 1.0.44 1.0.63 1.0.63 Normal --- +thiserror-impl->proc-macro2 1.0.66 1.0.86 1.0.86 Normal --- +thiserror-impl->quote 1.0.32 1.0.36 1.0.36 Normal --- +thiserror-impl->syn 2.0.28 2.0.74 2.0.74 Normal --- +thread_local->once_cell 1.18.0 Removed Removed Normal --- +toml 0.7.6 0.7.8 0.8.19 Normal --- +toml->serde 1.0.180 1.0.208 1.0.208 Normal --- +toml->serde_spanned 0.6.3 0.6.7 0.6.7 Normal --- +toml->toml_datetime 0.6.3 0.6.8 0.6.8 Normal --- +toml->toml_edit 0.19.14 0.19.15 0.22.20 Normal --- +toml_datetime->serde 1.0.180 1.0.208 1.0.208 Normal --- +toml_edit->indexmap 2.0.0 2.4.0 2.4.0 Normal --- +toml_edit->serde 1.0.180 1.0.208 1.0.208 Normal --- +toml_edit->serde_spanned 0.6.3 0.6.7 0.6.7 Normal --- +toml_edit->toml_datetime 0.6.3 0.6.8 0.6.8 Normal --- +toml_edit->winnow 0.5.3 0.5.40 0.6.18 Normal --- +uncased->version_check 0.9.4 Removed Removed Build --- +unicode-normalization->tinyvec 1.6.0 1.8.0 1.8.0 Normal --- +url->form_urlencoded 1.2.0 1.2.1 1.2.1 Normal --- +url->idna 0.4.0 0.5.0 0.5.0 Normal --- +url->percent-encoding 2.3.0 2.3.1 2.3.1 Normal --- +wait-timeout->libc 0.2.155 0.2.156 0.2.156 Normal cfg(unix) +walkdir->winapi-util 0.1.5 0.1.9 0.1.9 Normal cfg(windows) +wasm-bindgen->wasm-bindgen-macro 0.2.87 0.2.93 0.2.93 Normal --- +wasm-bindgen-backend->bumpalo 3.13.0 3.16.0 3.16.0 Normal --- +wasm-bindgen-backend->log 0.4.19 0.4.22 0.4.22 Normal --- +wasm-bindgen-backend->once_cell 1.18.0 1.19.0 1.19.0 Normal --- +wasm-bindgen-backend->proc-macro2 1.0.66 1.0.86 1.0.86 Normal --- +wasm-bindgen-backend->quote 1.0.32 1.0.36 1.0.36 Normal --- +wasm-bindgen-backend->syn 2.0.28 2.0.74 2.0.74 Normal --- +wasm-bindgen-backend->wasm-bindgen-shared 0.2.87 0.2.93 0.2.93 Normal --- +wasm-bindgen-macro->quote 1.0.32 1.0.36 1.0.36 Normal --- +wasm-bindgen-macro->wasm-bindgen-macro-support 0.2.87 0.2.93 0.2.93 Normal --- +wasm-bindgen-macro-support->proc-macro2 1.0.66 1.0.86 1.0.86 Normal --- +wasm-bindgen-macro-support->quote 1.0.32 1.0.36 1.0.36 Normal --- +wasm-bindgen-macro-support->syn 2.0.28 2.0.74 2.0.74 Normal --- +wasm-bindgen-macro-support->wasm-bindgen-backend 0.2.87 0.2.93 0.2.93 Normal --- +wasm-bindgen-macro-support->wasm-bindgen-shared 0.2.87 0.2.93 0.2.93 Normal --- +winapi->winapi-i686-pc-windows-gnu 0.4.0 --- Removed Normal i686-pc-windows-gnu +winapi->winapi-i686-pc-windows-gnu 0.4.0 Removed Removed Normal i686-pc-windows-gnu +winapi->winapi-x86_64-pc-windows-gnu 0.4.0 --- Removed Normal x86_64-pc-windows-gnu +winapi->winapi-x86_64-pc-windows-gnu 0.4.0 Removed Removed Normal x86_64-pc-windows-gnu +winapi-util->winapi 0.3.9 Removed Removed Normal cfg(windows) +windows->windows-targets 0.48.1 Removed Removed Normal --- +windows-sys->windows-targets 0.48.1 0.48.5 0.48.5 Normal --- +windows-sys->windows-targets 0.48.1 0.48.5 Removed Normal --- +windows-sys->windows-targets 0.48.1 0.52.6 0.52.6 Normal --- +windows-sys->windows-targets 0.48.1 0.52.6 Removed Normal --- +windows-sys->windows-targets 0.48.1 Removed Removed Normal --- +windows-targets->windows_aarch64_gnullvm 0.48.0 0.48.5 0.48.5 Normal aarch64-pc-windows-gnullvm +windows-targets->windows_aarch64_gnullvm 0.48.0 0.48.5 Removed Normal aarch64-pc-windows-gnullvm +windows-targets->windows_aarch64_gnullvm 0.48.0 0.52.6 0.52.6 Normal aarch64-pc-windows-gnullvm +windows-targets->windows_aarch64_gnullvm 0.48.0 0.52.6 Removed Normal aarch64-pc-windows-gnullvm +windows-targets->windows_aarch64_gnullvm 0.48.0 Removed Removed Normal aarch64-pc-windows-gnullvm +windows-targets->windows_aarch64_msvc 0.48.0 0.48.5 0.48.5 Normal cfg(all(target_arch = "aarch64", target_env = "msvc", not(windows_raw_dylib))) +windows-targets->windows_aarch64_msvc 0.48.0 0.48.5 Removed Normal cfg(all(target_arch = "aarch64", target_env = "msvc", not(windows_raw_dylib))) +windows-targets->windows_aarch64_msvc 0.48.0 0.52.6 0.52.6 Normal cfg(all(target_arch = "aarch64", target_env = "msvc", not(windows_raw_dylib))) +windows-targets->windows_aarch64_msvc 0.48.0 0.52.6 Removed Normal cfg(all(target_arch = "aarch64", target_env = "msvc", not(windows_raw_dylib))) +windows-targets->windows_aarch64_msvc 0.48.0 Removed Removed Normal cfg(all(target_arch = "aarch64", target_env = "msvc", not(windows_raw_dylib))) +windows-targets->windows_i686_gnu 0.48.0 0.48.5 0.48.5 Normal cfg(all(target_arch = "x86", target_env = "gnu", not(windows_raw_dylib))) +windows-targets->windows_i686_gnu 0.48.0 0.48.5 Removed Normal cfg(all(target_arch = "x86", target_env = "gnu", not(windows_raw_dylib))) +windows-targets->windows_i686_gnu 0.48.0 0.52.6 0.52.6 Normal cfg(all(target_arch = "x86", target_env = "gnu", not(windows_raw_dylib))) +windows-targets->windows_i686_gnu 0.48.0 0.52.6 Removed Normal cfg(all(target_arch = "x86", target_env = "gnu", not(windows_raw_dylib))) +windows-targets->windows_i686_gnu 0.48.0 Removed Removed Normal cfg(all(target_arch = "x86", target_env = "gnu", not(windows_raw_dylib))) +windows-targets->windows_i686_msvc 0.48.0 0.48.5 0.48.5 Normal cfg(all(target_arch = "x86", target_env = "msvc", not(windows_raw_dylib))) +windows-targets->windows_i686_msvc 0.48.0 0.48.5 Removed Normal cfg(all(target_arch = "x86", target_env = "msvc", not(windows_raw_dylib))) +windows-targets->windows_i686_msvc 0.48.0 0.52.6 0.52.6 Normal cfg(all(target_arch = "x86", target_env = "msvc", not(windows_raw_dylib))) +windows-targets->windows_i686_msvc 0.48.0 0.52.6 Removed Normal cfg(all(target_arch = "x86", target_env = "msvc", not(windows_raw_dylib))) +windows-targets->windows_i686_msvc 0.48.0 Removed Removed Normal cfg(all(target_arch = "x86", target_env = "msvc", not(windows_raw_dylib))) +windows-targets->windows_x86_64_gnu 0.48.0 0.48.5 0.48.5 Normal cfg(all(target_arch = "x86_64", target_env = "gnu", not(target_abi = "llvm"), not(windows_raw_dylib))) +windows-targets->windows_x86_64_gnu 0.48.0 0.48.5 Removed Normal cfg(all(target_arch = "x86_64", target_env = "gnu", not(target_abi = "llvm"), not(windows_raw_dylib))) +windows-targets->windows_x86_64_gnu 0.48.0 0.52.6 0.52.6 Normal cfg(all(target_arch = "x86_64", target_env = "gnu", not(target_abi = "llvm"), not(windows_raw_dylib))) +windows-targets->windows_x86_64_gnu 0.48.0 0.52.6 Removed Normal cfg(all(target_arch = "x86_64", target_env = "gnu", not(target_abi = "llvm"), not(windows_raw_dylib))) +windows-targets->windows_x86_64_gnu 0.48.0 Removed Removed Normal cfg(all(target_arch = "x86_64", target_env = "gnu", not(target_abi = "llvm"), not(windows_raw_dylib))) +windows-targets->windows_x86_64_gnullvm 0.48.0 0.48.5 0.48.5 Normal x86_64-pc-windows-gnullvm +windows-targets->windows_x86_64_gnullvm 0.48.0 0.48.5 Removed Normal x86_64-pc-windows-gnullvm +windows-targets->windows_x86_64_gnullvm 0.48.0 0.52.6 0.52.6 Normal x86_64-pc-windows-gnullvm +windows-targets->windows_x86_64_gnullvm 0.48.0 0.52.6 Removed Normal x86_64-pc-windows-gnullvm +windows-targets->windows_x86_64_gnullvm 0.48.0 Removed Removed Normal x86_64-pc-windows-gnullvm +windows-targets->windows_x86_64_msvc 0.48.0 0.48.5 0.48.5 Normal cfg(all(target_arch = "x86_64", target_env = "msvc", not(windows_raw_dylib))) +windows-targets->windows_x86_64_msvc 0.48.0 0.48.5 Removed Normal cfg(all(target_arch = "x86_64", target_env = "msvc", not(windows_raw_dylib))) +windows-targets->windows_x86_64_msvc 0.48.0 0.52.6 0.52.6 Normal cfg(all(target_arch = "x86_64", target_env = "msvc", not(windows_raw_dylib))) +windows-targets->windows_x86_64_msvc 0.48.0 0.52.6 Removed Normal cfg(all(target_arch = "x86_64", target_env = "msvc", not(windows_raw_dylib))) +windows-targets->windows_x86_64_msvc 0.48.0 Removed Removed Normal cfg(all(target_arch = "x86_64", target_env = "msvc", not(windows_raw_dylib))) +winnow->memchr 2.5.0 2.7.4 2.7.4 Normal --- From 9409fb789ffa116ae8ca5df664a459cb265f4c3b Mon Sep 17 00:00:00 2001 From: qtfkwk Date: Sat, 17 Aug 2024 07:07:22 -0400 Subject: [PATCH 2/5] run cargo upgrade -i && cargo update --- Cargo.lock | 1010 ++++++++++++++++++++++---------------------- Cargo.toml | 52 +-- cargo-audit.txt | 41 +- cargo-outdated.txt | 388 +---------------- 4 files changed, 538 insertions(+), 953 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 6fe3c2f28..52b4561c7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4,9 +4,9 @@ version = 3 [[package]] name = "aho-corasick" -version = "1.0.2" +version = "1.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43f6cb1bf222025340178f382c426f13757b2960e89779dfcb319c32542a5a41" +checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916" dependencies = [ "memchr", ] @@ -27,36 +27,74 @@ dependencies = [ ] [[package]] -name = "arbitrary" -version = "1.3.0" +name = "anstream" +version = "0.6.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2d098ff73c1ca148721f37baad5ea6a465a13f9573aba8641fbbbae8164a54e" +checksum = "64e15c1ab1f89faffbf04a634d5e1962e9074f2741eef6d97f3c4e322426d526" dependencies = [ - "derive_arbitrary", + "anstyle", + "anstyle-parse", + "anstyle-query", + "anstyle-wincon", + "colorchoice", + "is_terminal_polyfill", + "utf8parse", ] [[package]] -name = "arrayvec" -version = "0.7.4" +name = "anstyle" +version = "1.0.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96d30a06541fbafbc7f82ed10c06164cfbd2c401138f6addd8404629c4b16711" +checksum = "1bec1de6f59aedf83baf9ff929c98f2ad654b97c9510f4e70cf6f661d49fd5b1" [[package]] -name = "atty" -version = "0.2.14" +name = "anstyle-parse" +version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8" +checksum = "eb47de1e80c2b463c735db5b217a0ddc39d612e7ac9e2e96a5aed1f57616c1cb" dependencies = [ - "hermit-abi 0.1.19", - "libc", - "winapi", + "utf8parse", +] + +[[package]] +name = "anstyle-query" +version = "1.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d36fc52c7f6c869915e99412912f22093507da8d9e942ceaf66fe4b7c14422a" +dependencies = [ + "windows-sys 0.52.0", +] + +[[package]] +name = "anstyle-wincon" +version = "3.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5bf74e1b6e971609db8ca7a9ce79fd5768ab6ae46441c572e46cf596f59e57f8" +dependencies = [ + "anstyle", + "windows-sys 0.52.0", +] + +[[package]] +name = "arbitrary" +version = "1.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7d5a26814d8dcb93b0e5a0ff3c6d80a8843bafb21b39e8e18a6f05471870e110" +dependencies = [ + "derive_arbitrary", ] +[[package]] +name = "arrayvec" +version = "0.7.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "96d30a06541fbafbc7f82ed10c06164cfbd2c401138f6addd8404629c4b16711" + [[package]] name = "autocfg" -version = "1.1.0" +version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" +checksum = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0" [[package]] name = "bit-set" @@ -75,15 +113,9 @@ checksum = "349f9b6a179ed607305526ca489b34ad0a41aed5f7980fa90eb03160b69598fb" [[package]] name = "bitflags" -version = "1.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" - -[[package]] -name = "bitflags" -version = "2.3.3" +version = "2.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "630be753d4e58660abd17930c71b647fe46c27ea6b63cc59e1e3851406972e42" +checksum = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de" [[package]] name = "block-buffer" @@ -96,9 +128,9 @@ dependencies = [ [[package]] name = "bstr" -version = "1.6.0" +version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6798148dccfbff0fae41c7574d2fa8f1ef3492fba0face179de5d8d447d67b05" +checksum = "40723b8fb387abc38f4f4a37c09073622e41dd12327033091ef8950659e6dc0c" dependencies = [ "memchr", "serde", @@ -106,30 +138,25 @@ dependencies = [ [[package]] name = "bumpalo" -version = "3.13.0" +version = "3.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3e2c3daef883ecc1b5d58c15adae93470a91d425f3532ba1695849656af3fc1" - -[[package]] -name = "bytecount" -version = "0.6.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c676a478f63e9fa2dd5368a42f28bba0d6c560b775f38583c8bbaa7fcd67c9c" +checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c" [[package]] name = "byteorder" -version = "1.4.3" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610" +checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" [[package]] name = "cc" -version = "1.0.81" +version = "1.1.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c6b2562119bf28c3439f7f02db99faf0aa1a8cdfe5772a2ee155d32227239f0" +checksum = "72db2f7947ecee9b03b510377e8bb9077afa27176fdbff55c51027e976fdcc48" dependencies = [ "jobserver", "libc", + "shlex", ] [[package]] @@ -140,21 +167,21 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "chrono" -version = "0.4.26" +version = "0.4.38" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec837a71355b28f6556dbd569b37b3f363091c0bd4b2e735674521b4c5fd9bc5" +checksum = "a21f936df1771bf62b77f047b726c4625ff2e8aa607c01ec06e5a05bd8463401" dependencies = [ "android-tzdata", "iana-time-zone", "num-traits", - "winapi", + "windows-targets 0.52.6", ] [[package]] name = "chrono-tz" -version = "0.6.1" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58549f1842da3080ce63002102d5bc954c7bc843d4f47818e642abdc36253552" +checksum = "93698b29de5e97ad0ae26447b344c482a7284c737d9ddc5f9e52b74a336671bb" dependencies = [ "chrono", "chrono-tz-build", @@ -163,9 +190,9 @@ dependencies = [ [[package]] name = "chrono-tz-build" -version = "0.0.2" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db058d493fb2f65f41861bfed7e3fe6335264a9f0f92710cab5bdf01fef09069" +checksum = "0c088aee841df9c3041febbb73934cfc39708749bf96dc827e3359cd39ef11b1" dependencies = [ "parse-zoneinfo", "phf", @@ -174,98 +201,96 @@ dependencies = [ [[package]] name = "clap" -version = "3.2.25" +version = "4.5.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed6719fffa43d0d87e5fd8caeab59be1554fb028cd30edc88fc4369b17971019" +dependencies = [ + "clap_builder", +] + +[[package]] +name = "clap_builder" +version = "4.5.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ea181bf566f71cb9a5d17a59e1871af638180a18fb0035c92ae62b705207123" +checksum = "216aec2b177652e3846684cbfe25c9964d18ec45234f0f5da5157b207ed1aab6" dependencies = [ - "atty", - "bitflags 1.3.2", + "anstream", + "anstyle", "clap_lex", - "indexmap 1.9.3", - "once_cell", "strsim", - "termcolor", "terminal_size", - "textwrap", ] [[package]] name = "clap_lex" -version = "0.2.4" +version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2850f2f5a82cbf437dd5af4d49848fbdfc27c157c3d010345776f952765261c5" -dependencies = [ - "os_str_bytes", -] +checksum = "1462739cb27611015575c0c11df5df7601141071f07518d56fcc1be504cbec97" + +[[package]] +name = "colorchoice" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3fd119d74b830634cea2a0f58bbd0d54540518a14397557951e79340abc28c0" [[package]] name = "colored" -version = "2.0.4" +version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2674ec482fbc38012cf31e6c42ba0177b431a0cb6f15fe40efa5aab1bda516f6" +checksum = "cbf2150cce219b664a8a70df7a1f933836724b503f8a413af9365b4dcc4d90b8" dependencies = [ - "is-terminal", "lazy_static", - "windows-sys", + "windows-sys 0.48.0", ] [[package]] name = "core-foundation-sys" -version = "0.8.4" +version = "0.8.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e496a50fda8aacccc86d7529e2c1e0892dbd0f898a6b5645b5561b89c3210efa" +checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b" [[package]] name = "cpufeatures" -version = "0.2.9" +version = "0.2.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a17b76ff3a4162b0b27f354a0c87015ddad39d35f9c0c36607a3bdd175dde1f1" +checksum = "51e852e6dc9a5bed1fae92dd2375037bf2b768725bf3be87811edee3249d09ad" dependencies = [ "libc", ] [[package]] name = "crossbeam-channel" -version = "0.5.8" +version = "0.5.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a33c2bf77f2df06183c3aa30d1e96c0695a313d4f9c453cc3762a6db39f99200" +checksum = "33480d6946193aa8033910124896ca395333cae7e2d1113d1fef6c3272217df2" dependencies = [ - "cfg-if", "crossbeam-utils", ] [[package]] name = "crossbeam-deque" -version = "0.8.3" +version = "0.8.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce6fd6f855243022dcecf8702fef0c297d4338e226845fe067f6341ad9fa0cef" +checksum = "613f8cc01fe9cf1a3eb3d7f488fd2fa8388403e97039e2f73692932e291a770d" dependencies = [ - "cfg-if", "crossbeam-epoch", "crossbeam-utils", ] [[package]] name = "crossbeam-epoch" -version = "0.9.15" +version = "0.9.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae211234986c545741a7dc064309f67ee1e5ad243d0e48335adc0484d960bcc7" +checksum = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e" dependencies = [ - "autocfg", - "cfg-if", "crossbeam-utils", - "memoffset", - "scopeguard", ] [[package]] name = "crossbeam-utils" -version = "0.8.16" +version = "0.8.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a22b2d63d4d1dc0b7f1b6b2747dd0088008a9be28b6ddf0b1e7d335e3037294" -dependencies = [ - "cfg-if", -] +checksum = "22ec99545bb0ed0ea7bb9b8e1e9122ea386ff8a48c0922e43f36d45ab09e0e80" [[package]] name = "crypto-common" @@ -279,12 +304,13 @@ dependencies = [ [[package]] name = "dashmap" -version = "5.5.0" +version = "6.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6943ae99c34386c84a470c499d3414f66502a41340aa895406e0d2e4a207b91d" +checksum = "804c8821570c3f8b70230c2ba75ffa5c0f9a4189b9a432b6656c536712acae28" dependencies = [ "cfg-if", - "hashbrown 0.14.0", + "crossbeam-utils", + "hashbrown", "lock_api", "once_cell", "parking_lot_core", @@ -293,9 +319,9 @@ dependencies = [ [[package]] name = "derive_arbitrary" -version = "1.3.1" +version = "1.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53e0efad4403bfc52dc201159c4b842a246a14b98c64b55dfd0f2d89729dfeb8" +checksum = "67e77553c4162a157adbf834ebae5b415acbecbeafc7a74b0e886657506a7611" dependencies = [ "proc-macro2", "quote", @@ -304,9 +330,9 @@ dependencies = [ [[package]] name = "deunicode" -version = "0.4.4" +version = "1.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d95203a6a50906215a502507c0f879a0ce7ff205a6111e2db2a5ef8e4bb92e43" +checksum = "339544cc9e2c4dc3fc7149fd630c5f22263a4fdf18a98afd0075784968b5cf00" [[package]] name = "digest" @@ -320,15 +346,15 @@ dependencies = [ [[package]] name = "either" -version = "1.9.0" +version = "1.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a26ae43d7bcc3b814de94796a5e736d4029efb0ee900c12e2d54c993ad1a1e07" +checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0" [[package]] name = "encoding_rs" -version = "0.8.32" +version = "0.8.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "071a31f4ee85403370b58aca746f01041ede6f0da2730960ad001edc2b71b394" +checksum = "b45de904aa0b010bce2ab45264d0631681847fa7b6f2eaa7dab7619943bc4f59" dependencies = [ "cfg-if", ] @@ -342,17 +368,27 @@ dependencies = [ "encoding_rs", ] +[[package]] +name = "env_filter" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4f2c92ceda6ceec50f43169f9ee8424fe2db276791afde7b2cd8bc084cb376ab" +dependencies = [ + "log", + "regex", +] + [[package]] name = "env_logger" -version = "0.10.0" +version = "0.11.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85cdab6a89accf66733ad5a1693a4dcced6aeff64602b634530dd73c1f3ee9f0" +checksum = "e13fa619b91fb2381732789fc5de83b45675e882f66623b7d8cb4f643017018d" dependencies = [ + "anstream", + "anstyle", + "env_filter", "humantime", - "is-terminal", "log", - "regex", - "termcolor", ] [[package]] @@ -363,23 +399,12 @@ checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" [[package]] name = "errno" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b30f669a7961ef1631673d2766cc92f52d64f7ef354d4fe0ddfd30ed52f0f4f" -dependencies = [ - "errno-dragonfly", - "libc", - "windows-sys", -] - -[[package]] -name = "errno-dragonfly" -version = "0.1.2" +version = "0.3.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa68f1b12764fab894d2755d2518754e71b4fd80ecfb822714a1206c2aab39bf" +checksum = "534c5cf6194dfab3db3242765c03bbe257cf92f22b38f6bc0c58d59108a820ba" dependencies = [ - "cc", "libc", + "windows-sys 0.52.0", ] [[package]] @@ -390,14 +415,14 @@ checksum = "136d1b5283a1ab77bd9257427ffd09d8667ced0570b6f938942bc7568ed5b943" dependencies = [ "cfg-if", "home", - "windows-sys", + "windows-sys 0.48.0", ] [[package]] name = "fastrand" -version = "2.0.0" +version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6999dc1837253364c2ebb0704ba97994bd874e8f195d665c50b7548f6ea92764" +checksum = "9fc0510504f03c51ada170672ac806f1f105a88aa97a5281117e1ddc3368e51a" [[package]] name = "fnv" @@ -407,9 +432,9 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "form_urlencoded" -version = "1.2.0" +version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a62bc1cf6f830c2ec14a513a9fb124d0a213a629668a4186f329db21fe045652" +checksum = "e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456" dependencies = [ "percent-encoding", ] @@ -426,9 +451,9 @@ dependencies = [ [[package]] name = "getrandom" -version = "0.2.10" +version = "0.2.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be4136b2a15dd319360be1c07d9933517ccf0be8f16bf62a3bee4f0d618df427" +checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7" dependencies = [ "cfg-if", "libc", @@ -437,11 +462,11 @@ dependencies = [ [[package]] name = "git2" -version = "0.17.2" +version = "0.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b989d6a7ca95a362cf2cfc5ad688b3a467be1f87e480b8dad07fee8c79b0044" +checksum = "b903b73e45dc0c6c596f2d37eccece7c1c8bb6e4407b001096387c63d0d93724" dependencies = [ - "bitflags 1.3.2", + "bitflags", "libc", "libgit2-sys", "log", @@ -450,90 +475,69 @@ dependencies = [ [[package]] name = "globset" -version = "0.4.12" +version = "0.4.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aca8bbd8e0707c1887a8bbb7e6b40e228f251ff5d62c8220a4a7a53c73aff006" +checksum = "57da3b9b5b85bd66f31093f8c408b90a74431672542466497dcbdfdc02034be1" dependencies = [ "aho-corasick", "bstr", - "fnv", "log", - "regex", + "regex-automata", + "regex-syntax", ] [[package]] name = "globwalk" -version = "0.8.1" +version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93e3af942408868f6934a7b85134a3230832b9977cf66125df2f9edcfce4ddcc" +checksum = "0bf760ebf69878d9fd8f110c89703d90ce35095324d1f1edcb595c63945ee757" dependencies = [ - "bitflags 1.3.2", + "bitflags", "ignore", "walkdir", ] [[package]] name = "grep-matcher" -version = "0.1.6" +version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3902ca28f26945fe35cad349d776f163981d777fee382ccd6ef451126f51b319" +checksum = "47a3141a10a43acfedc7c98a60a834d7ba00dfe7bec9071cbfc19b55b292ac02" dependencies = [ "memchr", ] [[package]] name = "grep-searcher" -version = "0.1.11" +version = "0.1.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5601c4b9f480f0c9ebb40b1f6cbf447b8a50c5369223937a6c5214368c58779f" +checksum = "ba536ae4f69bec62d8839584dd3153d3028ef31bb229f04e09fb5a9e5a193c54" dependencies = [ "bstr", - "bytecount", "encoding_rs", "encoding_rs_io", "grep-matcher", "log", + "memchr", "memmap2", ] [[package]] name = "half" -version = "1.8.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eabb4a44450da02c90444cf74558da904edde8fb4e9035a9a6a4e15445af0bd7" - -[[package]] -name = "hashbrown" -version = "0.12.3" +version = "1.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" +checksum = "1b43ede17f21864e81be2fa654110bf1e793774238d86ef8555c37e6519c0403" [[package]] name = "hashbrown" -version = "0.14.0" +version = "0.14.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c6201b9ff9fd90a5a3bac2e56a830d0caa509576f0e503818ee82c181b3437a" +checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" [[package]] name = "heck" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" - -[[package]] -name = "hermit-abi" -version = "0.1.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33" -dependencies = [ - "libc", -] - -[[package]] -name = "hermit-abi" -version = "0.3.2" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "443144c8cdadd93ebf52ddb4056d257f5b52c04d3c804e657d19eb73fc33668b" +checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" [[package]] name = "hex" @@ -543,11 +547,11 @@ checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" [[package]] name = "home" -version = "0.5.5" +version = "0.5.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5444c27eef6923071f7ebcc33e3444508466a76f7a2b93da00ed6e19f30c1ddb" +checksum = "e3d1354bf6b7235cb4a0576c2619fd4ed18183f689b12b006a0ee7329eeff9a5" dependencies = [ - "windows-sys", + "windows-sys 0.52.0", ] [[package]] @@ -567,16 +571,16 @@ checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" [[package]] name = "iana-time-zone" -version = "0.1.57" +version = "0.1.60" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2fad5b825842d2b38bd206f3e81d6957625fd7f0a361e345c30e01a0ae2dd613" +checksum = "e7ffbb5a1b541ea2561f8c41c087286cc091e21e556a4f09a8f6cbf17b69b141" dependencies = [ "android_system_properties", "core-foundation-sys", "iana-time-zone-haiku", "js-sys", "wasm-bindgen", - "windows", + "windows-core", ] [[package]] @@ -590,9 +594,9 @@ dependencies = [ [[package]] name = "idna" -version = "0.4.0" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d20d6b07bfbc108882d88ed8e37d39636dcc260e15e30c45e6ba089610b917c" +checksum = "634d9b1461af396cad843f47fdba5597a4f9e6ddd4bfb6ff5d85028c25cb12f6" dependencies = [ "unicode-bidi", "unicode-normalization", @@ -600,62 +604,35 @@ dependencies = [ [[package]] name = "ignore" -version = "0.4.20" +version = "0.4.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dbe7873dab538a9a44ad79ede1faf5f30d49f9a5c883ddbab48bce81b64b7492" +checksum = "b46810df39e66e925525d6e38ce1e7f6e1d208f72dc39757880fcb66e2c58af1" dependencies = [ + "crossbeam-deque", "globset", - "lazy_static", "log", "memchr", - "regex", + "regex-automata", "same-file", - "thread_local", "walkdir", "winapi-util", ] [[package]] name = "indexmap" -version = "1.9.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99" -dependencies = [ - "autocfg", - "hashbrown 0.12.3", -] - -[[package]] -name = "indexmap" -version = "2.0.0" +version = "2.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d5477fe2230a79769d8dc68e0eabf5437907c0457a5614a9e8dddb67f65eb65d" +checksum = "93ead53efc7ea8ed3cfb0c79fc8023fbb782a5432b52830b6518941cebe6505c" dependencies = [ "equivalent", - "hashbrown 0.14.0", -] - -[[package]] -name = "io-lifetimes" -version = "1.0.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eae7b9aee968036d54dce06cebaefd919e4472e753296daccd6d344e3e2df0c2" -dependencies = [ - "hermit-abi 0.3.2", - "libc", - "windows-sys", + "hashbrown", ] [[package]] -name = "is-terminal" -version = "0.4.9" +name = "is_terminal_polyfill" +version = "1.70.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb0889898416213fab133e1d33a0e5858a48177452750691bde3666d0fdbaf8b" -dependencies = [ - "hermit-abi 0.3.2", - "rustix 0.38.6", - "windows-sys", -] +checksum = "7943c866cc5cd64cbc25b2e01621d07fa8eb2a1a23160ee81ce38704e97b8ecf" [[package]] name = "itertools" @@ -668,24 +645,24 @@ dependencies = [ [[package]] name = "itoa" -version = "1.0.9" +version = "1.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af150ab688ff2122fcef229be89cb50dd66af9e01a4ff320cc137eecc9bacc38" +checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b" [[package]] name = "jobserver" -version = "0.1.26" +version = "0.1.32" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "936cfd212a0155903bcbc060e316fb6cc7cbf2e1907329391ebadc1fe0ce77c2" +checksum = "48d1dbcbbeb6a7fec7e059840aa538bd62aaccf972c7346c4d9d2059312853d0" dependencies = [ "libc", ] [[package]] name = "js-sys" -version = "0.3.64" +version = "0.3.70" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c5f195fe497f702db0f318b07fdd68edb16955aed830df8363d837542f8f935a" +checksum = "1868808506b929d7b0cfa8f75951347aa71bb21144b7791bae35d9bccfcfe37a" dependencies = [ "wasm-bindgen", ] @@ -703,21 +680,21 @@ dependencies = [ [[package]] name = "lazy_static" -version = "1.4.0" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" +checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" [[package]] name = "libc" -version = "0.2.155" +version = "0.2.156" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97b3888a4aecf77e811145cadf6eef5901f4782c53886191b2f693f24761847c" +checksum = "a5f43f184355eefb8d17fc948dbecf6c13be3c141f20d834ae842193a448c72a" [[package]] name = "libgit2-sys" -version = "0.15.2+1.6.4" +version = "0.17.0+1.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a80df2e11fb4a61f4ba2ab42dbe7f74468da143f1a75c74e11dee7c813f694fa" +checksum = "10472326a8a6477c3c20a64547b0059e4b0d086869eee31e6d7da728a8eb7224" dependencies = [ "cc", "libc", @@ -727,15 +704,15 @@ dependencies = [ [[package]] name = "libm" -version = "0.2.7" +version = "0.2.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7012b1bbb0719e1097c47611d3898568c546d597c2e74d66f6087edd5233ff4" +checksum = "4ec2a862134d2a7d32d7983ddcdd1c4923530833c9f2ea1a44fc5fa473989058" [[package]] name = "libz-sys" -version = "1.1.12" +version = "1.1.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d97137b25e321a73eef1418d1d5d2eda4d77e12813f8e6dead84bc52c5870a7b" +checksum = "fdc53a7799a7496ebc9fd29f31f7df80e83c9bda5299768af5f9e59eeea74647" dependencies = [ "cc", "libc", @@ -745,21 +722,15 @@ dependencies = [ [[package]] name = "linux-raw-sys" -version = "0.3.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519" - -[[package]] -name = "linux-raw-sys" -version = "0.4.5" +version = "0.4.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57bcfdad1b858c2db7c38303a6d2ad4dfaf5eb53dfeb0910128b2c26d6158503" +checksum = "78b3ae25bc7c8c38cec158d1f2757ee79e9b3740fbc7ccf0e59e4b08d793fa89" [[package]] name = "lock_api" -version = "0.4.10" +version = "0.4.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c1cc9717a20b1bb222f333e6a92fd32f7d8a18ddc5a3191a11af45dcbf4dcd16" +checksum = "07af8b9cdd281b7915f413fa73f29ebd5d55d0d3f0155584dade1ff18cea1b17" dependencies = [ "autocfg", "scopeguard", @@ -767,34 +738,25 @@ dependencies = [ [[package]] name = "log" -version = "0.4.19" +version = "0.4.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b06a4cde4c0f271a446782e3eff8de789548ce57dbc8eca9292c27f4a42004b4" +checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24" [[package]] name = "memchr" -version = "2.5.0" +version = "2.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d" +checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3" [[package]] name = "memmap2" -version = "0.5.10" +version = "0.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83faa42c0a078c393f6b29d5db232d8be22776a891f8f56e5284faee4a20b327" +checksum = "fe751422e4a8caa417e13c3ea66452215d7d63e19e604f4980461212f3ae1322" dependencies = [ "libc", ] -[[package]] -name = "memoffset" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a634b1c61a95585bd15607c6ab0c4e5b226e695ff2800ba0cdccddf208c406c" -dependencies = [ - "autocfg", -] - [[package]] name = "num-format" version = "0.4.4" @@ -807,41 +769,25 @@ dependencies = [ [[package]] name = "num-traits" -version = "0.2.16" +version = "0.2.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f30b0abd723be7e2ffca1272140fac1a2f084c77ec3e123c192b66af1ee9e6c2" +checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" dependencies = [ "autocfg", "libm", ] -[[package]] -name = "num_cpus" -version = "1.16.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43" -dependencies = [ - "hermit-abi 0.3.2", - "libc", -] - [[package]] name = "once_cell" -version = "1.18.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d" - -[[package]] -name = "os_str_bytes" -version = "6.5.1" +version = "1.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d5d9eb14b174ee9aa2ef96dc2b94637a2d4b6e7cb873c7e171f0c20c6cf3eac" +checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" [[package]] name = "parking_lot" -version = "0.12.1" +version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f" +checksum = "f1bf18183cf54e8d6059647fc3063646a1801cf30896933ec2311622cc4b9a27" dependencies = [ "lock_api", "parking_lot_core", @@ -849,47 +795,48 @@ dependencies = [ [[package]] name = "parking_lot_core" -version = "0.9.8" +version = "0.9.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93f00c865fe7cabf650081affecd3871070f26767e7b2070a3ffae14c654b447" +checksum = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8" dependencies = [ "cfg-if", "libc", "redox_syscall", "smallvec", - "windows-targets", + "windows-targets 0.52.6", ] [[package]] name = "parse-zoneinfo" -version = "0.3.0" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c705f256449c60da65e11ff6626e0c16a0a0b96aaa348de61376b249bc340f41" +checksum = "1f2a05b18d44e2957b88f96ba460715e295bc1d7510468a2f3d3b44535d26c24" dependencies = [ "regex", ] [[package]] name = "percent-encoding" -version = "2.3.0" +version = "2.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b2a4787296e9989611394c33f193f676704af1686e70b8f8033ab5ba9a35a94" +checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" [[package]] name = "pest" -version = "2.7.2" +version = "2.7.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1acb4a4365a13f749a93f1a094a7805e5cfa0955373a9de860d962eaa3a5fe5a" +checksum = "cd53dff83f26735fdc1ca837098ccf133605d794cdae66acfc2bfac3ec809d95" dependencies = [ + "memchr", "thiserror", "ucd-trie", ] [[package]] name = "pest_derive" -version = "2.7.2" +version = "2.7.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "666d00490d4ac815001da55838c500eafb0320019bbaa44444137c48b443a853" +checksum = "2a548d2beca6773b1c244554d36fcf8548a8a58e74156968211567250e48e49a" dependencies = [ "pest", "pest_generator", @@ -897,9 +844,9 @@ dependencies = [ [[package]] name = "pest_generator" -version = "2.7.2" +version = "2.7.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68ca01446f50dbda87c1786af8770d535423fa8a53aec03b8f4e3d7eb10e0929" +checksum = "3c93a82e8d145725dcbaf44e5ea887c8a869efdcc28706df2d08c69e17077183" dependencies = [ "pest", "pest_meta", @@ -910,9 +857,9 @@ dependencies = [ [[package]] name = "pest_meta" -version = "2.7.2" +version = "2.7.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56af0a30af74d0445c0bf6d9d051c979b516a1a5af790d251daee76005420a48" +checksum = "a941429fea7e08bedec25e4f6785b6ffaacc6b755da98df5ef3e7dcf4a124c4f" dependencies = [ "once_cell", "pest", @@ -921,18 +868,18 @@ dependencies = [ [[package]] name = "phf" -version = "0.10.1" +version = "0.11.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fabbf1ead8a5bcbc20f5f8b939ee3f5b0f6f281b6ad3468b84656b658b455259" +checksum = "ade2d8b8f33c7333b51bcf0428d37e217e9f32192ae4772156f65063b8ce03dc" dependencies = [ "phf_shared", ] [[package]] name = "phf_codegen" -version = "0.10.0" +version = "0.11.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4fb1c3a8bc4dd4e5cfce29b44ffc14bedd2ee294559a294e2a4d4c9e9a6a13cd" +checksum = "e8d39688d359e6b34654d328e262234662d16cc0f60ec8dcbe5e718709342a5a" dependencies = [ "phf_generator", "phf_shared", @@ -940,9 +887,9 @@ dependencies = [ [[package]] name = "phf_generator" -version = "0.10.0" +version = "0.11.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d5285893bb5eb82e6aaf5d59ee909a06a16737a8970984dd7746ba9283498d6" +checksum = "48e4cc64c2ad9ebe670cb8fd69dd50ae301650392e81c05f9bfcb2d5bdbc24b0" dependencies = [ "phf_shared", "rand", @@ -950,50 +897,52 @@ dependencies = [ [[package]] name = "phf_shared" -version = "0.10.0" +version = "0.11.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6796ad771acdc0123d2a88dc428b5e38ef24456743ddb1744ed628f9815c096" +checksum = "90fcb95eef784c2ac79119d1dd819e162b5da872ce6f3c3abe1e8ca1c082f72b" dependencies = [ "siphasher", - "uncased", ] [[package]] name = "pkg-config" -version = "0.3.27" +version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26072860ba924cbfa98ea39c8c19b4dd6a4a25423dbdf219c1eca91aa0cf6964" +checksum = "d231b230927b5e4ad203db57bbcbee2802f6bce620b1e4a9024a07d94e2907ec" [[package]] name = "ppv-lite86" -version = "0.2.17" +version = "0.2.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" +checksum = "77957b295656769bb8ad2b6a6b09d897d94f05c41b069aede1fcdaa675eaea04" +dependencies = [ + "zerocopy", +] [[package]] name = "proc-macro2" -version = "1.0.66" +version = "1.0.86" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "18fb31db3f9bddb2ea821cde30a9f70117e3f119938b5ee630b7403aa6e2ead9" +checksum = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77" dependencies = [ "unicode-ident", ] [[package]] name = "proptest" -version = "1.2.0" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e35c06b98bf36aba164cc17cb25f7e232f5c4aeea73baa14b8a9f0d92dbfa65" +checksum = "b4c2511913b88df1637da85cc8d96ec8e43a3f8bb8ccb71ee1ac240d6f3df58d" dependencies = [ "bit-set", - "bitflags 1.3.2", - "byteorder", + "bit-vec", + "bitflags", "lazy_static", "num-traits", "rand", "rand_chacha", "rand_xorshift", - "regex-syntax 0.6.29", + "regex-syntax", "rusty-fork", "tempfile", "unarray", @@ -1007,9 +956,9 @@ checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0" [[package]] name = "quote" -version = "1.0.32" +version = "1.0.36" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50f3b39ccfb720540debaa0164757101c08ecb8d326b15358ce76a62c7e85965" +checksum = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7" dependencies = [ "proc-macro2", ] @@ -1055,9 +1004,9 @@ dependencies = [ [[package]] name = "rayon" -version = "1.7.0" +version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d2df5196e37bcc87abebc0053e20787d73847bb33134a69841207dd0a47f03b" +checksum = "b418a60154510ca1a002a752ca9714984e21e4241e804d32555251faf8b78ffa" dependencies = [ "either", "rayon-core", @@ -1065,92 +1014,70 @@ dependencies = [ [[package]] name = "rayon-core" -version = "1.11.0" +version = "1.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b8f95bd6966f5c87776639160a66bd8ab9895d9d4ab01ddba9fc60661aebe8d" +checksum = "1465873a3dfdaa8ae7cb14b4383657caab0b3e8a0aa9ae8e04b044854c8dfce2" dependencies = [ - "crossbeam-channel", "crossbeam-deque", "crossbeam-utils", - "num_cpus", ] [[package]] name = "redox_syscall" -version = "0.3.5" +version = "0.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "567664f262709473930a4bf9e51bf2ebf3348f2e748ccc50dea20646858f8f29" +checksum = "2a908a6e00f1fdd0dfd9c0eb08ce85126f6d8bbda50017e74bc4a4b7d4a926a4" dependencies = [ - "bitflags 1.3.2", + "bitflags", ] [[package]] name = "regex" -version = "1.9.1" +version = "1.10.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2eae68fc220f7cf2532e4494aded17545fce192d59cd996e0fe7887f4ceb575" +checksum = "4219d74c6b67a3654a9fbebc4b419e22126d13d2f3c4a07ee0cb61ff79a79619" dependencies = [ "aho-corasick", "memchr", "regex-automata", - "regex-syntax 0.7.4", + "regex-syntax", ] [[package]] name = "regex-automata" -version = "0.3.4" +version = "0.4.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b7b6d6190b7594385f61bd3911cd1be99dfddcfc365a4160cc2ab5bff4aed294" +checksum = "38caf58cc5ef2fed281f89292ef23f6365465ed9a41b7a7754eb4e26496c92df" dependencies = [ "aho-corasick", "memchr", - "regex-syntax 0.7.4", + "regex-syntax", ] [[package]] name = "regex-syntax" -version = "0.6.29" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1" - -[[package]] -name = "regex-syntax" -version = "0.7.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5ea92a5b6195c6ef2a0295ea818b312502c6fc94dde986c5553242e18fd4ce2" - -[[package]] -name = "rustix" -version = "0.37.23" +version = "0.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d69718bf81c6127a49dc64e44a742e8bb9213c0ff8869a22c308f84c1d4ab06" -dependencies = [ - "bitflags 1.3.2", - "errno", - "io-lifetimes", - "libc", - "linux-raw-sys 0.3.8", - "windows-sys", -] +checksum = "7a66a03ae7c801facd77a29370b4faec201768915ac14a721ba36f20bc9c209b" [[package]] name = "rustix" -version = "0.38.6" +version = "0.38.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ee020b1716f0a80e2ace9b03441a749e402e86712f15f16fe8a8f75afac732f" +checksum = "70dc5ec042f7a43c4a73241207cecc9873a06d45debb38b329f8541d85c2730f" dependencies = [ - "bitflags 2.3.3", + "bitflags", "errno", "libc", - "linux-raw-sys 0.4.5", - "windows-sys", + "linux-raw-sys", + "windows-sys 0.52.0", ] [[package]] name = "rustversion" -version = "1.0.14" +version = "1.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ffc183a10b4478d04cbbbfc96d0873219d962dd5accaff2ffbd4ceb7df837f4" +checksum = "955d28af4278de8121b7ebeb796b6a45735dc01436d898801014aced2773a3d6" [[package]] name = "rusty-fork" @@ -1166,9 +1093,9 @@ dependencies = [ [[package]] name = "ryu" -version = "1.0.15" +version = "1.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ad4cc8da4ef723ed60bced201181d83791ad433213d8c24efffda1eec85d741" +checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f" [[package]] name = "same-file" @@ -1187,9 +1114,9 @@ checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" [[package]] name = "serde" -version = "1.0.180" +version = "1.0.208" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ea67f183f058fe88a4e3ec6e2788e003840893b91bac4559cabedd00863b3ed" +checksum = "cff085d2cb684faa248efb494c39b68e522822ac0de72ccf08109abde717cfb2" dependencies = [ "serde_derive", ] @@ -1206,9 +1133,9 @@ dependencies = [ [[package]] name = "serde_derive" -version = "1.0.180" +version = "1.0.208" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24e744d7782b686ab3b73267ef05697159cc0e5abbed3f47f9933165e5219036" +checksum = "24008e81ff7613ed8e5ba0cfaf24e2c2f1e5b8a0495711e44fcd4882fca62bcf" dependencies = [ "proc-macro2", "quote", @@ -1217,31 +1144,32 @@ dependencies = [ [[package]] name = "serde_json" -version = "1.0.104" +version = "1.0.125" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "076066c5f1078eac5b722a31827a8832fe108bed65dfa75e233c89f8206e976c" +checksum = "83c8e735a073ccf5be70aa8066aa984eaf2fa000db6c8d0100ae605b366d31ed" dependencies = [ "itoa", + "memchr", "ryu", "serde", ] [[package]] name = "serde_spanned" -version = "0.6.3" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96426c9936fd7a0124915f9185ea1d20aa9445cc9821142f0a73bc9207a2e186" +checksum = "eb5b1b31579f3811bf615c144393417496f152e12ac8b7663bf664f4a815306d" dependencies = [ "serde", ] [[package]] name = "serde_yaml" -version = "0.9.25" +version = "0.9.34+deprecated" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a49e178e4452f45cb61d0cd8cebc1b0fafd3e41929e996cef79aa3aca91f574" +checksum = "6a8b1a1a2ebf674015cc02edccce75287f1a0130d394307b36743c2f5d504b47" dependencies = [ - "indexmap 2.0.0", + "indexmap", "itoa", "ryu", "serde", @@ -1250,53 +1178,60 @@ dependencies = [ [[package]] name = "sha2" -version = "0.10.7" +version = "0.10.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "479fb9d862239e610720565ca91403019f2f00410f1864c5aa7479b950a76ed8" +checksum = "793db75ad2bcafc3ffa7c68b215fee268f537982cd901d132f89c6343f3a3dc8" dependencies = [ "cfg-if", "cpufeatures", "digest", ] +[[package]] +name = "shlex" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" + [[package]] name = "siphasher" -version = "0.3.10" +version = "0.3.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7bd3e3206899af3f8b12af284fafc038cc1dc2b41d1b89dd17297221c5d225de" +checksum = "38b58827f4464d87d377d175e90bf58eb00fd8716ff0a62f80356b5e61555d0d" [[package]] name = "slug" -version = "0.1.4" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b3bc762e6a4b6c6fcaade73e77f9ebc6991b676f88bb2358bddb56560f073373" +checksum = "882a80f72ee45de3cc9a5afeb2da0331d58df69e4e7d8eeb5d3c7784ae67e724" dependencies = [ "deunicode", + "wasm-bindgen", ] [[package]] name = "smallvec" -version = "1.11.0" +version = "1.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62bb4feee49fdd9f707ef802e22365a35de4b7b299de4763d44bfea899442ff9" +checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" [[package]] name = "strsim" -version = "0.10.0" +version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" +checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" [[package]] name = "strum" -version = "0.25.0" +version = "0.26.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "290d54ea6f91c969195bdbcd7442c8c2a2ba87da8bf60a7ee86a235d4bc1e125" +checksum = "8fec0f0aef304996cf250b31b5a10dee7980c85da9d759361292b8bca5a18f06" [[package]] name = "strum_macros" -version = "0.25.1" +version = "0.26.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6069ca09d878a33f883cc06aaa9718ede171841d3832450354410b718b097232" +checksum = "4c6bee85a5a24955dc440386795aa378cd9cf82acd5f764469152d2270e581be" dependencies = [ "heck", "proc-macro2", @@ -1307,9 +1242,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.28" +version = "2.0.74" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "04361975b3f5e348b2189d8dc55bc942f278b2d482a6a0365de5bdd62d351567" +checksum = "1fceb41e3d546d0bd83421d3409b1460cc7444cd389341a4c880fe7a042cb3d7" dependencies = [ "proc-macro2", "quote", @@ -1329,22 +1264,22 @@ dependencies = [ [[package]] name = "tempfile" -version = "3.7.0" +version = "3.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5486094ee78b2e5038a6382ed7645bc084dc2ec433426ca4c3cb61e2007b8998" +checksum = "04cbcdd0c794ebb0d4cf35e88edd2f7d2c4c3e9a5a6dab322839b321c6a87a64" dependencies = [ "cfg-if", "fastrand", - "redox_syscall", - "rustix 0.38.6", - "windows-sys", + "once_cell", + "rustix", + "windows-sys 0.59.0", ] [[package]] name = "tera" -version = "1.19.0" +version = "1.20.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a5ab29bb4f3e256ae6ad5c3e2775aa1f8829f2c0c101fc407bfd3a6df15c60c5" +checksum = "ab9d851b45e865f178319da0abdbfe6acbc4328759ff18dafc3a41c16b4cd2ee" dependencies = [ "chrono", "chrono-tz", @@ -1359,7 +1294,6 @@ dependencies = [ "serde", "serde_json", "slug", - "thread_local", "unic-segment", ] @@ -1373,68 +1307,41 @@ dependencies = [ "winapi", ] -[[package]] -name = "termcolor" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be55cf8942feac5c765c2c993422806843c9a9a45d4d5c407ad6dd2ea95eb9b6" -dependencies = [ - "winapi-util", -] - [[package]] name = "terminal_size" -version = "0.2.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e6bf6f19e9f8ed8d4048dc22981458ebcf406d67e94cd422e5ecd73d63b3237" -dependencies = [ - "rustix 0.37.23", - "windows-sys", -] - -[[package]] -name = "textwrap" -version = "0.16.0" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "222a222a5bfe1bba4a77b45ec488a741b3cb8872e5e499451fd7d0129c9c7c3d" +checksum = "21bebf2b7c9e0a515f6e0f8c51dc0f8e4696391e6f1ff30379559f8365fb0df7" dependencies = [ - "terminal_size", + "rustix", + "windows-sys 0.48.0", ] [[package]] name = "thiserror" -version = "1.0.44" +version = "1.0.63" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "611040a08a0439f8248d1990b111c95baa9c704c805fa1f62104b39655fd7f90" +checksum = "c0342370b38b6a11b6cc11d6a805569958d54cfa061a29969c3b5ce2ea405724" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.44" +version = "1.0.63" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "090198534930841fab3a5d1bb637cde49e339654e606195f8d9c76eeb081dc96" +checksum = "a4558b58466b9ad7ca0f102865eccc95938dca1a74a856f2b57b6629050da261" dependencies = [ "proc-macro2", "quote", "syn", ] -[[package]] -name = "thread_local" -version = "1.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5516c27b78311c50bf42c071425c560ac799b11c30b31f87e3081965fe5e0180" -dependencies = [ - "once_cell", -] - [[package]] name = "tinyvec" -version = "1.6.0" +version = "1.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87cc5ceb3875bb20c2890005a4e226a4651264a5c75edb2421b52861a0a0cb50" +checksum = "445e881f4f6d382d5f27c034e25eb92edd7c784ceab92a0937db7f2e9471b938" dependencies = [ "tinyvec_macros", ] @@ -1485,9 +1392,9 @@ dependencies = [ [[package]] name = "toml" -version = "0.7.6" +version = "0.8.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c17e963a819c331dcacd7ab957d80bc2b9a9c1e71c804826d2f283dd65306542" +checksum = "a1ed1f98e3fdc28d6d910e6737ae6ab1a93bf1985935a1193e68f93eeb68d24e" dependencies = [ "serde", "serde_spanned", @@ -1497,20 +1404,20 @@ dependencies = [ [[package]] name = "toml_datetime" -version = "0.6.3" +version = "0.6.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7cda73e2f1397b1262d6dfdcef8aafae14d1de7748d66822d3bfeeb6d03e5e4b" +checksum = "0dd7358ecb8fc2f8d014bf86f6f638ce72ba252a2c3a2572f2a795f1d23efb41" dependencies = [ "serde", ] [[package]] name = "toml_edit" -version = "0.19.14" +version = "0.22.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8123f27e969974a3dfba720fdb560be359f57b44302d280ba72e76a74480e8a" +checksum = "583c44c02ad26b0c3f3066fe629275e50627026c51ac2e595cca4c230ce1ce1d" dependencies = [ - "indexmap 2.0.0", + "indexmap", "serde", "serde_spanned", "toml_datetime", @@ -1519,9 +1426,9 @@ dependencies = [ [[package]] name = "typenum" -version = "1.16.0" +version = "1.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "497961ef93d974e23eb6f433eb5fe1b7930b659f06d12dec6fc44a8f554c0bba" +checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825" [[package]] name = "ucd-trie" @@ -1535,15 +1442,6 @@ version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "eaea85b334db583fe3274d12b4cd1880032beab409c0d774be044d4480ab9a94" -[[package]] -name = "uncased" -version = "0.9.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b9bc53168a4be7402ab86c3aad243a84dd7381d09be0eddc81280c1da95ca68" -dependencies = [ - "version_check", -] - [[package]] name = "unic-char-property" version = "0.9.0" @@ -1596,42 +1494,48 @@ dependencies = [ [[package]] name = "unicode-bidi" -version = "0.3.13" +version = "0.3.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "92888ba5573ff080736b3648696b70cafad7d250551175acbaa4e0385b3e1460" +checksum = "08f95100a766bf4f8f28f90d77e0a5461bbdb219042e7679bebe79004fed8d75" [[package]] name = "unicode-ident" -version = "1.0.11" +version = "1.0.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "301abaae475aa91687eb82514b328ab47a211a533026cb25fc3e519b86adfc3c" +checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" [[package]] name = "unicode-normalization" -version = "0.1.22" +version = "0.1.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c5713f0fc4b5db668a2ac63cdb7bb4469d8c9fed047b1d0292cc7b0ce2ba921" +checksum = "a56d1686db2308d901306f92a263857ef59ea39678a5458e7cb17f01415101f5" dependencies = [ "tinyvec", ] [[package]] name = "unsafe-libyaml" -version = "0.2.9" +version = "0.2.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f28467d3e1d3c6586d8f25fa243f544f5800fec42d97032474e17222c2b75cfa" +checksum = "673aac59facbab8a9007c7f6108d11f63b603f7cabff99fabf650fea5c32b861" [[package]] name = "url" -version = "2.4.0" +version = "2.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50bff7831e19200a85b17131d085c25d7811bc4e186efdaf54bbd132994a88cb" +checksum = "22784dbdf76fdde8af1aeda5622b546b422b6fc585325248a2bf9f5e41e94d6c" dependencies = [ "form_urlencoded", "idna", "percent-encoding", ] +[[package]] +name = "utf8parse" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" + [[package]] name = "vcpkg" version = "0.2.15" @@ -1640,9 +1544,9 @@ checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426" [[package]] name = "version_check" -version = "0.9.4" +version = "0.9.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" +checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" [[package]] name = "wait-timeout" @@ -1655,9 +1559,9 @@ dependencies = [ [[package]] name = "walkdir" -version = "2.3.3" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "36df944cda56c7d8d8b7496af378e6b16de9284591917d307c9b4d313c44e698" +checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b" dependencies = [ "same-file", "winapi-util", @@ -1671,19 +1575,20 @@ checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" [[package]] name = "wasm-bindgen" -version = "0.2.87" +version = "0.2.93" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7706a72ab36d8cb1f80ffbf0e071533974a60d0a308d01a5d0375bf60499a342" +checksum = "a82edfc16a6c469f5f44dc7b571814045d60404b55a0ee849f9bcfa2e63dd9b5" dependencies = [ "cfg-if", + "once_cell", "wasm-bindgen-macro", ] [[package]] name = "wasm-bindgen-backend" -version = "0.2.87" +version = "0.2.93" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ef2b6d3c510e9625e5fe6f509ab07d66a760f0885d858736483c32ed7809abd" +checksum = "9de396da306523044d3302746f1208fa71d7532227f15e347e2d93e4145dd77b" dependencies = [ "bumpalo", "log", @@ -1696,9 +1601,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro" -version = "0.2.87" +version = "0.2.93" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dee495e55982a3bd48105a7b947fd2a9b4a8ae3010041b9e0faab3f9cd028f1d" +checksum = "585c4c91a46b072c92e908d99cb1dcdf95c5218eeb6f3bf1efa991ee7a68cccf" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -1706,9 +1611,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.87" +version = "0.2.93" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "54681b18a46765f095758388f2d0cf16eb8d4169b639ab575a8f5693af210c7b" +checksum = "afc340c74d9005395cf9dd098506f7f44e38f2b4a21c6aaacf9a105ea5e1e836" dependencies = [ "proc-macro2", "quote", @@ -1719,9 +1624,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-shared" -version = "0.2.87" +version = "0.2.93" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca6ad05a4870b2bf5fe995117d3728437bd27d7cd5f06f13c17443ef369775a1" +checksum = "c62a0a307cb4a311d3a07867860911ca130c3494e8c2719593806c08bc5d0484" [[package]] name = "winapi" @@ -1741,11 +1646,11 @@ checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" [[package]] name = "winapi-util" -version = "0.1.5" +version = "0.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178" +checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb" dependencies = [ - "winapi", + "windows-sys 0.59.0", ] [[package]] @@ -1755,12 +1660,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" [[package]] -name = "windows" -version = "0.48.0" +name = "windows-core" +version = "0.52.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e686886bc078bc1b0b600cac0147aadb815089b6e4da64016cbd754b6342700f" +checksum = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9" dependencies = [ - "windows-targets", + "windows-targets 0.52.6", ] [[package]] @@ -1769,71 +1674,174 @@ version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" dependencies = [ - "windows-targets", + "windows-targets 0.48.5", +] + +[[package]] +name = "windows-sys" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" +dependencies = [ + "windows-targets 0.52.6", +] + +[[package]] +name = "windows-sys" +version = "0.59.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b" +dependencies = [ + "windows-targets 0.52.6", ] [[package]] name = "windows-targets" -version = "0.48.1" +version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05d4b17490f70499f20b9e791dcf6a299785ce8af4d709018206dc5b4953e95f" +checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" dependencies = [ - "windows_aarch64_gnullvm", - "windows_aarch64_msvc", - "windows_i686_gnu", - "windows_i686_msvc", - "windows_x86_64_gnu", - "windows_x86_64_gnullvm", - "windows_x86_64_msvc", + "windows_aarch64_gnullvm 0.48.5", + "windows_aarch64_msvc 0.48.5", + "windows_i686_gnu 0.48.5", + "windows_i686_msvc 0.48.5", + "windows_x86_64_gnu 0.48.5", + "windows_x86_64_gnullvm 0.48.5", + "windows_x86_64_msvc 0.48.5", +] + +[[package]] +name = "windows-targets" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973" +dependencies = [ + "windows_aarch64_gnullvm 0.52.6", + "windows_aarch64_msvc 0.52.6", + "windows_i686_gnu 0.52.6", + "windows_i686_gnullvm", + "windows_i686_msvc 0.52.6", + "windows_x86_64_gnu 0.52.6", + "windows_x86_64_gnullvm 0.52.6", + "windows_x86_64_msvc 0.52.6", ] [[package]] name = "windows_aarch64_gnullvm" -version = "0.48.0" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" + +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91ae572e1b79dba883e0d315474df7305d12f569b400fcf90581b06062f7e1bc" +checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3" [[package]] name = "windows_aarch64_msvc" -version = "0.48.0" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" + +[[package]] +name = "windows_aarch64_msvc" +version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2ef27e0d7bdfcfc7b868b317c1d32c641a6fe4629c171b8928c7b08d98d7cf3" +checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469" [[package]] name = "windows_i686_gnu" -version = "0.48.0" +version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "622a1962a7db830d6fd0a69683c80a18fda201879f0f447f065a3b7467daa241" +checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" + +[[package]] +name = "windows_i686_gnu" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b" + +[[package]] +name = "windows_i686_gnullvm" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66" [[package]] name = "windows_i686_msvc" -version = "0.48.0" +version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4542c6e364ce21bf45d69fdd2a8e455fa38d316158cfd43b3ac1c5b1b19f8e00" +checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" + +[[package]] +name = "windows_i686_msvc" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66" [[package]] name = "windows_x86_64_gnu" -version = "0.48.0" +version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca2b8a661f7628cbd23440e50b05d705db3686f894fc9580820623656af974b1" +checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" + +[[package]] +name = "windows_x86_64_gnu" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" [[package]] name = "windows_x86_64_gnullvm" -version = "0.48.0" +version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7896dbc1f41e08872e9d5e8f8baa8fdd2677f29468c4e156210174edc7f7b953" +checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" + +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" [[package]] name = "windows_x86_64_msvc" -version = "0.48.0" +version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a515f5799fe4961cb532f983ce2b23082366b898e52ffbce459c86f67c8378a" +checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" + +[[package]] +name = "windows_x86_64_msvc" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" [[package]] name = "winnow" -version = "0.5.3" +version = "0.6.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f46aab759304e4d7b2075a9aecba26228bb073ee8c50db796b2c72c676b5d807" +checksum = "68a9bda4691f099d435ad181000724da8e5899daa10713c2d432552b9ccd3a6f" dependencies = [ "memchr", ] + +[[package]] +name = "zerocopy" +version = "0.7.35" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1b9b4fd18abc82b8136838da5d50bae7bdea537c574d8dc1a34ed098d6c166f0" +dependencies = [ + "byteorder", + "zerocopy-derive", +] + +[[package]] +name = "zerocopy-derive" +version = "0.7.35" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] diff --git a/Cargo.toml b/Cargo.toml index 05b113e4b..1ebf804ae 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -32,37 +32,37 @@ lto = "thin" panic = "abort" [build-dependencies] -tera = "1.19.0" -ignore = "0.4.20" -serde_json = "1.0.104" +tera = "1.20.0" +ignore = "0.4.22" +serde_json = "1.0.125" json5 = "0.4.1" [dependencies] -aho-corasick = "1.0.2" -arbitrary = { version = "1.3.0", features = ["derive"] } -clap = { version = "3", features = ["cargo", "wrap_help"] } -colored = "2.0.4" -crossbeam-channel = "0.5.8" +aho-corasick = "1.1.3" +arbitrary = { version = "1.3.2", features = ["derive"] } +clap = { version = "4", features = ["cargo", "wrap_help"] } +colored = "2.1.0" +crossbeam-channel = "0.5.13" encoding_rs_io = "0.1.7" -grep-searcher = "0.1.11" -ignore = "0.4.20" -log = "0.4.19" -rayon = "1.7.0" -serde = { version = "1.0.180", features = ["derive", "rc"] } +grep-searcher = "0.1.13" +ignore = "0.4.22" +log = "0.4.22" +rayon = "1.10.0" +serde = { version = "1.0.208", features = ["derive", "rc"] } term_size = "0.3.2" -toml = "0.7.6" -parking_lot = "0.12.1" -dashmap = { version = "5.5.0", features = ["serde"] } +toml = "0.8.19" +parking_lot = "0.12.3" +dashmap = { version = "6.0.1", features = ["serde"] } num-format = "0.4.4" -once_cell = "1.18.0" -regex = "1.9.1" -serde_json = "1.0.104" +once_cell = "1.19.0" +regex = "1.10.6" +serde_json = "1.0.125" etcetera = "0.8.0" table_formatter = "0.6.1" [dependencies.env_logger] features = [] -version = "0.10.0" +version = "0.11.5" [dependencies.hex] optional = true @@ -74,11 +74,11 @@ version = "0.11.2" [dependencies.serde_yaml] optional = true -version = "0.9.25" +version = "0.9.34" [dev-dependencies] -proptest = "1.2.0" -strum = "0.25.0" -strum_macros = "0.25.1" -tempfile = "3.7.0" -git2 = { version = "0.17.2", default-features = false, features = [] } +proptest = "1.5.0" +strum = "0.26.3" +strum_macros = "0.26.4" +tempfile = "3.12.0" +git2 = { version = "0.19.0", default-features = false, features = [] } diff --git a/cargo-audit.txt b/cargo-audit.txt index af77b78d0..7b8ebf8e7 100644 --- a/cargo-audit.txt +++ b/cargo-audit.txt @@ -1,20 +1,7 @@ Fetching advisory database from `https://github.com/RustSec/advisory-db.git` Loaded 648 security advisories (from /home/nick/.cargo/advisory-db) Updating crates.io index - Scanning Cargo.lock for vulnerabilities (199 crate dependencies) -Crate: libgit2-sys -Version: 0.15.2+1.6.4 -Title: Memory corruption, denial of service, and arbitrary code execution in libgit2 -Date: 2024-02-06 -ID: RUSTSEC-2024-0013 -URL: https://rustsec.org/advisories/RUSTSEC-2024-0013 -Severity: 8.6 (high) -Solution: Upgrade to >=0.16.2 -Dependency tree: -libgit2-sys 0.15.2+1.6.4 -└── git2 0.17.2 - └── tokei 13.0.0-alpha.1 - + Scanning Cargo.lock for vulnerabilities (203 crate dependencies) Crate: serde_cbor Version: 0.11.2 Warning: unmaintained @@ -37,28 +24,4 @@ Dependency tree: term_size 0.3.2 └── tokei 13.0.0-alpha.1 -Crate: atty -Version: 0.2.14 -Warning: unsound -Title: Potential unaligned read -Date: 2021-07-04 -ID: RUSTSEC-2021-0145 -URL: https://rustsec.org/advisories/RUSTSEC-2021-0145 -Dependency tree: -atty 0.2.14 -└── clap 3.2.25 - └── tokei 13.0.0-alpha.1 - -Crate: unsafe-libyaml -Version: 0.2.9 -Warning: unsound -Title: Unaligned write of u64 on 32-bit and 16-bit platforms -Date: 2023-12-20 -ID: RUSTSEC-2023-0075 -URL: https://rustsec.org/advisories/RUSTSEC-2023-0075 -Dependency tree: -unsafe-libyaml 0.2.9 -└── serde_yaml 0.9.25 - └── tokei 13.0.0-alpha.1 - -warning: 4 allowed warnings found +warning: 2 allowed warnings found diff --git a/cargo-outdated.txt b/cargo-outdated.txt index 8590b9388..afd58818e 100644 --- a/cargo-outdated.txt +++ b/cargo-outdated.txt @@ -1,387 +1 @@ -Name Project Compat Latest Kind Platform ----- ------- ------ ------ ---- -------- -aho-corasick 1.0.2 1.1.3 1.1.3 Normal --- -aho-corasick->memchr 2.5.0 2.7.4 2.7.4 Normal --- -aho-corasick->memchr 2.5.0 2.7.4 Removed Normal --- -aho-corasick->memchr 2.5.0 Removed Removed Normal --- -android_system_properties->libc 0.2.155 0.2.156 0.2.156 Normal --- -arbitrary 1.3.0 1.3.2 1.3.2 Normal --- -arbitrary->derive_arbitrary 1.3.1 1.3.2 1.3.2 Normal --- -atty->hermit-abi 0.1.19 --- Removed Normal cfg(target_os = "hermit") -atty->libc 0.2.155 0.2.156 Removed Normal cfg(unix) -atty->winapi 0.3.9 --- Removed Normal cfg(windows) -bstr->memchr 2.5.0 2.7.4 2.7.4 Normal --- -bstr->serde 1.0.180 1.0.208 1.0.208 Normal --- -cc->jobserver 0.1.26 0.1.32 0.1.32 Normal --- -cc->jobserver 0.1.26 Removed Removed Normal --- -cc->libc 0.2.155 0.2.156 0.2.156 Normal cfg(unix) -cc->libc 0.2.155 Removed Removed Normal cfg(unix) -chrono->iana-time-zone 0.1.57 0.1.60 0.1.60 Normal cfg(unix) -chrono->num-traits 0.2.16 0.2.19 0.2.19 Normal --- -chrono->winapi 0.3.9 Removed Removed Normal cfg(windows) -chrono-tz->chrono 0.4.26 0.4.38 0.4.38 Normal --- -chrono-tz->chrono-tz-build 0.0.2 0.3.0 0.3.0 Build --- -chrono-tz->phf 0.10.1 0.11.2 0.11.2 Normal --- -chrono-tz-build->parse-zoneinfo 0.3.0 0.3.1 0.3.1 Normal --- -chrono-tz-build->phf 0.10.1 0.11.2 0.11.2 Normal --- -chrono-tz-build->phf_codegen 0.10.0 0.11.2 0.11.2 Normal --- -clap 3.2.25 --- 4.5.16 Normal --- -clap->atty 0.2.14 --- Removed Normal --- -clap->bitflags 1.3.2 --- Removed Normal --- -clap->clap_lex 0.2.4 --- Removed Normal --- -clap->indexmap 1.9.3 --- Removed Normal --- -clap->once_cell 1.18.0 1.19.0 Removed Normal --- -clap->strsim 0.10.0 --- Removed Normal --- -clap->termcolor 1.2.0 1.4.1 Removed Normal --- -clap->terminal_size 0.2.6 --- Removed Normal --- -clap->textwrap 0.16.0 0.16.1 Removed Normal --- -clap_lex->os_str_bytes 6.5.1 6.6.1 Removed Normal --- -colored 2.0.4 2.1.0 2.1.0 Normal --- -colored->is-terminal 0.4.9 Removed Removed Normal --- -colored->lazy_static 1.4.0 1.5.0 1.5.0 Normal --- -cpufeatures->libc 0.2.155 0.2.156 0.2.156 Normal aarch64-linux-android -crossbeam-channel 0.5.8 0.5.13 0.5.13 Normal --- -crossbeam-channel->cfg-if 1.0.0 Removed Removed Normal --- -crossbeam-channel->crossbeam-utils 0.8.16 0.8.20 0.8.20 Normal --- -crossbeam-channel->crossbeam-utils 0.8.16 Removed Removed Normal --- -crossbeam-deque->cfg-if 1.0.0 Removed Removed Normal --- -crossbeam-deque->crossbeam-epoch 0.9.15 0.9.18 0.9.18 Normal --- -crossbeam-deque->crossbeam-utils 0.8.16 0.8.20 0.8.20 Normal --- -crossbeam-epoch->autocfg 1.1.0 Removed Removed Build --- -crossbeam-epoch->cfg-if 1.0.0 Removed Removed Normal --- -crossbeam-epoch->crossbeam-utils 0.8.16 0.8.20 0.8.20 Normal --- -crossbeam-epoch->memoffset 0.9.0 Removed Removed Normal --- -crossbeam-epoch->scopeguard 1.2.0 Removed Removed Normal --- -crossbeam-utils->cfg-if 1.0.0 Removed Removed Normal --- -crypto-common->typenum 1.16.0 1.17.0 1.17.0 Normal --- -dashmap 5.5.0 5.5.3 6.0.1 Normal --- -dashmap->hashbrown 0.14.0 0.14.5 0.14.5 Normal --- -dashmap->lock_api 0.4.10 0.4.12 0.4.12 Normal --- -dashmap->once_cell 1.18.0 1.19.0 1.19.0 Normal --- -dashmap->parking_lot_core 0.9.8 0.9.10 0.9.10 Normal --- -dashmap->serde 1.0.180 1.0.208 1.0.208 Normal --- -derive_arbitrary->proc-macro2 1.0.66 1.0.86 1.0.86 Normal --- -derive_arbitrary->quote 1.0.32 1.0.36 1.0.36 Normal --- -derive_arbitrary->syn 2.0.28 2.0.74 2.0.74 Normal --- -encoding_rs_io->encoding_rs 0.8.32 0.8.34 0.8.34 Normal --- -env_logger 0.10.0 0.10.2 0.11.5 Normal --- -env_logger->is-terminal 0.4.9 0.4.13 Removed Normal --- -env_logger->log 0.4.19 0.4.22 0.4.22 Normal --- -env_logger->regex 1.9.1 1.10.6 Removed Normal --- -env_logger->termcolor 1.2.0 1.4.1 Removed Normal --- -errno->errno-dragonfly 0.1.2 Removed Removed Normal cfg(target_os = "dragonfly") -errno->libc 0.2.155 0.2.156 0.2.156 Normal cfg(target_os = "hermit") -errno->libc 0.2.155 0.2.156 Removed Normal cfg(target_os = "hermit") -errno->libc 0.2.155 Removed Removed Normal cfg(target_os = "hermit") -errno->windows-sys 0.48.0 0.52.0 0.52.0 Normal cfg(windows) -errno->windows-sys 0.48.0 0.52.0 Removed Normal cfg(windows) -errno->windows-sys 0.48.0 Removed Removed Normal cfg(windows) -errno-dragonfly->cc 1.0.81 Removed Removed Build --- -errno-dragonfly->libc 0.2.155 Removed Removed Normal --- -etcetera->home 0.5.5 0.5.9 0.5.9 Normal --- -form_urlencoded->percent-encoding 2.3.0 2.3.1 2.3.1 Normal --- -generic-array->typenum 1.16.0 1.17.0 1.17.0 Normal --- -generic-array->version_check 0.9.4 0.9.5 0.9.5 Build --- -getrandom->libc 0.2.155 0.2.156 0.2.156 Normal cfg(unix) -git2 0.17.2 --- 0.19.0 Development --- -git2->bitflags 1.3.2 --- 2.6.0 Normal --- -git2->libc 0.2.155 0.2.156 0.2.156 Normal --- -git2->libgit2-sys 0.15.2+1.6.4 --- 0.17.0+1.8.1 Normal --- -git2->log 0.4.19 0.4.22 0.4.22 Normal --- -git2->url 2.4.0 2.5.2 2.5.2 Normal --- -globset->aho-corasick 1.0.2 1.1.3 1.1.3 Normal --- -globset->bstr 1.6.0 1.10.0 1.10.0 Normal --- -globset->fnv 1.0.7 Removed Removed Normal --- -globset->log 0.4.19 0.4.22 0.4.22 Normal --- -globset->regex 1.9.1 Removed Removed Normal --- -globwalk->bitflags 1.3.2 2.6.0 2.6.0 Normal --- -globwalk->ignore 0.4.20 0.4.22 0.4.22 Normal --- -globwalk->walkdir 2.3.3 2.5.0 2.5.0 Normal --- -grep-matcher->memchr 2.5.0 2.7.4 2.7.4 Normal --- -grep-searcher 0.1.11 0.1.13 0.1.13 Normal --- -grep-searcher->bstr 1.6.0 1.10.0 1.10.0 Normal --- -grep-searcher->bytecount 0.6.3 Removed Removed Normal --- -grep-searcher->encoding_rs 0.8.32 0.8.34 0.8.34 Normal --- -grep-searcher->grep-matcher 0.1.6 0.1.7 0.1.7 Normal --- -grep-searcher->log 0.4.19 0.4.22 0.4.22 Normal --- -grep-searcher->memmap2 0.5.10 0.9.4 0.9.4 Normal --- -hermit-abi->libc 0.2.155 0.2.156 Removed Normal --- -home->windows-sys 0.48.0 0.52.0 0.52.0 Normal cfg(windows) -humansize->libm 0.2.7 0.2.8 0.2.8 Normal --- -iana-time-zone->core-foundation-sys 0.8.4 0.8.7 0.8.7 Normal cfg(any(target_os = "macos", target_os = "ios")) -iana-time-zone->js-sys 0.3.64 0.3.70 0.3.70 Normal cfg(target_arch = "wasm32") -iana-time-zone->wasm-bindgen 0.2.87 0.2.93 0.2.93 Normal cfg(target_arch = "wasm32") -iana-time-zone->windows 0.48.0 Removed Removed Normal cfg(target_os = "windows") -iana-time-zone-haiku->cc 1.0.81 1.1.13 1.1.13 Build --- -idna->unicode-bidi 0.3.13 0.3.15 0.3.15 Normal --- -idna->unicode-normalization 0.1.22 0.1.23 0.1.23 Normal --- -ignore 0.4.20 0.4.22 0.4.22 Normal --- -ignore->globset 0.4.12 0.4.14 0.4.14 Normal --- -ignore->lazy_static 1.4.0 Removed Removed Normal --- -ignore->log 0.4.19 0.4.22 0.4.22 Normal --- -ignore->memchr 2.5.0 2.7.4 2.7.4 Normal --- -ignore->regex 1.9.1 Removed Removed Normal --- -ignore->thread_local 1.1.4 Removed Removed Normal --- -ignore->walkdir 2.3.3 2.5.0 2.5.0 Normal --- -ignore->winapi-util 0.1.5 0.1.9 0.1.9 Normal cfg(windows) -indexmap->autocfg 1.1.0 1.3.0 Removed Build --- -indexmap->hashbrown 0.12.3 --- Removed Normal --- -indexmap->hashbrown 0.14.0 0.14.5 0.14.5 Normal --- -io-lifetimes->hermit-abi 0.3.2 0.3.9 Removed Normal cfg(target_os = "hermit") -io-lifetimes->libc 0.2.155 0.2.156 Removed Normal cfg(not(windows)) -io-lifetimes->windows-sys 0.48.0 --- Removed Normal cfg(windows) -is-terminal->hermit-abi 0.3.2 0.4.0 Removed Normal cfg(target_os = "hermit") -is-terminal->hermit-abi 0.3.2 Removed Removed Normal cfg(target_os = "hermit") -is-terminal->rustix 0.38.6 Removed Removed Normal cfg(not(any(windows, target_os = "hermit", target_os = "unknown"))) -is-terminal->windows-sys 0.48.0 0.52.0 Removed Normal cfg(windows) -is-terminal->windows-sys 0.48.0 Removed Removed Normal cfg(windows) -itertools->either 1.9.0 1.13.0 1.13.0 Normal --- -jobserver->libc 0.2.155 0.2.156 0.2.156 Normal cfg(unix) -jobserver->libc 0.2.155 Removed Removed Normal cfg(unix) -js-sys->wasm-bindgen 0.2.87 0.2.93 0.2.93 Normal --- -json5->pest 2.7.2 2.7.11 2.7.11 Normal --- -json5->pest_derive 2.7.2 2.7.11 2.7.11 Normal --- -json5->serde 1.0.180 1.0.208 1.0.208 Normal --- -libgit2-sys->cc 1.0.81 1.1.13 1.1.13 Build --- -libgit2-sys->libc 0.2.155 0.2.156 0.2.156 Normal --- -libgit2-sys->libz-sys 1.1.12 1.1.19 1.1.19 Normal --- -libgit2-sys->pkg-config 0.3.27 0.3.30 0.3.30 Build --- -libz-sys->cc 1.0.81 1.1.13 1.1.13 Build --- -libz-sys->libc 0.2.155 0.2.156 0.2.156 Normal --- -libz-sys->pkg-config 0.3.27 0.3.30 0.3.30 Build --- -lock_api->autocfg 1.1.0 1.3.0 1.3.0 Build --- -log 0.4.19 0.4.22 0.4.22 Normal --- -memmap2->libc 0.2.155 0.2.156 0.2.156 Normal cfg(unix) -memoffset->autocfg 1.1.0 Removed Removed Build --- -num-format->itoa 1.0.9 1.0.11 1.0.11 Normal --- -num-traits->autocfg 1.1.0 1.3.0 1.3.0 Build --- -num-traits->libm 0.2.7 0.2.8 0.2.8 Normal --- -num_cpus->hermit-abi 0.3.2 Removed Removed Normal cfg(target_os = "hermit") -num_cpus->libc 0.2.155 Removed Removed Normal cfg(not(windows)) -once_cell 1.18.0 1.19.0 1.19.0 Normal --- -parking_lot 0.12.1 0.12.3 0.12.3 Normal --- -parking_lot->lock_api 0.4.10 0.4.12 0.4.12 Normal --- -parking_lot->parking_lot_core 0.9.8 0.9.10 0.9.10 Normal --- -parking_lot_core->libc 0.2.155 0.2.156 0.2.156 Normal cfg(unix) -parking_lot_core->redox_syscall 0.3.5 0.5.3 0.5.3 Normal cfg(target_os = "redox") -parking_lot_core->smallvec 1.11.0 1.13.2 1.13.2 Normal --- -parking_lot_core->windows-targets 0.48.1 0.52.6 0.52.6 Normal cfg(windows) -parse-zoneinfo->regex 1.9.1 1.10.6 1.10.6 Normal --- -pest->thiserror 1.0.44 1.0.63 1.0.63 Normal --- -pest_derive->pest 2.7.2 2.7.11 2.7.11 Normal --- -pest_derive->pest_generator 2.7.2 2.7.11 2.7.11 Normal --- -pest_generator->pest 2.7.2 2.7.11 2.7.11 Normal --- -pest_generator->pest_meta 2.7.2 2.7.11 2.7.11 Normal --- -pest_generator->proc-macro2 1.0.66 1.0.86 1.0.86 Normal --- -pest_generator->quote 1.0.32 1.0.36 1.0.36 Normal --- -pest_generator->syn 2.0.28 2.0.74 2.0.74 Normal --- -pest_meta->once_cell 1.18.0 1.19.0 1.19.0 Normal --- -pest_meta->pest 2.7.2 2.7.11 2.7.11 Normal --- -pest_meta->sha2 0.10.7 0.10.8 0.10.8 Build --- -phf->phf_shared 0.10.0 0.11.2 0.11.2 Normal --- -phf_codegen->phf_generator 0.10.0 0.11.2 0.11.2 Normal --- -phf_codegen->phf_shared 0.10.0 0.11.2 0.11.2 Normal --- -phf_generator->phf_shared 0.10.0 0.11.2 0.11.2 Normal --- -phf_shared->siphasher 0.3.10 0.3.11 0.3.11 Normal --- -phf_shared->uncased 0.9.9 Removed Removed Normal --- -proc-macro2->unicode-ident 1.0.11 1.0.12 1.0.12 Normal --- -proptest 1.2.0 1.5.0 1.5.0 Development --- -proptest->bitflags 1.3.2 2.6.0 2.6.0 Normal --- -proptest->byteorder 1.4.3 Removed Removed Normal --- -proptest->lazy_static 1.4.0 1.5.0 1.5.0 Normal --- -proptest->num-traits 0.2.16 0.2.19 0.2.19 Normal --- -proptest->regex-syntax 0.6.29 0.8.4 0.8.4 Normal --- -proptest->tempfile 3.7.0 3.12.0 3.12.0 Normal --- -quote->proc-macro2 1.0.66 1.0.86 1.0.86 Normal --- -rand->libc 0.2.155 0.2.156 0.2.156 Normal cfg(unix) -rand_chacha->ppv-lite86 0.2.17 0.2.20 0.2.20 Normal --- -rand_core->getrandom 0.2.10 0.2.15 0.2.15 Normal --- -rayon 1.7.0 1.10.0 1.10.0 Normal --- -rayon->either 1.9.0 1.13.0 1.13.0 Normal --- -rayon->rayon-core 1.11.0 1.12.1 1.12.1 Normal --- -rayon-core->crossbeam-channel 0.5.8 Removed Removed Normal --- -rayon-core->crossbeam-deque 0.8.3 0.8.5 0.8.5 Normal --- -rayon-core->crossbeam-utils 0.8.16 0.8.20 0.8.20 Normal --- -rayon-core->num_cpus 1.16.0 Removed Removed Normal --- -redox_syscall->bitflags 1.3.2 2.6.0 2.6.0 Normal --- -redox_syscall->bitflags 1.3.2 Removed Removed Normal --- -regex 1.9.1 1.10.6 1.10.6 Normal --- -regex->aho-corasick 1.0.2 1.1.3 1.1.3 Normal --- -regex->aho-corasick 1.0.2 1.1.3 Removed Normal --- -regex->aho-corasick 1.0.2 Removed Removed Normal --- -regex->memchr 2.5.0 2.7.4 2.7.4 Normal --- -regex->memchr 2.5.0 2.7.4 Removed Normal --- -regex->memchr 2.5.0 Removed Removed Normal --- -regex->regex-automata 0.3.4 0.4.7 0.4.7 Normal --- -regex->regex-automata 0.3.4 0.4.7 Removed Normal --- -regex->regex-automata 0.3.4 Removed Removed Normal --- -regex->regex-syntax 0.7.4 0.8.4 0.8.4 Normal --- -regex->regex-syntax 0.7.4 0.8.4 Removed Normal --- -regex->regex-syntax 0.7.4 Removed Removed Normal --- -regex-automata->aho-corasick 1.0.2 1.1.3 1.1.3 Normal --- -regex-automata->aho-corasick 1.0.2 1.1.3 Removed Normal --- -regex-automata->aho-corasick 1.0.2 Removed Removed Normal --- -regex-automata->memchr 2.5.0 2.7.4 2.7.4 Normal --- -regex-automata->memchr 2.5.0 2.7.4 Removed Normal --- -regex-automata->memchr 2.5.0 Removed Removed Normal --- -regex-automata->regex-syntax 0.7.4 0.8.4 0.8.4 Normal --- -regex-automata->regex-syntax 0.7.4 0.8.4 Removed Normal --- -regex-automata->regex-syntax 0.7.4 Removed Removed Normal --- -rustix->bitflags 1.3.2 --- Removed Normal --- -rustix->bitflags 2.3.3 2.6.0 2.6.0 Normal --- -rustix->bitflags 2.3.3 Removed Removed Normal --- -rustix->errno 0.3.2 0.3.9 0.3.9 Development --- -rustix->errno 0.3.2 0.3.9 Removed Development --- -rustix->errno 0.3.2 Removed Removed Development --- -rustix->io-lifetimes 1.0.11 --- Removed Normal --- -rustix->libc 0.2.155 0.2.156 0.2.156 Development --- -rustix->libc 0.2.155 0.2.156 Removed Development --- -rustix->libc 0.2.155 Removed Removed Development --- -rustix->linux-raw-sys 0.3.8 --- Removed Normal cfg(all(any(target_os = "android", target_os = "linux"), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) -rustix->linux-raw-sys 0.4.5 0.4.14 0.4.14 Normal cfg(all(any(target_os = "android", target_os = "linux"), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) -rustix->linux-raw-sys 0.4.5 Removed Removed Normal cfg(all(any(target_os = "android", target_os = "linux"), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) -rustix->windows-sys 0.48.0 --- Removed Normal cfg(windows) -rustix->windows-sys 0.48.0 0.52.0 0.52.0 Normal cfg(windows) -rustix->windows-sys 0.48.0 Removed Removed Normal cfg(windows) -rusty-fork->tempfile 3.7.0 3.12.0 3.12.0 Normal --- -same-file->winapi-util 0.1.5 0.1.9 0.1.9 Normal cfg(windows) -serde 1.0.180 1.0.208 1.0.208 Normal --- -serde->serde_derive 1.0.180 1.0.208 1.0.208 Normal --- -serde_cbor->half 1.8.2 1.8.3 1.8.3 Normal --- -serde_cbor->serde 1.0.180 1.0.208 1.0.208 Normal --- -serde_derive->proc-macro2 1.0.66 1.0.86 1.0.86 Normal cfg(not(all(target_arch = "x86_64", target_os = "linux", target_env = "gnu"))) -serde_derive->quote 1.0.32 1.0.36 1.0.36 Normal cfg(not(all(target_arch = "x86_64", target_os = "linux", target_env = "gnu"))) -serde_derive->syn 2.0.28 2.0.74 2.0.74 Normal cfg(not(all(target_arch = "x86_64", target_os = "linux", target_env = "gnu"))) -serde_json 1.0.104 1.0.125 1.0.125 Normal --- -serde_json->itoa 1.0.9 1.0.11 1.0.11 Normal --- -serde_json->ryu 1.0.15 1.0.18 1.0.18 Normal --- -serde_json->serde 1.0.180 1.0.208 1.0.208 Normal --- -serde_spanned->serde 1.0.180 1.0.208 1.0.208 Normal --- -serde_yaml 0.9.25 0.9.34+deprecated 0.9.34+deprecated Normal --- -serde_yaml->indexmap 2.0.0 2.4.0 2.4.0 Normal --- -serde_yaml->itoa 1.0.9 1.0.11 1.0.11 Normal --- -serde_yaml->ryu 1.0.15 1.0.18 1.0.18 Normal --- -serde_yaml->serde 1.0.180 1.0.208 1.0.208 Normal --- -serde_yaml->unsafe-libyaml 0.2.9 0.2.11 0.2.11 Normal --- -sha2->cpufeatures 0.2.9 0.2.13 0.2.13 Normal cfg(any(target_arch = "aarch64", target_arch = "x86_64", target_arch = "x86")) -slug->deunicode 0.4.4 1.6.0 1.6.0 Normal --- -strum 0.25.0 --- 0.26.3 Development --- -strum_macros 0.25.1 0.25.3 0.26.4 Development --- -strum_macros->heck 0.4.1 --- 0.5.0 Normal --- -strum_macros->proc-macro2 1.0.66 1.0.86 1.0.86 Normal --- -strum_macros->quote 1.0.32 1.0.36 1.0.36 Normal --- -strum_macros->rustversion 1.0.14 1.0.17 1.0.17 Normal --- -strum_macros->syn 2.0.28 2.0.74 2.0.74 Normal --- -syn->proc-macro2 1.0.66 1.0.86 1.0.86 Normal --- -syn->quote 1.0.32 1.0.36 1.0.36 Normal --- -syn->unicode-ident 1.0.11 1.0.12 1.0.12 Normal --- -table_formatter->colored 2.0.4 2.1.0 2.1.0 Normal --- -table_formatter->thiserror 1.0.44 1.0.63 1.0.63 Normal --- -tempfile 3.7.0 3.12.0 3.12.0 Development --- -tempfile->fastrand 2.0.0 2.1.0 2.1.0 Normal --- -tempfile->redox_syscall 0.3.5 Removed Removed Normal cfg(target_os = "redox") -tempfile->rustix 0.38.6 0.38.34 0.38.34 Normal cfg(any(unix, target_os = "wasi")) -tempfile->windows-sys 0.48.0 0.59.0 0.59.0 Normal cfg(windows) -tera 1.19.0 1.20.0 1.20.0 Build --- -tera->chrono 0.4.26 0.4.38 0.4.38 Normal --- -tera->chrono-tz 0.6.1 0.9.0 0.9.0 Normal --- -tera->globwalk 0.8.1 0.9.1 0.9.1 Normal --- -tera->lazy_static 1.4.0 1.5.0 1.5.0 Normal --- -tera->percent-encoding 2.3.0 2.3.1 2.3.1 Normal --- -tera->pest 2.7.2 2.7.11 2.7.11 Normal --- -tera->pest_derive 2.7.2 2.7.11 2.7.11 Normal --- -tera->regex 1.9.1 1.10.6 1.10.6 Normal --- -tera->serde 1.0.180 1.0.208 1.0.208 Normal --- -tera->serde_json 1.0.104 1.0.125 1.0.125 Normal --- -tera->slug 0.1.4 0.1.6 0.1.6 Normal --- -tera->thread_local 1.1.4 Removed Removed Normal --- -term_size->libc 0.2.155 0.2.156 0.2.156 Normal cfg(not(target_os = "windows")) -termcolor->winapi-util 0.1.5 0.1.9 Removed Normal cfg(windows) -terminal_size->rustix 0.37.23 0.37.27 Removed Normal cfg(not(windows)) -terminal_size->windows-sys 0.48.0 --- Removed Normal cfg(windows) -textwrap->terminal_size 0.2.6 --- Removed Normal --- -thiserror->thiserror-impl 1.0.44 1.0.63 1.0.63 Normal --- -thiserror-impl->proc-macro2 1.0.66 1.0.86 1.0.86 Normal --- -thiserror-impl->quote 1.0.32 1.0.36 1.0.36 Normal --- -thiserror-impl->syn 2.0.28 2.0.74 2.0.74 Normal --- -thread_local->once_cell 1.18.0 Removed Removed Normal --- -toml 0.7.6 0.7.8 0.8.19 Normal --- -toml->serde 1.0.180 1.0.208 1.0.208 Normal --- -toml->serde_spanned 0.6.3 0.6.7 0.6.7 Normal --- -toml->toml_datetime 0.6.3 0.6.8 0.6.8 Normal --- -toml->toml_edit 0.19.14 0.19.15 0.22.20 Normal --- -toml_datetime->serde 1.0.180 1.0.208 1.0.208 Normal --- -toml_edit->indexmap 2.0.0 2.4.0 2.4.0 Normal --- -toml_edit->serde 1.0.180 1.0.208 1.0.208 Normal --- -toml_edit->serde_spanned 0.6.3 0.6.7 0.6.7 Normal --- -toml_edit->toml_datetime 0.6.3 0.6.8 0.6.8 Normal --- -toml_edit->winnow 0.5.3 0.5.40 0.6.18 Normal --- -uncased->version_check 0.9.4 Removed Removed Build --- -unicode-normalization->tinyvec 1.6.0 1.8.0 1.8.0 Normal --- -url->form_urlencoded 1.2.0 1.2.1 1.2.1 Normal --- -url->idna 0.4.0 0.5.0 0.5.0 Normal --- -url->percent-encoding 2.3.0 2.3.1 2.3.1 Normal --- -wait-timeout->libc 0.2.155 0.2.156 0.2.156 Normal cfg(unix) -walkdir->winapi-util 0.1.5 0.1.9 0.1.9 Normal cfg(windows) -wasm-bindgen->wasm-bindgen-macro 0.2.87 0.2.93 0.2.93 Normal --- -wasm-bindgen-backend->bumpalo 3.13.0 3.16.0 3.16.0 Normal --- -wasm-bindgen-backend->log 0.4.19 0.4.22 0.4.22 Normal --- -wasm-bindgen-backend->once_cell 1.18.0 1.19.0 1.19.0 Normal --- -wasm-bindgen-backend->proc-macro2 1.0.66 1.0.86 1.0.86 Normal --- -wasm-bindgen-backend->quote 1.0.32 1.0.36 1.0.36 Normal --- -wasm-bindgen-backend->syn 2.0.28 2.0.74 2.0.74 Normal --- -wasm-bindgen-backend->wasm-bindgen-shared 0.2.87 0.2.93 0.2.93 Normal --- -wasm-bindgen-macro->quote 1.0.32 1.0.36 1.0.36 Normal --- -wasm-bindgen-macro->wasm-bindgen-macro-support 0.2.87 0.2.93 0.2.93 Normal --- -wasm-bindgen-macro-support->proc-macro2 1.0.66 1.0.86 1.0.86 Normal --- -wasm-bindgen-macro-support->quote 1.0.32 1.0.36 1.0.36 Normal --- -wasm-bindgen-macro-support->syn 2.0.28 2.0.74 2.0.74 Normal --- -wasm-bindgen-macro-support->wasm-bindgen-backend 0.2.87 0.2.93 0.2.93 Normal --- -wasm-bindgen-macro-support->wasm-bindgen-shared 0.2.87 0.2.93 0.2.93 Normal --- -winapi->winapi-i686-pc-windows-gnu 0.4.0 --- Removed Normal i686-pc-windows-gnu -winapi->winapi-i686-pc-windows-gnu 0.4.0 Removed Removed Normal i686-pc-windows-gnu -winapi->winapi-x86_64-pc-windows-gnu 0.4.0 --- Removed Normal x86_64-pc-windows-gnu -winapi->winapi-x86_64-pc-windows-gnu 0.4.0 Removed Removed Normal x86_64-pc-windows-gnu -winapi-util->winapi 0.3.9 Removed Removed Normal cfg(windows) -windows->windows-targets 0.48.1 Removed Removed Normal --- -windows-sys->windows-targets 0.48.1 0.48.5 0.48.5 Normal --- -windows-sys->windows-targets 0.48.1 0.48.5 Removed Normal --- -windows-sys->windows-targets 0.48.1 0.52.6 0.52.6 Normal --- -windows-sys->windows-targets 0.48.1 0.52.6 Removed Normal --- -windows-sys->windows-targets 0.48.1 Removed Removed Normal --- -windows-targets->windows_aarch64_gnullvm 0.48.0 0.48.5 0.48.5 Normal aarch64-pc-windows-gnullvm -windows-targets->windows_aarch64_gnullvm 0.48.0 0.48.5 Removed Normal aarch64-pc-windows-gnullvm -windows-targets->windows_aarch64_gnullvm 0.48.0 0.52.6 0.52.6 Normal aarch64-pc-windows-gnullvm -windows-targets->windows_aarch64_gnullvm 0.48.0 0.52.6 Removed Normal aarch64-pc-windows-gnullvm -windows-targets->windows_aarch64_gnullvm 0.48.0 Removed Removed Normal aarch64-pc-windows-gnullvm -windows-targets->windows_aarch64_msvc 0.48.0 0.48.5 0.48.5 Normal cfg(all(target_arch = "aarch64", target_env = "msvc", not(windows_raw_dylib))) -windows-targets->windows_aarch64_msvc 0.48.0 0.48.5 Removed Normal cfg(all(target_arch = "aarch64", target_env = "msvc", not(windows_raw_dylib))) -windows-targets->windows_aarch64_msvc 0.48.0 0.52.6 0.52.6 Normal cfg(all(target_arch = "aarch64", target_env = "msvc", not(windows_raw_dylib))) -windows-targets->windows_aarch64_msvc 0.48.0 0.52.6 Removed Normal cfg(all(target_arch = "aarch64", target_env = "msvc", not(windows_raw_dylib))) -windows-targets->windows_aarch64_msvc 0.48.0 Removed Removed Normal cfg(all(target_arch = "aarch64", target_env = "msvc", not(windows_raw_dylib))) -windows-targets->windows_i686_gnu 0.48.0 0.48.5 0.48.5 Normal cfg(all(target_arch = "x86", target_env = "gnu", not(windows_raw_dylib))) -windows-targets->windows_i686_gnu 0.48.0 0.48.5 Removed Normal cfg(all(target_arch = "x86", target_env = "gnu", not(windows_raw_dylib))) -windows-targets->windows_i686_gnu 0.48.0 0.52.6 0.52.6 Normal cfg(all(target_arch = "x86", target_env = "gnu", not(windows_raw_dylib))) -windows-targets->windows_i686_gnu 0.48.0 0.52.6 Removed Normal cfg(all(target_arch = "x86", target_env = "gnu", not(windows_raw_dylib))) -windows-targets->windows_i686_gnu 0.48.0 Removed Removed Normal cfg(all(target_arch = "x86", target_env = "gnu", not(windows_raw_dylib))) -windows-targets->windows_i686_msvc 0.48.0 0.48.5 0.48.5 Normal cfg(all(target_arch = "x86", target_env = "msvc", not(windows_raw_dylib))) -windows-targets->windows_i686_msvc 0.48.0 0.48.5 Removed Normal cfg(all(target_arch = "x86", target_env = "msvc", not(windows_raw_dylib))) -windows-targets->windows_i686_msvc 0.48.0 0.52.6 0.52.6 Normal cfg(all(target_arch = "x86", target_env = "msvc", not(windows_raw_dylib))) -windows-targets->windows_i686_msvc 0.48.0 0.52.6 Removed Normal cfg(all(target_arch = "x86", target_env = "msvc", not(windows_raw_dylib))) -windows-targets->windows_i686_msvc 0.48.0 Removed Removed Normal cfg(all(target_arch = "x86", target_env = "msvc", not(windows_raw_dylib))) -windows-targets->windows_x86_64_gnu 0.48.0 0.48.5 0.48.5 Normal cfg(all(target_arch = "x86_64", target_env = "gnu", not(target_abi = "llvm"), not(windows_raw_dylib))) -windows-targets->windows_x86_64_gnu 0.48.0 0.48.5 Removed Normal cfg(all(target_arch = "x86_64", target_env = "gnu", not(target_abi = "llvm"), not(windows_raw_dylib))) -windows-targets->windows_x86_64_gnu 0.48.0 0.52.6 0.52.6 Normal cfg(all(target_arch = "x86_64", target_env = "gnu", not(target_abi = "llvm"), not(windows_raw_dylib))) -windows-targets->windows_x86_64_gnu 0.48.0 0.52.6 Removed Normal cfg(all(target_arch = "x86_64", target_env = "gnu", not(target_abi = "llvm"), not(windows_raw_dylib))) -windows-targets->windows_x86_64_gnu 0.48.0 Removed Removed Normal cfg(all(target_arch = "x86_64", target_env = "gnu", not(target_abi = "llvm"), not(windows_raw_dylib))) -windows-targets->windows_x86_64_gnullvm 0.48.0 0.48.5 0.48.5 Normal x86_64-pc-windows-gnullvm -windows-targets->windows_x86_64_gnullvm 0.48.0 0.48.5 Removed Normal x86_64-pc-windows-gnullvm -windows-targets->windows_x86_64_gnullvm 0.48.0 0.52.6 0.52.6 Normal x86_64-pc-windows-gnullvm -windows-targets->windows_x86_64_gnullvm 0.48.0 0.52.6 Removed Normal x86_64-pc-windows-gnullvm -windows-targets->windows_x86_64_gnullvm 0.48.0 Removed Removed Normal x86_64-pc-windows-gnullvm -windows-targets->windows_x86_64_msvc 0.48.0 0.48.5 0.48.5 Normal cfg(all(target_arch = "x86_64", target_env = "msvc", not(windows_raw_dylib))) -windows-targets->windows_x86_64_msvc 0.48.0 0.48.5 Removed Normal cfg(all(target_arch = "x86_64", target_env = "msvc", not(windows_raw_dylib))) -windows-targets->windows_x86_64_msvc 0.48.0 0.52.6 0.52.6 Normal cfg(all(target_arch = "x86_64", target_env = "msvc", not(windows_raw_dylib))) -windows-targets->windows_x86_64_msvc 0.48.0 0.52.6 Removed Normal cfg(all(target_arch = "x86_64", target_env = "msvc", not(windows_raw_dylib))) -windows-targets->windows_x86_64_msvc 0.48.0 Removed Removed Normal cfg(all(target_arch = "x86_64", target_env = "msvc", not(windows_raw_dylib))) -winnow->memchr 2.5.0 2.7.4 2.7.4 Normal --- +All dependencies are up to date, yay! From 579a918a72cbafbdfb7668e805c55a9e5be68adb Mon Sep 17 00:00:00 2001 From: qtfkwk Date: Sat, 17 Aug 2024 10:02:39 -0400 Subject: [PATCH 3/5] apply fixes due to updating dependencies and running cargo clippy -- -D clippy::all --- Cargo.toml | 2 +- src/cli.rs | 112 +++++++++++++++-------------- src/cli_utils.rs | 3 +- src/config.rs | 1 - src/input.rs | 2 +- src/language/language_type.rs | 72 +++++++++---------- src/language/language_type.tera.rs | 2 +- 7 files changed, 98 insertions(+), 96 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 1ebf804ae..832c2d6ef 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -40,7 +40,7 @@ json5 = "0.4.1" [dependencies] aho-corasick = "1.1.3" arbitrary = { version = "1.3.2", features = ["derive"] } -clap = { version = "4", features = ["cargo", "wrap_help"] } +clap = { version = "4", features = ["cargo", "string", "wrap_help"] } colored = "2.1.0" crossbeam-channel = "0.5.13" encoding_rs_io = "0.1.7" diff --git a/src/cli.rs b/src/cli.rs index 7de2f2415..7d9d3161e 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -1,8 +1,6 @@ -use std::mem; use std::process; -use clap::Arg; -use clap::{crate_description, ArgMatches}; +use clap::{crate_description, value_parser, Arg, ArgAction, ArgMatches}; use colored::Colorize; use tokei::{Config, LanguageType, Sort}; @@ -59,8 +57,8 @@ pub struct Cli { impl Cli { pub fn from_args() -> Self { - let matches = clap::App::new("tokei") - .version(&*crate_version()) + let matches = clap::Command::new("tokei") + .version(crate_version()) .author("Erin P. + Contributors") .about(concat!( crate_description!(), @@ -71,7 +69,7 @@ impl Cli { Arg::new("columns") .long("columns") .short('c') - .takes_value(true) + .value_parser(value_parser!(usize)) .conflicts_with("output") .help( "Sets a strict column width of the output, only available for \ @@ -82,8 +80,7 @@ impl Cli { Arg::new("exclude") .long("exclude") .short('e') - .takes_value(true) - .multiple_values(true) + .num_args(0..) .help("Ignore all files & directories matching the pattern."), ) .arg( @@ -96,7 +93,6 @@ impl Cli { Arg::new("file_input") .long("input") .short('i') - .takes_value(true) .help( "Gives statistics from a previous tokei run. Can be given a file path, \ or \"stdin\" to read from stdin.", @@ -109,7 +105,7 @@ impl Cli { ) .arg( Arg::new("input") - .min_values(1) + .num_args(1..) .conflicts_with("languages") .help("The path(s) to the file or directory to be counted.(default current directory)"), ) @@ -140,8 +136,13 @@ impl Cli { Arg::new("output") .long("output") .short('o') - .takes_value(true) - .possible_values(Format::all()) + .value_parser(|x: &str| { + if Format::all().contains(&x) { + Ok(x.to_string()) + } else { + Err(format!("Invalid output format: {x:?}")) + } + }) .help( "Outputs Tokei in a specific format. Compile with additional features for \ more format support.", @@ -150,8 +151,7 @@ impl Cli { .arg( Arg::new("streaming") .long("streaming") - .takes_value(true) - .possible_values(["simple", "json"]) + .value_parser(["simple", "json"]) .ignore_case(true) .help( "prints the (language, path, lines, blanks, code, comments) records as \ @@ -162,8 +162,7 @@ impl Cli { Arg::new("sort") .long("sort") .short('s') - .takes_value(true) - .possible_values(["files", "lines", "blanks", "code", "comments"]) + .value_parser(["files", "lines", "blanks", "code", "comments"]) .ignore_case(true) .conflicts_with("rsort") .help("Sort languages based on column"), @@ -172,8 +171,7 @@ impl Cli { Arg::new("rsort") .long("rsort") .short('r') - .takes_value(true) - .possible_values(["files", "lines", "blanks", "code", "comments"]) + .value_parser(["files", "lines", "blanks", "code", "comments"]) .ignore_case(true) .conflicts_with("sort") .help("Reverse sort languages based on column"), @@ -182,7 +180,7 @@ impl Cli { Arg::new("types") .long("types") .short('t') - .takes_value(true) + .action(ArgAction::Append) .help( "Filters output by language type, separated by a comma. i.e. \ -t=Rust,Markdown", @@ -198,8 +196,7 @@ impl Cli { Arg::new("num_format_style") .long("num-format") .short('n') - .takes_value(true) - .possible_values(NumberFormatStyle::all()) + .value_parser(["commas", "dots", "plain", "underscores"]) .conflicts_with("output") .help( "Format of printed numbers, i.e., plain (1234, default), \ @@ -211,7 +208,7 @@ impl Cli { Arg::new("verbose") .long("verbose") .short('v') - .multiple_occurrences(true) + .action(ArgAction::Count) .help( "Set log output level: 1: to show unknown file extensions, @@ -221,26 +218,29 @@ impl Cli { ) .get_matches(); - let columns = matches.value_of("columns").map(parse_or_exit::); - let files = matches.is_present("files"); - let hidden = matches.is_present("hidden"); - let no_ignore = matches.is_present("no_ignore"); - let no_ignore_parent = matches.is_present("no_ignore_parent"); - let no_ignore_dot = matches.is_present("no_ignore_dot"); - let no_ignore_vcs = matches.is_present("no_ignore_vcs"); - let print_languages = matches.is_present("languages"); - let verbose = matches.occurrences_of("verbose"); - let compact = matches.is_present("compact"); - let types = matches.value_of("types").map(|e| { - e.split(',') - .map(str::parse::) - .filter_map(Result::ok) - .collect() + let columns = matches.get_one::("columns").cloned(); + let files = matches.get_flag("files"); + let hidden = matches.get_flag("hidden"); + let no_ignore = matches.get_flag("no_ignore"); + let no_ignore_parent = matches.get_flag("no_ignore_parent"); + let no_ignore_dot = matches.get_flag("no_ignore_dot"); + let no_ignore_vcs = matches.get_flag("no_ignore_vcs"); + let print_languages = matches.get_flag("languages"); + let verbose = matches.get_count("verbose") as u64; + let compact = matches.get_flag("compact"); + let types = matches.get_many("types").map(|e| { + e.flat_map(|x: &String| { + x.split(',') + .map(str::parse::) + .filter_map(Result::ok) + .collect::>() + }) + .collect() }); let num_format_style: NumberFormatStyle = matches - .value_of("num_format_style") - .map(parse_or_exit::) + .get_one::("num_format_style") + .cloned() .unwrap_or_default(); let number_format = match num_format_style.get_format() { @@ -253,18 +253,20 @@ impl Cli { // Sorting category should be restricted by clap but parse before we do // work just in case. - let sort = matches - .value_of("sort") - .or_else(|| matches.value_of("rsort")) - .map(parse_or_exit::); - let sort_reverse = matches.value_of("rsort").is_some(); + let (sort, sort_reverse) = if let Some(sort) = matches.get_one::("sort") { + (Some(*sort), false) + } else { + let sort = matches.get_one::("rsort"); + (sort.cloned(), sort.is_some()) + }; // Format category is overly accepting by clap (so the user knows what // is supported) but this will fail if support is not compiled in and // give a useful error to the user. - let output = matches.value_of("output").map(parse_or_exit::); + let output = matches.get_one("output").cloned(); let streaming = matches - .value_of("streaming") + .get_one("streaming") + .cloned() .map(parse_or_exit::); crate::cli_utils::setup_logger(verbose); @@ -295,20 +297,20 @@ impl Cli { } pub fn file_input(&self) -> Option<&str> { - self.matches.value_of("file_input") + self.matches.get_one("file_input").cloned() } pub fn ignored_directories(&self) -> Vec<&str> { let mut ignored_directories: Vec<&str> = Vec::new(); - if let Some(user_ignored) = self.matches.values_of("exclude") { + if let Some(user_ignored) = self.matches.get_many::<&str>("exclude") { ignored_directories.extend(user_ignored); } ignored_directories } pub fn input(&self) -> Vec<&str> { - match self.matches.values_of("input") { - Some(vs) => vs.collect(), + match self.matches.get_many::<&str>("input") { + Some(vs) => vs.cloned().collect(), None => vec!["."], } } @@ -330,14 +332,18 @@ impl Cli { padding = Padding::NONE, width = Some(lang_w) ) - .with_formatter(vec![table_formatter::table::FormatterFunc::Normal(Colorize::bold)]), + .with_formatter(vec![table_formatter::table::FormatterFunc::Normal( + Colorize::bold, + )]), cell!( "Extensions", align = Align::Left, padding = Padding::new(3, 0), width = Some(suffix_w) ) - .with_formatter(vec![table_formatter::table::FormatterFunc::Normal(Colorize::bold)]), + .with_formatter(vec![table_formatter::table::FormatterFunc::Normal( + Colorize::bold, + )]), ]; let content = LanguageType::list() .iter() @@ -429,7 +435,7 @@ impl Cli { _ => None, }; - config.types = mem::replace(&mut self.types, None).or(config.types); + config.types = self.types.take().or(config.types); config } diff --git a/src/cli_utils.rs b/src/cli_utils.rs index 04a42de6f..fbbd9186c 100644 --- a/src/cli_utils.rs +++ b/src/cli_utils.rs @@ -348,8 +348,7 @@ impl Printer { if self.list_files { self.print_subrow()?; - let mut reports: Vec<&Report> = - language.reports.iter().map(|report| &*report).collect(); + let mut reports: Vec<&Report> = language.reports.iter().collect(); if !is_sorted { reports.sort_by(|&a, &b| a.name.cmp(&b.name)); } diff --git a/src/config.rs b/src/config.rs index 1dfe5ff0c..82dcd8a0c 100644 --- a/src/config.rs +++ b/src/config.rs @@ -135,7 +135,6 @@ impl Config { no_ignore_vcs: current_dir .no_ignore_vcs .or(home_dir.no_ignore_vcs.or(conf_dir.no_ignore_vcs)), - ..Self::default() } } } diff --git a/src/input.rs b/src/input.rs index bf8630abd..1460a9696 100644 --- a/src/input.rs +++ b/src/input.rs @@ -29,7 +29,7 @@ macro_rules! supported_formats { /// /// To enable all formats compile with the `all` feature. #[cfg_attr(test, derive(strum_macros::EnumIter))] - #[derive(Debug)] + #[derive(Debug, Clone)] pub enum Format { Json, $( diff --git a/src/language/language_type.rs b/src/language/language_type.rs index 7d7a6eda5..bffdf7a87 100644 --- a/src/language/language_type.rs +++ b/src/language/language_type.rs @@ -26,8 +26,9 @@ include!(concat!(env!("OUT_DIR"), "/language_type.rs")); impl Serialize for LanguageType { fn serialize(&self, serializer: S) -> Result - where - S: serde::Serializer { + where + S: serde::Serializer, + { serializer.serialize_str(self.name()) } } @@ -69,7 +70,7 @@ impl LanguageType { if self == Jupyter { return self .parse_jupyter(text.as_ref(), config) - .unwrap_or_else(CodeStats::new); + .unwrap_or_default(); } let syntax = { @@ -80,21 +81,16 @@ impl LanguageType { syntax_mut }; - if let Some(end) = syntax - .shared - .important_syntax - .find(text) - .and_then(|m| { - // Get the position of the last line before the important - // syntax. - text[..=m.start()] - .iter() - .rev() - .position(|&c| c == b'\n') - .filter(|&p| p != 0) - .map(|p| m.start() - p) - }) - { + if let Some(end) = syntax.shared.important_syntax.find(text).and_then(|m| { + // Get the position of the last line before the important + // syntax. + text[..=m.start()] + .iter() + .rev() + .position(|&c| c == b'\n') + .filter(|&p| p != 0) + .map(|p| m.start() - p) + }) { let (skippable_text, rest) = text.split_at(end + 1); let is_fortran = syntax.shared.is_fortran; let is_literate = syntax.shared.is_literate; @@ -291,22 +287,22 @@ impl LanguageType { /// This is the first thing in the file (although there may be comments before). fn find_lf_target_language(&self, bytes: &[u8]) -> Option { use regex::bytes::Regex; - static LF_TARGET_REGEX: Lazy = Lazy::new(|| Regex::new(r#"(?m)\btarget\s+(\w+)\s*($|;|\{)"#).unwrap()); - LF_TARGET_REGEX.captures(bytes) - .and_then(|captures| { - let name = captures.get(1).unwrap().as_bytes(); - if name == b"CCpp" { - // this is a special alias for the C target in LF - Some(C) - } else { - let name_str = &String::from_utf8_lossy(name); - let by_name = LanguageType::from_name(&name_str); - if by_name.is_none() { - trace!("LF target not recognized: {}", name_str); - } - by_name + static LF_TARGET_REGEX: Lazy = + Lazy::new(|| Regex::new(r#"(?m)\btarget\s+(\w+)\s*($|;|\{)"#).unwrap()); + LF_TARGET_REGEX.captures(bytes).and_then(|captures| { + let name = captures.get(1).unwrap().as_bytes(); + if name == b"CCpp" { + // this is a special alias for the C target in LF + Some(C) + } else { + let name_str = &String::from_utf8_lossy(name); + let by_name = LanguageType::from_name(name_str); + if by_name.is_none() { + trace!("LF target not recognized: {}", name_str); } - }) + by_name + } + }) } } @@ -321,11 +317,14 @@ mod tests { assert!(LanguageType::Rust.allows_nested()); } - fn assert_stats(stats: &CodeStats, blanks: usize, code: usize, comments: usize) { assert_eq!(stats.blanks, blanks, "expected {} blank lines", blanks); assert_eq!(stats.code, code, "expected {} code lines", code); - assert_eq!(stats.comments, comments, "expected {} comment lines", comments); + assert_eq!( + stats.comments, comments, + "expected {} comment lines", + comments + ); } #[test] @@ -345,8 +344,7 @@ mod tests { let file_text = fs::read_to_string(Path::new("tests").join("data").join("linguafranca.lf")).unwrap(); - let stats = LinguaFranca - .parse_from_str(file_text, &Config::default()); + let stats = LinguaFranca.parse_from_str(file_text, &Config::default()); assert_stats(&stats, 9, 11, 8); diff --git a/src/language/language_type.tera.rs b/src/language/language_type.tera.rs index b19f66b08..4dd1be3af 100644 --- a/src/language/language_type.tera.rs +++ b/src/language/language_type.tera.rs @@ -294,7 +294,7 @@ impl LanguageType { match fsutils::get_extension(entry) { Some(extension) => LanguageType::from_file_extension(extension.as_str()), - None => LanguageType::from_shebang(&entry), + None => LanguageType::from_shebang(entry), } } From b0eba7e1e42a6a3196c5bd03398a38e6868d0298 Mon Sep 17 00:00:00 2001 From: qtfkwk Date: Sat, 17 Aug 2024 10:05:13 -0400 Subject: [PATCH 4/5] clean up; run cargo outdated/audit again; update; build; test --- Cargo.lock | 4 ++-- cargo-audit.txt | 27 --------------------------- cargo-outdated.txt | 1 - 3 files changed, 2 insertions(+), 30 deletions(-) delete mode 100644 cargo-audit.txt delete mode 100644 cargo-outdated.txt diff --git a/Cargo.lock b/Cargo.lock index 52b4561c7..544c3e01d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -86,9 +86,9 @@ dependencies = [ [[package]] name = "arrayvec" -version = "0.7.4" +version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96d30a06541fbafbc7f82ed10c06164cfbd2c401138f6addd8404629c4b16711" +checksum = "7c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50" [[package]] name = "autocfg" diff --git a/cargo-audit.txt b/cargo-audit.txt deleted file mode 100644 index 7b8ebf8e7..000000000 --- a/cargo-audit.txt +++ /dev/null @@ -1,27 +0,0 @@ - Fetching advisory database from `https://github.com/RustSec/advisory-db.git` - Loaded 648 security advisories (from /home/nick/.cargo/advisory-db) - Updating crates.io index - Scanning Cargo.lock for vulnerabilities (203 crate dependencies) -Crate: serde_cbor -Version: 0.11.2 -Warning: unmaintained -Title: serde_cbor is unmaintained -Date: 2021-08-15 -ID: RUSTSEC-2021-0127 -URL: https://rustsec.org/advisories/RUSTSEC-2021-0127 -Dependency tree: -serde_cbor 0.11.2 -└── tokei 13.0.0-alpha.1 - -Crate: term_size -Version: 0.3.2 -Warning: unmaintained -Title: `term_size` is unmaintained; use `terminal_size` instead -Date: 2020-11-03 -ID: RUSTSEC-2020-0163 -URL: https://rustsec.org/advisories/RUSTSEC-2020-0163 -Dependency tree: -term_size 0.3.2 -└── tokei 13.0.0-alpha.1 - -warning: 2 allowed warnings found diff --git a/cargo-outdated.txt b/cargo-outdated.txt deleted file mode 100644 index afd58818e..000000000 --- a/cargo-outdated.txt +++ /dev/null @@ -1 +0,0 @@ -All dependencies are up to date, yay! From 75c4a1caf091692c796c1b3ccfdd8c7f04aebdf5 Mon Sep 17 00:00:00 2001 From: qtfkwk Date: Sat, 17 Aug 2024 10:13:24 -0400 Subject: [PATCH 5/5] cargo fmt --- build.rs | 2 +- src/language/embedding.rs | 16 +++++++++++----- src/language/syntax.rs | 19 +++++++++---------- 3 files changed, 21 insertions(+), 16 deletions(-) diff --git a/build.rs b/build.rs index 73ce01fd5..30f943acc 100644 --- a/build.rs +++ b/build.rs @@ -1,6 +1,6 @@ extern crate ignore; -extern crate serde_json; extern crate json5; +extern crate serde_json; use std::ffi::OsStr; use std::fs; diff --git a/src/language/embedding.rs b/src/language/embedding.rs index 0fb3fc2fe..b1c75921e 100644 --- a/src/language/embedding.rs +++ b/src/language/embedding.rs @@ -79,7 +79,6 @@ pub(crate) struct SimpleCapture<'a> { starts: Option]>>, } - impl<'a> HtmlLike<'a> { pub fn start_script_in_range( &'a self, @@ -111,7 +110,12 @@ impl<'a> SimpleCapture<'a> { filter_range(self.starts.as_ref()?, start, end).and_then(|mut it| it.next()) } - fn make_capture(regex: &Regex, lines: &'a [u8], start: usize, end: usize) -> Option> { + fn make_capture( + regex: &Regex, + lines: &'a [u8], + start: usize, + end: usize, + ) -> Option> { let capture = SimpleCapture { starts: save_captures(regex, lines, start, end), }; @@ -156,12 +160,14 @@ impl<'a> RegexCache<'a> { pub(crate) fn build(lang: LanguageType, lines: &'a [u8], start: usize, end: usize) -> Self { let inner = match lang { LanguageType::Markdown | LanguageType::UnrealDeveloperMarkdown => { - SimpleCapture::make_capture(&STARTING_MARKDOWN_REGEX, lines, start, end).map(RegexFamily::Markdown) + SimpleCapture::make_capture(&STARTING_MARKDOWN_REGEX, lines, start, end) + .map(RegexFamily::Markdown) } LanguageType::Rust => Some(RegexFamily::Rust), LanguageType::LinguaFranca => { - SimpleCapture::make_capture(&STARTING_LF_BLOCK_REGEX, lines, start, end).map(RegexFamily::LinguaFranca) - }, + SimpleCapture::make_capture(&STARTING_LF_BLOCK_REGEX, lines, start, end) + .map(RegexFamily::LinguaFranca) + } LanguageType::Html | LanguageType::RubyHtml | LanguageType::Svelte diff --git a/src/language/syntax.rs b/src/language/syntax.rs index 1c28d81cd..95a3186ea 100644 --- a/src/language/syntax.rs +++ b/src/language/syntax.rs @@ -7,10 +7,11 @@ use log::Level::Trace; use once_cell::sync::Lazy; use super::embedding::{ - RegexCache, RegexFamily, ENDING_MARKDOWN_REGEX, ENDING_LF_BLOCK_REGEX, END_SCRIPT, END_STYLE, END_TEMPLATE + RegexCache, RegexFamily, ENDING_LF_BLOCK_REGEX, ENDING_MARKDOWN_REGEX, END_SCRIPT, END_STYLE, + END_TEMPLATE, }; -use crate::{stats::CodeStats, utils::ext::SliceExt, Config, LanguageType}; use crate::LanguageType::LinguaFranca; +use crate::{stats::CodeStats, utils::ext::SliceExt, Config, LanguageType}; /// Tracks the syntax of the language as well as the current state in the file. /// Current has what could be consider three types of mode. @@ -30,7 +31,7 @@ pub(crate) struct SyntaxCounter { pub(crate) quote_is_doc_quote: bool, pub(crate) stack: Vec<&'static str>, pub(crate) quote_is_verbatim: bool, - pub(crate) lf_embedded_language: Option + pub(crate) lf_embedded_language: Option, } #[derive(Clone, Debug)] @@ -449,16 +450,14 @@ impl SyntaxCounter { let start_of_code = opening_fence.end(); let closing_fence = ENDING_LF_BLOCK_REGEX.find(&lines[start_of_code..]); let end_of_code = closing_fence - .map_or_else(|| lines.len(), - |fence| start_of_code + fence.start()); + .map_or_else(|| lines.len(), |fence| start_of_code + fence.start()); let block_contents = &lines[start_of_code..end_of_code]; - trace!( - "LF block: {:?}", - String::from_utf8_lossy(block_contents) + trace!("LF block: {:?}", String::from_utf8_lossy(block_contents)); + let stats = self.get_lf_target_language().parse_from_slice( + block_contents.trim_first_and_last_line_of_whitespace(), + config, ); - let stats = - self.get_lf_target_language().parse_from_slice(block_contents.trim_first_and_last_line_of_whitespace(), config); trace!("-> stats: {:?}", stats); Some(FileContext::new(