Skip to content

Commit eaa1917

Browse files
committed
chore: add print_stdout/print_stderr lints to workspace level
1 parent cc84872 commit eaa1917

File tree

10 files changed

+29
-1
lines changed

10 files changed

+29
-1
lines changed

Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,7 @@ members = [
2121

2222
[workspace.package]
2323
authors = ["Bitcoin Dev Kit Developers"]
24+
25+
[workspace.lints.clippy]
26+
print_stdout = "deny"
27+
print_stderr = "deny"

clippy.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
msrv="1.63.0"
1+
msrv="1.63.0"

crates/bitcoind_rpc/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ readme = "README.md"
1212

1313
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1414

15+
[lints]
16+
workspace = true
17+
1518
[dependencies]
1619
bitcoin = { version = "0.32.0", default-features = false }
1720
bitcoincore-rpc = { version = "0.19.0" }

crates/chain/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ readme = "README.md"
1212

1313
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1414

15+
[lints]
16+
workspace = true
17+
1518
[dependencies]
1619
bitcoin = { version = "0.32.0", default-features = false }
1720
serde = { version = "1", optional = true, features = ["derive", "rc"] }

crates/electrum/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ description = "Fetch data from electrum in the form BDK accepts"
99
license = "MIT OR Apache-2.0"
1010
readme = "README.md"
1111

12+
[lints]
13+
workspace = true
14+
1215
[dependencies]
1316
bdk_chain = { path = "../chain", version = "0.17.0" }
1417
electrum-client = { version = "0.21", features = ["proxy"], default-features = false }

crates/esplora/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ readme = "README.md"
1111

1212
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1313

14+
[lints]
15+
workspace = true
16+
1417
[dependencies]
1518
bdk_chain = { path = "../chain", version = "0.17.0", default-features = false }
1619
esplora-client = { version = "0.9.0", default-features = false }

crates/file_store/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ keywords = ["bitcoin", "persist", "persistence", "bdk", "file"]
1010
authors = ["Bitcoin Dev Kit Developers"]
1111
readme = "README.md"
1212

13+
[lints]
14+
workspace = true
15+
1316
[dependencies]
1417
bdk_chain = { path = "../chain", version = "0.17.0", features = [ "serde", "miniscript" ] }
1518
bincode = { version = "1" }

crates/hwi/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ description = "Utilities to use bdk with hardware wallets"
88
license = "MIT OR Apache-2.0"
99
readme = "README.md"
1010

11+
[lints]
12+
workspace = true
13+
1114
[dependencies]
1215
bdk_wallet = { path = "../wallet", version = "1.0.0-beta.1" }
1316
hwi = { version = "0.9.0", features = [ "miniscript"] }

crates/testenv/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ readme = "README.md"
1212

1313
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1414

15+
[lints]
16+
workspace = true
17+
1518
[dependencies]
1619
bdk_chain = { path = "../chain", version = "0.17", default-features = false }
1720
electrsd = { version = "0.28.0", features = ["bitcoind_25_0", "esplora_a33e97e1", "legacy"] }

crates/wallet/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ authors = ["Bitcoin Dev Kit Developers"]
1212
edition = "2021"
1313
rust-version = "1.63"
1414

15+
[lints]
16+
workspace = true
17+
1518
[dependencies]
1619
rand_core = { version = "0.6.0" }
1720
miniscript = { version = "12.0.0", features = ["serde"], default-features = false }

0 commit comments

Comments
 (0)