-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
45 lines (40 loc) · 1.15 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
[package]
name = "shadowrocks"
version = "0.1.0"
authors = ["Jing Yang <[email protected]>"]
edition = "2018"
description = "Shadowsocks port in pure async/.await Rust."
documentation = "https://docs.rs/shadowrocks"
readme = "README.md"
homepage = "https://github.com/ditsing/shadowrocks-async"
repository = "https://github.com/ditsing/shadowrocks-async"
license = "MIT"
keywords = ["shadowsocks", "proxy"]
categories = ["network-programming"]
[[bin]]
name = "ss-local"
path = "src/bin/local.rs"
[[bin]]
name = "ss-server"
path = "src/bin/server.rs"
[features]
default = ["ring-crypto"]
ring-crypto = ["ring"]
ring-digest-in-hkdf = ["ring"]
[dependencies]
async-trait = "0.1"
log = { version = "~0.4", features = ["max_level_debug", "release_max_level_warn"] }
clap = "~2.34.0"
env_logger = "0.9.0"
ring = { version = "~0.16", optional = true }
openssl = { version = "~0.10.35", features = ["vendored"] }
rand = "0.8"
sodiumoxide = "0.2"
tokio = { version = "1.7", features = ["net", "io-util", "macros", "rt"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
url = "2.1"
base64 = "0.13"
percent-encoding = "2.1"
[dev-dependencies]
ring = "~0.16.7"