Fix amount overflow in Invoice building
[rust-lightning] / Cargo.toml
index c43e7927581432e9834aed21a16329aba92f80b3..be76477f4c0f0548121cc8f5770053e798bbd3d0 100644 (file)
@@ -2,11 +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
@@ -19,3 +29,8 @@ panic = "abort"
 opt-level = 3
 lto = true
 panic = "abort"
+
+[profile.bench]
+opt-level = 3
+codegen-units = 1
+lto = true