tomlsmith
tomlsmith is the lossless, error-tolerant language core behind the TomlSmith TOML toolchain. It supports strict TOML 1.0 and 1.1 parsing, diagnostics, decoded values, source-backed highlighting, and guarded formatting through an immutable Document snapshot.
use ;
let document = parse_as;
assert!;
assert_eq!;
Document::highlights returns source-backed classifications for values and structure, including distinct variants for regular tables, arrays of tables, scalar keys, array-valued keys, and inline-table-valued keys.
See the TomlSmith repository for the CLI, language server, conformance scope, and support policy.