Skip to main contentCrate hk_parser
Source - HkError
- Custom error type for parsing .hk files.
- HkValue
- Enum for values in the .hk config: supports strings, numbers, booleans, arrays, and maps.
- load_hk_file
- Loads and parses a .hk file from the given path.
- parse_hk
- Parses a .hk file from a string input.
- resolve_interpolations
- Resolves interpolations in the config, including env vars and references.
- serialize_hk
- Serializes a HkConfig back to a .hk string, preserving key order.
- write_hk_file
- HkConfig
- Represents the structure of a .hk file.
Sections are top-level keys in the outer IndexMap to preserve order.