forked from ideal-world/spacegate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
64 lines (57 loc) · 1.91 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
[workspace]
members = ["kernel", "services/*"]
resolver = "2"
[profile.release]
lto = true
codegen-units = 1
opt-level = "z"
panic = 'abort'
strip = true
[workspace.package]
version = "0.1.0-alpha.7"
authors = ["gudaoxuri <[email protected]>"]
description = "A library-first, lightweight, high-performance, cloud-native supported API gateway"
keywords = ["http", "gateway", "proxy", "websocket", "kubernates"]
categories = ["gateway", "web-programming", "kubernetes", "api"]
homepage = "https://github.com/ideal-world/spacegate"
documentation = "https://docs.rs/spacegate/"
repository = "https://github.com/ideal-world/spacegate"
edition = "2021"
license = "MIT/Apache-2.0"
rust-version = "1.64"
[workspace.dependencies]
# Basic
serde = { version = "1", features = ["derive"] }
serde_json = { version = "1" }
lazy_static = { version = "1.4" }
async-trait = { version = "0.1" }
itertools = { version = "0" }
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
urlencoding = { version = "2" }
# Tardis
tardis = { version = "=0.1.0-rc.4" }
# tardis = { path = "../tardis/tardis" }
# tardis = { git = "https://github.com/ideal-world/tardis.git", rev = "25baf2a" }
# Http
http = { version = "0.2" }
rustls = { version = "0.21.0" }
hyper = { version = "0.14", features = ["full"] }
hyper-rustls = { version = "0.24" }
rustls-pemfile = { version = "1" }
tokio-rustls = { version = "0.24", default-features = false }
# K8s
kube = { version = "0.85", features = ["runtime", "derive"] }
k8s-openapi = { version = "0.19", features = ["v1_21"] }
k8s-gateway-api = { version = "0.13" }
# validator = { version = "0.16.0", features = ["derive"] }
schemars = { version = "0.8.6" }
# Test
reqwest = { version = "0.11", features = ["json", "gzip", "brotli"] }
testcontainers-modules = { version = "0.1" }
#async-compression
async-compression = { version = "0.3.13", default-features = false, features = [
"tokio",
"gzip",
"deflate",
"brotli",
] }