workspace = { members = ["demo/fastly"] } [package] name = "file-fastly" version = "0.6.10" authors = ["thewawar "] license = "MIT" description = "A Simple HTTP File server" readme = "README.md" keywords = ["simple", "http", "server", "static", "file"] repository = "https://github.com/TheWaWaR/simple-http-server" edition = "2021" [dependencies] clap = "2.33.0" termcolor = "1.0.5" lazy_static = "1.4.0" time = "0.1.42" chrono = "0.4.9" flate2 = "1.0.11" filetime = "0.2.7" pretty-bytes = "0.2.2" rand = "0.8.3" url = "2.1.0" hyper-native-tls = { version = "0.3.0", optional = true } openssl = { version = "0.10", features = ["vendored"], optional = true } rustls = { version = "0.20", optional = true } mime_guess = "2.0" open = "1" # Iron crates iron = "0.6.1" iron-cors = "0.8.0" multipart = { version = "0.18", default-features = false, features = ["server", "iron"] } htmlescape = "0.3.1" percent-encoding = "2.3.0" path-dedot = "1" [features] default = ["native-tls"] only-openssl = ["native-tls", "openssl"] native-tls = ["hyper-native-tls"] [profile.dev] # default case opt-level = 0 [profile.release] # default case opt-level = 3