# 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"
rust-version = "1.92"
name = "koi-net"
version = "0.7.0"
authors = ["Sylin.org <hello@sylin.org>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Local network toolkit: service discovery, DNS, health monitoring, TLS proxy, and certificate mesh"
homepage = "https://sylin.org/koi"
readme = "README.md"
keywords = [
    "networking",
    "mdns",
    "dns",
    "tls-proxy",
    "service-discovery",
]
categories = [
    "command-line-utilities",
    "network-programming",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/sylin-org/koi"

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

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

[dependencies.anyhow]
version = "1"

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

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

[dependencies.axum]
version = "0.8"

[dependencies.base64]
version = "0.22"

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

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

[dependencies.console]
version = "0.15"

[dependencies.crossterm]
version = "0.28"

[dependencies.hickory-proto]
version = "0.26"

[dependencies.hostname]
version = "0.4"

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

[dependencies.if-addrs]
version = "0.15"

[dependencies.is-terminal]
version = "0.4"

[dependencies.koi-certmesh]
version = "=0.7.0"
default-features = false

[dependencies.koi-client]
version = "=0.7.0"

[dependencies.koi-common]
version = "=0.7.0"

[dependencies.koi-compose]
version = "=0.7.0"

[dependencies.koi-config]
version = "=0.7.0"

[dependencies.koi-crypto]
version = "=0.7.0"
features = [
    "keyring",
    "qr",
]
default-features = false

[dependencies.koi-dashboard]
version = "=0.7.0"
default-features = false

[dependencies.koi-dns]
version = "=0.7.0"

[dependencies.koi-health]
version = "=0.7.0"

[dependencies.koi-mcp]
version = "=0.7.0"

[dependencies.koi-mdns]
version = "=0.7.0"

[dependencies.koi-proxy]
version = "=0.7.0"

[dependencies.koi-runtime]
version = "=0.7.0"
features = ["docker"]
default-features = false

[dependencies.koi-serve]
version = "=0.7.0"

[dependencies.koi-udp]
version = "=0.7.0"

[dependencies.open]
version = "5"

[dependencies.os-truststore]
version = "0.0.2"

[dependencies.rand]
version = "0.9"

[dependencies.rustls]
version = "0.23"

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

[dependencies.serde_json]
version = "1"

[dependencies.subtle]
version = "2"

[dependencies.supports-color]
version = "3"

[dependencies.terminal_size]
version = "0.4"

[dependencies.thiserror]
version = "2"

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

[dependencies.tokio-rustls]
version = "0.26"

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

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

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

[dependencies.tracing]
version = "0.1"

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

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

[dependencies.url]
version = "2"

[dependencies.utoipa]
version = "5"
features = [
    "axum_extras",
    "chrono",
]

[dependencies.utoipa-scalar]
version = "0.3"
features = ["axum"]

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

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

[dev-dependencies.rmcp]
version = "1.7"
features = [
    "server",
    "transport-io",
    "transport-streamable-http-server",
    "macros",
    "client",
    "transport-streamable-http-client-reqwest",
]

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

[target."cfg(unix)".dependencies.libc]
version = "0.2"

[target."cfg(windows)".dependencies.windows-service]
version = "0.8"
