[package]
edition = "2021"
rust-version = "1.98.0"
name = "proa_framework_axum"
version = "0.4.3"
build = false
publish = ["crates-io"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Axum and Tokio adapter for Proa SSR applications."
homepage = "https://proa.so"
readme = "README.md"
license-file = "LICENSE"
repository = "https://github.com/proa-labs/proa"
[lib]
name = "proa_framework_axum"
path = "src/lib.rs"
[[example]]
name = "page_cache_deployment_probe"
path = "examples/page_cache_deployment_probe.rs"
[[test]]
name = "async_response_test"
path = "tests/async_response_test.rs"
[[test]]
name = "awaited_response_test"
path = "tests/awaited_response_test.rs"
[[test]]
name = "base_path_test"
path = "tests/base_path_test.rs"
[[test]]
name = "builder_hardening_test"
path = "tests/builder_hardening_test.rs"
[[test]]
name = "csp_nonce_test"
path = "tests/csp_nonce_test.rs"
[[test]]
name = "dev_reload_test"
path = "tests/dev_reload_test.rs"
[[test]]
name = "discovery_test"
path = "tests/discovery_test.rs"
[[test]]
name = "graceful_shutdown_test"
path = "tests/graceful_shutdown_test.rs"
[[test]]
name = "head_metadata_routing"
path = "tests/head_metadata_routing.rs"
[[test]]
name = "managed_head_example"
path = "tests/managed_head_example.rs"
[[test]]
name = "managed_head_review"
path = "tests/managed_head_review.rs"
[[test]]
name = "mounted_dev_reload_test"
path = "tests/mounted_dev_reload_test.rs"
[[test]]
name = "page_cache_test"
path = "tests/page_cache_test.rs"
[[test]]
name = "readiness_test"
path = "tests/readiness_test.rs"
[[test]]
name = "static_render"
path = "tests/static_render.rs"
[[test]]
name = "streaming_response_test"
path = "tests/streaming_response_test.rs"
[dependencies.anyhow]
version = "1"
[dependencies.axum]
version = "0.8.9"
[dependencies.base16ct]
version = "1.0.0"
default-features = false
[dependencies.base64]
version = "0.23.1"
[dependencies.bytes]
version = "1"
[dependencies.cssparser]
version = "0.38.0"
[dependencies.futures]
version = "0.3.29"
[dependencies.http]
version = "1.3.1"
[dependencies.http-body-util]
version = "0.1"
[dependencies.hyper]
version = "1"
features = [
"client",
"http1",
]
[dependencies.hyper-util]
version = "0.1"
features = [
"http1",
"http2",
"server-auto",
"server-graceful",
"service",
"tokio",
]
[dependencies.include_dir]
version = "0.7"
[dependencies.mime]
version = "0.3"
[dependencies.oxc_allocator]
version = "0.160.0"
[dependencies.oxc_ast]
version = "0.160.0"
[dependencies.oxc_ast_visit]
version = "0.160.0"
[dependencies.oxc_codegen]
version = "0.160.0"
[dependencies.oxc_minifier]
version = "0.160.0"
[dependencies.oxc_parser]
version = "0.160.0"
[dependencies.oxc_semantic]
version = "0.160.0"
[dependencies.oxc_span]
version = "0.160.0"
[dependencies.parking_lot]
version = "0.13.0"
[dependencies.percent-encoding]
version = "2"
[dependencies.pin-project]
version = "1.1"
[dependencies.proa_assets]
version = "0.1.1"
[dependencies.proa_core]
version = "0.4.3"
[dependencies.proa_framework_core]
version = "0.4.3"
[dependencies.proa_macros]
version = "0.4.3"
[dependencies.proa_stream]
version = "0.4.3"
features = ["rt-tokio"]
default-features = false
[dependencies.rand]
version = "0.10.4"
[dependencies.rsjs]
version = "0.3.3"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.sha2]
version = "0.11"
features = ["oid"]
[dependencies.thiserror]
version = "2.0.17"
[dependencies.tokio]
version = "1.54.1"
features = [
"macros",
"net",
"rt-multi-thread",
"signal",
"sync",
"time",
]
[dependencies.tokio-stream]
version = "0.1"
[dependencies.tower]
version = "0.5.2"
features = [
"limit",
"util",
]
[dependencies.tower-http]
version = "0.7.1"
features = [
"catch-panic",
"fs",
"set-header",
"timeout",
]
[dependencies.tracing]
version = "0.1"
[dependencies.url]
version = "2.5.9"
[dev-dependencies.async-stream]
version = "0.3"
[dev-dependencies.proa_assets]
version = "0.1.1"
features = ["build"]
[dev-dependencies.reqwest]
version = "0.13.5"
features = ["rustls"]
default-features = false
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tokio]
version = "1.54.1"
features = [
"macros",
"rt-multi-thread",
"test-util",
]
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(rust_analyzer)"]