Crates.io | axum-inertia |
lib.rs | axum-inertia |
version | |
source | src |
created_at | 2023-11-01 20:58:55.934222 |
updated_at | 2024-12-05 23:32:01.971505 |
description | An implementation of the Inertia.js protocol for Axum |
homepage | |
repository | https://github.com/mjhoy/axum-inertia |
max_upload_size | |
id | 1021769 |
Cargo.toml error: | TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
Implementation of the inertia.js protocol for axum.
Provides an Inertia
axum extractor to render responses like so:
async fn get_posts(i: Inertia) -> impl IntoResponse {
i.render("Posts/Index", json!({ "posts": vec!["post one", "post two"] }))
}
See crate documentation for more information.
bump-vX.X.X
branchCHANGELOG
; start a new [Unreleased]
sectionCargo.toml
cargo release --execute
(requires cargo-release)