File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed
lightning-rapid-gossip-sync Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -18,10 +18,11 @@ bitcoin = "0.29.0"
18
18
lightning = { version = " 0.0.115" , path = " ../lightning" }
19
19
libc = " 0.2"
20
20
21
- criterion = { version = " 0.4" , optional = true , default-features = false }
22
-
23
21
[target .'cfg(windows)' .dependencies ]
24
22
winapi = { version = " 0.3" , features = [" winbase" ] }
25
23
24
+ [target .'cfg(ldk_bench)' .dependencies ]
25
+ criterion = { version = " 0.4" , optional = true , default-features = false }
26
+
26
27
[dev-dependencies ]
27
28
lightning = { version = " 0.0.115" , path = " ../lightning" , features = [" _test_utils" ] }
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ std = ["lightning/std"]
18
18
lightning = { version = " 0.0.115" , path = " ../lightning" , default-features = false }
19
19
bitcoin = { version = " 0.29.0" , default-features = false }
20
20
21
+ [target .'cfg(ldk_bench)' .dependencies ]
21
22
criterion = { version = " 0.4" , optional = true , default-features = false }
22
23
23
24
[dev-dependencies ]
Original file line number Diff line number Diff line change @@ -49,8 +49,6 @@ backtrace = { version = "0.3", optional = true }
49
49
50
50
core2 = { version = " 0.3.0" , optional = true , default-features = false }
51
51
52
- criterion = { version = " 0.4" , optional = true , default-features = false }
53
-
54
52
[dev-dependencies ]
55
53
hex = " 0.4"
56
54
regex = " 1.5.6"
@@ -60,5 +58,8 @@ version = "0.29.0"
60
58
default-features = false
61
59
features = [" bitcoinconsensus" , " secp-recovery" ]
62
60
61
+ [target .'cfg(ldk_bench)' .dependencies ]
62
+ criterion = { version = " 0.4" , optional = true , default-features = false }
63
+
63
64
[target .'cfg(taproot)' .dependencies ]
64
65
musig2 = { git = " https://github.com/arik-so/rust-musig2" , rev = " 27797d7" }
You can’t perform that action at this time.
0 commit comments