# 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.88"
name = "sks5"
version = "0.0.4"
build = false
exclude = [
    ".github/",
    ".forgejo/",
    ".gitlab-ci.yml",
    "scripts/",
    "tests/",
    "contrib/",
    "docs/",
    "PLAN-*.md",
    "PROGRESS-*.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Lightweight SSH server with SOCKS5 proxy, shell emulation, and ACL"
readme = "README.md"
keywords = [
    "ssh",
    "socks5",
    "proxy",
    "firewall",
    "acl",
]
categories = [
    "command-line-utilities",
    "network-programming",
]
license = "MIT"
repository = "https://github.com/galti3r/sks5"

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

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

[[bench]]
name = "acl_bench"
path = "benches/acl_bench.rs"
harness = false

[[bench]]
name = "config_bench"
path = "benches/config_bench.rs"
harness = false

[[bench]]
name = "password_bench"
path = "benches/password_bench.rs"
harness = false

[[bench]]
name = "socks5_bench"
path = "benches/socks5_bench.rs"
harness = false

[dependencies.anyhow]
version = "1.0.94"

[dependencies.argon2]
version = "0.5.3"

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

[dependencies.base64]
version = "0.22.1"

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

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

[dependencies.clap_complete]
version = "4.5"

[dependencies.clap_mangen]
version = "0.2"

[dependencies.dashmap]
version = "6.1.0"

[dependencies.dialoguer]
version = "0.12"

[dependencies.governor]
version = "0.10.4"

[dependencies.hex]
version = "0.4.3"

[dependencies.hickory-resolver]
version = "0.25"

[dependencies.hmac]
version = "0.12.1"

[dependencies.ipnet]
version = "2.10.1"
features = ["serde"]

[dependencies.maxminddb]
version = "0.27.3"

[dependencies.password-hash]
version = "0.5.0"

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

[dependencies.prometheus-client]
version = "0.24.0"

[dependencies.proxy-header]
version = "0.1.2"

[dependencies.rand]
version = "0.8"

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

[dependencies.russh]
version = "0.57"

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

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

[dependencies.serde_json]
version = "1.0.133"

[dependencies.sha2]
version = "0.10.8"

[dependencies.socket2]
version = "0.6"

[dependencies.ssh-key]
version = "0.6.7"
features = [
    "ed25519",
    "rsa",
    "std",
]

[dependencies.subtle]
version = "2.6"

[dependencies.thiserror]
version = "2.0.9"

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

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

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

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

[dependencies.toml]
version = "1.0.2"

[dependencies.totp-rs]
version = "5.6"
features = [
    "gen_secret",
    "otpauth",
]

[dependencies.tracing]
version = "0.1.41"

[dependencies.tracing-subscriber]
version = "0.3.19"
features = [
    "json",
    "env-filter",
]

[dependencies.url]
version = "2.5"

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

[dependencies.zeroize]
version = "1.8"
features = ["derive"]

[dev-dependencies.assert_cmd]
version = "2.0.16"

[dev-dependencies.chromiumoxide]
version = "0.8"
features = ["tokio-runtime"]
default-features = false

[dev-dependencies.criterion]
version = "0.8"
features = [
    "html_reports",
    "async_tokio",
]

[dev-dependencies.ed25519-dalek]
version = "2.1.1"
features = ["rand_core"]

[dev-dependencies.futures]
version = "0.3.32"

[dev-dependencies.predicates]
version = "3.1.2"

[dev-dependencies.proptest]
version = "1.5.0"

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

[dev-dependencies.tokio-test]
version = "0.4.4"

[profile.release]
opt-level = 3
lto = true
codegen-units = 1
panic = "abort"
strip = true
