Skip to content

Commit c9eee70

Browse files
committed
ci: change MSRV to 1.63.0
1 parent 3569acc commit c9eee70

File tree

6 files changed

+19
-58
lines changed

6 files changed

+19
-58
lines changed

.github/workflows/cont_integration.yml

Lines changed: 5 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
rust:
1313
- version: stable
1414
clippy: true
15-
- version: 1.57.0 # MSRV
15+
- version: 1.63.0 # MSRV
1616
features:
1717
- --no-default-features
1818
- --all-features
@@ -28,25 +28,12 @@ jobs:
2828
- name: Rust Cache
2929
uses: Swatinem/rust-cache@v2.2.1
3030
- name: Pin dependencies for MSRV
31-
if: matrix.rust.version == '1.57.0'
31+
if: matrix.rust.version == '1.63.0'
3232
run: |
33-
cargo update -p log --precise "0.4.18"
34-
cargo update -p tempfile --precise "3.6.0"
35-
cargo update -p rustls:0.21.7 --precise "0.21.1"
36-
cargo update -p rustls:0.20.9 --precise "0.20.8"
37-
cargo update -p tokio:1.33.0 --precise "1.29.1"
38-
cargo update -p tokio-util --precise "0.7.8"
39-
cargo update -p flate2:1.0.27 --precise "1.0.26"
40-
cargo update -p reqwest --precise "0.11.18"
41-
cargo update -p h2 --precise "0.3.20"
42-
cargo update -p rustls-webpki:0.100.3 --precise "0.100.1"
43-
cargo update -p rustls-webpki:0.101.6 --precise "0.101.1"
44-
cargo update -p zip:0.6.6 --precise "0.6.2"
45-
cargo update -p time --precise "0.3.13"
46-
cargo update -p cc --precise "1.0.81"
47-
cargo update -p byteorder --precise "1.4.3"
48-
cargo update -p webpki --precise "0.22.2"
33+
cargo update -p zip --precise "0.6.2"
34+
cargo update -p time --precise "0.3.20"
4935
cargo update -p jobserver --precise "0.1.26"
36+
cargo update -p reqwest --precise "0.11.19"
5037
- name: Build
5138
run: cargo build ${{ matrix.features }}
5239
- name: Test

README.md

Lines changed: 9 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<a href="https://github.com/bitcoindevkit/bdk/actions?query=workflow%3ACI"><img alt="CI Status" src="https://github.com/bitcoindevkit/bdk/workflows/CI/badge.svg"></a>
1616
<a href="https://coveralls.io/github/bitcoindevkit/bdk?branch=master"><img src="https://coveralls.io/repos/github/bitcoindevkit/bdk/badge.svg?branch=master"/></a>
1717
<a href="https://docs.rs/bdk"><img alt="API Docs" src="https://img.shields.io/badge/docs.rs-bdk-green"/></a>
18-
<a href="https://blog.rust-lang.org/2021/12/02/Rust-1.57.0.html"><img alt="Rustc Version 1.57.0+" src="https://img.shields.io/badge/rustc-1.57.0%2B-lightgrey.svg"/></a>
18+
<a href="https://blog.rust-lang.org/2022/08/11/Rust-1.63.0.html"><img alt="Rustc Version 1.63.0+" src="https://img.shields.io/badge/rustc-1.63.0%2B-lightgrey.svg"/></a>
1919
<a href="https://discord.gg/d7NkDKm"><img alt="Chat on Discord" src="https://img.shields.io/discord/753336465005608961?logo=discord"></a>
2020
</p>
2121

@@ -60,45 +60,19 @@ Fully working examples of how to use these components are in `/example-crates`:
6060
[`bdk_chain`]: https://docs.rs/bdk-chain/
6161

6262
## Minimum Supported Rust Version (MSRV)
63-
This library should compile with any combination of features with Rust 1.57.0.
63+
This library should compile with any combination of features with Rust 1.63.0.
6464

6565
To build with the MSRV you will need to pin dependencies as follows:
6666

6767
```shell
68-
# log 0.4.19 has MSRV 1.60.0+
69-
cargo update -p log --precise "0.4.18"
70-
# tempfile 3.7.0 has MSRV 1.63.0+
71-
cargo update -p tempfile --precise "3.6.0"
72-
# rustls 0.21.7 has MSRV 1.60.0+
73-
cargo update -p rustls:0.21.7 --precise "0.21.1"
74-
# rustls 0.20.9 has MSRV 1.60.0+
75-
cargo update -p rustls:0.20.9 --precise "0.20.8"
76-
# tokio 1.33 has MSRV 1.63.0+
77-
cargo update -p tokio:1.33.0 --precise "1.29.1"
78-
# tokio-util 0.7.9 doesn't build with MSRV 1.57.0
79-
cargo update -p tokio-util --precise "0.7.8"
80-
# flate2 1.0.27 has MSRV 1.63.0+
81-
cargo update -p flate2:1.0.27 --precise "1.0.26"
82-
# reqwest 0.11.19 has MSRV 1.63.0+
83-
cargo update -p reqwest --precise "0.11.18"
84-
# h2 0.3.21 has MSRV 1.63.0+
85-
cargo update -p h2 --precise "0.3.20"
86-
# rustls-webpki 0.100.3 has MSRV 1.60.0+
87-
cargo update -p rustls-webpki:0.100.3 --precise "0.100.1"
88-
# rustls-webpki 0.101.2 has MSRV 1.60.0+
89-
cargo update -p rustls-webpki:0.101.6 --precise "0.101.1"
90-
# zip 0.6.6 has MSRV 1.59.0+
91-
cargo update -p zip:0.6.6 --precise "0.6.2"
92-
# time 0.3.14 has MSRV 1.59.0+
93-
cargo update -p time --precise "0.3.13"
94-
# cc 1.0.82 has MSRV 1.61.0+
95-
cargo update -p cc --precise "1.0.81"
96-
# byteorder 1.5.0 has MSRV 1.60.0+
97-
cargo update -p byteorder --precise "1.4.3"
98-
# webpki 0.22.4 requires `ring:0.17.2` which has MSRV 1.61.0+
99-
cargo update -p webpki --precise "0.22.2"
100-
# jobserver 0.1.27 has MSRV 1.66.0+
68+
# zip 0.6.3 has MSRV 1.64.0+
69+
cargo update -p zip --precise "0.6.2"
70+
# time 0.3.21 has MSRV 1.65.0+
71+
cargo update -p time --precise "0.3.20"
72+
# jobserver 0.1.27 has MSRV 1.66.0
10173
cargo update -p jobserver --precise "0.1.26"
74+
# reqwest 0.11.20 has MSRV > 1.63.0+
75+
cargo update -p reqwest --precise "0.11.19"
10276
```
10377

10478
## License

crates/bdk/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ readme = "README.md"
1010
license = "MIT OR Apache-2.0"
1111
authors = ["Bitcoin Dev Kit Developers"]
1212
edition = "2021"
13-
rust-version = "1.57"
13+
rust-version = "1.63"
1414

1515
[dependencies]
1616
log = "0.4"
@@ -45,7 +45,7 @@ dev-getrandom-wasm = ["getrandom/js"]
4545

4646
[dev-dependencies]
4747
lazy_static = "1.4"
48-
env_logger = "0.7"
48+
env_logger = { version = "0.7", default-features = false }
4949
assert_matches = "1.5.0"
5050

5151
[package.metadata.docs.rs]

crates/bdk/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<a href="https://github.com/bitcoindevkit/bdk/actions?query=workflow%3ACI"><img alt="CI Status" src="https://github.com/bitcoindevkit/bdk/workflows/CI/badge.svg"></a>
1414
<a href="https://coveralls.io/github/bitcoindevkit/bdk?branch=master"><img src="https://coveralls.io/repos/github/bitcoindevkit/bdk/badge.svg?branch=master"/></a>
1515
<a href="https://docs.rs/bdk"><img alt="API Docs" src="https://img.shields.io/badge/docs.rs-bdk-green"/></a>
16-
<a href="https://blog.rust-lang.org/2021/12/02/Rust-1.57.0.html"><img alt="Rustc Version 1.57.0+" src="https://img.shields.io/badge/rustc-1.57.0%2B-lightgrey.svg"/></a>
16+
<a href="https://blog.rust-lang.org/2022/08/11/Rust-1.63.0.html"><img alt="Rustc Version 1.63.0+" src="https://img.shields.io/badge/rustc-1.63.0%2B-lightgrey.svg"/></a>
1717
<a href="https://discord.gg/d7NkDKm"><img alt="Chat on Discord" src="https://img.shields.io/discord/753336465005608961?logo=discord"></a>
1818
</p>
1919

crates/bitcoind_rpc/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "bdk_bitcoind_rpc"
33
version = "0.1.0"
44
edition = "2021"
5-
rust-version = "1.57"
5+
rust-version = "1.63"
66
homepage = "https://bitcoindevkit.org"
77
repository = "https://github.com/bitcoindevkit/bdk"
88
documentation = "https://docs.rs/bdk_bitcoind_rpc"

crates/chain/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "bdk_chain"
33
version = "0.6.0"
44
edition = "2021"
5-
rust-version = "1.57"
5+
rust-version = "1.63"
66
homepage = "https://bitcoindevkit.org"
77
repository = "https://github.com/bitcoindevkit/bdk"
88
documentation = "https://docs.rs/bdk_chain"

0 commit comments

Comments
 (0)