# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "bctx-cloud-core"
version = "0.1.25"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "bctx-cloud-core — cloud client and server for Vault sync, dashboard API, billing"
homepage = "https://betterctx.com"
readme = false
license = "LicenseRef-Proprietary"
repository = "https://github.com/better-ctx-org/better-ctx"

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

[lib]
name = "bctx_cloud_core"
path = "src/lib.rs"

[dependencies.anyhow]
version = "1"

[dependencies.axum]
version = "0.7"
features = ["macros"]
optional = true

[dependencies.blake3]
version = "1"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.hmac]
version = "0.12"
optional = true

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "rustls-tls",
]
optional = true
default-features = false

[dependencies.rusqlite]
version = "0.32"
features = ["bundled"]

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"
optional = true

[dependencies.thiserror]
version = "1"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.tower-http]
version = "0.5"
features = [
    "cors",
    "trace",
]
optional = true

[dependencies.tracing]
version = "0.1"

[dependencies.uuid]
version = "1"
features = [
    "v4",
    "serde",
]

[dependencies.vault]
version = "0.1.4"
package = "bctx-vault"

[dependencies.weave]
version = "0.1.4"
optional = true
package = "bctx-weave"
