# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "moksha-wallet" version = "0.2.1" description = "cashu-wallet library" license = "MIT" repository = "https://github.com/ngutech21/moksha" resolver = "2" [lib] name = "moksha_wallet" path = "src/lib.rs" [dependencies.anyhow] version = "1.0.79" features = ["backtrace"] [dependencies.async-trait] version = "0.1.77" [dependencies.dirs] version = "5.0.1" [dependencies.lightning-invoice] version = "0.29.0" [dependencies.moksha-core] version = "0.2.1" [dependencies.secp256k1] version = "0.28.1" features = ["serde"] default-features = false [dependencies.serde] version = "1.0.196" [dependencies.serde_json] version = "1.0.113" [dependencies.thiserror] version = "1.0.56" [dependencies.url] version = "2.5.0" [dev-dependencies.mockall] version = "0.12.1" [dev-dependencies.tempfile] version = "3.9.0" [target."cfg(not(target_family=\"wasm\"))".dependencies.reqwest] version = "0.11.23" features = [ "serde_json", "json", "rustls-tls", ] default-features = false [target."cfg(not(target_family=\"wasm\"))".dependencies.sqlx] version = "0.7.3" features = [ "sqlite", "runtime-tokio", "tls-native-tls", "migrate", "macros", ] default-features = false [target."cfg(not(target_family=\"wasm\"))".dependencies.tokio] version = "1.35.1" features = [ "rt", "rt-multi-thread", "macros", ] [target."cfg(target_family = \"wasm\")".dependencies.gloo-net] version = "0.5.0" [target."cfg(target_family = \"wasm\")".dependencies.rexie] version = "0.5.0" [target."cfg(target_family = \"wasm\")".dependencies.serde-wasm-bindgen] version = "0.6.3" [target."cfg(target_family = \"wasm\")".dependencies.tokio] version = "1.35.1" features = [ "rt", "sync", ] [target."cfg(target_family = \"wasm\")".dependencies.wasm-bindgen] version = "0.2.90"