[package]
edition = "2021"
rust-version = "1.85"
name = "forma-server"
version = "3.0.0"
authors = ["Forma <victor@getforma.dev>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Axum middleware for Forma SSR: page rendering, asset serving, CSP, service worker"
homepage = "https://getforma.dev"
documentation = "https://docs.rs/forma-server"
readme = "README.md"
keywords = [
"ssr",
"axum",
"web-framework",
"islands",
"forma",
]
categories = ["web-programming::http-server"]
license = "MIT"
repository = "https://github.com/getforma-dev/forma"
[lib]
name = "forma_server"
path = "src/lib.rs"
[[example]]
name = "parity_render"
path = "examples/parity_render.rs"
[[example]]
name = "retiring_worker_source"
path = "examples/retiring_worker_source.rs"
[[test]]
name = "asset_integrity"
path = "tests/asset_integrity.rs"
[[test]]
name = "asset_sets"
path = "tests/asset_sets.rs"
[[test]]
name = "dev_reload"
path = "tests/dev_reload.rs"
[[test]]
name = "feature_isolation"
path = "tests/feature_isolation.rs"
[[test]]
name = "island_state"
path = "tests/island_state.rs"
[[test]]
name = "loader_refusal_logs"
path = "tests/loader_refusal_logs.rs"
[[test]]
name = "manifest_cache"
path = "tests/manifest_cache.rs"
[[test]]
name = "manifest_compatibility"
path = "tests/manifest_compatibility.rs"
[[test]]
name = "relaxation_log_bound"
path = "tests/relaxation_log_bound.rs"
[[test]]
name = "service_worker_named_off"
path = "tests/service_worker_named_off.rs"
[[test]]
name = "service_worker_off"
path = "tests/service_worker_off.rs"
[[test]]
name = "service_worker_on"
path = "tests/service_worker_on.rs"
[[test]]
name = "startup_results"
path = "tests/startup_results.rs"
[[test]]
name = "static_routes"
path = "tests/static_routes.rs"
[[test]]
name = "strict_loader"
path = "tests/strict_loader.rs"
[[test]]
name = "trusted_types_report_only"
path = "tests/trusted_types_report_only.rs"
[[test]]
name = "typed_pages"
path = "tests/typed_pages.rs"
[dependencies.axum]
version = "0.8"
[dependencies.base64]
version = "0.22"
[dependencies.forma-ir]
version = "=3.0.0"
[dependencies.ring]
version = "0.17"
[dependencies.rust-embed]
version = "8"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.tracing]
version = "0.1"
[dev-dependencies.forma-ir]
version = "=3.0.0"
features = [
"test-helpers",
"__fault-injection",
]
[dev-dependencies.tokio]
version = "1"
features = [
"macros",
"rt",
]
[lints.clippy]
dbg_macro = "warn"
indexing_slicing = "allow"
print_stderr = "warn"
print_stdout = "warn"
todo = "warn"
undocumented_unsafe_blocks = "warn"
unimplemented = "warn"
[lints.rust]
missing_debug_implementations = "warn"
missing_docs = "warn"
unreachable_pub = "warn"