# 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 = "2024"
name = "maw"
version = "0.13.1"
authors = ["Srlion <srlion32@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A simple and efficient web framework for Rust."
readme = "README.md"
license = "MIT"
repository = "https://github.com/Srlion/maw"

[features]
cookie = ["dep:cookie"]
default = []
logging = []
session = [
    "cookie",
    "serde/derive",
]

[lib]
name = "maw"
path = "src/lib.rs"

[dependencies.async-trait]
version = "0.1"

[dependencies.backtrace]
version = "0.3"

[dependencies.bytes]
version = "1"

[dependencies.cookie]
version = "0.18"
features = [
    "private",
    "signed",
]
optional = true

[dependencies.erased-serde]
version = "0.4"

[dependencies.flate2]
version = "1.1.5"

[dependencies.futures-core]
version = "0.3.31"

[dependencies.http]
version = "1"

[dependencies.http-body]
version = "1.0.1"

[dependencies.http-body-util]
version = "0.1"

[dependencies.hyper]
version = "1"
features = []

[dependencies.hyper-util]
version = "0.1"
features = [
    "server",
    "server-graceful",
    "http1",
]

[dependencies.matchit]
version = "0.9"

[dependencies.mime_guess]
version = "2"

[dependencies.minijinja]
version = "2"
features = [
    "loader",
    "builtins",
    "json",
]

[dependencies.paste]
version = "1"

[dependencies.quick-xml]
version = "0.38"
features = ["serialize"]

[dependencies.serde]
version = "1"
features = []

[dependencies.serde_json]
version = "1"

[dependencies.serde_urlencoded]
version = "0.7"

[dependencies.smol_str]
version = "0.3"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "macros",
    "signal",
    "net",
]

[dependencies.tracing]
version = "0.1"
