Skip to content

Commit 081d7cd

Browse files
committed
NIH the delegate macro
1 parent 4017a48 commit 081d7cd

File tree

3 files changed

+152
-251
lines changed

3 files changed

+152
-251
lines changed

lightning/Cargo.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ rustdoc-args = ["--cfg", "docsrs"]
1717

1818
[features]
1919
# Internal test utilities exposed to other repo crates
20-
_test_utils = ["regex", "bitcoin/bitcoinconsensus", "lightning-types/_test_utils", "delegate"]
20+
_test_utils = ["regex", "bitcoin/bitcoinconsensus", "lightning-types/_test_utils"]
2121
_externalize_tests = ["inventory", "_test_utils"]
2222
# Allow signing of local transactions that may have been revoked or will be revoked, for functional testing (e.g. justice tx handling).
2323
# This is unsafe to use in production because it may result in the counterparty publishing taking our funds.
@@ -48,14 +48,12 @@ regex = { version = "1.5.6", optional = true }
4848
backtrace = { version = "0.3", optional = true }
4949

5050
libm = { version = "0.2", default-features = false }
51-
delegate = { version = "0.13.1", optional = true }
5251
inventory = { version = "0.3", optional = true }
5352

5453
[dev-dependencies]
5554
regex = "1.5.6"
5655
lightning-types = { version = "0.3.0", path = "../lightning-types", features = ["_test_utils"] }
5756
lightning-macros = { path = "../lightning-macros" }
58-
delegate = { version = "0.13.1" }
5957

6058
[dev-dependencies.bitcoin]
6159
version = "0.32.2"

0 commit comments

Comments
 (0)