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