10 releases
Uses new Rust 2024
new 0.0.10 | Mar 28, 2025 |
---|---|
0.0.9 | Mar 28, 2025 |
#34 in #merge
169 downloads per month
42KB
693 lines
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.
Dependencies
~9–17MB
~228K SLoC