Files
cdk/Cargo.toml
2023-07-28 20:03:39 -04:00

46 lines
1.2 KiB
TOML

[package]
name = "cashu-crab"
version = "0.4.0-ALPHA"
edition = "2021"
authors = ["thesimplekid"]
license = "BSD-3-Clause"
readme = "README.md"
documentation = "https://docs.rs/crate/cashu-crab"
repository = "https://github.com/thesimplekid/cashu-crab"
description = "Cashu rust wallet and mint library"
# exclude = ["integration_test"]
#[workspace]
#members = ["integration_test"]
[features]
default = ["mint", "wallet"]
mint = []
wallet = ["minreq"]
[dependencies]
base64 = "0.21.0"
bitcoin = { version = "0.30.0", features=["serde", "rand", "no-std"] }
bitcoin_hashes = "0.12.0"
hex = "0.4.3"
k256 = { version = "0.13.1", features=["arithmetic"] }
lightning-invoice = { version = "0.24.0", features=["serde"] }
rand = "0.8.5"
getrandom = { version = "0.2", features = ["js"] }
serde = { version = "1.0.160", features = ["derive"]}
serde_json = "1.0.96"
url = "2.3.1"
regex = "1.8.4"
log = "0.4.19"
[target.'cfg(target_arch = "wasm32")'.dependencies]
gloo = { version = "0.9.0", features = ["net"]}
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
minreq = { version = "2.7.0", optional = true, features = ["json-using-serde", "https"] }
[dev-dependencies]
tokio = {version = "1.27.0", features = ["rt", "macros"] }