litrs
v1.0.0 GrowingParse and inspect Rust literals (i.e. tokens in the Rust programming language representing fixed values). Particularly useful for proc macros, but can also be used outside of a proc-macro context.
Quick Verdict
- โStable API (1.x for 5+ years)
- โTrusted by 713 crates
- โTiny footprint (47KB, 2 deps)
- โPermissive license (MIT OR Apache-2.0)
Security
Deep Insights
12.2M downloads in the last 30 days (407.2K/day), up 19% from the previous period.
713 crates depend on litrs. Reasonable ecosystem adoption, though not yet a core dependency.
The API has been stable (1.x) for over 5 years with 13 releases. This level of maturity means you can depend on it without worrying about breaking changes.
Only 2 direct dependencies. Lean dependency tree means faster builds and lower supply chain risk.
At 46KB, litrs is lightweight. Small crate size correlates with focused, well-scoped functionality.
Notable dependents include document-features, stylist-macros, godot-macros, bunt-macros, pax-macro. When high-quality crates choose litrs, it's a strong quality signal.
Health Breakdown
Recency, release consistency, active ratio
Yanked ratio, deps, size, maturity, features
Reverse deps, ownership, ecosystem
Downloads, momentum, growth trend
Docs, repo, license, metadata