-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
39 lines (35 loc) · 1.29 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
[package]
name = "whisper"
version = "0.1.0"
edition = "2021"
[lib]
crate-type = ["staticlib", "lib"]
[dependencies]
async-trait = "0.1.80"
bytes = "1.5.0"
cfg-if = "1.0.0"
clap = { version = "4.5.3", features = ["cargo", "derive"] }
dashmap = "5.5.3"
fastwebsockets = { version = "0.8.0", features = ["unstable-split", "upgrade", "simdutf8"] }
futures-util = { version = "0.3.30", features = ["sink"] }
http-body-util = "0.1.1"
hyper = { version = "1.2.0", features = ["client", "http1"] }
hyper-util = { version = "0.1.3", features = ["tokio"] }
log = "0.4.21"
lwip = "0.3.15"
nix = { version = "0.28.0", features = ["term"] }
rustls-pki-types = { version = "1.4.0", optional = true }
simplelog = "0.12.2"
tokio = { version = "1.36.0", features = ["full"] }
tokio-native-tls = { version = "0.3.1", optional = true }
tokio-rustls = { version = "0.26.0", optional = true }
tokio-util = { version = "0.7.11", features = ["compat"] }
tun2 = { version = "1.2.3", features = ["async"] }
webpki-roots = { version = "0.26.1", optional = true }
wisp-mux = { version = "5.0.0", features = ["fastwebsockets"] }
[target.'cfg(target_os = "ios")'.dependencies]
oslog = "0.2.0"
[features]
default = ["native-tls"]
rustls = ["dep:tokio-rustls", "dep:webpki-roots", "dep:rustls-pki-types"]
native-tls = ["dep:tokio-native-tls"]