Extract rust snippets and reference them

This commit is contained in:
ok300
2023-10-20 17:36:58 +02:00
parent c719cc4ae6
commit 32c39e2543
32 changed files with 4069 additions and 144 deletions

11
snippets/rust/Cargo.toml Normal file
View File

@@ -0,0 +1,11 @@
[package]
name = "sdk_docs_snippets"
version = "0.1.0"
edition = "2021"
[dependencies]
anyhow = "1"
bip39 = { version = "2", features = ["rand"] }
breez-sdk-core = { git = "https://github.com/breez/breez-sdk", rev = "d6365dc90263f3ad3f65a113fdc016a0bf070d9d" }
log = "0.4"
tokio = "1.29"