axum-inertia

Crates.ioaxum-inertia
lib.rsaxum-inertia
version
sourcesrc
created_at2023-11-01 20:58:55.934222
updated_at2024-12-05 23:32:01.971505
descriptionAn implementation of the Inertia.js protocol for Axum
homepage
repositoryhttps://github.com/mjhoy/axum-inertia
max_upload_size
id1021769
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`
size0
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 release --execute (requires cargo-release)
  5. Merge PR if all goes well
Commit count: 80

cargo fmt