# 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 = "http-file" version = "0.1.0" authors = ["fakeshadow "] description = "file serving for http crate type" readme = "README.md" keywords = [ "http", "file", ] license = "Apache-2.0" repository = "https://github.com/HFQR/xitca-web" [dependencies.bytes] version = "1.4" [dependencies.futures-core] version = "0.3.25" default-features = false [dependencies.http] version = "1" [dependencies.http-range-header] version = "0.4" [dependencies.httpdate] version = "1.0.2" [dependencies.mime_guess] version = "2.0.4" [dependencies.percent-encoding] version = "2.2.0" [dependencies.pin-project-lite] version = "0.2.9" [dependencies.tokio] version = "1.30" features = ["rt"] optional = true [dependencies.tokio-uring] version = "0.4" features = ["bytes"] optional = true [dev-dependencies.futures] version = "0.3" default-features = false [dev-dependencies.tokio] version = "1.30" features = [ "macros", "rt", ] [features] default = ["tokio"] tokio = [ "tokio/fs", "tokio/io-util", ] tokio-uring = [ "dep:tokio", "dep:tokio-uring", ]