12 releases (7 breaking)

0.8.2 Jun 18, 2025
0.8.1 Mar 17, 2025
0.7.0 Mar 3, 2025
0.6.0 Dec 5, 2024
0.2.0 Nov 28, 2023

#783 in HTTP server

Download history 41/week @ 2025-03-19 14/week @ 2025-03-26 2/week @ 2025-04-23 7/week @ 2025-05-07 17/week @ 2025-05-14 140/week @ 2025-06-18 8/week @ 2025-06-25 1/week @ 2025-07-02

149 downloads per month
Used in ruskit

MIT/Apache

42KB
847 lines

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. Merge PR
  5. On the commit on master, run cargo release (requires cargo-release -- this dry runs as a default to test)
  6. Update main branch locally and run cargo release --execute

Dependencies

~6–15MB
~196K SLoC