#ript #merge #encryption

ript

Rust implementation of the InertiaJS protocol compatible with riptc for generating strong TypeScript bindings

24 releases

Uses new Rust 2024

new 0.1.3 Apr 23, 2025
0.1.2 Apr 21, 2025
0.0.21 Apr 2, 2025
0.0.10 Mar 28, 2025

#303 in Graphics APIs

Download history 14/week @ 2025-03-19 670/week @ 2025-03-26 1576/week @ 2025-04-02 285/week @ 2025-04-09 467/week @ 2025-04-16

3,012 downloads per month

MIT license

40KB
634 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