[dependencies.arc-swap]
version = "1"
[dependencies.chrono]
version = "0.4"
[dependencies.futures-util]
version = "0"
[dependencies.http-body-util]
version = "0"
[dependencies.hyper]
features = ["full"]
version = "1"
[dependencies.hyper-util]
optional = true
version = "0"
[dependencies.ipnet]
optional = true
version = "2"
[dependencies.libloading]
optional = true
version = "0.8"
[dependencies.pin-project-lite]
version = "0.2"
[dependencies.schemars]
optional = true
version = "0.8.6"
[dependencies.serde]
features = ["derive", "derive"]
version = "1"
[dependencies.serde_json]
version = "1"
[dependencies.spacegate-ext-axum]
optional = true
version = "0.2.0-alpha.4"
[dependencies.spacegate-ext-redis]
optional = true
version = "0.2.0-alpha.4"
[dependencies.spacegate-kernel]
version = "0.2.0-alpha.4"
[dependencies.spacegate-model]
version = "0.2.0-alpha.4"
[dependencies.tokio]
features = ["rt", "fs", "time", "net"]
version = "1"
[dependencies.tokio-util]
features = ["io", "io"]
version = "0.7"
[dependencies.tower-layer]
version = "0.3"
[dependencies.tracing]
version = "0"
[dependencies.url]
optional = true
version = "2"
[dev-dependencies.async-compression]
features = ["tokio", "gzip", "deflate", "brotli"]
version = "0.4"
[dev-dependencies.regex]
version = "1"
[dev-dependencies.testcontainers]
version = "0.15.0"
[dev-dependencies.testcontainers-modules]
features = ["redis"]
version = "0.3"
[dev-dependencies.tracing-subscriber]
features = ["env-filter"]
version = "0.3"
[features]
axum = ["spacegate-ext-axum", "spacegate-model/ext-axum"]
cache = ["redis"]
dylib = ["libloading"]
east-west-traffic-white-list = ["ipnet"]
full = ["cache", "limit", "header-modifier", "inject", "redirect", "retry", "rewrite", "maintenance", "set-version", "set-scheme", "status", "east-west-traffic-white-list"]
header-modifier = []
inject = []
limit = ["cache"]
maintenance = ["ipnet", "chrono/serde"]
redirect = ["url"]
redis = ["spacegate-kernel/ext-redis", "spacegate-model/ext-redis", "spacegate-ext-redis"]
retry = []
rewrite = []
schema = ["schemars", "schemars/chrono"]
set-scheme = []
set-version = []
status = ["hyper-util"]
[lib]
name = "spacegate_plugin"
path = "src/lib.rs"
[package]
authors = ["gudaoxuri <i@sunisle.org>", "4t145 <u4t145@163.com>", "RWDai <rwdai@foxmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["web-programming"]
description = "A library-first, lightweight, high-performance, cloud-native supported API gateway"
documentation = "https://docs.rs/spacegate/"
edition = "2021"
homepage = "https://github.com/ideal-world/spacegate"
keywords = ["http", "gateway", "proxy", "websocket", "kubernates"]
license = "MIT/Apache-2.0"
name = "spacegate-plugin"
readme = "README.md"
repository = "https://github.com/ideal-world/spacegate"
version = "0.2.0-alpha.4"
[[test]]
name = "export_schema"
path = "tests/export_schema.rs"
required-features = ["schema", "cache"]
[[test]]
name = "test_hot_update"
path = "tests/test_hot_update.rs"
required-features = ["maintenance"]