Decision Workspace
fn-bnf vs lexical vs lexical-core
Side-by-side comparison of Rust crates
51
fn-bnf
growingv1.1.1
A parsing grammar generator that lets you use arbitrary Rust items as rules.
66
lexical
growingv7.0.5
Lexical, to- and from-string conversion routines.
65
lexical-core
growingv1.0.6
Lexical, to- and from-string conversion routines.
Core Metrics
| fn-bnf | lexical | lexical-core | |
|---|---|---|---|
| Health Score | 51 | 66 | 65 |
| Total Downloads | 3.7K | 26.9M | 107.1M |
| 30d Downloads | 7 | 1.1M | 6.2M |
| Dependents | 0 | 1.9K | 1.2K |
| Releases | 4 | 52 | 43 |
| Last Updated | 495d ago | 188d ago | 188d ago |
| Age | 1y 5m | 7y 5m | 7y 3m |
Health Breakdown
fn-bnf
Maintenance
5
Quality
21
Community
6
Popularity
4
Documentation
15
lexical
Maintenance
11
Quality
18
Community
17
Popularity
8
Documentation
12
lexical-core
Maintenance
10
Quality
19
Community
16
Popularity
8
Documentation
12
Technical Details
| fn-bnf | lexical | lexical-core | |
|---|---|---|---|
| Version | 1.1.1 | 7.0.5 | 1.0.6 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT/Apache-2.0 | MIT/Apache-2.0 |
| Dependencies | 1 | 1 | 5 |
| Crate Size | 23KB | 29KB | 30KB |
| Features | 3 | 17 | 17 |
| Yanked % | 0.0% | 42.3% | 7.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | 1.81.0 | 1.60.0 | 1.60.0 |
| Owners | 1 | 2 | 2 |
Links
Quick Verdict
- •lexical leads with a health score of 66/100, but none of the options score above 80.
- •lexical-core has the most downloads (107.1M), suggesting wider adoption.
- •lexical is depended on by 1.9K crates — strongest ecosystem trust.
- •⚠ fn-bnf has not been updated in over a year.