|
@@ -10,21 +10,20 @@ license.workspace = true
|
|
|
|
|
|
|
|
|
[features]
|
|
|
-default = ["mint", "wallet", "all-nuts", "redb"]
|
|
|
+default = ["mint", "wallet", "all-nuts"]
|
|
|
mint = ["dep:bip39"]
|
|
|
wallet = ["nut13", "dep:bip39", "dep:reqwest"]
|
|
|
all-nuts = ["nut13"]
|
|
|
nut13 = ["dep:bip39"]
|
|
|
-redb = ["dep:redb"]
|
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
async-trait = "0.1"
|
|
|
-base64 = "0.21" # bitcoin uses v0.21 (optional dep)
|
|
|
+base64 = "0.22" # bitcoin uses v0.13 (optional dep)
|
|
|
bip39 = { version = "2.0", optional = true }
|
|
|
bitcoin = { version = "0.30", features = ["serde", "rand", "rand-std"] } # lightning-invoice uses v0.30
|
|
|
http = "1.0"
|
|
|
-lightning-invoice = { version = "0.29", features = ["serde"] }
|
|
|
+lightning-invoice = { version = "0.30", features = ["serde"] }
|
|
|
once_cell = "1.19"
|
|
|
reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls", "socks"], optional = true }
|
|
|
serde = { version = "1.0", default-features = false, features = ["derive"]}
|
|
@@ -37,7 +36,6 @@ uuid = { version = "1.6", features = ["v4"] }
|
|
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
|
|
tokio = { workspace = true, features = ["rt-multi-thread", "time", "macros", "sync"] }
|
|
|
-redb = { version = "2.0", optional = true }
|
|
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
|
|
tokio = { workspace = true, features = ["rt", "macros", "sync", "time"] }
|