# 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 = "orca-control"
version = "0.2.7-rc.2"
authors = ["Sharang <sharang@meghsakha.com>"]
build = "build.rs"
include = [
    "src/**/*",
    "build.rs",
    "proto/**/*",
    "Cargo.toml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Control plane: API server, reconciler, and cluster state management"
readme = false
license = "AGPL-3.0"
repository = "https://github.com/mighty840/orca"
resolver = "2"

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

[[bin]]
name = "orca-control"
path = "src/main.rs"

[dependencies.anyhow]
version = "1"

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

[dependencies.axum]
version = "0.8"
features = ["ws"]

[dependencies.base64]
version = "0.22.1"

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

[dependencies.cron]
version = "0.15"

[dependencies.dirs-next]
version = "2"

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

[dependencies.hex]
version = "0.4"

[dependencies.hmac]
version = "0.12"

[dependencies.hostname]
version = "0.4"

[dependencies.openraft]
version = "0.9"
features = [
    "serde",
    "storage-v2",
]

[dependencies.orca-agent]
version = "0.2.7-rc.2"

[dependencies.orca-core]
version = "0.2.7-rc.2"

[dependencies.orca-proxy]
version = "0.2.7-rc.2"

[dependencies.prost]
version = "0.13"

[dependencies.redb]
version = "2"

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

[dependencies.rustls]
version = "0.23"

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

[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-util]
version = "0.7"
features = ["io"]

[dependencies.tonic]
version = "0.13"

[dependencies.tower]
version = "0.5"

[dependencies.tower-http]
version = "0.6"
features = [
    "cors",
    "trace",
]

[dependencies.tracing]
version = "0.1"

[dependencies.uuid]
version = "1"
features = [
    "v4",
    "v7",
    "serde",
]

[dev-dependencies.bollard]
version = "0.18"

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

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

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

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

[dev-dependencies.tokio-tungstenite]
version = "0.26"

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

[build-dependencies.tonic-build]
version = "0.13"
