# 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 = "shadowrocks" version = "0.1.0" authors = ["Jing Yang "] description = "Shadowsocks port in pure async/.await Rust." homepage = "https://github.com/ditsing/shadowrocks-async" readme = "README.md" keywords = ["shadowsocks"] categories = [""] license = "MIT" repository = "https://github.com/ditsing/shadowrocks-async" [[bin]] name = "ss-local" path = "src/bin/local.rs" [[bin]] name = "ss-server" path = "src/bin/server.rs" [dependencies.async-trait] version = "0.1" [dependencies.base64] version = "0.12" [dependencies.clap] version = "~2.33.0" [dependencies.log] version = "~0.4" features = ["max_level_debug", "release_max_level_warn"] [dependencies.openssl] version = "~0.10.24" [dependencies.percent-encoding] version = "2.1" [dependencies.rand] version = "0.7" [dependencies.ring] version = "~0.16.7" optional = true [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.sodiumoxide] version = "0.2" [dependencies.stderrlog] version = "~0.4" [dependencies.tokio] version = "0.2" features = ["dns", "io-util", "macros", "rt-core", "stream", "tcp"] [dependencies.url] version = "2.1" [dev-dependencies.ring] version = "~0.16.7" [features] default = ["ring-crypto"] ring-crypto = ["ring"] ring-digest-in-hkdf = ["ring"]