Expand description
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>
.
Structsยง
- Crash
OrmDatabase Fairing - Adds the CrashOrmDatabaseConnection to the rocket instance.