# 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 = "centaurus"
version = "0.5.0"
build = "build.rs"
exclude = ["CHANGELOG.md"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A utility library for various use cases."
readme = "README.md"
keywords = []
categories = []
license = "MIT OR Apache-2.0"
repository = "https://github.com/Profiidev/centaurus"

[features]
all = [
    "logging",
    "axum",
    "argon2",
    "base64",
    "chrono",
    "hmac",
    "http",
    "jsonwebtoken",
    "rsa",
    "sea-orm",
    "tokio",
    "uuid",
    "reqwest",
    "metrics",
    "error",
    "auth",
    "k8s",
    "docker",
    "frontend",
    "url",
]
argon2 = ["dep:argon2"]
auth = [
    "argon2",
    "base64",
    "error",
    "rsa",
]
axum = [
    "http",
    "tokio",
    "dep:axum",
    "dep:tower-http",
    "dep:tower",
    "dep:axum-extra",
    "error",
    "serde_json",
    "serde_xml",
    "serde",
    "dep:thiserror",
    "dep:async-trait",
    "dep:governor",
    "dep:tower_governor",
    "dep:dashmap",
]
base64 = ["dep:base64"]
chrono = ["dep:chrono"]
default = [
    "axum",
    "logging",
    "metrics",
    "frontend",
    "openapi",
]
docker = ["dep:bollard"]
error = ["dep:eyre"]
frontend = [
    "axum",
    "dep:hyper-util",
]
hmac = ["dep:hmac"]
http = ["dep:http"]
image = ["dep:image"]
jsonwebtoken = ["dep:jsonwebtoken"]
k8s = [
    "dep:k8s-openapi",
    "dep:kube",
]
lettre = ["dep:lettre"]
logging = [
    "dep:color-eyre",
    "dep:tracing-error",
    "dep:tracing-subscriber",
    "dep:tracing",
    "serde",
]
metrics = [
    "dep:metrics",
    "dep:metrics-exporter-prometheus",
    "centaurus-derive/metrics",
]
openapi = ["dep:aide"]
reqwest = ["dep:reqwest"]
rsa = ["dep:rsa"]
sea-orm = [
    "dep:sea-orm",
    "dep:tracing",
    "dep:sea-orm-migration",
    "serde",
]
serde = ["dep:serde"]
serde_json = ["dep:serde_json"]
serde_xml = ["dep:serde-xml-rs"]
tokio = ["dep:tokio"]
url = ["dep:url"]
uuid = ["dep:uuid"]
webauthn = ["dep:webauthn-rs-core"]

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

[dependencies.aide]
version = "0.16.0-alpha.3"
features = [
    "axum",
    "axum-json",
    "axum-tokio",
    "axum-ws",
    "axum-extra",
    "axum-extra-cookie",
    "axum-extra-headers",
    "macros",
    "swagger",
]
optional = true

[dependencies.argon2]
version = "0.5.3"
features = ["std"]
optional = true

[dependencies.async-trait]
version = "0.1.89"
optional = true

[dependencies.axum]
version = "0.8.4"
features = [
    "multipart",
    "macros",
    "ws",
    "tracing",
]
optional = true

[dependencies.axum-extra]
version = "0.12.1"
features = [
    "typed-header",
    "cookie",
]
optional = true

[dependencies.base64]
version = "0.22.1"
optional = true

[dependencies.bollard]
version = "0.20.0"
optional = true
default-features = false

[dependencies.centaurus-derive]
version = "0.1.1"

[dependencies.chrono]
version = "0.4.42"
features = ["serde"]
optional = true

[dependencies.color-eyre]
version = "0.6.5"
optional = true

[dependencies.dashmap]
version = "6.1.0"
optional = true

[dependencies.eyre]
version = "0.6.12"
optional = true

[dependencies.governor]
version = "0.10.4"
optional = true

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

[dependencies.http]
version = "1.3.1"
optional = true

[dependencies.hyper-util]
version = "0.1.19"
features = ["client-legacy"]
optional = true

[dependencies.image]
version = "0.25.8"
optional = true
default-features = false

[dependencies.jsonwebtoken]
version = "10.0.0"
features = ["rust_crypto"]
optional = true

[dependencies.k8s-openapi]
version = "0.27.0"
features = [
    "latest",
    "schemars",
]
optional = true

[dependencies.kube]
version = "3.0.0"
features = [
    "runtime",
    "derive",
]
optional = true

[dependencies.lettre]
version = "0.11.19"
optional = true
default-features = false

[dependencies.metrics]
version = "0.24.2"
optional = true

[dependencies.metrics-exporter-prometheus]
version = "0.18.1"
optional = true
default-features = false

[dependencies.reqwest]
version = "0.13.1"
features = [
    "http2",
    "system-proxy",
    "charset",
]
optional = true
default-features = false

[dependencies.rsa]
version = "0.9.8"
optional = true

[dependencies.sea-orm]
version = "1.1.16"
features = [
    "sqlx-postgres",
    "runtime-tokio-rustls",
]
optional = true

[dependencies.sea-orm-migration]
version = "1.1.17"
optional = true

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

[dependencies.serde-xml-rs]
version = "0.8.1"
optional = true

[dependencies.serde_json]
version = "1.0.145"
optional = true

[dependencies.thiserror]
version = "2.0.16"
optional = true

[dependencies.tokio]
version = "1.47.1"
features = ["full"]
optional = true

[dependencies.tower]
version = "0.5.2"
optional = true

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

[dependencies.tower_governor]
version = "0.8.0"
features = ["axum"]
optional = true
default-features = false

[dependencies.tracing]
version = "0.1.41"
features = ["std"]
optional = true

[dependencies.tracing-error]
version = "0.2.1"
optional = true

[dependencies.tracing-subscriber]
version = "=0.3.19"
optional = true

[dependencies.url]
version = "2.5.8"
optional = true

[dependencies.uuid]
version = "1.18.1"
optional = true

[dependencies.webauthn-rs-core]
version = "0.5.3"
optional = true
default-features = false
