Use Debian experimental in CI to match LLVM between rustc and clang
[rust-lightning] / Cargo.toml
index 6ec1776c93383db7a9419bbe2d3511372134bfc0..069e49e8b7c2c2756c9954a48305f2af498e550e 100644 (file)
@@ -3,4 +3,17 @@
 members = [
     "lightning",
     "lightning-net-tokio",
+    "lightning-c-bindings",
 ]
+
+# Our tests do actual crypo and lots of work, the tradeoff for -O1 is well worth it
+[profile.test]
+opt-level = 1
+
+[profile.dev]
+panic = "abort"
+
+[profile.release]
+opt-level = 3
+lto = true
+panic = "abort"