]> Untitled Git - bdk/commitdiff
chore: add `print_stdout`/`print_stderr` lints to workspace level
authorLeonardo Lima <oleonardolima@users.noreply.github.com>
Sun, 5 May 2024 15:24:33 +0000 (12:24 -0300)
committerLeonardo Lima <oleonardolima@users.noreply.github.com>
Thu, 15 Aug 2024 14:44:15 +0000 (11:44 -0300)
Cargo.toml
clippy.toml
crates/bitcoind_rpc/Cargo.toml
crates/chain/Cargo.toml
crates/electrum/Cargo.toml
crates/esplora/Cargo.toml
crates/file_store/Cargo.toml
crates/hwi/Cargo.toml
crates/testenv/Cargo.toml
crates/wallet/Cargo.toml

index 1c29bbaf5dd8f1f481deed63eba53e11baca7d2b..1256dd2cccfdba57f54cbc06a9ccd80ec4f7957a 100644 (file)
@@ -21,3 +21,7 @@ members = [
 
 [workspace.package]
 authors = ["Bitcoin Dev Kit Developers"]
+
+[workspace.lints.clippy]
+print_stdout = "deny"
+print_stderr = "deny"
index e3b99604d8114f26d1fe0490cfdbf65e17614c9d..69478ceabd3cd548b3838ee3a3cba3166f390f85 100644 (file)
@@ -1 +1 @@
-msrv="1.63.0"
\ No newline at end of file
+msrv="1.63.0"
index bee58efa12ade9bca1d0384c3476b1a89b623357..09a76b6faf2268d8106e6f97d252ce80a390fae1 100644 (file)
@@ -12,6 +12,9 @@ readme = "README.md"
 
 # 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 }
 bitcoincore-rpc = { version = "0.19.0" }
index 7261bdfa25dd16d1322299bc3bd5fd95e34e4cc4..0651e718060cbd3f69f78b2a7f7967571960d802 100644 (file)
@@ -12,6 +12,9 @@ readme = "README.md"
 
 # 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 }
 serde = { version = "1", optional = true, features = ["derive", "rc"] }
index eff11daac66a418e170fef6bc31e00455e9df5c2..489d35a5c497a29aa849c67009cb8574946445f6 100644 (file)
@@ -9,6 +9,9 @@ description = "Fetch data from electrum in the form BDK accepts"
 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 }
index 9148a0f86f48ea4efad56cdce5c78297b7d48cb3..422cf99fb27c7c22a103ec976bfc227f0350cbaf 100644 (file)
@@ -11,6 +11,9 @@ readme = "README.md"
 
 # 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 }
 esplora-client = { version = "0.9.0", default-features = false }
index 3e4c11d0ce135bb85154d98196ac14f470027e0f..50f86c5b8d28db0a757a7bd3fd9cca43b294a6d7 100644 (file)
@@ -10,6 +10,9 @@ keywords = ["bitcoin", "persist", "persistence", "bdk", "file"]
 authors = ["Bitcoin Dev Kit Developers"]
 readme = "README.md"
 
+[lints]
+workspace = true
+
 [dependencies]
 bdk_chain = { path = "../chain", version = "0.17.0", features = [ "serde", "miniscript" ] }
 bincode = { version = "1" }
index b4ae39fe94074e0314a64c4b1891b14951181bce..154833f1e1ec9b6f9c3215a11581ac8bb15f11b8 100644 (file)
@@ -8,6 +8,9 @@ description = "Utilities to use bdk with hardware wallets"
 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"] }
index 2d9c26caabbf29194de422a3899f9d76ad13edf5..48fa1f6b097228563bb5c5be38ffb2f033d8e6df 100644 (file)
@@ -12,6 +12,9 @@ readme = "README.md"
 
 # 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"] }
index 44314a9687fdf53401b2f38487030d4f2c921173..aa353170905ad8849727cce837e536cfa871c50b 100644 (file)
@@ -12,6 +12,9 @@ authors = ["Bitcoin Dev Kit Developers"]
 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 }