[package]
name = "http-fs"
version = "0.4.0"
authors = ["Douman <douman@gmx.se>"]
description = "HTTP File Service library"
repository = "https://gitlab.com/Douman/http-fs"
license = "Apache-2.0"
readme = "README.md"
edition = "2018"
[dependencies]
http = "0.1"
bytes = "0.4"
futures = "0.1"
threadpool = "1"
percent-encoding = "1"
v_htmlescape = "0.4"
etag = "1"
httpdate = "0.3"
mime = "0.3"
mime_guess = "2.0.0-alpha"
actix-web = { version = "0.7", optional = true }
hyper = { version = "0.12", optional = true }
[features]
actix = ["actix-web"]
[[example]]
name = "actix"
path = "examples/actix.rs"
required-features = ["actix"]
[[example]]
name = "hyper"
path = "examples/hyper.rs"
required-features = ["hyper"]
[package.metadata.docs.rs]
features = ["hyper", "actix"]