# 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.88"
name = "kuiper-forge"
version = "0.5.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "KuiperForge - CI runner coordinator for ephemeral VMs"
readme = false
license = "MIT"
repository = "https://github.com/AstroHQ/kuiper-forge"
resolver = "2"

[features]
default = ["sqlite"]
postgres = ["sqlx/postgres"]
sqlite = ["sqlx/sqlite"]

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

[[bin]]
name = "kuiper-forge"
path = "src/main.rs"

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

[dependencies.anyhow]
version = "1.0.71"

[dependencies.argon2]
version = "0.5"
features = ["std"]

[dependencies.askama]
version = "0.12"
features = ["with-axum"]

[dependencies.askama_axum]
version = "0.4"

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

[dependencies.axum]
version = "0.8"

[dependencies.axum-extra]
version = "0.10"
features = ["cookie"]

[dependencies.base64]
version = "0.22"

[dependencies.bytes]
version = "1"

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

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

[dependencies.dirs]
version = "6"

[dependencies.figment]
version = "0.10"
features = [
    "toml",
    "env",
]

[dependencies.hex]
version = "0.4"

[dependencies.hmac]
version = "0.12"

[dependencies.http-body-util]
version = "0.1"

[dependencies.hyper]
version = "1.0"
features = [
    "server",
    "http1",
    "http2",
]

[dependencies.hyper-util]
version = "0.1"
features = [
    "tokio",
    "server",
    "http2",
]

[dependencies.jsonwebtoken]
version = "10"
features = [
    "aws_lc_rs",
    "use_pem",
]
default-features = false

[dependencies.kuiper-agent-proto]
version = "0.2.0"

[dependencies.ppp]
version = "2"

[dependencies.rand]
version = "0.9"

[dependencies.rcgen]
version = "0.14"
features = [
    "pem",
    "aws_lc_rs",
]
default-features = false

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

[dependencies.rpassword]
version = "7"

[dependencies.rustls-pemfile]
version = "2"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.sha2]
version = "0.10"

[dependencies.sqlx]
version = "0.8"
features = [
    "runtime-tokio",
    "chrono",
]

[dependencies.thiserror]
version = "2.0"

[dependencies.time]
version = "0.3"

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

[dependencies.tokio-rustls]
version = "0.26"
features = [
    "aws-lc-rs",
    "tls12",
]
default-features = false

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

[dependencies.tonic]
version = "0.14"
features = [
    "tls-aws-lc",
    "tls-native-roots",
    "tls-connect-info",
]

[dependencies.tower]
version = "0.5"
features = ["util"]

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-appender]
version = "0.2"

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

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

[dependencies.x509-parser]
version = "0.18"

[dev-dependencies.h2]
version = "0.4"

[dev-dependencies.http]
version = "1"

[dev-dependencies.rustls]
version = "0.23"
features = ["aws-lc-rs"]
default-features = false

[dev-dependencies.rustls-pemfile]
version = "2"

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

[dev-dependencies.tokio-stream]
version = "0.1.17"
