# 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-server" version = "0.8.9" authors = ["Esteban Borai "] description = "Simple and configurable command-line HTTP server" readme = "README.md" keywords = [ "configurable", "http", "server", "serve", "static", ] categories = [ "web-programming", "web-programming::http-server", ] license = "MIT OR Apache-2.0" repository = "https://github.com/EstebanBorai/http-server" [profile.release] debug = 1 [lib] name = "http_server_lib" path = "src/lib.rs" [[bin]] name = "http-server" path = "src/bin/main.rs" [[bench]] name = "file_explorer" harness = false [dependencies.anyhow] version = "1.0.75" [dependencies.async-stream] version = "0.3.5" [dependencies.async-trait] version = "0.1.74" [dependencies.chrono] version = "0.4.31" features = ["serde"] [dependencies.dhat] version = "0.2.4" optional = true [dependencies.flate2] version = "1.0.28" [dependencies.futures] version = "0.3.30" [dependencies.handlebars] version = "4.3.7" [dependencies.http] version = "0.2.11" [dependencies.http-auth-basic] version = "0.3.3" [dependencies.humansize] version = "2.1.3" [dependencies.hyper] version = "0.14.27" features = [ "http1", "server", "stream", "tcp", ] [dependencies.hyper-rustls] version = "0.23.0" features = ["webpki-roots"] [dependencies.local-ip-address] version = "0.6.1" [dependencies.mime_guess] version = "2.0.4" [dependencies.percent-encoding] version = "2.2.0" [dependencies.rustls] version = "0.20.6" [dependencies.rustls-pemfile] version = "1.0.4" [dependencies.serde] version = "1.0.192" features = ["derive"] [dependencies.serde_json] version = "1.0.108" [dependencies.structopt] version = "0.3.26" default-features = false [dependencies.termcolor] version = "1.1.3" [dependencies.tokio] version = "1.29.1" features = [ "fs", "rt-multi-thread", "signal", "macros", ] [dependencies.tokio-rustls] version = "0.23.4" [dependencies.toml] version = "0.7.6" [dev-dependencies.criterion] version = "0.5.1" features = [ "async_tokio", "html_reports", ] [dev-dependencies.hyper] version = "0.14.27" features = ["client"] [dev-dependencies.lazy_static] version = "1.4.0" [dev-dependencies.tokio] version = "1.29.1" features = ["full"] [features] dhat-profiling = ["dhat"]