# 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.74" name = "shadowsocks-service" version = "1.21.2" authors = ["Shadowsocks Contributors"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "shadowsocks is a fast tunnel proxy that helps you bypass firewalls." documentation = "https://docs.rs/shadowsocks-service" readme = "README.md" keywords = [ "shadowsocks", "proxy", "socks", "socks5", "firewall", ] license = "MIT" repository = "https://github.com/shadowsocks/shadowsocks-rust" [package.metadata.docs.rs] features = [ "full", "local-http-rustls", "local-dns", "dns-over-tls", "dns-over-https", ] [lib] name = "shadowsocks_service" path = "src/lib.rs" [dependencies.arc-swap] version = "1.7" [dependencies.async-trait] version = "0.1" [dependencies.brotli] version = "7.0" optional = true [dependencies.bson] version = "2.13.0" optional = true [dependencies.byte_string] version = "1.0" [dependencies.byteorder] version = "1.5" [dependencies.bytes] version = "1.7" [dependencies.cfg-if] version = "1" [dependencies.etherparse] version = "0.16" optional = true [dependencies.flate2] version = "1.0" optional = true [dependencies.futures] version = "0.3" [dependencies.hickory-resolver] version = "0.24" features = ["serde-config"] optional = true [dependencies.http] version = "1.1" optional = true [dependencies.http-body-util] version = "0.1" optional = true [dependencies.httparse] version = "1.9" optional = true [dependencies.hyper] version = "1.4" features = ["full"] optional = true [dependencies.idna] version = "1.0" [dependencies.ipnet] version = "2.10" [dependencies.iprange] version = "0.6" [dependencies.json5] version = "0.4" [dependencies.libc] version = "~0.2.141" [dependencies.log] version = "0.4" [dependencies.lru_time_cache] version = "0.11" [dependencies.mime] version = "0.3" optional = true [dependencies.native-tls] version = "0.2.8" features = ["alpn"] optional = true [dependencies.once_cell] version = "1.17" [dependencies.pin-project] version = "1.1" [dependencies.rand] version = "0.8" features = ["small_rng"] [dependencies.regex] version = "1.4" [dependencies.rustls-native-certs] version = "0.8" optional = true [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.shadowsocks] version = "1.21.0" default-features = false [dependencies.sled] version = "0.34.7" optional = true [dependencies.smoltcp] version = "0.11" features = [ "std", "log", "medium-ip", "proto-ipv4", "proto-ipv6", "socket-icmp", "socket-udp", "socket-tcp", ] optional = true default-features = false [dependencies.socket2] version = "0.5" features = ["all"] [dependencies.spin] version = "0.9" [dependencies.thiserror] version = "1.0" [dependencies.tokio] version = "1.38" features = [ "io-util", "macros", "net", "parking_lot", "rt", "sync", "time", ] [dependencies.tokio-native-tls] version = "0.3" optional = true [dependencies.tokio-rustls] version = "0.26" features = [ "logging", "tls12", "ring", ] optional = true default-features = false [dependencies.tun2] version = "3.1" features = ["async"] optional = true default-features = false [dependencies.webpki-roots] version = "0.26" optional = true [dependencies.zstd] version = "0.13" optional = true [dev-dependencies.byteorder] version = "1.5" [dev-dependencies.env_logger] version = "0.11" [features] aead-cipher-2022 = ["shadowsocks/aead-cipher-2022"] aead-cipher-2022-extra = ["shadowsocks/aead-cipher-2022-extra"] aead-cipher-extra = ["shadowsocks/aead-cipher-extra"] dns-over-h3 = [ "hickory-dns", "hickory-resolver/dns-over-h3", ] dns-over-https = [ "hickory-dns", "hickory-resolver/dns-over-https", "hickory-resolver/dns-over-https-rustls", "hickory-resolver/webpki-roots", "hickory-resolver/native-certs", ] dns-over-native-tls = [ "hickory-dns", "hickory-resolver/dns-over-tls", "hickory-resolver/dns-over-native-tls", ] dns-over-native-tls-vendored = [ "hickory-dns", "hickory-resolver/dns-over-tls", "hickory-resolver/dns-over-native-tls", "native-tls/vendored", ] dns-over-tls = [ "hickory-dns", "hickory-resolver/dns-over-tls", "hickory-resolver/dns-over-rustls", "hickory-resolver/webpki-roots", "hickory-resolver/native-certs", ] full = [ "local", "server", "manager", "hickory-dns", "local-http", "local-redir", "local-tunnel", "local-socks4", ] hickory-dns = [ "hickory-resolver", "shadowsocks/trust-dns", ] local = ["httparse"] local-dns = [ "local", "hickory-dns", ] local-dns-relay = ["local-dns"] local-fake-dns = [ "local", "trust-dns", "sled", "bson", ] local-flow-stat = ["local"] local-http = [ "local", "hyper", "http", "http-body-util", ] local-http-native-tls = [ "local-http", "tokio-native-tls", "native-tls", ] local-http-native-tls-vendored = [ "local-http-native-tls", "tokio-native-tls/vendored", "native-tls/vendored", ] local-http-rustls = [ "local-http", "tokio-rustls", "webpki-roots", "rustls-native-certs", ] local-online-config = [ "local", "local-http", "mime", "http", "flate2", "brotli", "zstd", ] local-redir = ["local"] local-socks4 = ["local"] local-tun = [ "local", "etherparse", "tun2", "smoltcp", ] local-tunnel = ["local"] manager = ["server"] security-replay-attack-detect = ["shadowsocks/security-replay-attack-detect"] server = [] stream-cipher = ["shadowsocks/stream-cipher"] trust-dns = ["hickory-dns"] [target.'cfg(any(target_os = "macos", target_os = "ios", target_os = "freebsd", target_os = "openbsd"))'.dependencies.nix] version = "0.29" features = ["ioctl"] [target."cfg(windows)".dependencies.windows-sys] version = "0.59" features = ["Win32_Networking_WinSock"] [badges.maintenance] status = "passively-maintained"