# 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 = "under" version = "0.3.8" authors = ["Jeremy Rodi "] description = "A simple HTTP server framework." readme = "README.md" keywords = [ "async", "http", "web", "server", "framework", ] categories = ["web-programming::http-server"] license = "MIT" repository = "https://github.com/medcat/under" resolver = "1" [dependencies.anyhow] version = "1.0.69" [dependencies.async-sse] version = "5.1.0" optional = true [dependencies.async-trait] version = "0.1.64" [dependencies.bytes] version = "1.4.0" [dependencies.ciborium] version = "0.2" optional = true [dependencies.cookie] version = "0.16.2" features = ["percent-encode"] optional = true [dependencies.form_urlencoded] version = "1.1.0" optional = true [dependencies.futures] version = "0.3.26" features = [ "std", "async-await", ] default-features = false [dependencies.http] version = "0.2.9" [dependencies.hyper] version = "0.14.24" features = [ "server", "stream", "tcp", "http1", "http2", ] [dependencies.lazy_static] version = "1.4.0" [dependencies.log] version = "0.4.17" [dependencies.mime] version = "0.3.16" [dependencies.mime_guess] version = "2.0.4" [dependencies.phf] version = "0.11.1" features = [ "macros", "serde", "unicase", ] optional = true [dependencies.pin-project] version = "1.0.12" [dependencies.regex] version = "1.7.1" [dependencies.rmp-serde] version = "1.1" optional = true [dependencies.serde] version = "1.0.152" features = ["derive"] optional = true [dependencies.serde_json] version = "1.0.93" optional = true [dependencies.serde_qs] version = "0.9.2" [dependencies.thiserror] version = "1.0.38" [dependencies.tokio] version = "1.26.0" features = ["fs"] [dependencies.tokio-util] version = "0.7.7" features = [ "io", "compat", ] optional = true [dependencies.tower] version = "0.4.13" [dependencies.tower-http] version = "0.3.5" [dependencies.under_derive] version = "=0.2.4" optional = true [dependencies.unicase] version = "2.6.0" optional = true [dev-dependencies.tokio] version = "1.26.0" features = ["full"] [build-dependencies.rustc_version] version = "0.4.0" [features] cbor = [ "ciborium", "serde", ] default = [ "cookie", "sse", "from_form", "json", ] from_form = [ "form_urlencoded", "phf", "unicase", "under_derive", ] json = [ "serde_json", "serde", ] msgpack = [ "rmp-serde", "serde", ] sse = [ "async-sse", "tokio-util", ]