Decision Workspace
nest-rs-seaorm vs nest-rs-database vs nest-rs-resource
Side-by-side comparison of Rust crates
SeaORM for NestRS: the adapter that wraps sea-orm. `SeaOrmModule::for_root` opens the one pool (`NESTRS_SEAORM__*`); `SeaOrmDatabaseModule` binds the `nest-rs-database` port over it (`Repo`, the ambient executor, the request layers). Transport extractors (`Bind`, `LoaderScope`, `WsDataContext`) live behind Cargo features.
ORM-agnostic data-layer seam for NestRS: the ambient request/job Executor task-local plus the object-safe Executor trait an ORM module implements. SeaORM is the first-party implementation (nest-rs-seaorm), and the trait is public so other stores can be written against it.
Expose a SeaORM entity to REST/OpenAPI (wire DTO) from one declaration, via the #[expose] attribute; optional GraphQL surface with the `graphql` flag + feature.
Core Metrics
| nest-rs-seaorm | nest-rs-database | nest-rs-resource | |
|---|---|---|---|
| Health Score | 55 | 58 | 59 |
| Total Downloads | 474 | 745 | 575 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 19 | 52 | 51 |
| Releases | 19 | 19 | 19 |
| Last Updated | 41d ago | 41d ago | 41d ago |
| Age | 4m | 4m | 4m |
Health Breakdown
Technical Details
| nest-rs-seaorm | nest-rs-database | nest-rs-resource | |
|---|---|---|---|
| Version | 6.1.0 | 6.1.0 | 6.1.0 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✓ Yes |
| License | MIT | MIT | MIT |
| Dependencies | 28 | 1 | 12 |
| Crate Size | 135KB | 6KB | 44KB |
| Features | 7 | 0 | 2 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2024 |
| MSRV | 1.97 | 1.97 | 1.97 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •nest-rs-resource leads with a health score of 59/100, but none of the options score above 80.
- •nest-rs-database has the most downloads (745), suggesting wider adoption.