]> Untitled Git - bdk/commitdiff
chore(msrv): bump MSRV to `1.85.0`
authorLeonardo Lima <oleonardolima@users.noreply.github.com>
Thu, 2 Oct 2025 04:42:28 +0000 (14:42 +1000)
committerLeonardo Lima <oleonardolima@users.noreply.github.com>
Thu, 9 Oct 2025 03:23:18 +0000 (14:23 +1100)
- update all references to previous 1.63.0 MSRV.
- update the rust-version to 1.85.0.
- update the CI to not exclude bdk_electrum anymore.
- update the ci/pin-msrv.sh to 1.85.0.

12 files changed:
.github/workflows/cont_integration.yml
CONTRIBUTING.md
README.md
ci/pin-msrv.sh
clippy.toml
crates/bitcoind_rpc/Cargo.toml
crates/chain/Cargo.toml
crates/core/Cargo.toml
crates/electrum/Cargo.toml
crates/esplora/Cargo.toml
crates/file_store/Cargo.toml
crates/testenv/Cargo.toml

index d6e5d9ef62dd86385b0d0a77b2555a77073fa539..4786d5e0ce6ce06e643708a2b3897eaf4baabb2f 100644 (file)
@@ -28,8 +28,7 @@ jobs:
         rust:
           - version: ${{ needs.prepare.outputs.rust_version }}
             clippy: true
-          - version: 1.63.0 # Overall MSRV
-          - version: 1.75.0 # Specific MSRV for `bdk_electrum`
+          - version: 1.85.0 # Overall MSRV
         features:
           - --no-default-features --features miniscript/no-std,bdk_chain/hashbrown
           - --all-features
@@ -46,31 +45,15 @@ jobs:
             profile: minimal
       - name: Rust Cache
         uses: Swatinem/rust-cache@v2.7.8
-      - name: Pin dependencies for 1.75
-        if: matrix.rust.version == '1.75.0'
-        run: |
-          cargo update -p home --precise "0.5.9"
-          cargo update -p native-tls --precise "0.2.13"
-          cargo update -p idna_adapter --precise "1.1.0"
-          cargo update -p base64ct --precise "1.6.0"
-          cargo update -p minreq --precise "2.13.2"
-          cargo update -p rayon --precise "1.10.0"
-          cargo update -p rayon-core --precise "1.12.1"
-          cargo update -p time --precise "0.3.41"
       - name: Pin dependencies for MSRV
-        if: matrix.rust.version == '1.63.0'
+        if: matrix.rust.version == '1.85.0'
         run: ./ci/pin-msrv.sh
       - name: Build + Test
         env:
           MATRIX_RUST_VERSION: ${{ matrix.rust.version }}
         run: |
-          if [ $MATRIX_RUST_VERSION = '1.63.0' ]; then
-            cargo build --workspace --exclude 'example_*' --exclude 'bdk_electrum' ${{ matrix.features }}
-            cargo test --workspace --exclude 'example_*' --exclude 'bdk_electrum' ${{ matrix.features }}
-          else
             cargo build --workspace --exclude 'example_*' ${{ matrix.features }}
             cargo test --workspace --exclude 'example_*' ${{ matrix.features }}
-          fi
 
   check-no-std:
     needs: prepare
index b7778f7817b9979ad1bb3baf02bb3aff614e2486..a9a9046531c7ddcb152cfe24060854d918961c0e 100644 (file)
@@ -46,7 +46,7 @@ Every new feature should be covered by functional tests where possible.
 When refactoring, structure your PR to make it easy to review and don't
 hesitate to split it into multiple small, focused PRs.
 
-The Minimum Supported Rust Version is **1.63.0** (enforced by our CI).
+The Minimum Supported Rust Version is **1.85.0** (enforced by our CI).
 
 Commits should cover both the issue fixed and the solution's rationale.
 These [guidelines](https://chris.beams.io/posts/git-commit/) should be kept in mind. Commit messages follow the ["Conventional Commits 1.0.0"](https://www.conventionalcommits.org/en/v1.0.0/) to make commit histories easier to read by humans and automated tools. All commits must be [GPG signed](https://docs.github.com/en/authentication/managing-commit-signature-verification/signing-commits).
index 635489d8be9626c4f2d943795780a689fc538a02..472222ad6c98ed250d3a9a5fa91e86d08713bc74 100644 (file)
--- a/README.md
+++ b/README.md
@@ -12,7 +12,7 @@
     <a href="https://github.com/bitcoindevkit/bdk/blob/master/LICENSE"><img alt="MIT or Apache-2.0 Licensed" src="https://img.shields.io/badge/license-MIT%2FApache--2.0-blue.svg"/></a>
     <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>
     <a href="https://coveralls.io/github/bitcoindevkit/bdk?branch=master"><img src="https://coveralls.io/repos/github/bitcoindevkit/bdk/badge.svg?branch=master"/></a>
-    <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>
+    <a href="https://blog.rust-lang.org/2025/02/20/Rust-1.85.0/"><img alt="Rustc Version 1.85.0+" src="https://img.shields.io/badge/rustc-1.85.0%2B-lightgrey.svg"/></a>
     <a href="https://discord.gg/d7NkDKm"><img alt="Chat on Discord" src="https://img.shields.io/discord/753336465005608961?logo=discord"></a>
   </p>
 
@@ -58,15 +58,14 @@ Fully working examples of how to use these components are in `/examples`:
 
 ## Minimum Supported Rust Version (MSRV)
 
-The following BDK crates maintains a MSRV of 1.63.0. To build these crates with the MSRV of 1.63.0 you will need to pin dependencies by running the [`pin-msrv.sh`](./ci/pin-msrv.sh) script.
+The following BDK crates maintains a MSRV of 1.85.0. To build these crates with the MSRV of 1.85.0 you will need to pin dependencies by running the [`pin-msrv.sh`](./ci/pin-msrv.sh) script.
 
 - `bdk_core`
 - `bdk_chain`
 - `bdk_bitcoind_rpc`
 - `bdk_esplora`
 - `bdk_file_store`
-
-The MSRV of the `bdk_electrum` crate is 1.75.0.
+- `bdk_electrum`
 
 ## Just
 
index 421a68372c8ef9901e88a1ff5f2d85ff7e0b9d8d..0384cc4529ee8aef39ffe99e0869188e320d4d74 100755 (executable)
@@ -8,27 +8,4 @@ set -euo pipefail
 # To pin deps, switch toolchain to MSRV and execute the below updates
 
 # cargo clean
-# rustup override set 1.63.0
-
-cargo update -p zstd-sys --precise "2.0.8+zstd.1.5.5"
-cargo update -p time --precise "0.3.20"
-cargo update -p home --precise "0.5.5"
-cargo update -p proptest --precise "1.2.0"
-cargo update -p url --precise "2.5.0"
-cargo update -p tokio --precise "1.38.1"
-cargo update -p reqwest --precise "0.12.4"
-cargo update -p security-framework-sys --precise "2.11.1"
-cargo update -p csv --precise "1.3.0"
-cargo update -p unicode-width --precise "0.1.13"
-cargo update -p native-tls --precise "0.2.13"
-cargo update -p flate2 --precise "1.0.35"
-cargo update -p bzip2-sys --precise "0.1.12"
-cargo update -p ring --precise "0.17.12"
-cargo update -p once_cell --precise "1.20.3"
-cargo update -p base64ct --precise "1.6.0"
-cargo update -p minreq --precise "2.13.2"
-cargo update -p tracing-core --precise "0.1.33"
-cargo update -p webpki-roots@1.0.3 --precise "1.0.1"
-cargo update -p rayon --precise "1.10.0"
-cargo update -p rayon-core --precise "1.12.1"
-cargo update -p socket2@0.6.0 --precise "0.5.10"
+# rustup override set 1.85.0
index 69478ceabd3cd548b3838ee3a3cba3166f390f85..730b7f372f1250f0e0f0ab87c12a9af58995a468 100644 (file)
@@ -1 +1 @@
-msrv="1.63.0"
+msrv="1.85.0"
index 2b8e03d20092d1ebf38e279125e8ec9fff427066..572d1f52304fd5c48458c43f8212117a317c377b 100644 (file)
@@ -2,7 +2,7 @@
 name = "bdk_bitcoind_rpc"
 version = "0.22.0"
 edition = "2021"
-rust-version = "1.63"
+rust-version = "1.85.0"
 homepage = "https://bitcoindevkit.org"
 repository = "https://github.com/bitcoindevkit/bdk"
 documentation = "https://docs.rs/bdk_bitcoind_rpc"
index dd7d2bb36259618066cec74f9c0f563aa52b0d98..895045e26d0c403503284b574766b530255b6aca 100644 (file)
@@ -2,7 +2,7 @@
 name = "bdk_chain"
 version = "0.23.2"
 edition = "2021"
-rust-version = "1.63"
+rust-version = "1.85.0"
 homepage = "https://bitcoindevkit.org"
 repository = "https://github.com/bitcoindevkit/bdk"
 documentation = "https://docs.rs/bdk_chain"
index 4fc71c50f36935a970e5ca289718b4dc5453b77d..a56863d9692179c84fda49af5f400be8b6f7cabf 100644 (file)
@@ -2,7 +2,7 @@
 name = "bdk_core"
 version = "0.6.2"
 edition = "2021"
-rust-version = "1.63"
+rust-version = "1.85.0"
 homepage = "https://bitcoindevkit.org"
 repository = "https://github.com/bitcoindevkit/bdk"
 documentation = "https://docs.rs/bdk_core"
index 8fdd7823b5ad40291830260e079dd0a72be38f21..4a6dc4d5ace06971bfe39e78fa8f6e217aa27273 100644 (file)
@@ -2,6 +2,7 @@
 name = "bdk_electrum"
 version = "0.23.2"
 edition = "2021"
+rust-version = "1.85.0"
 homepage = "https://bitcoindevkit.org"
 repository = "https://github.com/bitcoindevkit/bdk"
 documentation = "https://docs.rs/bdk_electrum"
index e4c553f77c0060b6cbc513d83061111ca8873030..a052916a773123b606ef547340c730dfc276c31c 100644 (file)
@@ -2,6 +2,7 @@
 name = "bdk_esplora"
 version = "0.22.1"
 edition = "2021"
+rust-version = "1.85.0"
 homepage = "https://bitcoindevkit.org"
 repository = "https://github.com/bitcoindevkit/bdk"
 documentation = "https://docs.rs/bdk_esplora"
index 714c40e1bab5bb0e8175690305772dc8b3a53524..8fbdc358dee41a8c730b590731ce06e8aa865e0c 100644 (file)
@@ -2,6 +2,7 @@
 name = "bdk_file_store"
 version = "0.22.0"
 edition = "2021"
+rust-version = "1.85.0"
 license = "MIT OR Apache-2.0"
 repository = "https://github.com/bitcoindevkit/bdk"
 documentation = "https://docs.rs/bdk_file_store"
index eff58a41c7096b53efa772b1632766f332d29445..2a707fe32e857f352e8e5b5a8f0af901862b23f6 100644 (file)
@@ -2,7 +2,7 @@
 name = "bdk_testenv"
 version = "0.13.1"
 edition = "2021"
-rust-version = "1.63"
+rust-version = "1.85.0"
 homepage = "https://bitcoindevkit.org"
 repository = "https://github.com/bitcoindevkit/bdk"
 documentation = "https://docs.rs/bdk_testenv"