Decision Workspace
duck-trait vs accessorise vs property
Side-by-side comparison of Rust crates
52
duck-trait
experimentalv0.13.1
Generate duck-typing accessor traits (get / set / get_mut): declare once in _fields.rs with fields!, every struct field implements them by default under #[props] — ignore fields with #[_prop], or use the scoped #[duck] marker api.
49
accessorise
growingv0.3.0
Add accessors to your struct and trait implementations.
44
property
growingv0.3.3
Generate several common methods for structs automatically.
Core Metrics
| duck-trait | accessorise | property | |
|---|---|---|---|
| Health Score | 52 | 49 | 44 |
| Total Downloads | 156 | 2.3K | 87.0K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 8 | 32 |
| Releases | 10 | 3 | 9 |
| Last Updated | 37d ago | 53d ago | 1979d ago |
| Age | 1m | 1y 5m | 7y 5m |
Health Breakdown
duck-trait
Maintenance
17
Quality
14
Community
6
Popularity
3
Documentation
12
accessorise
Maintenance
14
Quality
15
Community
6
Popularity
4
Documentation
10
property
Maintenance
5
Quality
15
Community
9
Popularity
6
Documentation
9
Technical Details
| duck-trait | accessorise | property | |
|---|---|---|---|
| Version | 0.13.1 | 0.3.0 | 0.3.3 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | Apache-2.0 OR MIT |
| Dependencies | 3 | 1 | 3 |
| Crate Size | 17KB | 9KB | 14KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2018 |
| MSRV | 1.85 | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •duck-trait leads with a health score of 52/100, but none of the options score above 80.
- •property has the most downloads (87.0K), suggesting wider adoption.
- •⚠ property has not been updated in over a year.