Decision Workspace
field-visibility vs fully_pub vs struct-to-enum
Side-by-side comparison of Rust crates
35
field-visibility
growingv0.1.0
Attribute to specify the visibility of all fields in a Rust struct
51
fully_pub
growingv0.1.4
Macro that makes multiple items or fields public at once
47
struct-to-enum
growingv1.1.2
Derive macros to generate enums from struct fields - compile-time safe field selection and dispatch
Core Metrics
| field-visibility | fully_pub | struct-to-enum | |
|---|---|---|---|
| Health Score | 35 | 51 | 47 |
| Total Downloads | 1.3K | 7.9K | 3.1K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 5 | 0 |
| Releases | 1 | 5 | 5 |
| Last Updated | 768d ago | 1279d ago | 205d ago |
| Age | 2y 1m | 3y 6m | 7m |
Health Breakdown
field-visibility
Maintenance
1
Quality
15
Community
5
Popularity
4
Documentation
10
fully_pub
Maintenance
10
Quality
15
Community
8
Popularity
5
Documentation
13
struct-to-enum
Maintenance
11
Quality
15
Community
5
Popularity
4
Documentation
12
Technical Details
| field-visibility | fully_pub | struct-to-enum | |
|---|---|---|---|
| Version | 0.1.0 | 0.1.4 | 1.1.2 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 3 | 2 | 1 |
| Crate Size | 2KB | 8KB | 5KB |
| Features | 0 | 0 | 4 |
| Yanked % | 0.0% | 0.0% | 20.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | — | 1.71.0 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •fully_pub leads with a health score of 51/100, but none of the options score above 80.
- •⚠ field-visibility, fully_pub have not been updated in over a year.
- •field-visibility, fully_pub are pre-1.0 — API may change.