# 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-config" 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_config" path = "src/lib.rs" [[test]] name = "test_k8s_config" path = "tests/test_k8s_config.rs" [dependencies.bytes] version = "1" [dependencies.chrono] version = "0.4" [dependencies.deadpool-redis] version = "0.14" optional = true [dependencies.futures-util] version = "0" [dependencies.hyper] version = "1" features = ["full"] [dependencies.hyper-rustls] version = "0.27" features = [ "ring", "http2", "http1", "tls12", "native-tokio", ] [dependencies.ipnet] version = "2" features = ["serde"] [dependencies.k8s-gateway-api] version = "0.13" optional = true [dependencies.k8s-openapi] version = "0.19" features = ["v1_21"] optional = true [dependencies.kube] version = "0.85" features = [ "runtime", "derive", ] optional = true [dependencies.lazy_static] version = "1.4" [dependencies.lru] version = "0.12.0" optional = true [dependencies.notify] version = "6.1.1" features = ["macos_kqueue"] optional = true [dependencies.rand] version = "0" optional = true [dependencies.redis] version = "0.24" features = [ "tokio-comp", "tokio-native-tls-comp", ] optional = true [dependencies.regex] version = "1" [dependencies.rustls-pemfile] version = "2" [dependencies.schemars] version = "0.8.6" optional = true [dependencies.serde] version = "1" features = ["derive"] [dependencies.serde_json] version = "1" features = ["preserve_order"] [dependencies.serde_regex] version = "1.1.0" [dependencies.spacegate-model] version = "0.2.0-alpha.2" [dependencies.tokio] version = "1" features = [ "fs", "signal", ] [dependencies.tokio-rustls] version = "0.26" [dependencies.toml] version = "0.8" features = [ "preserve_order", "preserve_order", ] [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" [dev-dependencies.tracing-subscriber] version = "0.3" features = ["env-filter"] [features] axum = ["spacegate-model/ext-axum"] default = ["fs"] fs = ["notify"] full = [ "fs", "redis", "k8s", ] k8s = [ "kube", "k8s-openapi", "k8s-gateway-api", "schemars", "spacegate-model/ext-k8s", "rand", ] redis = [ "dep:redis", "deadpool-redis", "lru", ]