From a941040948e4d6b0ab547f33fd91a64d8e747150 Mon Sep 17 00:00:00 2001 From: Lynnesbian Date: Wed, 7 Jul 2021 00:24:02 +1000 Subject: [PATCH] =?UTF-8?q?release=20v0.3.3=20=F0=9F=A5=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 2 +- Cargo.lock | 34 +++++++++++++++++++++------------- Cargo.toml | 2 +- Cross.toml | 2 +- README.md | 2 +- clippy.sh | 3 ++- 6 files changed, 27 insertions(+), 18 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9b2752f..9669869 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ Dates are given in YYYY-MM-DD format. ## v0.3 -### v0.3.3 (2021-mm-dd) +### v0.3.3 (2021-07-07) #### Features - Added `--canonical-paths` flag for outputting canonical paths in output - for example, `mv /home/lynne/file.jpg /home/lynne/file.mp3` instead of the default `mv file.jpg file.mp3` diff --git a/Cargo.lock b/Cargo.lock index f124e25..b811332 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,5 +1,7 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. +version = 3 + [[package]] name = "arrayvec" version = "0.5.2" @@ -41,7 +43,7 @@ version = "0.23.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5e2afe73808fbaac302e39c9754bfc3c4b4d0f99c9c240b9f4e4efc841ad1b74" dependencies = [ - "hashbrown", + "hashbrown 0.9.1", "once_cell", ] @@ -183,7 +185,7 @@ checksum = "de853764b47027c2e862a995c34978ffa63c1501f2e15f987ba11bd4f9bba193" [[package]] name = "fif" -version = "0.3.2" +version = "0.3.3" dependencies = [ "cached", "cfg-if", @@ -229,6 +231,12 @@ version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d7afe4a420e3fe79967a00898cc1f4db7c8a49a9333a29f8a4bd76a253d5cd04" +[[package]] +name = "hashbrown" +version = "0.11.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ab5ef0d4909ef3724cc8cce6ccc8572c5c817592e9285f5464f8e86f8bd3726e" + [[package]] name = "heck" version = "0.3.3" @@ -249,12 +257,12 @@ dependencies = [ [[package]] name = "indexmap" -version = "1.6.2" +version = "1.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "824845a0bf897a9042383849b02c1bc219c2383772efcd5c6f9766fa4b81aef3" +checksum = "bc633605454125dec4b66843673f01c7df2b89479b32e0ed634e43a91cff62a5" dependencies = [ "autocfg", - "hashbrown", + "hashbrown 0.11.2", ] [[package]] @@ -574,9 +582,9 @@ dependencies = [ [[package]] name = "smartstring" -version = "0.2.6" +version = "0.2.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ada87540bf8ef4cf8a1789deb175626829bb59b1fefd816cf7f7f55efcdbae9" +checksum = "29620fe111ceaba7a50fd806b5f44c1ef44a697a739f6677a4464c7ea8685997" dependencies = [ "static_assertions", ] @@ -653,18 +661,18 @@ dependencies = [ [[package]] name = "thiserror" -version = "1.0.25" +version = "1.0.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa6f76457f59514c7eeb4e59d891395fab0b2fd1d40723ae737d64153392e9c6" +checksum = "93119e4feac1cbe6c798c34d3a53ea0026b0b1de6a120deef895137c0529bfe2" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.25" +version = "1.0.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a36768c0fbf1bb15eca10defa29526bda730a2376c2ab4393ccfa16fb1a318d" +checksum = "060d69a0afe7796bf42e9e2ff91f5ee691fb15c53d38b4b62a9a53eb23164745" dependencies = [ "proc-macro2", "quote", @@ -682,9 +690,9 @@ dependencies = [ [[package]] name = "unicode-segmentation" -version = "1.7.1" +version = "1.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb0d2e7be6ae3a5fa87eed5fb451aff96f2573d2694942e40543ae0bbe19c796" +checksum = "8895849a949e7845e06bd6dc1aa51731a103c42707010a5b591c0038fb73385b" [[package]] name = "unicode-width" diff --git a/Cargo.toml b/Cargo.toml index bbf01b2..445394f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "fif" description = "A command-line tool for detecting and optionally correcting files with incorrect extensions." -version = "0.3.2" +version = "0.3.3" authors = ["Lynnesbian "] edition = "2018" license = "GPL-3.0-or-later" diff --git a/Cross.toml b/Cross.toml index 4ddcbea..86773d6 100644 --- a/Cross.toml +++ b/Cross.toml @@ -1,2 +1,2 @@ [build.env] -passthrough = ["RUST_BACKTRACE", "RUST_LOG"] \ No newline at end of file +passthrough = ["RUST_BACKTRACE", "RUST_LOG", "FIF_LOG"] diff --git a/README.md b/README.md index af2d17b..b9e6435 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ extensions. By default, fif will scan all non-hidden files in the given director As fif prints a shell script to stdout rather than acting on the files directly, you may wish to redirect its output to a file, e.g. `fif ~/Documents > output.sh`. You can also pipe the output directly into your shell, e.g. `fif ~/Documents | bash`, although this is not recommended - you should look over fif's output and verify for yourself -that it's not doing anything that will give you a headache before running it. +that it won't do anything that will give you a headache before running it. ## Features - :white_check_mark: Cross platform diff --git a/clippy.sh b/clippy.sh index a8d1a38..441dbdb 100755 --- a/clippy.sh +++ b/clippy.sh @@ -31,6 +31,7 @@ for backend in "${_backends[@]}"; do -A clippy::redundant_closure_for_method_calls \ -A clippy::shadow_unrelated \ -A clippy::option_if_let_else \ + -A clippy::multiple-crate-versions \ "$_extra" done @@ -39,4 +40,4 @@ done # redundant_closure...: the alternative is often much more verbose # shadow_unrelated: sometimes things that seem unrelated are actually related ;) # option_if_let_else: the suggested code is usually harder to read than the original - +# multiple_crate_versions: cached uses an old version of hashbrown :c