r-packages-parser
Lossless, failure-tolerant parsing, validation, building, and editing of R
repository PACKAGES indexes.
crates.io | API documentation | repository
The package name is r-packages-parser; the Rust library name is r_packages.
use Packages;
let packages = parse;
assert_eq!;
assert_eq!;
assert_eq!;
Every record remains accessible even when its DCF structure or typed fields are malformed. The API provides record-scoped immutable edits, canonical builders, typed field parsing, and index validation while preserving untouched source text exactly.
See the workspace overview for the lower-level syntax and semantic-value crates.
License
MIT