-
Notifications
You must be signed in to change notification settings - Fork 108
/
Cargo.toml
126 lines (119 loc) · 3.44 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
[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.125.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"
bincode = { version = "2.0.0-rc.2", 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 = "1"
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.24", features = [
"serde-config",
"tokio-runtime",
] }
tokio-util = { version = "0.7", features = ["net", "codec"] }
rand = "0.8"
streammap-ext = "0.1"
num-traits = "0.2"
regex = { version = "1", features = ["unicode-case"] }
fancy-regex = { version = "0.13" }
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"
bimap = "0.6.2"
socket2 = { version = "0.5.3", features = ["all"] }
which = "6"
semver = "1"
once_cell = "1"
exec = "0.3"
drain = "0.1"
base64 = "0.22"
rustls = "0.23.12" # latest (1.9.0) aws-lc-rs causes troubles https://github.com/metalbear-co/mirrord/issues/2774
[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