Skip to content

Commit e7a438b

Browse files
committed
Bump MSRV to Rust 1.56.1
As we have done for the rest of the ecosystem; bump the MSRV to Rust `v1.56.1` - enables edition 2021.
1 parent 1b51e3d commit e7a438b

File tree

5 files changed

+10
-9
lines changed

5 files changed

+10
-9
lines changed

.github/workflows/rust.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- rust: nightly
1616
env:
1717
RUSTFMTCHK: false
18-
- rust: 1.48.0
18+
- rust: 1.56.1
1919
env:
2020
RUSTFMTCHK: false
2121
steps:

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Unreleased
2+
3+
- MSRV changed from 1.48.0 to 1.56.1
4+
15
# 0.18.0
26

37
- MSRV changed from 1.41.1 to 1.48.0

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,4 @@ The following versions are officially supported and automatically tested:
4747
* 0.21.0
4848

4949
# Minimum Supported Rust Version (MSRV)
50-
This library should always compile with any combination of features on **Rust 1.48.0**.
50+
This library should always compile with any combination of features on **Rust 1.56.1**.

contrib/test.sh

+2-6
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
set -xe
33

4-
MSRV="1\.48"
4+
MSRV="1\.56"
55

66
# Just echo all the relevant env vars to help debug Travis.
77
echo "RUSTFMTCHECK: \"$RUSTFMTCHECK\""
@@ -13,14 +13,10 @@ if [ -n "$RUSTFMTCHECK" ]; then
1313
cargo fmt --all -- --check
1414
fi
1515

16-
# Test pinned versions (these are from rust-bitcoin pinning for 1.48).
16+
# Test pinned versions.
1717
if cargo --version | grep ${MSRV}; then
1818
cargo update -p tempfile --precise 3.3.0
1919
cargo update -p log --precise 0.4.18
20-
cargo update -p serde_json --precise 1.0.99
21-
cargo update -p serde --precise 1.0.156
22-
cargo update -p quote --precise 1.0.30
23-
cargo update -p proc-macro2 --precise 1.0.63
2420
fi
2521

2622
# Integration test.

json/Cargo.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ repository = "https://github.com/rust-bitcoin/rust-bitcoincore-rpc/"
1212
description = "JSON-enabled type structs for bitcoincore-rpc crate."
1313
keywords = [ "crypto", "bitcoin", "bitcoin-core", "rpc" ]
1414
readme = "README.md"
15-
edition = "2018"
15+
edition = "2021"
16+
rust-version = "1.56.1"
1617

1718
[lib]
1819
name = "bitcoincore_rpc_json"

0 commit comments

Comments
 (0)