[package]
edition = "2024"
rust-version = "1.85"
name = "vantus"
version = "0.2.0"
build = false
exclude = [
"target/**",
"wip/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Macro-first async Rust web platform with typed extraction, DI, and configuration binding."
readme = "README.md"
keywords = [
"web",
"framework",
"macros",
"async",
"http",
]
categories = [
"web-programming::http-server",
"asynchronous",
]
license = "Apache-2.0"
repository = "https://github.com/DiplomaCoder-cmyk/vantus.git"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[lib]
name = "vantus"
path = "src/lib.rs"
[[example]]
name = "controller"
path = "examples/controller.rs"
[[test]]
name = "config"
path = "tests/config.rs"
[[test]]
name = "http"
path = "tests/http.rs"
[[test]]
name = "macros"
path = "tests/macros.rs"
[[test]]
name = "module"
path = "tests/module.rs"
[[test]]
name = "router"
path = "tests/router.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.bytes]
version = "1"
[dependencies.futures-util]
version = "0.3"
[dependencies.http-body-util]
version = "0.1"
[dependencies.hyper]
version = "1"
features = [
"http1",
"server",
]
[dependencies.hyper-util]
version = "0.1"
features = [
"server",
"server-auto",
"tokio",
]
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.tokio]
version = "1"
features = [
"macros",
"net",
"rt-multi-thread",
"sync",
"time",
]
[dependencies.tokio-util]
version = "0.7"
[dependencies.vantus_macros]
version = "0.2.0"
[dev-dependencies.trybuild]
version = "1"