Skip to content

Commit

Permalink
ci: fix to work with bdk 0.28.1 and msrv 1.61.0
Browse files Browse the repository at this point in the history
  • Loading branch information
notmandatory committed Aug 3, 2023
1 parent bc182c7 commit 25d65ef
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/cont_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,12 @@ jobs:
- name: Update toolchain
run: rustup update

- name: Pin dependencies for MSRV
if: matrix.rust.version == '1.61.0'
run: |
cargo update -p log --precise "0.4.18"
cargo update -p hashlink --precise "0.8.1"
- name: Build
run: cargo build

Expand Down
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
# log 0.4.19 has MSRV 1.60.0
cargo update -p log --precise "0.4.18"
# required for sqlite feature, hashlink 0.8.2 has MSRV 1.61.0
cargo update -p hashlink --precise "0.8.1"
```

## Contributing

### Adding new structs and functions
Expand Down

0 comments on commit 25d65ef

Please sign in to comment.