ript
is a crate for implementing a Rusty version of the Inertia.js
protocol as a layer on top of Axum. This provides 100% conformity
to the inertia protocol and is directly compatible with the inertiajs javascript package, while providing
an additional feature set and a more ergonomic API for rust. Additionally, ript
implements some
things differently from the original Laravel implementation, such as different error handling around validation.
To get started with ript
, simply set up an axum server like normal, and then add a response middleware
utilizing the [crate::driver::driver
] function.
Then, you can write any handlers you desire using the [crate::Inertia
] extractor.