From 0abee1c262291d153f604a60ce3ec7e11141c19f Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Thu, 29 Oct 2020 11:54:40 +0100 Subject: Add clippy configuration This adds a clippy configuration file with single-char-binding-names-threshold set to 6, because we have some scopes where a lot of single-char names are used. Signed-off-by: Matthias Beyer --- clippy.toml | 1 + 1 file changed, 1 insertion(+) create mode 100644 clippy.toml diff --git a/clippy.toml b/clippy.toml new file mode 100644 index 0000000..398ef77 --- /dev/null +++ b/clippy.toml @@ -0,0 +1 @@ +single-char-binding-names-threshold = 6 -- cgit v1.2.3 From 1dbce35da34e8f6ce7ef7d98108af63f4881124f Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Thu, 29 Oct 2020 11:40:15 +0100 Subject: Add changelog for v0.4.0 Signed-off-by: Matthias Beyer --- CHANGELOG.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4ec790a..bcc4a9e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,22 @@ # Next +# 0.4.0 + +## Breaking + +* `Filter::as_failable()` was removed, as it prevented making a Filter into an + trait object + +## Other + +* A cargo category ("rust-patterns") was added +* The (deprecated) `try!()` macro in the codebase was replaced by the `?` + operator +* Unused variable warnings were fixed +* "Blacklisted" variable names were removed ("foo") + + # 0.3.0 * A macro was added to quickly create `Filter` implementations -- cgit v1.2.3 From 7ed61ae256ac0bfe4ecdb0657c8fd471a7ff50db Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Thu, 29 Oct 2020 11:40:33 +0100 Subject: Update version: 0.3.0 -> 0.4.0 Signed-off-by: Matthias Beyer --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index f5e3c44..bad0e1c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "filters" -version = "0.3.0" +version = "0.4.0" authors = ["Matthias Beyer ", "Marcel Müller " ] -- cgit v1.2.3