# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "spacegate-plugin" version = "0.2.0-alpha.2" authors = [ "gudaoxuri ", "4t145 ", "RWDai ", ] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A library-first, lightweight, high-performance, cloud-native supported API gateway" homepage = "https://github.com/ideal-world/spacegate" documentation = "https://docs.rs/spacegate/" readme = "README.md" keywords = [ "http", "gateway", "proxy", "websocket", "kubernates", ] categories = ["web-programming"] license = "MIT/Apache-2.0" repository = "https://github.com/ideal-world/spacegate" [lib] name = "spacegate_plugin" path = "src/lib.rs" [[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"] [dependencies.arc-swap] version = "1" [dependencies.chrono] version = "0.4" [dependencies.futures-util] version = "0" [dependencies.http-body-util] version = "0" [dependencies.hyper] version = "1" features = ["full"] [dependencies.hyper-util] version = "0" optional = true [dependencies.ipnet] version = "2" optional = true [dependencies.libloading] version = "0.8" optional = true [dependencies.pin-project-lite] version = "0.2" [dependencies.schemars] version = "0.8.6" optional = true [dependencies.serde] version = "1" features = [ "derive", "derive", ] [dependencies.serde_json] version = "1" [dependencies.spacegate-ext-axum] version = "0.2.0-alpha.2" optional = true [dependencies.spacegate-ext-redis] version = "0.2.0-alpha.2" optional = true [dependencies.spacegate-kernel] version = "0.2.0-alpha.2" [dependencies.spacegate-model] version = "0.2.0-alpha.2" [dependencies.tokio] version = "1" features = [ "rt", "fs", "time", "net", ] [dependencies.tokio-util] version = "0.7.8" features = [ "io", "io", ] [dependencies.tower-layer] version = "0.3" [dependencies.tracing] version = "0" [dependencies.url] version = "2" optional = true [dev-dependencies.async-compression] version = "0.4" features = [ "tokio", "gzip", "deflate", "brotli", ] [dev-dependencies.regex] version = "1" [dev-dependencies.testcontainers] version = "0.15.0" [dev-dependencies.testcontainers-modules] version = "0.3" features = ["redis"] [dev-dependencies.tracing-subscriber] version = "0.3" features = ["env-filter"] [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"]