ci: fix to work with bdk 0.28.1 and msrv 1.61.0

This commit is contained in:
Steve Myers 2023-08-03 16:36:07 -05:00
parent bc182c7164
commit f1ba03bf50
No known key found for this signature in database
GPG Key ID: 8105A46B22C2D051
2 changed files with 19 additions and 1 deletions

View File

@ -14,7 +14,7 @@ jobs:
strategy:
matrix:
rust:
- version: 1.63.0 # STABLE
- version: 1.65.0 # STABLE
clippy: true
- version: 1.61.0 # MSRV
steps:
@ -46,6 +46,11 @@ jobs:
- name: Update toolchain
run: rustup update
- name: Pin dependencies for MSRV
if: matrix.rust.version == '1.61.0'
run: |
cargo update -p hashlink --precise "0.8.1"
cargo update -p tokio --precise "1.29.1"
- name: Build
run: cargo build

View File

@ -22,6 +22,19 @@ The below directories (a separate repository in the case of bdk-swift) include i
| Swift | iOS, macOS | [bdk-swift (GitHub)] | [Readme bdk-swift] | |
| Python | linux, macOS, Windows | [bdk-python (PyPI)] | [Readme bdk-python] | |
## Minimum Supported Rust Version (MSRV)
This library should compile with any combination of features with Rust 1.61.0.
To build with the MSRV you will need to pin dependencies as follows:
```shell
# required for sqlite feature, hashlink 0.8.2 has MSRV 1.61.0
cargo update -p hashlink --precise "0.8.1"
# tokio 1.30.0 has MSRV 1.63.0
cargo update -p tokio --precise "1.29.1"
```
## Contributing
### Adding new structs and functions