Skip to content

Commit da48b10

Browse files
committed
increase MSRV to 1.56.1
1 parent c6d8bc5 commit da48b10

File tree

5 files changed

+9
-23
lines changed

5 files changed

+9
-23
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
strategy:
7070
fail-fast: false
7171
matrix:
72-
toolchain: ["1.48.0", "stable", "nightly"]
72+
toolchain: ["1.56.1", "stable", "nightly"]
7373

7474
steps:
7575
- uses: actions/checkout@v3
@@ -81,15 +81,9 @@ jobs:
8181
toolchain: ${{ matrix.toolchain }}
8282
- run: |
8383
cargo update
84-
cargo update -p which --precise 4.2.5
8584
cargo update -p tempfile --precise 3.3.0
8685
cargo update -p log --precise 0.4.18
87-
cargo update -p serde_json --precise 1.0.99
88-
cargo update -p serde --precise 1.0.156
89-
cargo update -p regex --precise 1.7.3
90-
cargo update -p quote --precise 1.0.28
91-
cargo update -p proc-macro2 --precise 1.0.63
92-
if: ${{ matrix.toolchain == '1.48.0' }}
86+
if: ${{ matrix.toolchain == '1.56.1' }}
9387
- run: cargo build
9488

9589
build-nix:

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[package]
22
name = "bitcoind"
3-
version = "0.34.2"
3+
version = "0.35.0"
44
authors = ["Riccardo Casatta <riccardo@casatta.it>"]
55
description = "Utility to run a regtest bitcoind process, useful in integration testing environment"
66
license = "MIT"
77
repository = "https://github.com/RCasatta/bitcoind"
88
documentation = "https://docs.rs/bitcoind/"
9-
rust-version = "1.48.0" # without features, with any feature is 1.57
9+
rust-version = "1.56.1"
1010
edition = "2018"
1111
categories = ["cryptography::cryptocurrencies", "development-tools::testing"]
1212

README.md

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -76,23 +76,15 @@ RUSTDOCFLAGS="--cfg docsrs" cargo +nightly doc --features download,doc --open
7676

7777
## MSRV
7878

79-
The MSRV is 1.48.0 for version 0.29.* if no feature is used, otherwise is 1.57
79+
The MSRV is 1.56.1 for version 0.35.*
8080

81-
Note: to respect 1.48.0 MSRV you need to use and older version of some dependencies, in CI the below
81+
Note: to respect 1.56.1 MSRV you need to use and older version of some dependencies, in CI the below
8282
dependency versions are pinned:
8383

8484
```sh
8585
cargo update
86-
cargo update -p which --precise 4.2.5
8786
cargo update -p tempfile --precise 3.3.0
8887
cargo update -p log --precise 0.4.18
89-
cargo update -p serde_json --precise 1.0.99
90-
cargo update -p serde --precise 1.0.156
91-
cargo update -p regex --precise 1.7.3
92-
cargo update -p thiserror --precise 1.0.40
93-
cargo update -p quote --precise 1.0.28
94-
cargo update -p syn:2.0.37 --precise 2.0.32
95-
cargo update -p proc-macro2 --precise 1.0.63
9688
```
9789

9890
Pinning in `Cargo.toml` is avoided because it could cause

clippy.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
msrv = "1.48.0"
1+
msrv = "1.56.1"

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ impl BitcoinD {
331331
);
332332

333333
let mut process = Command::new(exe.as_ref())
334-
.args(&default_args)
334+
.args(default_args)
335335
.args(&p2p_args)
336336
.args(&conf_args)
337337
.args(&zmq_args)
@@ -608,7 +608,7 @@ mod test {
608608
assert_eq!(peers_connected(&other_bitcoind.client), 1);
609609
}
610610

611-
#[cfg(not(target_os = "windows"))]
611+
#[cfg(not(target_os = "windows"))] // TODO: investigate why it doesn't work in windows
612612
#[test]
613613
fn test_data_persistence() {
614614
// Create a Conf with staticdir type

0 commit comments

Comments
 (0)