[package] name = "lieweb" version = "0.2.0" authors = ["zzzdong "] edition = "2021" license = "MIT" readme = "README.md" repository = "https://github.com/zzzdong/lieweb" homepage = "https://github.com/zzzdong/lieweb" documentation = "https://docs.rs/lieweb/" description = """ a simple async web framework """ categories = ["web-programming::http-server", "network-programming", "asynchronous"] keywords = ["web", "http", "framework", "async"] [features] default = [ ] tls = [ "tokio-rustls", "rustls-pemfile" ] [dependencies] async-trait = "0.1" bytes = "1.0" cookie = "0.18" futures = "0.3" futures-util = "0.3" headers = "0.4" http-body-util = "0.1" hyper = { version="1", features=["server", "http1", "http2"] } hyper-util = { version = "0.1", features=["tokio", "server-auto"] } lazy_static = "1.4" mime = "0.3" mime_guess = "2.0" pathrouter = "0.2" rand = "0.8" serde = "1.0" serde_json = "1.0" serde_urlencoded = "0.7" thiserror = "1.0" tokio = { version="1.0", features=["fs", "net", "rt"] } tokio-rustls = { version="0.26", optional=true } tokio-util = { version="0.7", features=["codec"] } rustls-pemfile = { version="2.1", optional=true } tracing = "0.1" [dev-dependencies] tracing-subscriber = "0.3" tokio = { version="1.0", features=["full"] } serde = { version="1.0", features=["derive"] } [[example]] name = "tls" required-features = ["tls"]