toml
toml copied to clipboard
Rust TOML Parser
toml-rs [supported this](https://github.com/alexcrichton/toml-rs/blob/master/src/de.rs#L2166) even if [it didn't always work well](https://github.com/crate-ci/typos/issues/405)
I'd love to expose `toml_edit::easy::Value` (identical to `toml-rs`'s `Value`?) in some public APIs in `guppy`. I'm thinking it could maybe be released as a separate crate (say `toml-value`), to allow...
While we intentionally chose to prefer `"` over `'` when no escaping is needed (because this is most likely what users will do), we should probably use `"""` to avoid...
Cargo has a test case with a multi-line inline table. The error message is ``` TOML parse error at line 8, column 27 | 8 | native = { |...
Unexpected `\0` shows as an invisible character See also https://github.com/Marwes/combine/issues/333
While `value=zzz` provides a nice error message (unexpected `z`, expected quoted string), but not `value=[zzz]` (`Expected 'newline' or '#'`) because of challenges with parsing optional trailing commas
This is a regression compared to toml-rs as found by cargo's test suites ``` ---- bad_config::malformed_override stdout ---- running `/home/epage/src/personal/cargo/target/debug/cargo build` thread 'bad_config::malformed_override' panicked at ' test failed running `/home/epage/src/personal/cargo/target/debug/cargo...
`TableLike::fmt` acts on the toml document table, and not on the in-memory data structure, so we limit it only to values. However, since we've added dotted keys, they also fall...
For example, if we insert an Integer over an integer, we keep the decor. If we merge a Table over a Table, we keep the type (inline vs standard, dotted)...