mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-01-19 05:43:55 +01:00
545b037827
We drop the `lightning/no-std` feature and just take `hashbrown`,`possiblyrandom` and `libm` as required dependencies.
23 lines
567 B
TOML
23 lines
567 B
TOML
[package]
|
|
name = "lightning-bench"
|
|
version = "0.0.1"
|
|
authors = ["Matt Corallo"]
|
|
edition = "2021"
|
|
|
|
[[bench]]
|
|
name = "bench"
|
|
harness = false
|
|
|
|
[dependencies]
|
|
lightning = { path = "../lightning", features = ["_test_utils", "criterion"] }
|
|
lightning-persister = { path = "../lightning-persister", features = ["criterion"] }
|
|
lightning-rapid-gossip-sync = { path = "../lightning-rapid-gossip-sync", features = ["criterion"] }
|
|
criterion = { version = "0.4", default-features = false }
|
|
|
|
[profile.release]
|
|
opt-level = 3
|
|
codegen-units = 1
|
|
lto = true
|
|
panic = "abort"
|
|
debug = true
|