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