[package]
name = "bctx-cloud-core"
version.workspace = true
edition.workspace = true
license.workspace = true
homepage.workspace = true
repository.workspace = true
description = "bctx-cloud-core — cloud client and server for Vault sync, dashboard API, billing"

[features]
cloud-server = ["dep:axum", "dep:tower-http", "dep:reqwest", "dep:hmac", "dep:sha2", "dep:weave"]

[dependencies]
vault = { package = "bctx-vault", path = "../vault", version = "0.1.4" }
weave = { package = "bctx-weave", path = "../weave", version = "0.1.4", optional = true }
anyhow.workspace = true
thiserror.workspace = true
serde.workspace = true
serde_json.workspace = true
tokio.workspace = true
tracing.workspace = true
uuid.workspace = true
chrono.workspace = true
blake3.workspace = true
rusqlite = { workspace = true }
axum = { workspace = true, optional = true }
tower-http = { workspace = true, optional = true }
reqwest = { workspace = true, optional = true }
hmac = { workspace = true, optional = true }
sha2 = { workspace = true, optional = true }
