# 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-kernel" 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_kernel" path = "src/lib.rs" [[test]] name = "test_h2" path = "tests/test_h2.rs" required-features = ["axum/http2"] [[test]] name = "test_https" path = "tests/test_https.rs" [[test]] name = "test_multi_part" path = "tests/test_multi_part.rs" [[test]] name = "test_websocket" path = "tests/test_websocket.rs" [dependencies.chrono] version = "0.4" [dependencies.crossbeam-utils] version = "0.8" [dependencies.futures-util] version = "0" [dependencies.http-body-util] version = "0" [dependencies.hyper] version = "1" features = ["full"] [dependencies.hyper-rustls] version = "0.27" features = [ "ring", "http2", "http1", "tls12", "native-tokio", "http1", "http2", ] [dependencies.hyper-util] version = "0" features = [ "server-auto", "client-legacy", "tokio", ] [dependencies.mime_guess] version = "2" [dependencies.pin-project-lite] version = "0.2" [dependencies.rand] version = "0" [dependencies.regex] version = "1" [dependencies.rustls-pemfile] version = "2" [dependencies.spacegate-ext-redis] version = "0.2.0-alpha.2" optional = true [dependencies.tokio] version = "1" features = [ "net", "time", "macros", "fs", ] [dependencies.tokio-rustls] version = "0.26" [dependencies.tokio-util] version = "0.7.8" features = ["io"] [dependencies.tower-layer] version = "0.3" [dependencies.tracing] version = "0" [dev-dependencies.axum] version = "0.7.6" features = ["multipart"] [dev-dependencies.axum-server] version = "0.7" features = ["tls-rustls"] [dev-dependencies.md5] version = "0.7.0" [dev-dependencies.reqwest] version = "0.12" features = [ "multipart", "stream", ] [dev-dependencies.tokio] version = "1" features = [ "net", "time", "rt", "macros", ] [dev-dependencies.tokio-tungstenite] version = "0" [dev-dependencies.tracing-subscriber] version = "0.3" features = [ "env-filter", "env-filter", ] [features] ext-redis = ["spacegate-ext-redis"] reload = []