# 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"
name = "clickvault"
version = "0.1.0-alpha.4"
build = false
exclude = [
    "hack/",
    ".claude/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "ClickHouse backup manager for S3 with full and incremental backups"
homepage = "https://github.com/sebboer/clickvault"
readme = "README.md"
keywords = [
    "clickhouse",
    "backup",
    "s3",
    "incremental",
    "database",
]
categories = [
    "command-line-utilities",
    "database",
]
license = "MIT"
repository = "https://github.com/sebboer/clickvault"

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

[dependencies.anyhow]
version = "1.0"

[dependencies.async-trait]
version = "0.1"

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

[dependencies.clap]
version = "4.6.1"
features = ["derive"]

[dependencies.clickhouse]
version = "0.15.0"

[dependencies.reqwest]
version = "0.13"
features = [
    "json",
    "rustls",
]
default-features = false

[dependencies.rust-s3]
version = "0.37.2"
features = [
    "tokio-rustls-tls",
    "fail-on-err",
    "tags",
]
default-features = false

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

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "2"

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

[dependencies.toml]
version = "1.1.2"

[dependencies.tracing]
version = "0.1"

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

[profile.release]
lto = true
codegen-units = 1
panic = "abort"
strip = true
