routerify_ng 0.3.0

A lightweight, idiomatic, composable and modular router implementation with middleware support for the Rust HTTP library hyper.rs 1.7.
Documentation
[dependencies.bytes]
version = "1"

[dependencies.http]
version = "1.3.1"

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

[dependencies.hyper]
default-features = false
features = ["server"]
version = "1.7"

[dependencies.hyper-util]
features = ["server", "http1", "http2", "tokio", "client", "client-legacy"]
version = "0.1.17"

[dependencies.lazy_static]
version = "1"

[dependencies.percent-encoding]
version = "2"

[dependencies.regex]
default-features = false
features = ["std"]
version = "1"

[dependencies.tokio]
version = "1"

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

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

[[example]]
name = "error_handling"
path = "examples/error_handling.rs"

[[example]]
name = "error_handling_with_custom_errors"
path = "examples/error_handling_with_custom_errors.rs"

[[example]]
name = "error_handling_with_request_info"
path = "examples/error_handling_with_request_info.rs"

[[example]]
name = "handle_404_pages"
path = "examples/handle_404_pages.rs"

[[example]]
name = "middleware"
path = "examples/middleware.rs"

[[example]]
name = "request_duration"
path = "examples/request_duration.rs"

[[example]]
name = "route_parameters"
path = "examples/route_parameters.rs"

[[example]]
name = "scoped_router"
path = "examples/scoped_router.rs"

[[example]]
name = "share_data_and_state"
path = "examples/share_data_and_state.rs"

[[example]]
name = "simple_example"
path = "examples/simple_example.rs"

[[example]]
name = "test"
path = "examples/test.rs"

[[example]]
name = "test-with-heavy-loads"
path = "examples/test-with-heavy-loads.rs"

[[example]]
name = "test2"
path = "examples/test2.rs"

[features]
all = ["hyper-http1", "hyper-http2"]
default = ["hyper-http1"]
hyper-http1 = ["hyper/http1"]
hyper-http2 = ["hyper/http2"]

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

[package]
authors = ["Gurvinder Singh <guru911u@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["asynchronous", "web-programming", "web-programming::http-server"]
description = "A lightweight, idiomatic, composable and modular router implementation with middleware support for the Rust HTTP library hyper.rs 1.7."
edition = "2024"
homepage = "https://github.com/guru901/routerify_ng"
keywords = ["hyper", "hyper-rs", "router", "routing", "middleware"]
license = "MIT"
name = "routerify_ng"
readme = "README.md"
repository = "https://github.com/guru901/routerify_ng"
version = "0.3.0"

[package.metadata.docs.rs]
all-features = true

[package.metadata.playground]
features = ["all"]

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