Expand description
Record-Jar structured text database reader for Rust.
recordjar parses Record-JAR files: records separated by %%
lines, each holding name: value fields. Part of the cross-language
Open-RJ family (see openrj for the C implementation).
§Components
§Types
Database— a parsed Record-JAR database;Record— a record with comment and fields;Field— a singlename: valuepair;ParseFlags— parse-time behaviour flags;Error— operation and parse errors;ParseErrorDetail— line/column parse failure detail;ParseErrorKind— parse error classification;
§Functions
Database::from_str()— parse from memory;Database::from_path()— parse from a file path;
Structs§
- Database
- A parsed Record-JAR database.
- Field
- A single
name: valuefield within a record. - Parse
Error Detail - Location and kind of a parse failure.
- Parse
Flags - Flags passed when parsing a Record-JAR database.
- Record
- A Record-JAR record: a comment and an ordered list of fields.
Enums§
- Error
- Top-level error type for recordjar operations.
- Parse
Error Kind - Parsing error kind.
Type Aliases§
- Result
- Result type alias for recordjar operations.