release v0.3.2 🥳
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

This commit is contained in:
Lynne Megido 2021-06-14 18:27:50 +10:00
parent d0a6e918cc
commit 02f377cbb2
Signed by: lynnesbian
GPG Key ID: F0A184B5213D9F90
4 changed files with 23 additions and 19 deletions

View File

@ -2,7 +2,7 @@
Dates are given in YYYY-MM-DD format. Dates are given in YYYY-MM-DD format.
## v0.3 ## v0.3
### v0.3.2 (2021-mm-dd) ### v0.3.2 (2021-06-14)
#### Bugfixes #### Bugfixes
- Fixed PowerShell output regression introduced in v0.2.13, whoops - Fixed PowerShell output regression introduced in v0.2.13, whoops
#### Other #### Other
@ -12,7 +12,7 @@ Dates are given in YYYY-MM-DD format.
- Block compilation if both the `xdg-mime-backend` and `infer-backend` - Block compilation if both the `xdg-mime-backend` and `infer-backend`
[features](https://gitlab.com/Lynnesbian/fif/-/wikis/Cargo-Features) are enabled [features](https://gitlab.com/Lynnesbian/fif/-/wikis/Cargo-Features) are enabled
### v0.3.1 (2021-07-06) ### v0.3.1 (2021-06-07)
#### Features #### Features
- Added JSON output support via `-o json` - Added JSON output support via `-o json`
- Added plaintext output support via `-o text` - Added plaintext output support via `-o text`

2
Cargo.lock generated
View File

@ -183,7 +183,7 @@ checksum = "de853764b47027c2e862a995c34978ffa63c1501f2e15f987ba11bd4f9bba193"
[[package]] [[package]]
name = "fif" name = "fif"
version = "0.3.1" version = "0.3.2"
dependencies = [ dependencies = [
"cached", "cached",
"cfg-if", "cfg-if",

View File

@ -1,7 +1,7 @@
[package] [package]
name = "fif" name = "fif"
description = "A command-line tool for detecting and optionally correcting files with incorrect extensions." description = "A command-line tool for detecting and optionally correcting files with incorrect extensions."
version = "0.3.1" version = "0.3.2"
authors = ["Lynnesbian <lynne@bune.city>"] authors = ["Lynnesbian <lynne@bune.city>"]
edition = "2018" edition = "2018"
license = "GPL-3.0-or-later" license = "GPL-3.0-or-later"

View File

@ -13,21 +13,25 @@ fi
# allow find to fail # allow find to fail
find . -name '*.rs' -exec touch "{}" \; || true find . -name '*.rs' -exec touch "{}" \; || true
cargo $_ver clippy --all-features --tests -- \ _backends=( "xdg-mime-backend" "infer-backend" )
-W clippy::nursery \
-W clippy::perf \ for backend in "${_backends[@]}"; do
-W clippy::pedantic \ cargo $_ver clippy --tests --features="$backend" -- \
-W clippy::complexity \ -W clippy::nursery \
-W clippy::cargo \ -W clippy::perf \
-W clippy::float_cmp_const \ -W clippy::pedantic \
-W clippy::lossy_float_literal \ -W clippy::complexity \
-W clippy::multiple_inherent_impl \ -W clippy::cargo \
-W clippy::string_to_string \ -W clippy::float_cmp_const \
-A clippy::unused_io_amount \ -W clippy::lossy_float_literal \
-A clippy::redundant_closure_for_method_calls \ -W clippy::multiple_inherent_impl \
-A clippy::shadow_unrelated \ -W clippy::string_to_string \
-A clippy::option_if_let_else \ -A clippy::unused_io_amount \
"$_extra" -A clippy::redundant_closure_for_method_calls \
-A clippy::shadow_unrelated \
-A clippy::option_if_let_else \
"$_extra"
done
# ALLOWS: # ALLOWS:
# unused_io_amount: there are two places where i want to read up to X bytes and i'm fine with getting less than that # unused_io_amount: there are two places where i want to read up to X bytes and i'm fine with getting less than that