-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathCargo.toml
More file actions
69 lines (56 loc) · 1.59 KB
/
Cargo.toml
File metadata and controls
69 lines (56 loc) · 1.59 KB
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
[package]
name = "squic"
version = "1.0.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[[bin]]
name = "server" # The name of the target.
path = "src/server_main.rs"
[[bin]]
name = "client" # The name of the target.
path = "src/client_main.rs"
[lib]
name = "ferrum" # The name of the target.
bench = false
[profile.dev]
opt-level = 0
[profile.release]
opt-level = 3
lto = true
[dependencies]
anyhow = "1.0.71"
clap = { version = "4.3.11", features = ["derive", "env"] }
directories-next = "2.0.0"
quinn = "0.10.1"
rcgen = "0.11.1"
rustls = { version = "0.21.5", features = ["dangerous_configuration"] }
rustls-pemfile = "1.0.3"
tokio = { version = "1.29.1", features = ["full"] }
tracing = "0.1.37"
tracing-subscriber = { version = "0.3.17" }
tracing-futures = { version = "0.2.5" }
url = "2.4.0"
webpki-roots = "0.25.0"
tokio-util = { version = "0.6.10", features = ["full"], optional = false }
tokio-stream = "0.1.14"
tokio-macros = "2.1.0"
tokio-test = "0.4.2"
redis = { version = "0.23.2", features = [
"connection-manager",
"tokio-comp",
"r2d2",
] }
rand = "0.8.5"
futures-core = "0.3.28"
futures = "0.3.28"
bytes = "1.4.0"
async-trait = "0.1.73"
[target.'cfg(any(target_os="linux", target_os="macos"))'.dependencies]
tun = { git = "https://github.com/hamzakilic/rust-tun.git", branch = "ferrum", features = [
"async",
] }
[target.'cfg(any(target_os="windows"))'.dependencies]
tunio = { git = "https://github.com/hamzakilic/tunio.git", branch = "ferrum", features = [
"tokio",
] }
[dev-dependencies]