[package]
edition = "2024"
name = "rapina"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A fast, type-safe web framework for Rust inspired by FastAPI"
documentation = "https://docs.rs/rapina"
readme = "README.md"
keywords = [
"web",
"framework",
"http",
"async",
"api",
]
categories = [
"web-programming::http-server",
"asynchronous",
]
license = "MIT"
repository = "https://github.com/arferreira/rapina"
resolver = "2"
[lib]
name = "rapina"
path = "src/lib.rs"
[[example]]
name = "auth"
path = "examples/auth.rs"
[[example]]
name = "hello"
path = "examples/hello.rs"
[[example]]
name = "json"
path = "examples/json.rs"
[[example]]
name = "macros"
path = "examples/macros.rs"
[[test]]
name = "error_handling"
path = "tests/error_handling.rs"
[[test]]
name = "extractors"
path = "tests/extractors.rs"
[[test]]
name = "middleware"
path = "tests/middleware.rs"
[[test]]
name = "routing"
path = "tests/routing.rs"
[dependencies.bytes]
version = "1.11.0"
[dependencies.dotenvy]
version = "0.15.7"
[dependencies.http]
version = "1.4.0"
[dependencies.http-body-util]
version = "0.1.3"
[dependencies.hyper]
version = "1.8.1"
features = [
"server",
"http1",
"http2",
]
[dependencies.hyper-util]
version = "0.1.19"
features = [
"tokio",
"client-legacy",
"http1",
]
[dependencies.jsonwebtoken]
version = "10.2.0"
features = ["rust_crypto"]
[dependencies.rapina-macros]
version = "0.2.0"
[dependencies.schemars]
version = "1.2.0"
[dependencies.serde]
version = "1.0.228"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.149"
[dependencies.serde_urlencoded]
version = "0.7"
[dependencies.tokio]
version = "1.49.0"
features = ["full"]
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
features = [
"json",
"env-filter",
]
[dependencies.uuid]
version = "1"
features = ["v4"]
[dependencies.validator]
version = "0.20.0"
features = ["derive"]