[package] name = "cashu" version = "0.4.1-ALPHA" edition = "2021" authors = ["thesimplekid"] readme = "README.md" homepage.workspace = true repository.workspace = true license.workspace = true rust-version.workspace = true # MSRV description = "Cashu rust wallet and mint library" [features] default = ["mint", "wallet", "all-nuts"] mint = [] wallet = [] all-nuts = ["nut07", "nut08", "nut09", "nut10", "nut11", "nut12", "nut13"] nut07 = [] nut08 = [] nut09 = [] nut10 = [] nut11 = ["nut10"] nut12 = [] nut13 = ["dep:bip39", "dep:bip32", "nut09"] [dependencies] base64 = "0.22.0" bitcoin = { version = "0.31.0", features=["serde", "rand"] } bip39 = { version = "2.0.0", optional = true } bip32 = { version = "0.5.1", optional = true } hex = "0.4.3" k256 = { version = "0.13.1", features=["arithmetic", "serde", "schnorr"] } lightning-invoice = { version = "0.29.0", features=["serde"] } log = "0.4.2" rand = "0.8.5" serde = { workspace = true } serde_json = { workspace = true } serde_with = "3.4.0" url = { workspace = true } itertools = "0.12.0" thiserror = { workspace = true } uuid = { version = "1.6.1", features = ["v4"] } [target.'cfg(target_arch = "wasm32")'.dependencies] getrandom = { workspace = true } [dev-dependencies] # tokio = {version = "1.27.0", features = ["rt", "macros"] }