e063ad89bde62e60b10435260e736c66515bf447 fix(esplora+wallet+file_store): remove remaining `println!` usage (Leonardo Lima)
b32b9447e089709b66f24d5700750f0aa6b8d6e1 chore(examples): allow `clippy::print_stdout` in examples (Leonardo Lima)
b614237127ec1e760414fcc8ee7c4b0c77c62d46 fix(tests)!: remove println! usage from tests (Leonardo Lima)
eaa1917a46245e177ad3e65b53e34c681f0043d0 chore: add `print_stdout`/`print_stderr` lints to workspace level (Leonardo Lima)
Pull request description:
potentially fixes #1362
<!-- You can erase any parts of this template not applicable to your Pull Request. -->
### Description
It adds both `print_stdout` and `print_stderr` deny level lints on workspace level, but it does allow it on test fns through `clippy.toml` settings, and explicitly allow it on example code.
<!-- Describe the purpose of this PR, what's being adding and/or fixed -->
### Notes to the reviewers
It currently has the setting allowing it on test fns, but open for discussion below.
<!-- In this section you can include notes directed to the reviewers, like explaining why some parts
of the PR were done in a specific way -->
### Changelog notice
- Add both `print_stdout` and `print_stderr` deny level lints on workspace level
<!-- Notice the release manager should include in the release tag message changelog -->
<!-- See https://keepachangelog.com/en/1.0.0/ for examples -->
### Checklists
#### All Submissions:
* [x] I've signed all my commits
* [x] I followed the [contribution guidelines](https://github.com/bitcoindevkit/bdk/blob/master/CONTRIBUTING.md)
* [x] I ran `cargo fmt` and `cargo clippy` before committing
#### New Features:
* [x] I've added tests for the new feature
* [x] I've added docs for the new feature
ACKs for top commit:
notmandatory:
ACK
e063ad89bde62e60b10435260e736c66515bf447
Tree-SHA512: b3348efd86d09944eb36e4d87799eebc23f4e423861b3bad08365d286449f61b29ad332157eecfb7307191ef61d3b8285341e0ccb868581e54b570d6dd37547c
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
+ [lints]
+ workspace = true
+
[dependencies]
bitcoin = { version = "0.32.0", default-features = false }
+bdk_core = { path = "../core", version = "0.1", default-features = false }
serde = { version = "1", optional = true, features = ["derive", "rc"] }
-
-# Use hashbrown as a feature flag to have HashSet and HashMap from it.
-hashbrown = { version = "0.9.1", optional = true, features = ["serde"] }
miniscript = { version = "12.0.0", optional = true, default-features = false }
# Feature dependencies
license = "MIT OR Apache-2.0"
readme = "README.md"
+ [lints]
+ workspace = true
+
[dependencies]
-bdk_chain = { path = "../chain", version = "0.17.0" }
-electrum-client = { version = "0.21", features = ["proxy"], default-features = false }
+bdk_core = { path = "../core", version = "0.1" }
+electrum-client = { version = "0.21", features = [ "proxy" ], default-features = false }
[dev-dependencies]
bdk_testenv = { path = "../testenv", default-features = false }
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
+ [lints]
+ workspace = true
+
[dependencies]
-bdk_chain = { path = "../chain", version = "0.17.0", default-features = false }
+bdk_core = { path = "../core", version = "0.1", default-features = false }
esplora-client = { version = "0.9.0", default-features = false }
async-trait = { version = "0.1.66", optional = true }
futures = { version = "0.3.26", optional = true }
authors = ["Bitcoin Dev Kit Developers"]
readme = "README.md"
+ [lints]
+ workspace = true
+
[dependencies]
-bdk_chain = { path = "../chain", version = "0.17.0", features = [ "serde", "miniscript" ] }
+bdk_chain = { path = "../chain", version = "0.18.0", features = [ "serde", "miniscript" ] }
bincode = { version = "1" }
serde = { version = "1", features = ["derive"] }
license = "MIT OR Apache-2.0"
readme = "README.md"
+ [lints]
+ workspace = true
+
[dependencies]
-bdk_wallet = { path = "../wallet", version = "1.0.0-beta.1" }
-hwi = { version = "0.9.0", features = [ "miniscript"] }
+bdk_wallet = { path = "../wallet", version = "1.0.0-beta.2" }
+hwi = { version = "0.9.0", features = [ "miniscript" ] }
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
+ [lints]
+ workspace = true
+
[dependencies]
-bdk_chain = { path = "../chain", version = "0.17", default-features = false }
-electrsd = { version = "0.28.0", features = ["bitcoind_25_0", "esplora_a33e97e1", "legacy"] }
+bdk_chain = { path = "../chain", version = "0.18", default-features = false }
+electrsd = { version = "0.28.0", features = [ "bitcoind_25_0", "esplora_a33e97e1", "legacy" ] }
[features]
default = ["std"]
edition = "2021"
rust-version = "1.63"
+ [lints]
+ workspace = true
+
[dependencies]
rand_core = { version = "0.6.0" }
-miniscript = { version = "12.0.0", features = ["serde"], default-features = false }
-bitcoin = { version = "0.32.0", features = ["serde", "base64"], default-features = false }
+miniscript = { version = "12.0.0", features = [ "serde" ], default-features = false }
+bitcoin = { version = "0.32.0", features = [ "serde", "base64" ], default-features = false }
serde = { version = "^1.0", features = ["derive"] }
serde_json = { version = "^1.0" }
-bdk_chain = { path = "../chain", version = "0.17.0", features = ["miniscript", "serde"], default-features = false }
-bdk_file_store = { path = "../file_store", version = "0.14.0", optional = true }
+bdk_chain = { path = "../chain", version = "0.18.0", features = [ "miniscript", "serde" ], default-features = false }
+bdk_file_store = { path = "../file_store", version = "0.15.0", optional = true }
# Optional dependencies
bip39 = { version = "2.0", optional = true }