Decision Workspace
to-regex-range vs regex-range vs globset
Side-by-side comparison of Rust crates
49
to-regex-range
experimentalv0.1.1
Generate a compact regex that matches an integer range: (1, 99) -> [1-9]|[1-9][0-9]. A faithful port of the to-regex-range npm package. Zero dependencies, no_std.
42
regex-range
experimentalv0.2.0
compile a numeric min/max range into the smallest matching regex source string
63
globset
growingv0.4.20
Cross platform single glob and glob set matching. Glob set matching is the process of matching one or more glob patterns against a single candidate path simultaneously, and returning all of the globs that matched.
Core Metrics
| to-regex-range | regex-range | globset | |
|---|---|---|---|
| Health Score | 49 | 42 | 63 |
| Total Downloads | 38 | 42 | 256.3M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 0 | 25.0K |
| Releases | 2 | 2 | 29 |
| Last Updated | 109d ago | 94d ago | 66d ago |
| Age | 3m | 3m | 10y |
Health Breakdown
to-regex-range
Maintenance
11
Quality
15
Community
6
Popularity
2
Documentation
15
regex-range
Maintenance
12
Quality
13
Community
5
Popularity
2
Documentation
10
globset
Maintenance
13
Quality
15
Community
12
Popularity
8
Documentation
15
Technical Details
| to-regex-range | regex-range | globset | |
|---|---|---|---|
| Version | 0.1.1 | 0.2.0 | 0.4.20 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT | Unlicense OR MIT |
| Dependencies | 0 | 2 | 9 |
| Crate Size | 11KB | 347KB | 30KB |
| Features | 0 | 0 | 4 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2024 |
| MSRV | 1.74 | — | 1.88 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •globset leads with a health score of 63/100, but none of the options score above 80.
- •globset is depended on by 25.0K crates — strongest ecosystem trust.