#ript #merge #encryption

ript

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

22 releases

Uses new Rust 2024

new 0.1.1 Apr 19, 2025
0.1.0 Apr 8, 2025
0.0.21 Apr 2, 2025
0.0.10 Mar 28, 2025

#308 in Graphics APIs

Download history 546/week @ 2025-03-23 1382/week @ 2025-03-30 576/week @ 2025-04-06 184/week @ 2025-04-13

2,700 downloads per month

MIT license

39KB
626 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
~229K SLoC