[workspace]
members = [
    "crates/cdk",
    "crates/cdk-redb",
]
resolver = "2"

[workspace.package]
license = "MIT"
homepage = "https://github.com/cashubtc/cdk"
repository = "https://github.com/cashubtc/cdk.git"
rust-version = "1.70.0" # MSRV

[workspace.metadata]
authors = ["CDK Developers"]
edition = "2021"
description = "Cashu Development Kit"
readme = "README.md"
repository = "https://github.com/cashubtc/cdk"
license-file = "LICENSE"
keywords = ["bitcoin", "e-cash", "cashu"]

[workspace.dependencies]
tokio = { version = "1.32", default-features = false }
cdk = { path = "./crates/cdk", default-features = false }
thiserror = "1.0.50"
async-trait = "0.1.74"
tracing = { version = "0.1", default-features = false }
serde = { version = "1.0.160", default-features = false, features = ["derive"]}
serde_json = "1.0.96"

[profile]

[profile.ci]
inherits = "dev"
incremental = false
debug = "line-tables-only"
lto = "off"