3 releases

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

#2617 in Database interfaces

Download history 171/week @ 2024-12-11 1/week @ 2024-12-18 3/week @ 2025-01-08 3/week @ 2025-02-05 9/week @ 2025-02-19

92 downloads per month

MIT license

125KB
2K SLoC

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>.


Crash ORM Rocket integration

This is an integration for Crash ORM into rocket.

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

Dependencies

~20–51MB
~886K SLoC