# 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" rust-version = "1.70" name = "mendes" version = "0.9.4" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Rust web toolkit for impatient perfectionists" documentation = "https://docs.rs/mendes" readme = "README.md" keywords = [ "web", "http", "server", "async", ] categories = [ "asynchronous", "web-programming::http-server", ] license = "MIT OR Apache-2.0" repository = "https://github.com/djc/mendes" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "mendes" path = "src/lib.rs" [[test]] name = "basic" path = "tests/basic.rs" [[test]] name = "body" path = "tests/body.rs" [[test]] name = "cookies" path = "tests/cookies.rs" [[test]] name = "forms" path = "tests/forms.rs" [[test]] name = "hyper" path = "tests/hyper.rs" [[test]] name = "readme" path = "tests/readme.rs" [dependencies.async-compression] version = "0.4.0" features = ["tokio"] optional = true [dependencies.async-trait] version = "0.1.24" optional = true [dependencies.bytes] version = "1" optional = true [dependencies.chrono] version = "0.4.23" features = ["serde"] optional = true [dependencies.data-encoding] version = "2.1.2" optional = true [dependencies.futures-util] version = "0.3.7" optional = true default-features = false [dependencies.http] version = "1" optional = true [dependencies.http-body] version = "1" optional = true [dependencies.http-body-util] version = "0.1" optional = true [dependencies.httparse] version = "1.3.4" optional = true [dependencies.hyper] version = "1" features = [ "http1", "http2", "server", ] optional = true [dependencies.hyper-util] version = "0.1.3" features = [ "http1", "http2", "server", "tokio", ] optional = true [dependencies.memchr] version = "2.5" optional = true [dependencies.mendes-macros] version = "0.4" optional = true [dependencies.mime_guess] version = "2.0.3" optional = true default-features = false [dependencies.percent-encoding] version = "2.1.0" optional = true default-features = false [dependencies.pin-project] version = "1.1.5" optional = true [dependencies.postcard] version = "1.0.6" features = ["use-std"] optional = true default-features = false [dependencies.ring] version = "0.17.0" optional = true [dependencies.serde] version = "1.0.104" optional = true [dependencies.serde_json] version = "1.0.48" optional = true [dependencies.serde_urlencoded] version = "0.7.0" optional = true [dependencies.thiserror] version = "1.0.20" [dependencies.tokio] version = "1" optional = true [dependencies.tokio-util] version = "0.7" features = [ "codec", "compat", "io", ] optional = true [dependencies.tracing] version = "0.1.26" optional = true [dev-dependencies.reqwest] version = "0.12" default-features = false [dev-dependencies.serde] version = "1.0.104" features = ["derive"] [dev-dependencies.tokio] version = "1" features = [ "macros", "rt", ] [features] application = [ "http", "dep:async-trait", "dep:bytes", "dep:http-body", "dep:mendes-macros", "dep:percent-encoding", "dep:pin-project", "dep:serde", "dep:serde_urlencoded", ] body = ["dep:http-body"] body-util = [ "dep:http-body-util", "dep:bytes", "dep:http-body", ] brotli = [ "compression", "async-compression?/brotli", ] chrono = ["dep:chrono"] compression = [ "dep:async-compression", "dep:tokio", "dep:tokio-util", ] cookies = [ "http", "key", "dep:chrono", "dep:data-encoding", "dep:mendes-macros", "dep:postcard", "serde?/derive", ] default = ["application"] deflate = ["zlib"] forms = [ "dep:mendes-macros", "dep:serde_urlencoded", "serde?/derive", ] gzip = [ "compression", "async-compression?/gzip", ] hyper = [ "application", "http", "dep:async-trait", "dep:bytes", "dep:futures-util", "futures-util?/std", "dep:hyper", "dep:hyper-util", "dep:tokio", "tokio?/macros", "tracing", ] json = ["dep:serde_json"] key = [ "dep:data-encoding", "dep:ring", ] static = [ "application", "http", "dep:mime_guess", "dep:tokio", "tokio?/fs", ] tracing = ["dep:tracing"] uploads = [ "http", "dep:httparse", "dep:memchr", ] zlib = [ "compression", "async-compression?/zlib", ]