mirror of
https://github.com/aljazceru/breez-sdk-liquid.git
synced 2025-12-29 03:44:27 +01:00
42 lines
984 B
TOML
42 lines
984 B
TOML
[profile.release]
|
|
lto = true
|
|
opt-level = "z" # Optimize for size.
|
|
codegen-units = 1 # Reduce Parallel Code Generation Units to Increase Optimization
|
|
panic = "abort" # Abort on panic, as unwinding code does require extra binary size
|
|
rpath = true
|
|
|
|
[profile.frb]
|
|
inherits = "release"
|
|
strip = true # Automatically strip symbols from the binary.
|
|
opt-level = 3
|
|
lto = "thin"
|
|
debug = 0
|
|
split-debuginfo = "unpacked"
|
|
incremental = false
|
|
|
|
[profile.frb-min]
|
|
inherits = "frb"
|
|
opt-level = "z" # Optimize for size.
|
|
lto = true
|
|
|
|
[workspace]
|
|
members = [
|
|
"bindings",
|
|
"bindings/bindings-react-native",
|
|
"core",
|
|
]
|
|
resolver = "2"
|
|
|
|
[workspace.package]
|
|
version = "0.0.1"
|
|
|
|
[workspace.dependencies]
|
|
anyhow = "1.0"
|
|
thiserror = "1.0"
|
|
uniffi = "0.27.1"
|
|
uniffi_macros = "0.27.1"
|
|
|
|
[patch.crates-io]
|
|
# https://github.com/BlockstreamResearch/rust-secp256k1-zkp/pull/48/commits
|
|
secp256k1-zkp = {git = "https://github.com/sanket1729/rust-secp256k1-zkp.git", rev = "60e631c24588a0c9e271badd61959294848c665d"}
|