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