[package] name = "cashu-sdk" version = "0.1.0" edition = "2021" authors = ["thesimplekid"] homepage.workspace = true repository.workspace = true rust-version.workspace = true # MSRV license.workspace = true [features] default = ["mint", "wallet", "all-nuts"] mint = ["cashu/mint"] wallet = ["cashu/wallet", "dep:minreq", "dep:once_cell"] gloo = ["dep:gloo"] all-nuts = ["nut07", "nut08"] nut07 = ["cashu/nut07"] nut08 = ["cashu/nut08"] [dependencies] cashu = { path = "../cashu" } serde = { workspace = true } serde_json = { workspace = true } url = { workspace = true } tracing = { workspace = true } futures-util = { version = "0.3", default-features = false, features = ["sink", "std"] } 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"] } 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", "time"] }