# 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 = "kftray-portforward"
version = "0.27.25"
authors = ["Henrique Cavarsan <hencavarsan@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "KFtray library with port forwarding logic"
homepage = "https://kftray.app"
readme = false
license = "GPL-3.0"
repository = "https://github.com/hcavarsan/kftray"
resolver = "2"

[package.metadata.cargo-machete]
ignored = [
    "base64",
    "hyper",
    "async-trait",
    "bytes",
    "dashmap",
    "dirs",
    "flate2",
    "httparse",
    "openssl-sys",
    "uuid",
]

[features]
default = [
    "http-proxy",
    "socks5",
]
http-proxy = []
socks5 = []

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

[dependencies.anyhow]
version = "1.0.100"

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

[dependencies.base64]
version = "0.22"

[dependencies.bytes]
version = "1.11"

[dependencies.dashmap]
version = "6.1"

[dependencies.dirs]
version = "6.0"

[dependencies.env_logger]
version = "0.11"

[dependencies.flate2]
version = "1.1"

[dependencies.futures]
version = "0.3"

[dependencies.http]
version = "1.4"

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

[dependencies.httparse]
version = "1.10"

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

[dependencies.hyper-openssl]
version = "0.10"
features = ["client-legacy"]

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

[dependencies.jiff]
version = "0.2"
features = ["serde"]

[dependencies.k8s-openapi]
version = "0.27.0"
features = ["latest"]
default-features = false

[dependencies.keyring]
version = "3.6"
features = [
    "apple-native",
    "linux-native",
    "windows-native",
]

[dependencies.kftray-commons]
version = "0.27.25"

[dependencies.kftray-helper]
version = "0.27.25"

[dependencies.kftray-http-logs]
version = "0.27.25"

[dependencies.kube]
version = "3.0.0"
features = [
    "client",
    "config",
    "http-proxy",
    "oauth",
    "openssl-tls",
    "runtime",
    "rustls-tls",
    "ws",
]

[dependencies.kube-runtime]
version = "3.0.0"
features = ["unstable-runtime"]

[dependencies.lazy_static]
version = "1.5"

[dependencies.libc]
version = "0.2.180"

[dependencies.log]
version = "0.4"

[dependencies.once_cell]
version = "1.21"

[dependencies.openssl]
version = "0.10"
features = ["vendored"]

[dependencies.openssl-sys]
version = "0.9"
features = ["vendored"]

[dependencies.pem]
version = "3.0"

[dependencies.rand]
version = "0.9"

[dependencies.rcgen]
version = "0.14"

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

[dependencies.rustls-native-certs]
version = "0.8.3"

[dependencies.secrecy]
version = "0.10"

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

[dependencies.serde_json]
version = "1.0.149"

[dependencies.sha1]
version = "0.10"

[dependencies.socket2]
version = "0.6.1"

[dependencies.thiserror]
version = "2.0.18"

[dependencies.time]
version = "0.3"

[dependencies.tokio]
version = "1.49.0"
features = [
    "fs",
    "io-util",
    "macros",
    "net",
    "process",
    "rt-multi-thread",
    "sync",
    "time",
]

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

[dependencies.tokio-tungstenite]
version = "0.28.0"
features = ["native-tls"]

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

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

[dependencies.tracing]
version = "0.1"

[dependencies.tungstenite]
version = "0.28.0"
features = ["native-tls"]

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

[dependencies.whoami]
version = "2.0.2"

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

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

[dev-dependencies.tower-test]
version = "0.4"

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

[target.'cfg(target_os = "macos")'.dependencies.core-foundation]
version = "0.10.1"

[target.'cfg(target_os = "macos")'.dependencies.security-framework]
version = "3.5.1"

[target.'cfg(target_os = "windows")'.dependencies.schannel]
version = "0.1.28"

[target.'cfg(target_os = "windows")'.dependencies.windows]
version = "0.62"
features = [
    "Win32_Foundation",
    "Win32_Security",
    "Win32_Security_Authorization",
    "Win32_Security_Cryptography",
    "Win32_Security_Cryptography_Certificates",
    "Win32_Storage_FileSystem",
    "Win32_System_Environment",
    "Win32_System_Pipes",
    "Win32_System_Threading",
]
