# 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" rust-version = "1.60" name = "hyper-static" version = "0.2.1" authors = ["Sergei S. "] description = "A static file handler for Rust/Hyper with minimal logic" readme = "README.md" keywords = [ "hyper", "static", "file", "server", "http", ] license = "MIT" repository = "https://github.com/alttch/hyper-static" [dependencies.async-stream] version = "0.3.5" [dependencies.bmart-derive] version = "0.1.2" [dependencies.chrono] version = "0.4.31" [dependencies.chrono-tz] version = "0.8.5" [dependencies.futures] version = "0.3.30" [dependencies.hex] version = "0.4.3" [dependencies.http-body-util] version = "0.1.0" [dependencies.hyper] version = "1.1.0" [dependencies.openssl] version = "0.10.62" optional = true [dependencies.sha2] version = "0.10.8" optional = true [dependencies.tokio] version = "1.35.1" features = [ "io-util", "fs", ] [features] default = ["hashing-openssl"] hashing-openssl = ["dep:openssl"] hashing-sha2 = ["dep:sha2"]