Decision Workspace
surrealex vs somnia-derive vs somnia-core
Side-by-side comparison of Rust crates
52
surrealex
growingv1.1.0
Dead simple SurrealDB query generator
53
somnia-derive
experimentalv0.8.1
Derive macros for somnia — #[derive(SurrealRecord)] for type-safe SurrealDB records and schema.
52
somnia-core
experimentalv0.8.1
Type-safe SurrealDB query builder and expression tree — core of the somnia ORM.
Core Metrics
| surrealex | somnia-derive | somnia-core | |
|---|---|---|---|
| Health Score | 52 | 53 | 52 |
| Total Downloads | 2.2K | 569 | 565 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 16 | 16 |
| Releases | 11 | 16 | 16 |
| Last Updated | 235d ago | 60d ago | 60d ago |
| Age | 1y 3m | 4m | 4m |
Health Breakdown
surrealex
Maintenance
10
Quality
20
Community
8
Popularity
4
Documentation
10
somnia-derive
Maintenance
15
Quality
14
Community
9
Popularity
3
Documentation
12
somnia-core
Maintenance
15
Quality
13
Community
9
Popularity
3
Documentation
12
Technical Details
| surrealex | somnia-derive | somnia-core | |
|---|---|---|---|
| Version | 1.1.0 | 0.8.1 | 0.8.1 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✗ No |
| License | MIT | Apache-2.0 | Apache-2.0 |
| Dependencies | 0 | 3 | 6 |
| Crate Size | 15KB | 8KB | 43KB |
| Features | 1 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2021 | 2021 |
| MSRV | — | 1.95 | 1.95 |
| Owners | 2 (team) | 1 | 1 |
Links
Quick Verdict
- •somnia-derive leads with a health score of 53/100, but none of the options score above 80.
- •surrealex has the most downloads (2.2K), suggesting wider adoption.
- •somnia-derive, somnia-core are pre-1.0 — API may change.