diff --git a/.github/workflows/audit.yml b/.github/workflows/audit.yml index 6143cca8..3c61162d 100644 --- a/.github/workflows/audit.yml +++ b/.github/workflows/audit.yml @@ -2,6 +2,9 @@ name: Audit on: push: + branches: + - 'master' + - 'release/*' paths: - '**/Cargo.toml' - '**/Cargo.lock' diff --git a/.github/workflows/code_coverage.yml b/.github/workflows/code_coverage.yml index b53c47a6..9ec5965c 100644 --- a/.github/workflows/code_coverage.yml +++ b/.github/workflows/code_coverage.yml @@ -1,4 +1,12 @@ -on: [push, pull_request] +on: + push: + branches: + - 'master' + - 'release/*' + pull_request: + branches: + - 'master' + - 'release/*' name: Code Coverage diff --git a/.github/workflows/cont_integration.yml b/.github/workflows/cont_integration.yml index e7def9d0..4cb87c0f 100644 --- a/.github/workflows/cont_integration.yml +++ b/.github/workflows/cont_integration.yml @@ -1,4 +1,12 @@ -on: [push, pull_request] +on: + push: + branches: + - 'master' + - 'release/*' + pull_request: + branches: + - 'master' + - 'release/*' name: CI diff --git a/.github/workflows/nightly_docs.yml b/.github/workflows/nightly_docs.yml index 1b07937d..f122d068 100644 --- a/.github/workflows/nightly_docs.yml +++ b/.github/workflows/nightly_docs.yml @@ -1,6 +1,14 @@ name: Publish Nightly Docs -on: [push, pull_request] +on: + push: + branches: + - 'master' + - 'release/*' + pull_request: + branches: + - 'master' + - 'release/*' jobs: build_docs: diff --git a/CHANGELOG.md b/CHANGELOG.md index 9ecb49c8..bbde023e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,16 +9,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -## [v0.27.2] +## [v0.28.0] ### Summary -Disable default-features for rust-bitcoin and rust-miniscript dependencies, and for rust-esplora-client optional dependency. +Disable default-features for rust-bitcoin and rust-miniscript dependencies, and for rust-esplora-client optional dependency. New default `std` feature must be enabled unless building for wasm. ### Changed -- Set default-features = false for rust-bitcoin and rust-miniscript #882 -- Update esplora client dependency to version 0.4 #884 +- Bump bip39 crate to v2.0.0 #875 +- Set default-features = false for rust-bitcoin and rust-miniscript #882 +- Update esplora client dependency to version 0.4 #884 +- Added new `std` feature as part of default features #930 ## [v0.27.1] @@ -653,5 +655,5 @@ final transaction is created by calling `finish` on the builder. [v0.26.0]: https://github.com/bitcoindevkit/bdk/compare/v0.25.0...v0.26.0 [v0.27.0]: https://github.com/bitcoindevkit/bdk/compare/v0.26.0...v0.27.0 [v0.27.1]: https://github.com/bitcoindevkit/bdk/compare/v0.27.0...v0.27.1 -[v0.27.2]: https://github.com/bitcoindevkit/bdk/compare/v0.27.1...v0.27.2 -[Unreleased]: https://github.com/bitcoindevkit/bdk/compare/v0.27.2...HEAD +[v0.28.0]: https://github.com/bitcoindevkit/bdk/compare/v0.27.1...v0.28.0 +[Unreleased]: https://github.com/bitcoindevkit/bdk/compare/v0.28.0...HEAD diff --git a/Cargo.toml b/Cargo.toml index e1801b8e..5235398d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -52,7 +52,10 @@ js-sys = "0.3" minimal = [] compiler = ["miniscript/compiler"] verify = ["bitcoinconsensus"] -default = ["key-value-db", "electrum"] +default = ["std", "key-value-db", "electrum"] +# std feature is always required unless building for wasm32-unknown-unknown target +# if building for wasm user must add dependencies bitcoin/no-std,miniscript/no-std +std = ["bitcoin/std", "miniscript/std"] sqlite = ["rusqlite", "ahash"] sqlite-bundled = ["sqlite", "rusqlite/bundled"] compact_filters = ["rocksdb", "socks", "cc"]