mirror of
https://github.com/aljazceru/breez-sdk-docs.git
synced 2025-12-17 05:44:20 +01:00
Bump SDK used in snippets to v0.3.1
This commit is contained in:
31
snippets/rust/Cargo.lock
generated
31
snippets/rust/Cargo.lock
generated
@@ -497,14 +497,13 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "breez-sdk-core"
|
||||
version = "0.2.15"
|
||||
source = "git+https://github.com/breez/breez-sdk?tag=0.2.15#5486f167e046d28b0a3f9885b4bf9c44cd3e1ba8"
|
||||
version = "0.3.1"
|
||||
source = "git+https://github.com/breez/breez-sdk?tag=0.3.1#6fe250b2bad4109c7ed2ba75c552ab51e34b1fe4"
|
||||
dependencies = [
|
||||
"aes",
|
||||
"anyhow",
|
||||
"base64 0.13.1",
|
||||
"bip21",
|
||||
"bitcoin 0.29.2",
|
||||
"cbc",
|
||||
"chrono",
|
||||
"const_format",
|
||||
@@ -2257,9 +2256,9 @@ checksum = "c08c74e62047bb2de4ff487b251e4a92e24f48745648451635cec7d591162d9f"
|
||||
|
||||
[[package]]
|
||||
name = "reqwest"
|
||||
version = "0.11.23"
|
||||
version = "0.11.20"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "37b1ae8d9ac08420c66222fb9096fc5de435c3c48542bc5336c51892cffafb41"
|
||||
checksum = "3e9ad3fe7488d7e34558a2033d45a0c90b72d97b4f80705666fea71472e2e6a1"
|
||||
dependencies = [
|
||||
"base64 0.21.7",
|
||||
"bytes",
|
||||
@@ -2286,7 +2285,6 @@ dependencies = [
|
||||
"serde",
|
||||
"serde_json",
|
||||
"serde_urlencoded",
|
||||
"system-configuration",
|
||||
"tokio",
|
||||
"tokio-native-tls",
|
||||
"tokio-rustls 0.24.1",
|
||||
@@ -2853,27 +2851,6 @@ dependencies = [
|
||||
"unicode-xid",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "system-configuration"
|
||||
version = "0.5.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "ba3a3adc5c275d719af8cb4272ea1c4a6d668a777f37e115f6d11ddbc1c8e0e7"
|
||||
dependencies = [
|
||||
"bitflags 1.3.2",
|
||||
"core-foundation",
|
||||
"system-configuration-sys",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "system-configuration-sys"
|
||||
version = "0.5.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "a75fb188eb626b924683e3b95e3a48e63551fcfb51949de2f06a9d91dbee93c9"
|
||||
dependencies = [
|
||||
"core-foundation-sys",
|
||||
"libc",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "tempfile"
|
||||
version = "3.9.0"
|
||||
|
||||
@@ -6,6 +6,6 @@ edition = "2021"
|
||||
[dependencies]
|
||||
anyhow = "1"
|
||||
bip39 = { version = "2", features = ["rand"] }
|
||||
breez-sdk-core = { git = "https://github.com/breez/breez-sdk", tag = "0.2.15" }
|
||||
breez-sdk-core = { git = "https://github.com/breez/breez-sdk", tag = "0.3.1" }
|
||||
log = "0.4"
|
||||
tokio = "1.29"
|
||||
|
||||
@@ -61,7 +61,7 @@ async fn execute_refund(
|
||||
Ok(())
|
||||
}
|
||||
|
||||
async fn get_channel_opening_fees(sdk: Arc<BreezServices>, amount_msat: u64) -> Result<()> {
|
||||
async fn get_channel_opening_fees(sdk: Arc<BreezServices>, amount_msat: Option<u64>) -> Result<()> {
|
||||
// ANCHOR: get-channel-opening-fees
|
||||
let channel_fees = sdk
|
||||
.open_channel_fee(OpenChannelFeeRequest {
|
||||
|
||||
Reference in New Issue
Block a user