Registry / utility / litrs
library1.0.0rscratesunverified

Parse and inspect Rust literals, useful for proc macros and general Rust token analysis.

# Cargo.toml [dependencies] litrs = "1.0.0"
INSTALL
IMPORT
SIG · LITRS
L
litrs
utilityrustv1.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Literal
use litrs::Literal;

Parses a Rust literal string into a structured representation.

use litrs::Literal; fn main() { let lit = Literal::parse("42").expect("valid literal"); println!("{:?}", lit); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
litrs — cargo add litrs · libregistry