mirror of
https://github.com/stakwork/sphinx-key.git
synced 2026-02-03 06:44:28 +01:00
32 lines
974 B
TOML
32 lines
974 B
TOML
[package]
|
|
name = "crypter-ffi"
|
|
version = "0.1.0"
|
|
authors = ["Evan Feenstra <evanfeenstra@gmail.com>"]
|
|
edition = "2018"
|
|
|
|
[lib]
|
|
name = "crypter"
|
|
crate-type = ["staticlib", "cdylib"]
|
|
|
|
[dependencies]
|
|
sphinx-key-crypter = { path = "../crypter" }
|
|
uniffi = "0.19.2"
|
|
hex = "0.4.3"
|
|
thiserror = "1.0.31"
|
|
|
|
[build-dependencies]
|
|
uniffi_build = "0.19.2"
|
|
|
|
[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
|
|
debug = true # Enable debug symbols. For example, we can use `dwarfdump` to check crash traces.
|
|
|
|
[patch.crates-io]
|
|
getrandom = { version = "0.2", git = "https://github.com/esp-rs-compat/getrandom.git" }
|
|
secp256k1 = { git = "https://github.com/Evanfeenstra/rust-secp256k1", branch = "v0.22.0-new-rand" }
|
|
lightning = { git = "https://github.com/Evanfeenstra/rust-lightning", branch = "v0.0.108-branch" }
|
|
|