Decision Workspace
ogrim vs bon vs derive_builder
Side-by-side comparison of Rust crates
44
ogrim
growingv0.1.1
XML builder macro letting you write literal XML inside your Rust code (similar to `serde_json::json!`). Features interpolation, escaping, auto-close tags and minimal memory allocations.
76
bon
stablev3.9.1
Next-gen compile-time-checked builder generator, named function's arguments, and more!
60
derive_builder
growingv0.20.2
Rust macro to automatically implement the builder pattern for arbitrary structs.
Core Metrics
| ogrim | bon | derive_builder | |
|---|---|---|---|
| Health Score | 44 | 76 | 60 |
| Total Downloads | 4.3K | 26.3M | 119.0M |
| 30d Downloads | 165 | 4.5M | 10.7M |
| Dependents | 0 | 4.8K | 13.0K |
| Releases | 2 | 46 | 34 |
| Last Updated | 863d ago | 14d ago | 535d ago |
| Age | 2y 4m | 1y 9m | 9y 7m |
Health Breakdown
ogrim
Maintenance
4
Quality
15
Community
6
Popularity
4
Documentation
15
bon
Maintenance
18
Quality
21
Community
17
Popularity
8
Documentation
12
derive_builder
Maintenance
7
Quality
16
Community
17
Popularity
8
Documentation
12
Technical Details
| ogrim | bon | derive_builder | |
|---|---|---|---|
| Version | 0.1.1 | 3.9.1 | 0.20.2 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT/Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 1 | 6 | 5 |
| Crate Size | 13KB | 67KB | 37KB |
| Features | 0 | 7 | 4 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2018 |
| MSRV | 1.72 | 1.59.0 | — |
| Owners | 1 | 2 | 2 |
Links
Quick Verdict
- •bon leads with a health score of 76/100, but none of the options score above 80.
- •derive_builder has the most downloads (119.0M), suggesting wider adoption.
- •derive_builder is depended on by 13.0K crates — strongest ecosystem trust.
- •⚠ ogrim, derive_builder have not been updated in over a year.
- •ogrim, derive_builder are pre-1.0 — API may change.