Add transaction sync crate
[rust-lightning] / Cargo.toml
1 [workspace]
2
3 members = [
4     "lightning",
5     "lightning-block-sync",
6     "lightning-transaction-sync",
7     "lightning-invoice",
8     "lightning-net-tokio",
9     "lightning-persister",
10     "lightning-background-processor",
11     "lightning-rapid-gossip-sync"
12 ]
13
14 exclude = [
15     "no-std-check",
16 ]
17
18 # Our tests do actual crypto and lots of work, the tradeoff for -O1 is well worth it.
19 # Ideally we would only do this in profile.test, but profile.test only applies to
20 # the test binary, not dependencies, which means most of the critical code still
21 # gets compiled as -O0. See
22 # https://doc.rust-lang.org/cargo/reference/profiles.html#profile-selection
23 [profile.dev]
24 opt-level = 1
25 panic = "abort"
26
27 [profile.release]
28 opt-level = 3
29 lto = true
30 panic = "abort"
31
32 [profile.bench]
33 opt-level = 3
34 codegen-units = 1
35 lto = true