Decision Workspace
regex-range vs to-regex-range vs globset
Side-by-side comparison of Rust crates
42
regex-range
experimentalv0.2.0
compile a numeric min/max range into the smallest matching regex source string
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.
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
| regex-range | to-regex-range | globset | |
|---|---|---|---|
| Health Score | 42 | 49 | 63 |
| Total Downloads | 42 | 38 | 256.3M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 0 | 25.0K |
| Releases | 2 | 2 | 29 |
| Last Updated | 94d ago | 109d ago | 66d ago |
| Age | 3m | 3m | 10y |
Health Breakdown
regex-range
Maintenance
12
Quality
13
Community
5
Popularity
2
Documentation
10
to-regex-range
Maintenance
11
Quality
15
Community
6
Popularity
2
Documentation
15
globset
Maintenance
13
Quality
15
Community
12
Popularity
8
Documentation
15
Technical Details
| regex-range | to-regex-range | globset | |
|---|---|---|---|
| Version | 0.2.0 | 0.1.1 | 0.4.20 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT OR Apache-2.0 | Unlicense OR MIT |
| Dependencies | 2 | 0 | 9 |
| Crate Size | 347KB | 11KB | 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.