Skip to content

Commit 43c3136

Browse files
Make _test_utils depend on bitcoinconsensus feature
1 parent 5d270e3 commit 43c3136

File tree

3 files changed

+1
-12
lines changed

3 files changed

+1
-12
lines changed

lightning-background-processor/Cargo.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,3 @@ lightning-persister = { version = "0.0.13", path = "../lightning-persister" }
1717
[dev-dependencies]
1818
lightning = { version = "0.0.13", path = "../lightning", features = ["_test_utils"] }
1919

20-
[dev-dependencies.bitcoin]
21-
version = "0.26"
22-
features = ["bitcoinconsensus"]

lightning-persister/Cargo.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,5 @@ libc = "0.2"
1919
[target.'cfg(windows)'.dependencies]
2020
winapi = { version = "0.3", features = ["winbase"] }
2121

22-
[dev-dependencies.bitcoin]
23-
version = "0.26"
24-
features = ["bitcoinconsensus"]
25-
2622
[dev-dependencies]
2723
lightning = { version = "0.0.13", path = "../lightning", features = ["_test_utils"] }

lightning/Cargo.toml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Still missing tons of error-handling. See GitHub issues for suggested projects i
1414
allow_wallclock_use = []
1515
fuzztarget = ["bitcoin/fuzztarget", "regex"]
1616
# Internal test utilities exposed to other repo crates
17-
_test_utils = ["hex", "regex"]
17+
_test_utils = ["hex", "regex", "bitcoin/bitcoinconsensus"]
1818
# Unlog messages superior at targeted level.
1919
max_level_off = []
2020
max_level_error = []
@@ -32,10 +32,6 @@ bitcoin = "0.26"
3232
hex = { version = "0.3", optional = true }
3333
regex = { version = "0.1.80", optional = true }
3434

35-
[dev-dependencies.bitcoin]
36-
version = "0.26"
37-
features = ["bitcoinconsensus"]
38-
3935
[dev-dependencies]
4036
hex = "0.3"
4137
regex = "0.1.80"

0 commit comments

Comments
 (0)