# 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 = "2024"
rust-version = "1.85"
name = "logdbd"
version = "0.8.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Clustered log service built on logdb"
readme = "README.md"
license = "Apache-2.0"
resolver = "2"

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

[[bin]]
name = "logdbd"
path = "src/main.rs"

[[bin]]
name = "logdbd-admin"
path = "src/bin/logdbd-admin.rs"

[[test]]
name = "backup"
path = "tests/backup.rs"

[[test]]
name = "encryption"
path = "tests/encryption.rs"

[[test]]
name = "integration"
path = "tests/integration.rs"

[dependencies.crc32c]
version = "0.6"

[dependencies.fs2]
version = "0.4"

[dependencies.hex]
version = "0.4"

[dependencies.logdb]
version = "0.6.0"
features = [
    "compression",
    "encryption",
    "hash-chain",
    "metrics",
    "tracing",
]

[dependencies.logdbd-proto]
version = "0.4.0"

[dependencies.metrics]
version = "0.23"

[dependencies.metrics-exporter-prometheus]
version = "0.15"
features = ["http-listener"]
default-features = false

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

[dependencies.serde_json]
version = "1"

[dependencies.serde_yaml]
version = "0.9"

[dependencies.sha2]
version = "0.10"

[dependencies.tar]
version = "0.4"

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

[dependencies.tokio-stream]
version = "0.1"

[dependencies.tonic]
version = "0.12"
features = ["tls"]

[dependencies.tonic-health]
version = "0.12"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[dev-dependencies.rcgen]
version = "0.13"
features = ["pem"]

[dev-dependencies.tempfile]
version = "3"
