-
Notifications
You must be signed in to change notification settings - Fork 11
/
Cargo.toml
94 lines (77 loc) · 2.21 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
[package]
name = "quincy"
version = "0.12.3"
authors = ["Jakub Kubík <jakub.kubik.it@protonmail.com>"]
license = "MIT"
description = "QUIC-based VPN"
readme = "README.md"
homepage = "https://github.com/M0dEx/quincy"
repository = "https://github.com/M0dEx/quincy"
keywords = ["vpn", "quic", "tunnel", "networking", "tokio"]
categories = ["command-line-utilities", "network-programming"]
edition = "2021"
rust-version = "1.80"
[[bin]]
name = "quincy-client"
path = "src/bin/client.rs"
[[bin]]
name = "quincy-server"
path = "src/bin/server.rs"
[[bin]]
name = "quincy-users"
path = "src/bin/users.rs"
[profile.release]
strip = true
lto = "fat"
codegen-units = 1
panic = "abort"
[features]
default = ["crypto-standard"]
jemalloc = ["jemallocator"]
crypto-standard = ["quinn/rustls-ring", "rustls/ring"]
crypto-quantum = ["quinn/rustls-aws-lc-rs", "rustls/aws-lc-rs", "rustls-post-quantum"]
[dependencies]
# Quinn
quinn = { version = "^0.11.6" , default-features = false, features = ["log", "platform-verifier", "runtime-tokio"] }
# Interfaces and networking
tun2 = { version = "^4.0.0", features = ["async"] }
socket2 = "^0.5.2"
bytes = "^1.4"
etherparse = "^0.16.0"
ipnet = { version = "^2.7", features = ["serde"] }
# Tokio
tokio = { version = "^1.25", features = [
"rt-multi-thread",
"macros",
"sync",
"io-util",
"signal",
] }
dashmap = "^6"
futures = "^0.3.17"
async-trait = "^0.1.77"
# Configuration
figment = { version = "^0.10.8", features = ["toml", "env"] }
serde = { version = "^1.0", features = ["derive"] }
serde_json = "^1.0"
# TLS
rustls = { version = "^0.23.18", default-features = false }
rustls-pemfile = "^2.0"
# Post-quantum
rustls-post-quantum = { version = "^0.1.0", optional = true }
# Authentication
argon2 = "^0.5.0"
rpassword = "^7.2"
# Tracing/Logging
tracing = { version = "^0.1.37", features = ["release_max_level_info"] }
tracing-subscriber = { version = "^0.3.17", features = ["env-filter", "ansi"] }
nu-ansi-term = "^0.50.0"
# Utils
anyhow = "^1.0"
clap = { version = "^4.1", features = ["derive"] }
# Alloc
[target.'cfg(unix)'.dependencies]
jemallocator = { version = "0.5", optional = true }
[dev-dependencies]
rstest = "^0.22.0"
tracing-test = { version = "^0.2.4", features = ["no-env-filter"] }