# 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 = "xitca-web" version = "0.6.2" authors = ["fakeshadow "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "an async web framework" readme = "README.md" keywords = [ "xitca", "xitca-web", ] license = "Apache-2.0" repository = "https://github.com/HFQR/xitca-web" [package.metadata.docs.rs] all-features = true [lib] name = "xitca_web" path = "src/lib.rs" [dependencies.cookie] version = "0.18" features = [ "percent-encode", "secure", ] optional = true [dependencies.futures-core] version = "0.3" [dependencies.http-body] version = "1" optional = true [dependencies.http-encoding] version = "0.2" optional = true [dependencies.http-file] version = "0.1" optional = true default-features = false [dependencies.http-multipart] version = "0.1" optional = true [dependencies.http-rate] version = "0.1" optional = true [dependencies.http-ws] version = "0.3" optional = true [dependencies.pin-project-lite] version = "0.2.9" [dependencies.serde] version = "1" optional = true [dependencies.serde_json] version = "1" optional = true [dependencies.serde_urlencoded] version = "0.7.1" optional = true [dependencies.tokio] version = "1" features = [ "rt", "sync", ] [dependencies.tower-layer] version = "0.3" optional = true [dependencies.tower-service] version = "0.3" optional = true [dependencies.tracing] version = "0.1" optional = true [dependencies.tracing-subscriber] version = "0.3" optional = true [dependencies.xitca-codegen] version = "0.3.1" optional = true [dependencies.xitca-http] version = "0.6.0" features = ["router"] default-features = false [dependencies.xitca-server] version = "0.4.0" optional = true [dependencies.xitca-service] version = "0.2.0" features = [ "alloc", "std", ] [dependencies.xitca-tls] version = "0.4.0" optional = true [dependencies.xitca-unsafe-collection] version = "0.2.0" [dev-dependencies.futures-util] version = "0.3" features = ["alloc"] [dev-dependencies.serde] version = "1.0.137" features = ["derive"] [dev-dependencies.tokio] version = "1" features = ["macros"] [dev-dependencies.tower-http] version = "0.5" features = [ "fs", "set-status", ] [dev-dependencies.tracing] version = "0.1" [dev-dependencies.xitca-codegen] version = "0.3" [features] __server = [ "xitca-http/runtime", "xitca-server", ] codegen = ["xitca-codegen"] compress-br = ["http-encoding/br"] compress-de = ["http-encoding/de"] compress-gz = ["http-encoding/gz"] cookie = ["dep:cookie"] default = ["http1"] file = [ "file-raw", "http-file/default", ] file-raw = [ "http-file", "nightly", ] http1 = [ "__server", "xitca-http/http1", ] http2 = [ "__server", "xitca-http/http2", ] http3 = [ "__server", "xitca-http/http3", ] io-uring = [ "__server", "xitca-server/io-uring", ] json = [ "serde", "serde_json", ] logger = [ "tracing", "tracing-subscriber", ] multipart = ["http-multipart"] nightly = [] openssl = [ "__server", "xitca-http/openssl", "xitca-tls/openssl", ] params = ["serde"] rate-limit = ["http-rate"] rustls = [ "__server", "xitca-http/rustls", "xitca-tls/rustls-no-crypto", ] serde = ["dep:serde"] tower-http-compat = [ "tower-service", "tower-layer", "http-body", ] urlencoded = [ "serde", "serde_urlencoded", ] websocket = [ "http-ws/stream", "tokio/time", ]