carte 0.6.0

Runs your apps' processes on demand behind *.localhost hostnames, one stack per git worktree
Documentation
# 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.90"
name = "carte"
version = "0.6.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Runs your apps' processes on demand behind *.localhost hostnames, one stack per git worktree"
homepage = "https://github.com/elektronaut/carte"
readme = "README.md"
keywords = [
    "dev-server",
    "localhost",
    "procfile",
    "puma-dev",
    "reverse-proxy",
]
categories = [
    "command-line-utilities",
    "development-tools",
    "web-programming::http-server",
]
license = "MIT"
repository = "https://github.com/elektronaut/carte"

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

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

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

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

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

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

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

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

[dependencies.anyhow]
version = "1"

[dependencies.axum]
version = "0.8"
features = [
    "http1",
    "json",
    "tokio",
]
default-features = false

[dependencies.base64]
version = "0.23"

[dependencies.bytes]
version = "1"

[dependencies.carte-api]
version = "0.6.0"

[dependencies.carte-core]
version = "0.6.0"

[dependencies.clap]
version = "4.6"
features = ["derive"]

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

[dependencies.gethostname]
version = "1.1"

[dependencies.getrandom]
version = "0.3"

[dependencies.hickory-proto]
version = "0.26"
features = ["std"]
default-features = false

[dependencies.http]
version = "1"

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

[dependencies.httpdate]
version = "1"

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

[dependencies.hyper-util]
version = "0.1.21"
features = [
    "client-legacy",
    "http1",
    "tokio",
]

[dependencies.k8s-openapi]
version = "0.28"
features = ["earliest"]

[dependencies.kube]
version = "4.2"
features = [
    "client",
    "config",
    "rustls-tls",
    "ring",
    "ws",
]
default-features = false

[dependencies.libc]
version = "0.2"

[dependencies.lru]
version = "0.18"

[dependencies.nix]
version = "0.31"
features = [
    "fs",
    "ioctl",
    "poll",
    "process",
    "signal",
    "socket",
    "term",
]

[dependencies.notify]
version = "8"

[dependencies.percent-encoding]
version = "2.3"

[dependencies.ratatui]
version = "0.30"
features = [
    "crossterm",
    "unstable-rendered-line-info",
]
default-features = false

[dependencies.rcgen]
version = "0.14"
features = ["x509-parser"]

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

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.11"

[dependencies.tempfile]
version = "3"

[dependencies.thiserror]
version = "2"

[dependencies.time]
version = "0.3"

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

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

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

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

[dependencies.toml_edit]
version = "0.25"

[dependencies.tower-service]
version = "0.3"

[dependencies.tracing]
version = "0.1"

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

[dependencies.unicode-width]
version = "0.2"

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

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

[dev-dependencies.rcgen]
version = "0.14"
features = ["x509-parser"]

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

[dev-dependencies.tokio]
version = "1.53"
features = [
    "full",
    "test-util",
]

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

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

[lints.clippy]
undocumented_unsafe_blocks = "warn"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.rust]
unsafe_op_in_unsafe_fn = "deny"