Skip to content

Commit

Permalink
Merge pull request #30 from tcharding/08-22-release-0.2.0
Browse files Browse the repository at this point in the history
Bump version to 0.2.0
  • Loading branch information
tcharding authored Aug 22, 2024
2 parents a450827 + b5b1c2f commit c32f754
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 9 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion Cargo-minimal.lock
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ dependencies = [

[[package]]
name = "psbt-v2"
version = "0.1.1"
version = "0.2.0"
dependencies = [
"anyhow",
"bincode",
Expand Down
2 changes: 1 addition & 1 deletion Cargo-recent.lock
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ dependencies = [

[[package]]
name = "psbt-v2"
version = "0.1.1"
version = "0.2.0"
dependencies = [
"anyhow",
"bincode",
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 = "psbt-v2"
version = "0.1.1"
version = "0.2.0"
authors = ["Tobin C. Harding <[email protected]>"]
license = "CC0-1.0"
repository = "https://github.com/tcharding/rust-psbt/"
Expand Down
11 changes: 11 additions & 0 deletions contrib/update-lock-files.sh
Original file line number Diff line number Diff line change
@@ -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
16 changes: 10 additions & 6 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit c32f754

Please sign in to comment.