use-toml
Practical TOML utility primitives for lightweight table, key, and string handling.
Warning: versions below
0.3.0are experimental and may change as the crate matures.
Example Usage
use ;
let tables = extract_toml_tables;
let values = extract_toml_key_values;
assert_eq!;
assert_eq!;
assert_eq!;
Scope
- table and array-table detection
- conservative key-value splitting without a full TOML parser
- small string quoting and unquoting helpers
Non-Goals
- a full TOML parser
- Cargo-specific manifest logic
- full TOML type-system support
License
Licensed under either of the following, at your option:
- MIT License
- Apache License, Version 2.0