Disable fast-fail to let CI actually run even though beta is broken
[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"
25
26 [profile.bench]
27 opt-level = 3
28 codegen-units = 1
29 lto = true