# 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-shell" 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" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "spacegate_shell" path = "src/lib.rs" [[test]] name = "test_https" path = "tests/test_https.rs" [dependencies.futures-util] version = "0" [dependencies.hyper] version = "1" features = ["full"] [dependencies.regex] version = "1" [dependencies.rustls-pemfile] version = "2" [dependencies.spacegate-config] version = "0.2.0-alpha.2" [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" features = ["reload"] [dependencies.spacegate-plugin] version = "0.2.0-alpha.2" features = ["schema"] [dependencies.tokio] version = "1" [dependencies.tokio-rustls] version = "0.26" [dependencies.tokio-util] version = "0.7.8" features = [ "io", "io", ] [dependencies.tracing] version = "0" [dev-dependencies.criterion] version = "0.5" features = ["async_tokio"] [dev-dependencies.reqwest] version = "0.11" features = [ "json", "gzip", "brotli", ] [dev-dependencies.testcontainers-modules] version = "0.3" features = ["redis"] [dev-dependencies.tracing-subscriber] version = "0.3" features = ["env-filter"] [features] cache = [ "spacegate-plugin/cache", "spacegate-ext-redis", "spacegate-config/redis", ] ext-axum = [ "spacegate-ext-axum", "spacegate-plugin/axum", "spacegate-config/axum", ] ext-redis = [ "spacegate-ext-redis", "spacegate-plugin/redis", ] fs = ["spacegate-config/fs"] k8s = [ "cache", "spacegate-plugin/rewrite", "spacegate-plugin/header-modifier", "spacegate-plugin/redirect", "spacegate-config/k8s", ] plugin-all = ["spacegate-plugin/full"] plugin-cache = ["spacegate-plugin/cache"] plugin-dylib = ["spacegate-plugin/dylib"] plugin-east-west-traffic-white-list = ["spacegate-plugin/east-west-traffic-white-list"] plugin-header-modifier = ["spacegate-plugin/header-modifier"] plugin-inject = ["spacegate-plugin/inject"] plugin-limit = ["spacegate-plugin/limit"] plugin-maintenance = ["spacegate-plugin/maintenance"] plugin-redirect = ["spacegate-plugin/redirect"] plugin-retry = ["spacegate-plugin/retry"] plugin-rewrite = ["spacegate-plugin/rewrite"] plugin-set-version = ["spacegate-plugin/set-version"] plugin-status = ["spacegate-plugin/status"]