[package]
name = "cdk-redb"
version.workspace = true
edition.workspace = true
authors = ["CDK Developers"]
description = "Redb storage backend for CDK"
license.workspace = true
homepage = "https://github.com/cashubtc/cdk"
repository = "https://github.com/cashubtc/cdk.git"
rust-version.workspace = true # MSRV
readme = "README.md"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
default = ["mint", "wallet", "auth"]
mint = ["cdk-common/mint"]
wallet = ["cdk-common/wallet"]
auth = ["cdk-common/auth"]

[dependencies]
async-trait.workspace = true
cdk-common.workspace = true
redb = "2.4.0"
thiserror.workspace = true
tracing.workspace = true
serde.workspace = true
serde_json.workspace = true
lightning-invoice.workspace = true
uuid.workspace = true

[dev-dependencies]
tempfile = "3.17.1"
tokio.workspace = true