diff --git a/CHANGELOG.md b/CHANGELOG.md index bf4911b..50d24c9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +# 0.2.0 - 2024-08-22 + +- Bump MSRV to Rust `v1.63.0` [#27](https://github.com/tcharding/rust-psbt/pull/27) +- Upgrade dependencies [#26](https://github.com/tcharding/rust-psbt/pull/26) + - `bitcoin v0.32.0` + - `miniscript 12.2.0` + # 0.1.1 - 2024-02-08 Add various combinations of the three bips as keywords. diff --git a/Cargo-minimal.lock b/Cargo-minimal.lock index c03dd59..fe2979f 100644 --- a/Cargo-minimal.lock +++ b/Cargo-minimal.lock @@ -195,7 +195,7 @@ dependencies = [ [[package]] name = "psbt-v2" -version = "0.1.1" +version = "0.2.0" dependencies = [ "anyhow", "bincode", diff --git a/Cargo-recent.lock b/Cargo-recent.lock index c03dd59..fe2979f 100644 --- a/Cargo-recent.lock +++ b/Cargo-recent.lock @@ -195,7 +195,7 @@ dependencies = [ [[package]] name = "psbt-v2" -version = "0.1.1" +version = "0.2.0" dependencies = [ "anyhow", "bincode", diff --git a/Cargo.toml b/Cargo.toml index dac050a..67181e4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "psbt-v2" -version = "0.1.1" +version = "0.2.0" authors = ["Tobin C. Harding "] license = "CC0-1.0" repository = "https://github.com/tcharding/rust-psbt/" diff --git a/contrib/update-lock-files.sh b/contrib/update-lock-files.sh new file mode 100755 index 0000000..02ba1f7 --- /dev/null +++ b/contrib/update-lock-files.sh @@ -0,0 +1,11 @@ +#!/usr/bin/env bash +# +# Update the minimal/recent lock file + +set -euo pipefail + +for file in Cargo-minimal.lock Cargo-recent.lock; do + cp --force "$file" Cargo.lock + cargo check + cp --force Cargo.lock "$file" +done diff --git a/justfile b/justfile index 1d7022b..28a9de0 100644 --- a/justfile +++ b/justfile @@ -16,12 +16,16 @@ test: # Lint everything. lint: - cargo clippy --all --all-targets --all-features -- --deny warnings + cargo +$(cat ./nightly-version) clippy --all-targets --all-features -- --deny warnings -# Run the formatter +# Run cargo fmt fmt: - cargo +nightly fmt --all + cargo +$(cat ./nightly-version) fmt --all -# Check the formatting -format: - cargo +nightly fmt --all --check +# Generate documentation. +docsrs *flags: + RUSTDOCFLAGS="--cfg docsrs -D warnings -D rustdoc::broken-intra-doc-links" cargo +$(cat ./nightly-version) doc --all-features {{flags}} + +# Update the recent and minimal lock files. +update-lock-files: + contrib/update-lock-files.sh