|
@@ -13,6 +13,7 @@ license.workspace = true
|
|
|
default = ["mint", "wallet"]
|
|
|
mint = ["cashu/mint"]
|
|
|
wallet = ["cashu/wallet", "dep:minreq", "dep:once_cell"]
|
|
|
+gloo = ["dep:gloo"]
|
|
|
all-nuts = ["nut07", "nut09"]
|
|
|
nut07 = ["cashu/nut07"]
|
|
|
# nut08 = ["cashu/nut08"]
|
|
@@ -29,6 +30,7 @@ futures-util = { version = "0.3", default-features = false, features = ["sink",
|
|
|
once_cell = { version = "1.17", optional = true }
|
|
|
thiserror = { workspace = true }
|
|
|
async-trait = "0.1.74"
|
|
|
+gloo = { version = "0.10.0", optional = true, features = ["net"]}
|
|
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
|
|
tokio = { workspace = true, features = ["rt-multi-thread", "time", "macros", "sync"] }
|
|
@@ -36,7 +38,6 @@ minreq = { version = "2.7.0", optional = true, features = ["json-using-serde", "
|
|
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
|
|
tokio = { workspace = true, features = ["rt", "macros", "sync", "time"] }
|
|
|
-gloo = { version = "0.10.0", features = ["net"]}
|
|
|
|
|
|
|
|
|
|