|
@@ -11,8 +11,8 @@ license.workspace = true
|
|
|
[features]
|
|
|
default = ["mint", "wallet"]
|
|
|
mint = ["cashu/mint"]
|
|
|
-blocking = ["once_cell"]
|
|
|
-wallet = ["cashu/wallet", "minreq", "once_cell"]
|
|
|
+blocking = ["dep:once_cell"]
|
|
|
+wallet = ["cashu/wallet", "dep:minreq", "dep:once_cell"]
|
|
|
|
|
|
|
|
|
# Fix: Should be minreq or gloo
|
|
@@ -31,13 +31,13 @@ tracing = { workspace = true }
|
|
|
futures-util = { version = "0.3", default-features = false, features = ["sink", "std"] }
|
|
|
once_cell = { version = "1.17", optional = true }
|
|
|
|
|
|
-
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
|
|
tokio = { workspace = true, features = ["rt-multi-thread", "time", "macros", "sync"] }
|
|
|
minreq = { version = "2.7.0", optional = true, features = ["json-using-serde", "https"] }
|
|
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
|
|
-tokio = { workspace = true, features = ["rt", "macros", "sync"] }
|
|
|
+tokio = { workspace = true, features = ["rt", "macros", "sync", "time"] }
|
|
|
gloo = { version = "0.10.0", features = ["net"]}
|
|
|
|
|
|
|
|
|
+
|