2019-11-15 02:44:30 +00:00
|
|
|
[workspace]
|
2017-12-25 01:05:27 -05:00
|
|
|
|
2019-11-15 02:44:30 +00:00
|
|
|
members = [
|
|
|
|
"lightning",
|
2021-01-11 10:50:54 -08:00
|
|
|
"lightning-block-sync",
|
2019-11-15 02:44:30 +00:00
|
|
|
"lightning-net-tokio",
|
2020-09-16 17:46:11 -04:00
|
|
|
"lightning-persister",
|
2019-11-15 02:44:30 +00:00
|
|
|
]
|
2019-11-28 01:19:54 -05:00
|
|
|
|
2020-10-05 12:47:08 -04:00
|
|
|
# Our tests do actual crypo and lots of work, the tradeoff for -O1 is well worth it.
|
|
|
|
# Ideally we would only do this in profile.test, but profile.test only applies to
|
|
|
|
# the test binary, not dependencies, which means most of the critical code still
|
|
|
|
# gets compiled as -O0. See
|
|
|
|
# https://doc.rust-lang.org/cargo/reference/profiles.html#profile-selection
|
2020-09-01 16:11:39 -04:00
|
|
|
[profile.dev]
|
2020-10-05 12:47:08 -04:00
|
|
|
opt-level = 1
|
2020-09-01 16:11:39 -04:00
|
|
|
panic = "abort"
|
|
|
|
|
2020-05-15 21:27:51 -04:00
|
|
|
[profile.release]
|
|
|
|
opt-level = 3
|
|
|
|
lto = true
|
2020-09-01 16:11:39 -04:00
|
|
|
panic = "abort"
|