Skip to main content

Crate huml_rs

Crate huml_rs 

Source

Modules§

serde
Serde integration for HUML format

Structs§

HumlDocument
ParseError
Rich parser error with line/column diagnostics.

Enums§

HumlNumber
HumlValue

Constants§

HUML_VERSION
HUML specification version supported by this parser

Functions§

parse_document_root
Parse just the root value from a HUML document snippet.
parse_empty_dict
Parse the shorthand empty dict ({}).
parse_empty_list
Parse the shorthand empty list ([]).
parse_huml
Parse a complete HUML document, including the optional %HUML version line.
parse_inline_dict
Parse an inline dict separated by commas.
parse_inline_list
Parse an inline list separated by commas.
parse_scalar
Parse an inline scalar (strings, numbers, bools, null, special floats).

Type Aliases§

IResult
Result type used by all parser helpers. This mirrors the old nom::IResult interface so that downstream code can continue to destructure (remaining, value) tuples.