Decision Workspace
zyc_getset vs getset vs gset
Side-by-side comparison of Rust crates
35
zyc_getset
growingv0.0.4
当前 `crate`是对'getset' 的扩展。 主要添加了 `get_clone`来返回字段的克隆对象, 当为基础类型时 `get` 自动转为 `get_copy` , 当字段有自定义注解时,自动对 struct 的注解进行 `skip` , 当字段类型为 `Option<T>` 时,返回 `Option<&T>`, 同时方法默认为 `pub`级别。
51
getset
growingv0.1.6
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 | 35 | 51 | 50 |
| Total Downloads | 3.8K | 43.1M | 26.0K |
| 30d Downloads | 7 | 4.8M | 559 |
| Dependents | 0 | 3.9K | 10 |
| Releases | 5 | 16 | 11 |
| Last Updated | 459d ago | 283d ago | 612d ago |
| Age | 1y 3m | 8y 10m | 3y 2m |
Health Breakdown
zyc_getset
Maintenance
8
Quality
9
Community
5
Popularity
4
Documentation
9
getset
Maintenance
6
Quality
14
Community
14
Popularity
8
Documentation
9
gset
Maintenance
6
Quality
18
Community
8
Popularity
5
Documentation
13
Technical Details
| zyc_getset | getset | gset | |
|---|---|---|---|
| Version | 0.0.4 | 0.1.6 | 1.1.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT | MIT | MIT |
| Dependencies | 4 | 4 | 7 |
| Crate Size | 13KB | 10KB | 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 51/100, but none of the options score above 80.
- •getset is depended on by 3.9K 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.