# use-toml
Practical TOML utility primitives for lightweight table, key, and string handling.
> Warning: versions below `0.3.0` are experimental and may change as the crate matures.
## Example Usage
```rust
use use_toml::{extract_toml_key_values, extract_toml_tables, quote_toml_string};
let tables = extract_toml_tables("[package]\nname = \"use-data\"\n");
let values = extract_toml_key_values("name = \"use-data\"\npublish = false\n");
assert_eq!(tables[0].name, "package");
assert_eq!(values[0].key, "name");
assert_eq!(quote_toml_string("line\nbreak"), "\"line\\nbreak\"");
```
## 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