Decision Workspace
structural-typing vs structural-typing-macros vs bon
Side-by-side comparison of Rust crates
49
structural-typing
experimentalv0.1.9
Type-level field presence tracking for Rust structs, inspired by TypeScript
50
structural-typing-macros
experimentalv0.1.9
Procedural macros for structural-typing crate
76
bon
stablev3.9.1
Next-gen compile-time-checked builder generator, named function's arguments, and more!
Core Metrics
| structural-typing | structural-typing-macros | bon | |
|---|---|---|---|
| Health Score | 49 | 50 | 76 |
| Total Downloads | 313 | 422 | 26.3M |
| 30d Downloads | 12 | 30 | 4.5M |
| Dependents | 0 | 10 | 4.8K |
| Releases | 10 | 10 | 46 |
| Last Updated | 121d ago | 121d ago | 14d ago |
| Age | 4m | 4m | 1y 9m |
Health Breakdown
structural-typing
Maintenance
13
Quality
15
Community
6
Popularity
3
Documentation
12
structural-typing-macros
Maintenance
13
Quality
13
Community
9
Popularity
3
Documentation
12
bon
Maintenance
18
Quality
21
Community
17
Popularity
8
Documentation
12
Technical Details
| structural-typing | structural-typing-macros | bon | |
|---|---|---|---|
| Version | 0.1.9 | 0.1.9 | 3.9.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 5 | 4 | 6 |
| Crate Size | 20KB | 16KB | 67KB |
| Features | 2 | 0 | 7 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2021 |
| MSRV | 1.85 | 1.85 | 1.59.0 |
| Owners | 1 | 1 | 2 |
Links
Quick Verdict
- •bon leads with a health score of 76/100, but none of the options score above 80.
- •bon is depended on by 4.8K crates — strongest ecosystem trust.
- •structural-typing, structural-typing-macros are pre-1.0 — API may change.