mirror of
https://github.com/aljazceru/cdk.git
synced 2026-01-03 13:05:19 +01:00
48 lines
1.3 KiB
TOML
48 lines
1.3 KiB
TOML
[package]
|
|
name = "cdk-common"
|
|
version = "0.7.0"
|
|
edition = "2021"
|
|
authors = ["CDK Developers"]
|
|
description = "CDK common types and traits"
|
|
homepage = "https://github.com/cashubtc/cdk"
|
|
repository = "https://github.com/cashubtc/cdk.git"
|
|
rust-version = "1.63.0" # MSRV
|
|
license = "MIT"
|
|
|
|
[features]
|
|
default = ["mint", "wallet"]
|
|
swagger = ["dep:utoipa", "cashu/swagger"]
|
|
bench = []
|
|
wallet = ["cashu/wallet"]
|
|
mint = ["cashu/mint", "dep:uuid"]
|
|
|
|
[dependencies]
|
|
async-trait = "0.1"
|
|
bitcoin = { version = "0.32.2", features = [
|
|
"base64",
|
|
"serde",
|
|
"rand",
|
|
"rand-std",
|
|
] }
|
|
cashu = { path = "../cashu", default-features = false, version = "0.7.0" }
|
|
cbor-diag = "0.1.12"
|
|
ciborium = { version = "0.2.2", default-features = false, features = ["std"] }
|
|
serde = { version = "1", features = ["derive"] }
|
|
lightning-invoice = { version = "0.32.0", features = ["serde", "std"] }
|
|
thiserror = "2"
|
|
tracing = "0.1"
|
|
url = "2.3"
|
|
uuid = { version = "=1.12.1", features = ["v4", "serde"], optional = true }
|
|
utoipa = { version = "4", optional = true }
|
|
futures = "0.3.31"
|
|
anyhow = "1.0"
|
|
serde_json = "1"
|
|
serde_with = "3"
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
|
instant = { version = "0.1", features = ["wasm-bindgen", "inaccurate"] }
|
|
|
|
[dev-dependencies]
|
|
rand = "0.8.5"
|
|
bip39 = "2.0"
|