[dependencies.bytes]
version = "1.8.0"
[dependencies.futures-util]
version = "0.3.31"
[dependencies.http-body-util]
version = "0.1.2"
[dependencies.hyper]
features = ["server"]
optional = true
version = "1.5.1"
[dependencies.hyper-util]
features = ["server", "server-auto", "server-graceful", "service", "tokio"]
optional = true
version = "0.1.10"
[dependencies.mime]
version = "0.3.17"
[dependencies.serde]
features = ["derive"]
version = "1.0.215"
[dependencies.serde_json]
version = "1.0.133"
[dependencies.tokio]
features = ["full"]
version = "1.41.1"
[dependencies.tokio-stream]
version = "0.1.16"
[dependencies.tokio-util]
version = "0.7.12"
[dev-dependencies.reqwest]
features = ["blocking", "json", "http2"]
version = "0.12.9"
[[example]]
name = "file_download"
path = "examples/file_download.rs"
[[example]]
name = "file_upload"
path = "examples/file_upload.rs"
[[example]]
name = "headers"
path = "examples/headers.rs"
[[example]]
name = "hello_world"
path = "examples/hello_world.rs"
[[example]]
name = "json"
path = "examples/json.rs"
[[example]]
name = "long_running_task"
path = "examples/long_running_task.rs"
[[example]]
name = "middleware"
path = "examples/middleware.rs"
required-features = ["middleware"]
[[example]]
name = "query_params"
path = "examples/query_params.rs"
[[example]]
name = "route_params"
path = "examples/route_params.rs"
[[example]]
name = "sync_api"
path = "examples/sync_api.rs"
required-features = ["sync"]
[features]
async = []
default = ["http1", "async", "middleware"]
full = ["http1", "http2", "async", "sync", "middleware"]
http1 = ["dep:hyper", "hyper?/http1", "dep:hyper-util", "hyper-util?/http1"]
http2 = ["dep:hyper", "hyper?/http2", "dep:hyper-util", "hyper-util?/http2"]
middleware = []
mini = ["http1", "async"]
mini2 = ["http2", "async"]
sync = []
[lib]
name = "volga"
path = "src/lib.rs"
[package]
authors = ["Roman Emreis <roman.emreis@outlook.com>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
categories = ["web-programming::http-server"]
description = "Easy & Fast Web Framework for Rust"
documentation = "https://docs.rs/volga"
edition = "2021"
homepage = "https://romanemreis.github.io/volga-docs"
keywords = ["volga", "server", "http", "web", "framework"]
license = "MIT"
name = "volga"
readme = "README.md"
repository = "https://github.com/RomanEmreis/volga"
rust-version = "1.80.0"
version = "0.3.2"
[[test]]
name = "app_async_file_download"
path = "tests/app_async_file_download.rs"
[[test]]
name = "app_async_json_payload"
path = "tests/app_async_json_payload.rs"
[[test]]
name = "app_async_mapping_tests"
path = "tests/app_async_mapping_tests.rs"
[[test]]
name = "app_async_middleware_mapping_tests"
path = "tests/app_async_middleware_mapping_tests.rs"
required-features = ["middleware"]
[[test]]
name = "app_async_request_params"
path = "tests/app_async_request_params.rs"
[[test]]
name = "app_sync_json_payload"
path = "tests/app_sync_json_payload.rs"
required-features = ["sync"]
[[test]]
name = "app_sync_mapping_tests"
path = "tests/app_sync_mapping_tests.rs"
required-features = ["sync"]
[[test]]
name = "app_sync_request_params"
path = "tests/app_sync_request_params.rs"
required-features = ["sync"]
[[test]]
name = "app_tests"
path = "tests/app_tests.rs"