diff --git a/bindings/nostr-sdk-ffi/.cargo/config.toml b/bindings/nostr-sdk-ffi/.cargo/config.toml new file mode 100644 index 000000000..4622e7921 --- /dev/null +++ b/bindings/nostr-sdk-ffi/.cargo/config.toml @@ -0,0 +1,6 @@ +[profile.release] +opt-level = 'z' # Optimize for size. +lto = true # Enable Link Time Optimization +codegen-units = 1 # Reduce number of codegen units to increase optimizations. +panic = "abort" # Abort on panic +strip = "debuginfo" # Partially strip symbols from binary