2021-06-03 17:51:07 -07:00
|
|
|
[package]
|
2021-11-01 19:07:27 -07:00
|
|
|
name = "bdk-ffi"
|
2022-10-19 12:47:16 -05:00
|
|
|
version = "0.10.0"
|
2021-10-14 00:10:43 +05:30
|
|
|
authors = ["Steve Myers <steve@notmandatory.org>", "Sudarsan Balaji <sudarsan.balaji@artfuldev.com>"]
|
2021-06-03 17:51:07 -07:00
|
|
|
edition = "2018"
|
2022-10-21 12:28:03 -05:00
|
|
|
license = "MIT OR Apache-2.0"
|
2021-06-03 17:51:07 -07:00
|
|
|
|
2022-03-30 18:12:19 -07:00
|
|
|
[workspace]
|
|
|
|
members = [".","bdk-ffi-bindgen"]
|
|
|
|
default-members = [".", "bdk-ffi-bindgen"]
|
|
|
|
|
2021-06-03 17:51:07 -07:00
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[lib]
|
2021-10-28 00:35:22 +05:30
|
|
|
crate-type = ["staticlib", "cdylib"]
|
2021-11-01 19:07:27 -07:00
|
|
|
name = "bdkffi"
|
2021-06-03 17:51:07 -07:00
|
|
|
|
|
|
|
[dependencies]
|
2022-10-04 13:15:17 -04:00
|
|
|
bdk = { version = "0.23", features = ["all-keys", "use-esplora-ureq", "sqlite-bundled"] }
|
2022-03-11 22:45:37 -06:00
|
|
|
|
2022-10-21 12:39:31 -05:00
|
|
|
uniffi_macros = { version = "0.21.0", features = ["builtin-bindgen"] }
|
|
|
|
uniffi = { version = "0.21.0", features = ["builtin-bindgen"] }
|
2022-02-08 17:01:03 +01:00
|
|
|
|
2021-10-11 23:04:18 -07:00
|
|
|
[build-dependencies]
|
2022-10-21 12:39:31 -05:00
|
|
|
uniffi_build = { version = "0.21.0", features = ["builtin-bindgen"] }
|
2022-10-29 22:02:59 -05:00
|
|
|
|
|
|
|
[profile.release-smaller]
|
|
|
|
inherits = "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 = true # Strip symbols from binary*
|