5 "lightning-block-sync",
9 "lightning-background-processor",
10 "lightning-rapid-gossip-sync"
14 "lightning-custom-message",
15 "lightning-transaction-sync",
20 # Our tests do actual crypto and lots of work, the tradeoff for -O2 is well
21 # worth it. Note that we only apply optimizations to dependencies, not workspace
23 # https://doc.rust-lang.org/cargo/reference/profiles.html#profile-selection
24 [profile.dev.package."*"]
27 # It appears some minimal optimizations are required to inline many std methods
28 # and reduce the otherwise-substantial time spent in std self-checks. We do so
29 # here but ensure we keep LTO disabled as otherwise we're re-optimizing all our
30 # dependencies every time we make any local changes.