forked from inclavare-containers/TNG
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
175 lines (166 loc) · 5.74 KB
/
Cargo.toml
File metadata and controls
175 lines (166 loc) · 5.74 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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
[workspace]
default-members = ["tng"]
exclude = ["deps/"]
members = [
"tng",
"tng-testsuite",
"tng-wasm",
"deps/hyper-util-shim",
"rats-cert",
]
resolver = "2"
[workspace.package]
authors = ["Kun Lai <laikun@linux.alibaba.com>"]
edition = "2021"
license = "Apache-2.0"
repository = "https://github.com/inclavare-containers/tng"
version = "2.5.0"
[workspace.dependencies]
again = "0.1.2"
anyhow = "1.0.98"
as-any = "0.3.2"
async-http-proxy = {version = "1.2.5", features = ["runtime-tokio"]}
async-stream = "0.3.6"
async-trait = "0.1.88"
atty = "0.2.14"
auto_enums = {version = "0.8", features = ["std", "tokio1"]}
axum = {version = "0.8.4", default-features = false}
axum-extra = "0.10.1"
base64 = "0.22.1"
bitflags = "2.8.0"
bytes = "1.10.1"
canon-json = {git = "https://github.com/inclavare-containers/canon-json-rs", rev = "d6fa90c68f60d3d7a51daf942d882b589541be51"}
cfg_aliases = "0.2.1"
chromedriver-manager = "0.4.0"
chrono = "0.4.42"
ciborium = "0.2.2"
cidr = {version = "0.2.3", features = ["serde"]}
clap = {version = "4.5.39", features = ["derive"]}
console-subscriber = "0.5.0"
console_error_panic_hook = "0.1.7"
const-oid = "0.9.6"
const_format = "0.2.34"
ctor = "=0.4.1"
derivative = "2.2.0"
either = "1.15.0"
fast-socks5 = {git = "https://github.com/dizda/fast-socks5.git", rev = "4c8985c"}
flatten-json-object = "0.6.1"
futures = "0.3.31"
getrandom = "0.3"
gloo = {version = "0.11.0"}
h2 = {version = "0.4.10", features = ["stream"]}
hex = "0.4.3"
hpke = "0.13.0"
http = "1.3.1"
http-body = "1.0.1"
http-body-util = "0.1.3"
httparse = "1.10.1"
hyper = {version = "1", default-features = false, features = ["http1", "http2"]}
hyper-util = {version = "=0.1.7", features = ["service", "client-legacy", "http1", "http2"]}# version locked for used with hyper-util-shim
indexmap = {version = "2.9.0", features = ["serde"]}
itertools = "0.14.0"
js-sys = "0.3.77"
jsonwebtoken = {version = "9", default-features = false}
netns-rs = "0.1.0"
nix = "0.30.1"
notify = "7.0.0"
once_cell = "1.21.3"
opentelemetry = "0.31.0"
opentelemetry-otlp = {version = "0.31.0", default-features = false}
opentelemetry-stdout = "0.31.0"
opentelemetry_sdk = "0.31.0"
p256 = "0.13.2"
peekable = "0.4"
pin-project = "1"
pin-project-lite = "0.2.16"
pkcs8 = {version = "0.10.2", features = ["pem"]}
portpicker = "0.1.1"
prost = "^0.14"
prost-build = "0.14.1"
prost-types = "0.14"
protobuf = "~3.7.1"
rand = "0.9.1"
rand_chacha = "0.9.0"
rayon = "1.10.0"
regex = "1.11.1"
reqwest = {version = "<=0.12.9", default-features = false, features = ["json", "http2", "rustls-tls-webpki-roots", "brotli", "gzip", "zstd"]}# select 0.12.9 version since we have to align to the hyper-util=0.1.7 version used by hyper-util-wasm
ring = "0.17.8"
rsa = {version = "0.9.7", features = ["sha2"]}
rstest = "0.25.0"
rtnetlink = "0.17.0"
rustls = {version = "0.23.27", default-features = false, features = ["logging", "std", "tls12", "ring"]}
rustls-pemfile = "2.2.0"
rustls-pki-types = "1.10.1"
rustls-webpki = {package = "rustls-webpki", version = "0.103.3", default-features = false, features = ["alloc", "ring"]}
scopeguard = "1.2.0"
serde = {version = "1.0", features = ["derive"]}
serde-wasm-bindgen = "0.6.5"
serde_bytes = "0.11.15"
serde_json = "1.0.140"
serde_variant = "0.1.3"
serde_with = {version = "3.12.0", features = ["json"]}
serf = {version = "0.4.1", features = ["default", "tokio", "tcp", "serde"]}
serial_test = "3.2.0"
sha2 = "0.10.8"
shadow-rs = {version = "=1.0.0", default-features = false}
signature = "2.2.0"
socket2 = "0.5.10"
spin = {version = "0.10.0", default-features = false, features = ["mutex", "spin_mutex"]}
strum = "0.27.1"
strum_macros = "0.27.1"
tempfile = "3.20.0"
thirtyfour = "0.35.0"
thiserror = "2.0.17"
time = "0.3.41"
tokio = {version = "1.47.1", default-features = false, features = ["sync"]}
tokio-graceful = {version = "0.2.2", default-features = false}
tokio-rustls = {version = "0.26.2", default-features = false, features = ["logging", "tls12", "ring"]}
tokio-util = "0.7.15"
tokio_with_wasm = {version = "=0.8.6", features = ["rt", "macros", "time"]}
tokio_with_wasm_proc = "=0.8.6"
tonic = {version = "=0.14.2", default-features = false}# locked to 0.14.2 due to limit of hyper-util=0.1.7
tonic-prost = {version = "=0.14.2", default-features = false}# locked to 0.14.2 due to limit of hyper-util=0.1.7
tonic-prost-build = {version = "=0.14.2", default-features = false}# locked to 0.14.2 due to limit of hyper-util=0.1.7
tonic-web-wasm-client = "0.8.0"
tower = {version = "0.5"}
tower-http = "0.6.6"
tracing = "0.1"
tracing-futures = {version = "0.2.5"}
tracing-log = "0.2.0"
tracing-opentelemetry = "0.32.1"
tracing-subscriber = {version = "0.3", features = ["env-filter"]}
tracing-wasm = "0.2.1"
ttrpc = "0.8.4"
ttrpc-codegen = "0.5.0"
url = "2.5"
uuid = {version = "1.18.1"}
wasm-bindgen = "0.2.84"
wasm-bindgen-futures = "0.4.50"
wasm-streams = "0.4.2"
web-sys = {version = "0.3.77"}
web-time = "1.1.0"
which = "7.0.3"
ws_stream_tungstenite = "0.13.0"
ws_stream_wasm = "=0.7.5"
x509-cert = {version = "0.2.5", features = ["builder", "pem"]}
zeroize = "1.8.1"
[patch.crates-io.rustls]
branch = "v/0.23.27-patched"
git = "https://github.com/inclavare-containers/rustls.git"
[patch.crates-io.rustls-webpki]
branch = "v/0.103.3-patched"
git = "https://github.com/inclavare-containers/webpki.git"
[patch.crates-io.reqwest]
git = "https://github.com/inclavare-containers/reqwest.git"
rev = "edd4658e698a030ff04bbb62e954f363b31a25c8"
[patch.crates-io.tokio-graceful]
branch = "wasm"
git = "https://github.com/inclavare-containers/tokio-graceful.git"
[patch.crates-io.hyper]
git = "https://github.com/inclavare-containers/hyper.git"
rev = "59b43a6315a8f48ebfa4d12bbcd80cc0b1969a26"
[patch.crates-io]
hyper-util = {path = "./deps/hyper-util-shim"}
[profile.release.package.tng-wasm]
# Tell `rustc` to optimize for small code size.
opt-level = "s"