From fed768ca8a834efc6344c5d3cb3f647fda0562f6 Mon Sep 17 00:00:00 2001 From: Riccardo Casatta Date: Thu, 5 Jan 2023 13:57:48 +0100 Subject: [PATCH] specify MSRV for clippy, fix Cargo.toml --- Cargo.toml | 4 ++-- clippy.toml | 1 + src/lib.rs | 1 - 3 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 clippy.toml diff --git a/Cargo.toml b/Cargo.toml index f1affdd..dd4f454 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,12 +1,12 @@ [package] name = "bitcoind" -version = "0.28.1" +version = "0.29.0" authors = ["Riccardo Casatta "] description = "Utility to run a regtest bitcoind process, useful in integration testing environment" license = "MIT" repository = "https://github.com/RCasatta/bitcoind" documentation = "https://docs.rs/bitcoind/" -rust-version = "1.57" +rust-version = "1.41.1" # without features, with any feature is 1.57 edition = "2018" [dependencies] diff --git a/clippy.toml b/clippy.toml new file mode 100644 index 0000000..799264e --- /dev/null +++ b/clippy.toml @@ -0,0 +1 @@ +msrv = "1.41.1" diff --git a/src/lib.rs b/src/lib.rs index 0f7b108..c79f4d3 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -295,7 +295,6 @@ impl BitcoinD { conf_args ); - #[allow(clippy::needless_borrow)] // would break 1.41.1 if fixed let mut process = Command::new(exe.as_ref()) .args(&default_args) .args(&p2p_args)