# 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.85"
name = "overtls"
version = "0.3.9"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A simple proxy tunnel, minimalist tool for bypassing the GFW."
readme = "readme.md"
license = "MIT"
repository = "https://github.com/ShadowsocksR-Live/overtls"

[lib]
name = "overtls"
crate-type = [
    "staticlib",
    "cdylib",
    "lib",
]
path = "src/lib.rs"

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

[dependencies.async-shared-timeout]
version = "0.2.2"

[dependencies.base64easy]
version = "0.1.7"

[dependencies.bytes]
version = "1.11.1"

[dependencies.chrono]
version = "0.4.44"

[dependencies.clap]
version = "4.6.0"
features = [
    "derive",
    "cargo",
]

[dependencies.connection-pool]
version = "0.3.7"
default-features = false

[dependencies.ctrlc2]
version = "3.7.3"
features = [
    "async",
    "termination",
]

[dependencies.dotenvy]
version = "0.15.7"

[dependencies.env_logger]
version = "0.11.10"

[dependencies.futures-util]
version = "0.3.32"
features = [
    "sink",
    "std",
]
default-features = false

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

[dependencies.http]
version = "1.4.0"

[dependencies.httparse]
version = "1.10.1"

[dependencies.log]
version = "0.4.29"
features = ["std"]

[dependencies.moka]
version = "0.12.15"
features = ["future"]
default-features = false

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

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

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

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

[dependencies.serde_json]
version = "1.0.149"

[dependencies.socket2]
version = "0.6.3"

[dependencies.socks5-impl]
version = "0.8.1"
features = ["server"]
default-features = false

[dependencies.thiserror]
version = "2.0.18"

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

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

[dependencies.tokio-tungstenite]
version = "0.29.0"
features = ["rustls-tls-webpki-roots"]

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

[dependencies.url]
version = "2.5.8"

[dependencies.webpki-roots]
version = "1.0.6"

[build-dependencies.chrono]
version = "0.4.44"

[target.'cfg(target_os = "android")'.dependencies.android_logger]
version = "0.15.1"

[target.'cfg(target_os = "android")'.dependencies.jni]
version = "0.22.4"
default-features = false

[target.'cfg(target_os = "windows")'.dependencies.windows-service]
version = "0.8.0"

[target."cfg(unix)".dependencies.daemonize]
version = "0.5.0"
