# 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 believe there's an error in this file please file an
# issue against the rust-lang/cargo repository. If you're
# editing this file be aware that the upstream Cargo.toml
# will likely look very different (and much more reasonable)

[package]
edition = "2018"
name = "shadowsocks-rust"
version = "1.10.3"
authors = ["Shadowsocks Contributors"]
description = "shadowsocks is a fast tunnel proxy that helps you bypass firewalls."
documentation = "https://docs.rs/shadowsocks"
readme = "README.md"
keywords = ["shadowsocks", "proxy", "socks", "socks5", "firewall"]
license = "MIT"
repository = "https://github.com/shadowsocks/shadowsocks-rust"
[profile.release]
lto = "fat"
codegen-units = 1
panic = "abort"
incremental = false

[[bin]]
name = "sslocal"
path = "bin/sslocal.rs"
required-features = ["local"]

[[bin]]
name = "ssserver"
path = "bin/ssserver.rs"
required-features = ["server"]

[[bin]]
name = "ssurl"
path = "bin/ssurl.rs"
required-features = ["utility"]

[[bin]]
name = "ssmanager"
path = "bin/ssmanager.rs"
required-features = ["manager"]
[dependencies.cfg-if]
version = "1"

[dependencies.clap]
version = "2"
features = ["wrap_help", "suggestions"]

[dependencies.futures]
version = "0.3"

[dependencies.jemallocator]
version = "0.3"
optional = true

[dependencies.log]
version = "0.4"

[dependencies.log4rs]
version = "1.0"
optional = true

[dependencies.mimalloc]
version = "0.1"
optional = true

[dependencies.qrcode]
version = "0.12"
default-features = false

[dependencies.shadowsocks-service]
version = "1.10.0"

[dependencies.tcmalloc]
version = "0.3"
optional = true

[dependencies.tokio]
version = "1"
features = ["rt", "signal"]
[dev-dependencies.byte_string]
version = "1.0"

[dev-dependencies.byteorder]
version = "1.3"

[dev-dependencies.env_logger]
version = "0.8"

[dev-dependencies.tokio]
version = "1"
features = ["net", "time", "macros", "io-util"]

[features]
default = ["logging", "trust-dns", "local", "server", "manager", "utility", "local-http", "local-tunnel", "local-socks4", "multi-threaded"]
dns-over-https = ["shadowsocks-service/dns-over-https"]
dns-over-tls = ["shadowsocks-service/dns-over-tls"]
jemalloc = ["jemallocator"]
local = ["shadowsocks-service/local"]
local-dns = ["local", "shadowsocks-service/local-dns"]
local-flow-stat = ["local", "shadowsocks-service/local-flow-stat"]
local-http = ["local", "shadowsocks-service/local-http"]
local-http-native-tls = ["local-http", "shadowsocks-service/local-http-native-tls"]
local-http-rustls = ["local-http", "shadowsocks-service/local-http-rustls"]
local-redir = ["local", "shadowsocks-service/local-redir"]
local-socks4 = ["local", "shadowsocks-service/local-socks4"]
local-tunnel = ["local", "shadowsocks-service/local-tunnel"]
logging = ["log4rs"]
manager = ["shadowsocks-service/manager"]
multi-threaded = ["tokio/rt-multi-thread"]
server = ["shadowsocks-service/server"]
stream-cipher = ["shadowsocks-service/stream-cipher"]
tcmalloc-vendored = ["tcmalloc/bundled"]
trust-dns = ["shadowsocks-service/trust-dns"]
utility = []
[target."cfg(unix)".dependencies.daemonize]
version = "0.4"
[badges.maintenance]
status = "passively-maintained"
