# 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-http" version = "0.6.0" authors = ["fakeshadow "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "http library for xitca" readme = "README.md" keywords = [ "xitca", "xitca-web", ] license = "Apache-2.0" repository = "https://github.com/HFQR/xitca-web" [lib] name = "xitca_http" path = "src/lib.rs" [[bench]] name = "h1_decode" path = "benches/h1_decode.rs" harness = false [dependencies.fnv] version = "1.0.7" optional = true [dependencies.futures-core] version = "0.3.17" [dependencies.futures-util] version = "0.3.17" optional = true default-features = false [dependencies.h2] version = "0.4" optional = true [dependencies.h3] version = "0.0.6" optional = true [dependencies.h3-quinn] version = "0.0.7" optional = true [dependencies.http] version = "1" [dependencies.httparse] version = "1.8" optional = true [dependencies.httpdate] version = "1.0" [dependencies.itoa] version = "1" optional = true [dependencies.native-tls] version = "0.2.7" features = ["alpn"] optional = true [dependencies.pin-project-lite] version = "0.2.10" [dependencies.slab] version = "0.4" optional = true [dependencies.tokio] version = "1.30" features = [ "rt", "time", ] optional = true [dependencies.tokio-uring] version = "0.5.0" features = ["bytes"] optional = true [dependencies.tracing] version = "0.1.40" default-features = false [dependencies.xitca-io] version = "0.4.0" [dependencies.xitca-router] version = "0.3.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" features = ["bytes"] [dev-dependencies.criterion] version = "0.5" [dev-dependencies.xitca-server] version = "0.4" [features] default = ["http1"] http1 = [ "httparse", "itoa", "runtime", ] http2 = [ "h2", "fnv", "futures-util/alloc", "runtime", "slab", ] http3 = [ "xitca-io/quic", "futures-util/alloc", "h3", "h3-quinn", "runtime", ] io-uring = [ "xitca-io/runtime-uring", "tokio-uring", ] native-tls = [ "dep:native-tls", "runtime", ] openssl = [ "xitca-tls/openssl", "runtime", ] router = ["xitca-router"] runtime = [ "xitca-io/runtime", "tokio", ] rustls = [ "xitca-tls/rustls-no-crypto", "runtime", ] rustls-uring = [ "rustls", "xitca-tls/rustls-uring-no-crypto", "xitca-io/runtime-uring", ] [target.'cfg(not(target_family = "wasm"))'.dependencies.socket2] version = "0.5.1" features = ["all"]