#orm #framework #async

crash_orm_rocket

Integration for Crash ORM into rocket

3 releases

0.7.2 Dec 11, 2024
0.7.1 Dec 5, 2024
0.7.0 Dec 5, 2024

#1253 in Database interfaces

Download history 304/week @ 2024-12-05 69/week @ 2024-12-12

373 downloads per month

MIT license

125KB
2K SLoC

Crash ORM Rocket integration

This is an integration for Crash ORM into rocket.

See the provided tests to learn how to use this library.


lib.rs:

This crate integrates crash_orm into rocket.

To use this crate, attach the [CrashOrmDatabaseFairing] or [CrashOrmDatabaseMigrationFairing] to your rocket instance.

You can then access your configured connection with the request guard &State<CrashOrmDatabaseConnection>.

Dependencies

~19–50MB
~861K SLoC