Decision Workspace
diesel-sqlite-struct-json-text vs diesel-derive-enum vs sea-orm-codegen
Side-by-side comparison of Rust crates
37
diesel-sqlite-struct-json-text
experimentalv0.1.2
This proc macro attribute will allow you to store the target struct as json in TEXT field in diesel sqlite.
50
diesel-derive-enum
growingv2.1.0
Derive diesel boilerplate for using enums in databases
72
sea-orm-codegen
stablev1.1.19
Code Generator for SeaORM
Core Metrics
| diesel-sqlite-struct-json-text | diesel-derive-enum | sea-orm-codegen | |
|---|---|---|---|
| Health Score | 37 | 50 | 72 |
| Total Downloads | 1.4K | 4.8M | 378.4K |
| 30d Downloads | 6 | 154.3K | 17.2K |
| Dependents | 0 | 541 | 159 |
| Releases | 3 | 19 | 125 |
| Last Updated | 291d ago | 367d ago | 18d ago |
| Age | 9m | 8y 2m | 4y 7m |
Health Breakdown
diesel-sqlite-struct-json-text
Maintenance
9
Quality
14
Community
3
Popularity
4
Documentation
7
diesel-derive-enum
Maintenance
5
Quality
17
Community
10
Popularity
8
Documentation
10
sea-orm-codegen
Maintenance
19
Quality
18
Community
13
Popularity
7
Documentation
15
Technical Details
| diesel-sqlite-struct-json-text | diesel-derive-enum | sea-orm-codegen | |
|---|---|---|---|
| Version | 0.1.2 | 2.1.0 | 1.1.19 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 3 | 4 | 7 |
| Crate Size | 3KB | 13KB | 36KB |
| Features | 0 | 3 | 0 |
| Yanked % | 0.0% | 10.5% | 2.4% |
| Edition | 2024 | 2021 | 2021 |
| MSRV | — | — | 1.65 |
| Owners | 1 | 1 | 2 |
Links
Quick Verdict
- •sea-orm-codegen leads with a health score of 72/100, but none of the options score above 80.
- •diesel-derive-enum has the most downloads (4.8M), suggesting wider adoption.
- •diesel-derive-enum is depended on by 541 crates — strongest ecosystem trust.
- •⚠ diesel-derive-enum has not been updated in over a year.
- •diesel-sqlite-struct-json-text is pre-1.0 — API may change.