-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCargo.toml
More file actions
74 lines (64 loc) · 2.06 KB
/
Copy pathCargo.toml
File metadata and controls
74 lines (64 loc) · 2.06 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
[workspace]
members = [
"crates/service-impl/*",
"crates/model",
"crates/kernel",
"crates/service",
"crates/ext/switchboard-deno",
"crates/controller",
"binary/sbk",
"binary/sbc",
"crates/libs/*",
# examples
"examples/example-api-server",
"examples/example-http-plugin", "binary/sb",
]
resolver = "2"
[workspace.dependencies]
switchboard-service = { path = "crates/service" }
switchboard-kernel = { path = "crates/kernel" }
switchboard-socks5 = { path = "crates/service-impl/socks5" }
switchboard-model = { path = "crates/model" }
switchboard-http-router = { path = "crates/libs/switchboard-http-router" }
switchboard-kernel-control = { path = "crates/libs/switchboard-kernel-control", default-features = false }
switchboard-serde-value = { path = "crates/libs/switchboard-serde-value" }
switchboard-link-or-value = { path = "crates/libs/switchboard-link-or-value" }
switchboard-file-resolver = { path = "crates/libs/switchboard-file-resolver" }
tokio = { version = "1" }
tokio-util = { version = "0.7" }
tracing = { version = "0.1" }
rustls = { version = "0.23" }
tokio-rustls = { version = "0.26" }
clap = { version = "4", features = ["derive", "env"] }
futures = { version = "0" }
# http
http = { version = "1" }
# grpc
tonic = { version = "0.14" }
tonic-prost = { version = "0.14" }
tonic-health = { version = "0.14" }
prost = { version = "0.14" }
tonic-build = { version = "0.14" }
tonic-prost-build = { version = "0.14" }
# Serde
serde = { version = "1", features = ["derive", "rc"] }
serde_json = { version = "1" }
toml = { version = "0.9" }
bincode = { version = "2", features = ["serde"] }
# Error
thiserror = { version = "2" }
# Futures
pin-project-lite = "0.2.16"
# Codec
base64 = { version = "0.22" }
# Plugin system
libloading = { version = "0.9" }
[workspace.package]
edition = "2024"
version = "0.1.0"
authors = ["4t145 <u4t145@163.com>"]
license = "MIT/Apache-2.0"
repository = "https://github.com/4t145/hypergate/"
homepage = "https://github.com/4t145/hypergate"
categories = ["network-programming", "asynchronous"]
readme = "README.md"