Decision Workspace
zyc_getset vs getset vs gset
Side-by-side comparison of Rust crates
32
zyc_getset
growingv0.0.4
当前 `crate`是对'getset' 的扩展。 主要添加了 `get_clone`来返回字段的克隆对象, 当为基础类型时 `get` 自动转为 `get_copy` , 当字段有自定义注解时,自动对 struct 的注解进行 `skip` , 当字段类型为 `Option<T>` 时,返回 `Option<&T>`, 同时方法默认为 `pub`级别。
56
getset
growingv0.1.7
Getset, we're ready to go! A procedural macro for generating the most basic getters and setters on fields.
50
gset
growingv1.1.0
A procedural macro for generating the most basic getters and setters on fields.
Core Metrics
| zyc_getset | getset | gset | |
|---|---|---|---|
| Health Score | 32 | 56 | 50 |
| Total Downloads | 3.9K | 81.4M | 31.6K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 4.8K | 23 |
| Releases | 5 | 17 | 11 |
| Last Updated | 655d ago | 121d ago | 808d ago |
| Age | 1y 10m | 9y 4m | 3y 9m |
Health Breakdown
zyc_getset
Maintenance
5
Quality
9
Community
5
Popularity
4
Documentation
9
getset
Maintenance
10
Quality
15
Community
14
Popularity
8
Documentation
9
gset
Maintenance
4
Quality
19
Community
9
Popularity
5
Documentation
13
Technical Details
| zyc_getset | getset | gset | |
|---|---|---|---|
| Version | 0.0.4 | 0.1.7 | 1.1.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT | MIT | MIT |
| Dependencies | 4 | 3 | 7 |
| Crate Size | 13KB | 11KB | 8KB |
| Features | 0 | 0 | 0 |
| Yanked % | 20.0% | 0.0% | 0.0% |
| Edition | 2018 | 2018 | 2021 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •getset leads with a health score of 56/100, but none of the options score above 80.
- •getset is depended on by 4.8K crates — strongest ecosystem trust.
- •⚠ zyc_getset, gset have not been updated in over a year.
- •zyc_getset, getset are pre-1.0 — API may change.