# 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 = "crebro"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Local credential broker for coding agents that redacts secrets before LLM provider requests."
readme = "README.md"
keywords = [
    "credentials",
    "proxy",
    "llm",
    "redaction",
    "security",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "Apache-2.0"
repository = "https://github.com/syi0808/crebro"

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

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

[[bin]]
name = "crebro-qa-upstream"
path = "src/bin/crebro-qa-upstream.rs"

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

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

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

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

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

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

[dependencies.aho-corasick]
version = "1"

[dependencies.axum]
version = "0.8"

[dependencies.bytes]
version = "1"

[dependencies.chacha20poly1305]
version = "0.10"

[dependencies.clap]
version = "4"
features = [
    "derive",
    "env",
]

[dependencies.futures-util]
version = "0.3"

[dependencies.hex]
version = "0.4"

[dependencies.hmac]
version = "0.12"

[dependencies.libc]
version = "0.2"

[dependencies.rcgen]
version = "0.13"

[dependencies.regex]
version = "1"

[dependencies.reqwest]
version = "0.12"
features = [
    "charset",
    "http2",
    "json",
    "rustls-tls",
    "stream",
]
default-features = false

[dependencies.rustls]
version = "0.23"
features = [
    "logging",
    "ring",
    "std",
    "tls12",
]
default-features = false

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "2"

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

[dependencies.tokio-rustls]
version = "0.26"
features = [
    "logging",
    "ring",
    "tls12",
]
default-features = false

[dependencies.toml]
version = "0.9"

[dependencies.tracing]
version = "0.1"

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

[dependencies.webpki-roots]
version = "1"

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