-
Notifications
You must be signed in to change notification settings - Fork 59
/
Copy pathCargo.toml
80 lines (70 loc) · 2.22 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
[package]
name = "tunshell-client"
version = "0.1.0"
authors = ["Elliot Levin <[email protected]>"]
edition = "2018"
[lib]
crate-type = ["cdylib", "rlib"]
[dependencies]
tunshell-shared = { path = "../tunshell-shared" }
anyhow = "1.0.31"
tokio-util = { version = "0.3.1", features=["compat"] }
futures = "0.3.5"
log = "0.4.8"
env_logger = "0.7.1"
async-trait = "0.1.33"
twox-hash = "1.5.0"
byteorder = "1.3.4"
thiserror = "1.0.19"
rand = "0.7.3"
serde = "1.0.114"
serde_json = "1.0.55"
cfg-if = "0.1.10"
[target.'cfg(all(not(target_os = "ios"), not(target_os = "android"), not(target_arch = "wasm32")))'.dependencies]
portable-pty = "0.3.1"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
tokio = { version = "0.2.21", features=["rt-threaded", "blocking", "dns", "time", "io-util", "io-std", "tcp", "udp", "sync", "process", "macros", "signal", "fs", "uds"] } #no-wasm
crossterm = { version = "0.23.2" }
libc = "0.2.71"
async-tungstenite = { version = "0.8.0", features=["tokio-runtime"] } #no-wasm
[target.'cfg(not(openssl))'.dependencies]
ring = "0.16.15"
webpki = "0.21.2"
webpki-roots = "0.19.0"
tokio-rustls = { version = "0.13.1", features=["dangerous_configuration"] }
[target.'cfg(openssl)'.dependencies]
native-tls = "0.2.4"
tokio-native-tls = { version = "0.1.0" }
openssl = { version = "0.10.30", features=["vendored"] }
[target.'cfg(target_arch = "wasm32")'.dependencies]
tokio = { version = "0.2.21", features=["blocking", "time", "io-util", "sync", "macros"] }
wee_alloc = "0.4.5"
wasm-bindgen = "0.2.65"
wasm-bindgen-futures = "0.4.15"
console_error_panic_hook = "0.1.6"
console_log = "0.2.0"
js-sys = "0.3.44"
getrandom = { version = "0.2.6", features=["js"] }
[target.'cfg(target_arch = "wasm32")'.dependencies.web-sys]
version = "0.3.42"
features = [
"console",
"Crypto",
"SubtleCrypto",
"CryptoKey",
"Pbkdf2Params",
"AesDerivedKeyParams",
"AesGcmParams",
"BinaryType",
"Blob",
"ErrorEvent",
"FileReader",
"MessageEvent",
"ProgressEvent",
"WebSocket",
]
[target.'cfg(unix)'.dependencies]
remote-pty-common = { git = "https://github.com/TimeToogo/remote-pty" }
remote-pty-master = { git = "https://github.com/TimeToogo/remote-pty" }
[dev-dependencies]
lazy_static = "1.4.0"