-
Notifications
You must be signed in to change notification settings - Fork 107
/
Cargo.toml
180 lines (153 loc) · 4.55 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
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
176
177
178
179
180
[workspace]
members = [
"mirrord/*",
"mirrord/layer/tests/apps/fileops",
"mirrord/layer/tests/apps/outgoing",
"mirrord/layer/tests/apps/listen_ports",
"mirrord/layer/tests/apps/dns_resolve",
"mirrord/layer/tests/apps/recv_from",
"mirrord/layer/tests/apps/issue1776",
"mirrord/layer/tests/apps/issue1776portnot53",
"mirrord/layer/tests/apps/issue1899",
"mirrord/layer/tests/apps/issue2001",
"mirrord/layer/tests/apps/issue2438",
"mirrord/layer/tests/apps/rebind0",
"sample/rust",
"medschool",
"tests",
"tests/rust-e2e-fileops",
"tests/rust-unix-socket-client",
"tests/rust-bypassed-unix-socket",
"tests/issue1317",
"tests/rust-websockets",
"tests/rust-sqs-printer",
]
resolver = "2"
# latest commits on rustls suppress certificate verification
[workspace.package]
version = "3.128.0"
edition = "2021"
license = "MIT"
readme = "README.md"
repository = "https://github.com/metalbear/mirrord"
documentation = "https://mirrord.dev/docs"
authors = ["MetalBear <[email protected]>"]
description = "Run a local process in the context of a cloud environment"
homepage = "https://mirrord.dev"
publish = false
keywords = [
"cli",
"backend",
"debug",
"test",
"kubernetes",
"cloud",
"native",
"local",
"ide",
"devtool",
"developer",
"tool",
]
categories = ["development-tools", "backend", "devtool"]
[workspace.dependencies]
actix-codec = "0.5"
# Used by `operator`, `layer`, `console`, `protocol`, `intproxy-protocol`.
bincode = { version = "2.0.0-rc.3", features = ["serde"] }
bytes = "1"
tokio = { version = "1" }
tokio-stream = { version = "0.1", features = ["sync"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
serde_yaml = "0.9"
nix = { version = "0.29", features = ["net"] }
clap = { version = "4", features = ["derive"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
futures = "0.3"
thiserror = "2"
k8s-openapi = { version = "0.23", features = ["earliest"] }
reqwest = { version = "0.12", default-features = false, features = [
"blocking",
"rustls-tls-native-roots",
"json",
"socks",
"http2",
] }
kube = { git = "https://github.com/kube-rs/kube.git", rev = "ecbdafc214538aadc78ec8447f2fa12d0057492b", default-features = false, features = [
"runtime",
"derive",
"client",
"ws",
"rustls-tls",
"oidc",
"socks5",
"http-proxy",
] }
hickory-resolver = { version = "0.25.0-alpha.4", features = [
"serde",
"tokio-runtime",
] }
hickory-proto = "0.25.0-alpha.4"
tokio-util = { version = "0.7", features = ["net", "codec"] }
# Used by `layer`, `intproxy`, `tests`, `medschool`, `cli`, `agent`, `operator`.
rand = "0.8"
streammap-ext = "0.1"
regex = { version = "1", features = ["unicode-case"] }
fancy-regex = { version = "0.14" }
enum_dispatch = "0.3"
envfile = "0.2"
# If you update `hyper`, check that `h2` version is compatible in `intproxy/Cargo.toml`.
# There is a test for this: `cargo test -p mirrord-intproxy hyper_and_h2_versions_in_sync`
hyper = { version = "1", features = ["full"] }
hyper-util = { version = "0.1" }
http-body = "1"
http-body-util = "0.1"
libc = "0.2"
socket2 = { version = "0.5", features = ["all"] }
which = "7"
semver = "1"
exec = "0.3"
drain = "0.1"
base64 = "0.22"
rustls = "0.23"
# Used by `operator`, `tests`.
tokio-tungstenite = { version = "0.24" }
# Used by `operator`, `agent`.
http = { version = "1" }
# Used by `intproxy`, `cli`.
rustls-pemfile = "2"
# Used by `tests`, `layer`, `cli`, `kube`, `agent`, `config`, `operator`.
rstest = "0.23"
# Used by `layer`, `tests`, `sip`, `cli`.
tempfile = "3"
# Used by `cli`, `vpn`.
tun2 = { version = "4", features = ["async"] }
# Used by `layer`, `operator`, `tests`, `auth`.
chrono = "0.4"
# Used by `kube`, `agent`, `layer`.
tower = "0.5"
# Used by `agent`, `intproxy`, `cli`.
tokio-rustls = "0.26"
# Used by `agent`, `cli`.
rcgen = "0.13"
# Used by `config`, `operator`.
schemars = { version = "0.8.11" }
# Used by `config`, `vpn`.
ipnet = "2.8"
# Used by `macros`, `layer-macro`, `config-derive`.
proc-macro2 = "1"
# Used by `macros`, `config-derive`.
proc-macro2-diagnostics = "0.10"
# Used by `macros`, `layer-macro`, `config-derive`, `medschool`.
syn = { version = "2", features = ["full", "extra-traits"] }
# Used by `layer-macro`, `config-derive`.
quote = "1"
# Used by `console`, `cli`.
miette = "7"
[workspace.lints.rustdoc]
private_intra_doc_links = "allow"
[profile.release]
strip = "debuginfo"
# Enabling LTO causes this issue https://github.com/metalbear-co/mirrord/issues/906
lto = false