rpress 0.4.3

Lightweight async HTTP/1.1 and HTTP/2 framework built on tokio with TLS (rustls), routing, middleware, streaming, compression, CORS and rate limiting
Documentation
# 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 = "rpress"
version = "0.4.3"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Lightweight async HTTP/1.1 and HTTP/2 framework built on tokio with TLS (rustls), routing, middleware, streaming, compression, CORS and rate limiting"
readme = "README.md"
keywords = [
    "http",
    "server",
    "async",
    "framework",
    "tokio",
]
categories = [
    "web-programming::http-server",
    "asynchronous",
]
license = "MIT"
repository = "https://github.com/Guilherme-j10/rpress"

[features]
default = []
redis = ["dep:redis"]

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

[[test]]
name = "helpers"
path = "tests/helpers.rs"

[[test]]
name = "test_h2"
path = "tests/test_h2.rs"

[[test]]
name = "test_middleware"
path = "tests/test_middleware.rs"

[[test]]
name = "test_production"
path = "tests/test_production.rs"

[[test]]
name = "test_request_parsing"
path = "tests/test_request_parsing.rs"

[[test]]
name = "test_response"
path = "tests/test_response.rs"

[[test]]
name = "test_routing"
path = "tests/test_routing.rs"

[[test]]
name = "test_socketio"
path = "tests/test_socketio.rs"

[[test]]
name = "test_tls"
path = "tests/test_tls.rs"

[[test]]
name = "test_tracing"
path = "tests/test_tracing.rs"

[dependencies.anyhow]
version = "1.0.102"

[dependencies.base64]
version = "0.22"

[dependencies.brotli]
version = "7"

[dependencies.bytes]
version = "1"

[dependencies.chrono]
version = "0.4.44"

[dependencies.dashmap]
version = "6"

[dependencies.flate2]
version = "1"

[dependencies.futures-util]
version = "0.3"

[dependencies.h2]
version = "0.4"

[dependencies.http]
version = "1"

[dependencies.redis]
version = "1"
features = [
    "tokio-comp",
    "aio",
]
optional = true

[dependencies.regex]
version = "1.12.3"

[dependencies.rustls]
version = "0.23"

[dependencies.rustls-pemfile]
version = "2"

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

[dependencies.serde_json]
version = "1.0.149"

[dependencies.sha1]
version = "0.10"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1.49.0"
features = ["full"]

[dependencies.tokio-rustls]
version = "0.26"

[dependencies.tokio-tungstenite]
version = "0.26"

[dependencies.tokio-util]
version = "0.7"
features = ["rt"]

[dependencies.tracing]
version = "0.1"

[dependencies.uuid]
version = "1"
features = ["v4"]

[dev-dependencies.brotli]
version = "7"

[dev-dependencies.flate2]
version = "1"

[dev-dependencies.futures-util]
version = "0.3"

[dev-dependencies.h2]
version = "0.4"

[dev-dependencies.http]
version = "1"

[dev-dependencies.rcgen]
version = "0.13"

[dev-dependencies.rustls-pki-types]
version = "1"

[dev-dependencies.serde_json]
version = "1.0.149"

[dev-dependencies.tokio]
version = "1.49.0"
features = ["full"]

[dev-dependencies.tokio-rustls]
version = "0.26"

[dev-dependencies.tokio-tungstenite]
version = "0.26"

[dev-dependencies.tracing]
version = "0.1"

[dev-dependencies.tracing-subscriber]
version = "0.3"
features = ["fmt"]