]> git.bitcoin.ninja Git - rust-lightning/blob - bench/Cargo.toml
Use u32 instead of usize in Retry::Attempts
[rust-lightning] / bench / Cargo.toml
1 [package]
2 name = "lightning-bench"
3 version = "0.0.1"
4 authors = ["Matt Corallo"]
5 edition = "2018"
6
7 [[bench]]
8 name = "bench"
9 harness = false
10
11 [features]
12 hashbrown = ["lightning/hashbrown"]
13
14 [dependencies]
15 lightning = { path = "../lightning", features = ["_test_utils", "criterion"] }
16 lightning-persister = { path = "../lightning-persister", features = ["criterion"] }
17 lightning-rapid-gossip-sync = { path = "../lightning-rapid-gossip-sync", features = ["criterion"] }
18 criterion = { version = "0.4", default-features = false }
19
20 [profile.release]
21 opt-level = 3
22 codegen-units = 1
23 lto = true
24 panic = "abort"
25 debug = true