# 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 = "2021"
name = "rise-deploy"
version = "0.19.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A simple and powerful CLI for deploying containerized applications"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/NiklasRosenstein/rise"

[package.metadata.cargo-all-features]
always_include_features = ["cli"]

[package.metadata.dist]
cargo-dist-version = "0.31.0"
ci = []
installers = []
targets = [
    "x86_64-unknown-linux-gnu",
    "x86_64-apple-darwin",
    "aarch64-apple-darwin",
]
pr-run-mode = "skip"

[features]
backend = [
    "dep:config",
    "dep:openssl",
    "dep:rsa",
    "dep:sqlx",
    "dep:tower",
    "dep:tower-http",
    "dep:lazy_static",
    "dep:regex",
    "dep:aes-gcm",
    "dep:moka",
    "dep:base64ct",
    "dep:async-trait",
    "dep:oci-distribution",
    "dep:thiserror",
    "dep:mime_guess",
    "dep:tera",
    "dep:serde_ignored",
    "dep:subtle",
    "dep:serde_urlencoded",
    "dep:schemars",
    "dep:kube",
    "dep:k8s-openapi",
    "dep:rustls",
    "dep:aws-config",
    "dep:aws-sdk-ecr",
    "dep:aws-sdk-kms",
    "dep:aws-sdk-rds",
    "dep:aws-sdk-sts",
    "dep:snowflake-connector-rs",
]
cli = [
    "dep:clap",
    "dep:comfy-table",
    "dep:dirs",
    "dep:tempfile",
    "dep:toml",
    "dep:url",
    "dep:webbrowser",
    "dep:serde_ignored",
]
default = ["cli"]

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

[dependencies.aes-gcm]
version = "0.10"
optional = true

[dependencies.anyhow]
version = "1.0.100"

[dependencies.async-stream]
version = "0.3"

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

[dependencies.aws-config]
version = "1.5"
features = ["behavior-version-latest"]
optional = true

[dependencies.aws-sdk-ecr]
version = "1.80"
optional = true

[dependencies.aws-sdk-kms]
version = "1.80"
optional = true

[dependencies.aws-sdk-rds]
version = "1.80"
optional = true

[dependencies.aws-sdk-sts]
version = "1.80"
optional = true

[dependencies.axum]
version = "0.8.7"

[dependencies.base64]
version = "0.22"

[dependencies.base64ct]
version = "1.6"
features = ["alloc"]
optional = true

[dependencies.bytes]
version = "1.9"

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

[dependencies.clap]
version = "4.5.53"
features = ["derive"]
optional = true

[dependencies.comfy-table]
version = "7.1"
optional = true

[dependencies.config]
version = "0.15.19"
optional = true

[dependencies.dirs]
version = "6.0"
optional = true

[dependencies.futures]
version = "0.3"

[dependencies.jsonwebtoken]
version = "10.0"
features = ["rust_crypto"]

[dependencies.k8s-openapi]
version = "0.27"
features = [
    "v1_31",
    "schemars",
]
optional = true

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

[dependencies.lazy_static]
version = "1.5.0"
optional = true

[dependencies.mime_guess]
version = "2.0"
optional = true

[dependencies.moka]
version = "0.12"
features = [
    "sync",
    "future",
]
optional = true

[dependencies.oci-distribution]
version = "0.11"
optional = true

[dependencies.openssl]
version = "0.10.75"
features = ["vendored"]
optional = true

[dependencies.rand]
version = "0.10.0"

[dependencies.regex]
version = "1.11"
optional = true

[dependencies.reqwest]
version = "0.13.0"
features = [
    "json",
    "stream",
    "form",
]

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

[dependencies.rustls]
version = "0.23"
features = ["ring"]
optional = true

[dependencies.schemars]
version = "1"
optional = true

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

[dependencies.serde_ignored]
version = "0.1"
optional = true

[dependencies.serde_json]
version = "1.0.145"

[dependencies.serde_urlencoded]
version = "0.7.1"
optional = true

[dependencies.sha2]
version = "0.11"

[dependencies.snowflake-connector-rs]
version = "0.9"
optional = true

[dependencies.sqlx]
version = "0.8"
features = [
    "runtime-tokio-native-tls",
    "postgres",
    "uuid",
    "chrono",
    "migrate",
]
optional = true

[dependencies.subtle]
version = "2.6.1"
optional = true

[dependencies.tempfile]
version = "3.0"
optional = true

[dependencies.tera]
version = "1.20"
optional = true

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

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

[dependencies.tokio-util]
version = "0.7"
features = ["io"]

[dependencies.toml]
version = "1"
optional = true

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

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

[dependencies.tracing]
version = "0.1.43"

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

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

[dependencies.urlencoding]
version = "2.1"

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

[dependencies.webbrowser]
version = "1.0.2"
optional = true

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

[profile.dist]
lto = "thin"
inherits = "release"
