Expand description
TOML conversion support for Eure format.
This crate provides conversion from TOML documents to Eure’s SourceDocument,
preserving section ordering.
§Example
use eure_toml::to_source_document;
let toml_str = r#"
[server]
host = "localhost"
port = 8080
"#;
let source_doc = to_source_document(toml_str).unwrap();Structs§
Enums§
- Toml
ToEure Error - Errors that can occur when converting TOML to SourceDocument.
Functions§
- build_
source_ doc - Build a Doc IR from a SourceDocument.
- format_
source_ document - Format a SourceDocument to Eure source string.
- to_
source_ document - Convert a TOML string to a SourceDocument.