Decision Workspace
xdoc-macros vs ogrim vs bon
Side-by-side comparison of Rust crates
54
xdoc-macros
experimentalv0.1.3
Procedural macros for xdoc
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.
78
bon
stablev3.10.2
Next-gen compile-time-checked builder generator, named function's arguments, and more!
Core Metrics
| xdoc-macros | ogrim | bon | |
|---|---|---|---|
| Health Score | 54 | 44 | 78 |
| Total Downloads | 185 | 4.8K | 64.8M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 3 | 0 | 10.5K |
| Releases | 4 | 2 | 51 |
| Last Updated | 52d ago | 1059d ago | 7d ago |
| Age | 3m | 2y 11m | 2y 3m |
Health Breakdown
xdoc-macros
Maintenance
15
Quality
14
Community
7
Popularity
3
Documentation
15
ogrim
Maintenance
4
Quality
15
Community
6
Popularity
4
Documentation
15
bon
Maintenance
19
Quality
22
Community
17
Popularity
8
Documentation
12
Technical Details
| xdoc-macros | ogrim | bon | |
|---|---|---|---|
| Version | 0.1.3 | 0.1.1 | 3.10.2 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT/Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 3 | 1 | 5 |
| Crate Size | 12KB | 13KB | 67KB |
| Features | 0 | 0 | 7 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2024 |
| MSRV | 1.85 | 1.72 | 1.88.0 |
| Owners | 1 | 1 | 2 |
Links
Quick Verdict
- •bon leads with a health score of 78/100, but none of the options score above 80.
- •bon is depended on by 10.5K crates — strongest ecosystem trust.
- •⚠ ogrim has not been updated in over a year.
- •xdoc-macros, ogrim are pre-1.0 — API may change.