axum-inertia

Crates.ioaxum-inertia
lib.rsaxum-inertia
version0.9.0
created_at2023-11-01 20:58:55.934222+00
updated_at2025-07-25 16:05:24.538423+00
descriptionAn implementation of the Inertia.js protocol for Axum
homepage
repositoryhttps://github.com/mjhoy/axum-inertia
max_upload_size
id1021769
size96,626
Mikey Hoy (mjhoy)

documentation

README

Crates.io Documentation

axum-inertia

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.

Making a new release

  1. Spin off a bump-vX.X.X branch
  2. Update the CHANGELOG; start a new [Unreleased] section
  3. Bump the version number in Cargo.toml
  4. Run cargo build (this updates Cargo.lock
  5. Run cargo release (this will run a dry-run, requires cargo-release)
  6. Merge PR
  7. Update main branch locally and run cargo release --execute
Commit count: 116

cargo fmt