X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=Cargo.toml;h=be76477f4c0f0548121cc8f5770053e798bbd3d0;hb=refs%2Fheads%2F1977-fuzz-head;hp=56f4ac32f3f629c3553adb07114e21370ee1c80b;hpb=e808d50b9d04f9cfde5e9fd9989964be31755c5d;p=rust-lightning diff --git a/Cargo.toml b/Cargo.toml index 56f4ac32..be76477f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,10 +2,21 @@ members = [ "lightning", + "lightning-block-sync", + "lightning-transaction-sync", + "lightning-invoice", "lightning-net-tokio", + "lightning-persister", + "lightning-background-processor", + "lightning-rapid-gossip-sync" ] -# Our tests do actual crypo and lots of work, the tradeoff for -O1 is well worth it. +exclude = [ + "lightning-custom-message", + "no-std-check", +] + +# Our tests do actual crypto 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 @@ -18,3 +29,8 @@ panic = "abort" opt-level = 3 lto = true panic = "abort" + +[profile.bench] +opt-level = 3 +codegen-units = 1 +lto = true