Decision Workspace
darth-rust vs vld vs perl-regex
Side-by-side comparison of Rust crates
DarthRust is a Rust procedural macro library that aims to enhance developer productivity by auto-generating essential methods for struct manipulation. It provides a suite of macros that can be derived on any struct to equip it with a rich API for accessing and modifying fields, performing calculations, and handling input/output operations. With features like mutable and immutable getters, setters, JSON conversion methods, and custom printer functions for debugging, DarthRust streamlines the boilerplate code typically associated with struct management in Rust applications. It also includes unique methods for regex validation and range checking, further extending its utility. The library emphasizes ease of use, requiring only the addition of relevant crates and a simple derive attribute to unlock its full potential.
Type-safe runtime validation library for Rust, inspired by Zod
Regex parsing and validation helpers for Perl syntax
Core Metrics
| darth-rust | vld | perl-regex | |
|---|---|---|---|
| Health Score | 51 | 62 | 61 |
| Total Downloads | 86.5K | 1.4K | 1.9K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 16 | 234 | 14 |
| Releases | 70 | 5 | 14 |
| Last Updated | 741d ago | 11d ago | 15d ago |
| Age | 2y 8m | 5m | 4m |
Health Breakdown
Technical Details
| darth-rust | vld | perl-regex | |
|---|---|---|---|
| Version | 4.4.1 | 0.4.0 | 0.17.0 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✗ No |
| License | MIT | MIT | MIT OR Apache-2.0 |
| Dependencies | 13 | 21 | 1 |
| Crate Size | 13KB | 102KB | 31KB |
| Features | 15 | 16 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2024 |
| MSRV | — | 1.70 | 1.95 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •vld leads with a health score of 62/100, but none of the options score above 80.
- •darth-rust has the most downloads (86.5K), suggesting wider adoption.
- •vld is depended on by 234 crates — strongest ecosystem trust.
- •⚠ darth-rust has not been updated in over a year.
- •vld, perl-regex are pre-1.0 — API may change.