# 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 = "ripress"
version = "2.1.1"
authors = ["You guru911u@gmail.com"]
build = false
exclude = [
    "tests/*",
    "CHANGELOG.md",
    "CONTRIBUTING.md",
    ".github",
    "benchmark.png",
    "scripts/*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "An Express.js-inspired web framework for Rust"
readme = "README.md"
keywords = [
    "http",
    "server",
    "framework",
    "web",
]
categories = ["web-programming::http-server"]
license = "MIT"
repository = "https://github.com/guru901/ripress"

[package.metadata.docs.rs]
readme = "README.md"

[features]
compression = ["flate2"]
default = []
file-upload = ["uuid"]
logger = ["tracing"]
with-wynd = []

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

[[bench]]
name = "ripress_benches"
path = "benches/ripress_benches.rs"
harness = false

[dependencies.ahash]
version = "0.8.12"

[dependencies.bytes]
version = "1.10.1"

[dependencies.cookie]
version = "0.18.1"

[dependencies.flate2]
version = "1.1.2"
optional = true

[dependencies.futures]
version = "0.3.31"

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

[dependencies.hyper]
version = "1.8.1"
features = ["http2"]

[dependencies.hyper-staticfile]
version = "0.10.1"

[dependencies.hyper-util]
version = "0.1.3"
features = ["full"]

[dependencies.infer]
version = "0.19.0"

[dependencies.mime]
version = "0.3.17"

[dependencies.mime_guess]
version = "2.0.5"

[dependencies.routerify_ng]
version = "0.3.0"

[dependencies.serde]
version = "1.0.219"
features = ["derive"]

[dependencies.serde_json]
version = "1.0.141"

[dependencies.tokio]
version = "1.46.1"
features = [
    "macros",
    "rt-multi-thread",
    "signal",
]

[dependencies.tracing]
version = "0.1.41"
optional = true

[dependencies.url]
version = "2.5.4"

[dependencies.urlencoding]
version = "2.1.3"

[dependencies.uuid]
version = "1.18.0"
features = ["v4"]
optional = true

[dev-dependencies.criterion]
version = "0.7.0"

[dev-dependencies.reqwest]
version = "0.12.23"
features = ["json"]

[dev-dependencies.tempfile]
version = "3.10.1"

[dev-dependencies.tracing-subscriber]
version = "0.3.20"

[profile.release]
debug = 2
