-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
86 lines (75 loc) · 1.77 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
[package]
name = "castled"
version = "0.0.1-alpha.3"
edition = "2021"
authors = ["rrylee1994@gmail.com"]
license = "MIT"
repository = "https://github.com/openosaka/castle"
readme = "README.md"
description = "Best tunnel for development and kubernetes"
include = ["src/**/*", "proto/**/*", "LICENSE", "README.md", "build.rs"]
[lib]
name = "castled"
path = "src/lib.rs"
[dependencies]
clap = { version = "4.5.7", features = ["derive"] }
tokio = { version = "1.10.1", features = ["full"] }
tracing = "0.1.40"
tracing-subscriber = "0.3.18"
console-subscriber = "0.3.0"
async-trait = "0.1.80"
anyhow = "1.0.86"
tonic = "0.11.0"
tokio-stream = "0.1.15"
tokio-util = "0.7.11"
futures = "0.3.30"
uuid = { version = "1.9.1", features = ["v4", "serde"] }
hyper = { version = "1.4.0", features = ["full"] }
hyper-util = { version = "0.1.5", features = ["full"] }
dashmap = "6.0.1"
bytes = "1.6.1"
http-body-util = { version = "0.1.2" }
http = "1.1.0"
http-body = "1.0.0"
futures-util = "0.3.30"
prost = "0.12.6"
async-shutdown = "0.2.2"
httparse = "1.9.4"
rand = "0.8.5"
rand_chacha = "0.3.1"
[build-dependencies]
tonic-build = "0.11.0"
which = "6.0.1"
[dev-dependencies]
tokio = { version = "1.10.1", features = ["full"] }
tokio-util = "0.7.11"
tracing-subscriber = "0.3.18"
wiremock = "0.6.0"
bytes ={ version = "1.6.1" }
reqwest = { version = "0.12.5", features = ["json"] }
http = "1.1.0"
anyhow = "1.0.86"
url = "2"
serde = { version = "1.0.204", features = ["derive"] }
[[bin]]
name = "castle"
path = "src/bin/castle.rs"
[[bin]]
name = "castled"
path = "src/bin/castled.rs"
[features]
# Include nothing by default
default = []
full = [
"util",
"debug"
]
util = []
debug = []
[[example]]
name = "crawler"
path = "examples/crawler.rs"
required-features = ["util"]
[[test]]
name = "lib"
path = "tests/lib.rs"