]> git.bitcoin.ninja Git - rust-lightning/blob - Cargo.toml
Replace config max counterpary `dust_limit_satoshis` by a constant.
[rust-lightning] / Cargo.toml
1 [workspace]
2
3 members = [
4     "lightning",
5     "lightning-block-sync",
6     "lightning-invoice",
7     "lightning-net-tokio",
8     "lightning-persister",
9     "lightning-background-processor",
10 ]
11
12 # Our tests do actual crypo and lots of work, the tradeoff for -O1 is well worth it.
13 # Ideally we would only do this in profile.test, but profile.test only applies to
14 # the test binary, not dependencies, which means most of the critical code still
15 # gets compiled as -O0. See
16 # https://doc.rust-lang.org/cargo/reference/profiles.html#profile-selection
17 [profile.dev]
18 opt-level = 1
19 panic = "abort"
20
21 [profile.release]
22 opt-level = 3
23 lto = true
24 panic = "abort"