Skip to content

Commit

Permalink
Merge #97: Update version to 0.8.0, bump MSRV to 1.63.0
Browse files Browse the repository at this point in the history
0c9e5c0 Update MSRV to 1.63 (Steve Myers)
9a55abe Update version to 0.8.0 (Steve Myers)

Pull request description:

  We need to publish a new version with the rust-bitcoin/miniscript version bump.

  I also updated the MSRV for this project to 1.63.0 to match other BDK projects and so I could remove the version pinning that wasn't working anymore.

ACKs for top commit:
  oleonardolima:
    ACK 0c9e5c0
  storopoli:
    ACK 0c9e5c0

Tree-SHA512: 79ac6b03f63ff8ee9cd72e95c1c720a1af895e20304e954ec8a98f81e2bba9377f13153b270e01b1922a3e0563a34bba33b65cd9c21ae739a8a18b9e4f360167
  • Loading branch information
notmandatory committed Mar 24, 2024
2 parents f3058b7 + 0c9e5c0 commit def31bb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 20 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ jobs:
strategy:
matrix:
rust:
- version: 1.66.1 # STABLE
- version: stable # STABLE
features: miniscript
- version: 1.48.0 # MSRV
- version: 1.63.0 # MSRV
features: miniscript
emulator:
- name: trezor
Expand Down Expand Up @@ -84,14 +84,6 @@ jobs:
run: rustup set profile minimal
- name: Update toolchain
run: rustup update
- if: ${{matrix.rust.version}} = 1.48.0
name: Pin dependencies that use edition 2021
# serde 1.0.157 uses syn 2.0 which requires edition 2021.
# serde_json depends on 1.0.66
# once_cell v0.15.0 uses edition 2021.
# quote 1.0.31 uses proc-macro2 1.0.66, which requires edition 2021
run: cargo update -p serde_json --precise 1.0.99 && cargo update -p serde --precise 1.0.156 && cargo update -p once_cell --precise 1.14.0 && cargo update -p quote --precise 1.0.30 && cargo update -p proc-macro2 --precise 1.0.65

- name: Test
run: cargo test --features ${{ matrix.rust.features }}
- name: Wipe
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "hwi"
version = "0.7.0"
version = "0.8.0"
authors = ["Daniela Brozzoni <[email protected]>"]
edition = "2018"
license = "MIT"
Expand Down
11 changes: 2 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,14 @@ Rust wrapper for the [Bitcoin Hardware Wallet Interface](https://github.com/bitc

<a href="https://crates.io/crates/hwi"><img alt="Crate Info" src="https://img.shields.io/crates/v/hwi.svg"/></a>
<a href="https://docs.rs/hwi"><img alt="API Docs" src="https://img.shields.io/badge/docs.rs-hwi-green"/></a>
<a href="https://blog.rust-lang.org/2020/02/27/Rust-1.41.1.html"><img alt="Rustc Version 1.41+" src="https://img.shields.io/badge/rustc-1.41%2B-lightgrey.svg"/></a>
<a href="https://blog.rust-lang.org/2022/08/11/Rust-1.63.0.html"><img alt="Rustc Version 1.63+" src="https://img.shields.io/badge/rustc-1.63%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>

This library internally uses PyO3 to call HWI's functions. It is not a re-implementation of HWI in native Rust.

## MSRV

The MSRV for this project is `1.48.0`. To build with the MSRV you will need to pin some dependencies:
```bash
cargo update -p serde_json --precise 1.0.99
cargo update -p serde --precise 1.0.156
cargo update -p once_cell --precise 1.14.0
cargo update -p quote --precise 1.0.30
cargo update -p proc-macro2 --precise 1.0.65
```
The MSRV for this project is `1.63.0`.

## Prerequisites

Expand Down

0 comments on commit def31bb

Please sign in to comment.