Files
cdk/crates/cdk-common/Cargo.toml
2025-03-05 10:32:41 +00:00

43 lines
1.1 KiB
TOML

[package]
name = "cdk-common"
version = "0.7.1"
authors = ["CDK Developers"]
description = "CDK common types and traits"
homepage = "https://github.com/cashubtc/cdk"
repository = "https://github.com/cashubtc/cdk.git"
edition.workspace = true
rust-version = "1.75.0" # MSRV
license.workspace = true
[features]
default = ["mint", "wallet"]
swagger = ["dep:utoipa", "cashu/swagger"]
bench = []
wallet = ["cashu/wallet"]
mint = ["cashu/mint", "dep:uuid"]
[dependencies]
async-trait.workspace = true
bitcoin.workspace = true
cashu.workspace = true
cbor-diag.workspace = true
ciborium.workspace = true
serde.workspace = true
lightning-invoice.workspace = true
thiserror.workspace = true
tracing.workspace = true
url.workspace = true
uuid = { workspace = true, optional = true }
utoipa = { workspace = true, optional = true }
futures.workspace = true
anyhow.workspace = true
serde_json.workspace = true
serde_with.workspace = true
[target.'cfg(target_arch = "wasm32")'.dependencies]
instant = { workspace = true, features = ["wasm-bindgen", "inaccurate"] }
[dev-dependencies]
rand.workspace = true
bip39.workspace = true