mirror of
https://github.com/aljazceru/breez-sdk-liquid.git
synced 2026-01-23 07:54:22 +01:00
* Fix swap recovery before wallet scan * Only do full scan when required * Move scan to `recover_from_onchain` * Cache index without buffer
102 lines
3.0 KiB
TOML
102 lines
3.0 KiB
TOML
[package]
|
|
name = "breez-sdk-liquid"
|
|
edition = "2021"
|
|
version.workspace = true
|
|
|
|
[lib]
|
|
name = "breez_sdk_liquid"
|
|
crate-type = ["lib", "cdylib", "staticlib"]
|
|
|
|
[features]
|
|
default = ["frb"]
|
|
frb = ["dep:flutter_rust_bridge"]
|
|
# Uniffi features required to build using cargo-lipo
|
|
uniffi-25 = []
|
|
uniffi-28 = []
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
anyhow = { workspace = true }
|
|
bip39 = "2.0.0"
|
|
boltz-client = { git = "https://github.com/SatoshiPortal/boltz-rust", rev = "f78e159fe72e1c357e7830bc08d2b9e42a65362c", features = ["electrum"] }
|
|
chrono = "0.4"
|
|
derivative = "2.2.0"
|
|
env_logger = "0.11"
|
|
flutter_rust_bridge = { version = "=2.8.0", features = [
|
|
"chrono",
|
|
], optional = true }
|
|
log = { workspace = true }
|
|
lwk_common = "0.9.0"
|
|
lwk_signer = { version = "0.9.0", default-features = false }
|
|
mockall = "0.13.1"
|
|
rusqlite = { git = "https://github.com/Spxg/rusqlite", rev = "e36644127f31fa6e7ea0999b59432deb4a07f220", features = [
|
|
"backup",
|
|
"bundled",
|
|
] }
|
|
tokio = { version = "1", default-features = false, features = ["rt", "macros"] }
|
|
sdk-common = { workspace = true }
|
|
sdk-macros = { workspace = true }
|
|
rusqlite_migration = { git = "https://github.com/hydra-yse/rusqlite_migration", branch = "rusqlite-v0.33.0" }
|
|
serde = { version = "1.0.197", features = ["derive"] }
|
|
serde_json = "1.0.116"
|
|
strum = "0.25"
|
|
strum_macros = "0.25"
|
|
thiserror = { workspace = true }
|
|
url = "2.5.0"
|
|
futures-util = { version = "0.3.28", default-features = false, features = [
|
|
"sink",
|
|
"std",
|
|
] }
|
|
async-trait = "0.1.86"
|
|
hex = "0.4"
|
|
reqwest = { version = "0.12", features = ["json"] }
|
|
zbase32 = "0.1.2"
|
|
x509-parser = { version = "0.16.0" }
|
|
tempfile = "3"
|
|
prost = "0.13.3"
|
|
ecies = { version = "0.2.7", default-features = false, features = ["pure"] }
|
|
semver = "1.0.23"
|
|
lazy_static = "1.5.0"
|
|
|
|
# Non-WASM dependencies
|
|
[target.'cfg(not(all(target_family = "wasm", target_os = "unknown")))'.dependencies]
|
|
electrum-client = { version = "0.21.0", default-features = false, features = [
|
|
"use-rustls-ring",
|
|
"proxy",
|
|
] }
|
|
lwk_wollet = { version = "0.9.0" }
|
|
maybe-sync = { version = "0.1.1", features = ["sync"] }
|
|
tokio-stream = { version = "0.1.14", features = ["sync"] }
|
|
tonic = { version = "0.12.3", features = ["tls", "tls-webpki-roots"] }
|
|
uuid = { version = "1.8.0", features = ["v4"] }
|
|
|
|
# WASM dependencies
|
|
[target.'cfg(all(target_family = "wasm", target_os = "unknown"))'.dependencies]
|
|
console_log = "1"
|
|
lwk_wollet = { version = "0.9.0", default-features = false, features = [
|
|
"esplora",
|
|
] }
|
|
maybe-sync = "0.1.1"
|
|
uuid = { version = "1.8.0", features = ["v4", "js"] }
|
|
|
|
[dev-dependencies]
|
|
sdk-common = { workspace = true, features = ["test-utils"] }
|
|
paste = "1.0.15"
|
|
tempdir = "0.3.7"
|
|
|
|
# WASM dev dependencies
|
|
[target.'cfg(all(target_family = "wasm", target_os = "unknown"))'.dev-dependencies]
|
|
wasm-bindgen-test = "0.3.33"
|
|
|
|
[build-dependencies]
|
|
anyhow = { version = "1.0.79", features = ["backtrace"] }
|
|
glob = "0.3.1"
|
|
tonic-build = "0.12.3"
|
|
|
|
# Pin these versions to fix iOS build issues
|
|
[target.'cfg(target_os = "ios")'.build-dependencies]
|
|
security-framework = "=2.10.0"
|
|
security-framework-sys = "=2.10.0"
|