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