forked from quincy-rs/quincy
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
104 lines (85 loc) · 2.56 KB
/
Cargo.toml
File metadata and controls
104 lines (85 loc) · 2.56 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
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
95
96
97
98
99
100
101
102
103
104
[workspace]
members = ["mirage", "mirage-gui", "mirage-ffi", "mirage-tests"]
resolver = "2"
[workspace.package]
version = "0.1.0"
authors = ["mciart"]
license = "AGPL-3.0-or-later"
readme = "README.md"
edition = "2021"
rust-version = "1.80"
homepage = "https://github.com/mciart/mirage"
repository = "https://github.com/mciart/mirage"
keywords = ["vpn", "reality", "tls", "tunnel", "networking", "tokio"]
categories = ["command-line-utilities", "network-programming"]
[workspace.dependencies]
# Internal crates
mirage = { path = "mirage", version = "0.1.0" }
# BoringSSL TLS (Chrome fingerprint)
boring = "4"
tokio-boring = "4"
# Interfaces and networking
tun-rs = { version = "=2.7.3", features = ["async_tokio"] } # pinned audited version
socket2 = { version = "^0.6.0", features = ["all"] }
libc = "^0.2"
bytes = "^1.4"
ipnet = { version = "^2.7", features = ["serde"] }
# Tokio
tokio = { version = "^1.44.2", features = [
"rt-multi-thread",
"macros",
"sync",
"io-util",
"net",
"signal",
"time",
] }
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"
# Cryptography (for Reality x25519)
x25519-dalek = "2"
rand = "0.8"
# Authentication
argon2 = "^0.5.0"
rpassword = "^7.2"
rand_core = { version = "^0.6.4", features = ["getrandom"] }
hex = "0.4"
# Security hardening
subtle = "2"
zeroize = { version = "1", features = ["derive"] }
# Native certificate loading (for macOS/Windows system root certs)
rustls-native-certs = "0.8"
# QUIC support (JLS forks — API-compatible, adds JLS camouflage support)
quinn = { package = "quinn-jls", version = "=0.11.7-0.3.2", default-features = false, features = ["runtime-tokio", "rustls-ring"] }
rustls = { package = "rustls-jls", version = "=0.23.36-1.3.1", default-features = false, features = ["ring", "std"] }
rustls-pemfile = "2"
# Tracing/Logging
tracing = { version = "^0.1.37", features = ["release_max_level_info"] }
tracing-subscriber = { version = "^0.3.20", features = ["env-filter", "ansi"] }
nu-ansi-term = "^0.50.0"
# Privilege escalation
privesc = "^1.2.0"
# Utils
thiserror = "^2.0"
clap = { version = "^4.1", features = ["derive"] }
regex = "^1.11"
# GUI
iced = { version = "^0.14.0", features = [
"tokio",
"advanced",
"highlighter",
] }
# Alloc
jemallocator = { version = "0.5" }
# WinTun
wintun-bindings = { version = "0.7.31", features = ["verify_binary_signature"] }
[profile.release]
strip = true
lto = "fat"
codegen-units = 1
panic = "abort"