mirror of
https://github.com/aljazceru/breez-sdk-liquid.git
synced 2026-01-02 13:54:22 +01:00
* Use swapper proxy to extract referral ID * Derive swapper API base URL from proxy URL * Update RN bindings * Remove referral_id from Config, move proxy_url parsing to swapper * Fix tests * Cache swapper proxy URL * Move boltz_url from Config to swapper * Silently fail when fetching proxy swapper URLs * Update RN bindings * Fix sdk-common dependency * Fix dependency issues
58 lines
2.1 KiB
TOML
58 lines
2.1 KiB
TOML
[package]
|
|
name = "breez-liquid-sdk"
|
|
edition = "2021"
|
|
version.workspace = true
|
|
|
|
[lib]
|
|
name = "breez_liquid_sdk"
|
|
crate-type = ["lib", "cdylib", "staticlib"]
|
|
|
|
[features]
|
|
default = ["frb"]
|
|
frb = ["dep:flutter_rust_bridge"]
|
|
|
|
[dependencies]
|
|
anyhow = { workspace = true }
|
|
bip39 = "2.0.0"
|
|
#boltz-client = { git = "https://github.com/SatoshiPortal/boltz-rust", rev = "a05731cc33030ada9ae14afcafe0cded22842ba6" }
|
|
boltz-client = { git = "https://github.com/dangeross/boltz-rust", branch = "savage-chain-swaps" }
|
|
chrono = "0.4"
|
|
env_logger = "0.11"
|
|
flutter_rust_bridge = { version = "=2.0.0", features = ["chrono"], optional = true }
|
|
log = { workspace = true }
|
|
lwk_common = "0.5.1"
|
|
lwk_signer = "0.5.1"
|
|
# Switch back to published version once this PR is merged and included in release: https://github.com/Blockstream/lwk/pull/34 (ETA in v0.5.2)
|
|
#lwk_wollet = { git = "https://github.com/Blockstream/lwk", rev = "ffd793d0a1b1122c9bba7de23ccb73033eded98c" }
|
|
lwk_wollet = { git = "https://github.com/dangeross/lwk", branch = "savage-try-headers-subscribe" }
|
|
#lwk_wollet = "0.5.1"
|
|
rusqlite = { version = "0.31", features = ["backup", "bundled"] }
|
|
rusqlite_migration = "1.0"
|
|
sdk-common = { git = "https://github.com/breez/breez-sdk", branch = "main" }
|
|
serde = { version = "1.0.197", features = ["derive"] }
|
|
serde_json = "1.0.116"
|
|
thiserror = { workspace = true }
|
|
tokio-tungstenite = { version = "0.21.0", features = ["native-tls-vendored"] }
|
|
openssl = { version = "0.10", features = ["vendored"] }
|
|
tokio = { version = "1", features = ["rt", "macros"] }
|
|
tokio-stream = { version = "0.1.14", features = ["sync"] }
|
|
url = "2.5.0"
|
|
futures-util = { version = "0.3.28", default-features = false, features = ["sink", "std"] }
|
|
async-trait = "0.1.80"
|
|
hex = "0.4"
|
|
reqwest = { version = "=0.11.20", features = ["json"] }
|
|
electrum-client = { version = "0.19.0" }
|
|
|
|
[dev-dependencies]
|
|
tempdir = "0.3.7"
|
|
uuid = { version = "1.8.0", features = ["v4"] }
|
|
|
|
[build-dependencies]
|
|
anyhow = { version = "1.0.79", features = ["backtrace"] }
|
|
glob = "0.3.1"
|
|
|
|
# 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"
|