toml icon indicating copy to clipboard operation
toml copied to clipboard

Rust TOML Parser

Results 98 toml issues
Sort by recently updated
recently updated
newest added

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)

C-enhancement
A-error

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...

C-enhancement
A-serde

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...

C-bug
A-output

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 = { |...

C-bug
A-parse
A-error

Unexpected `\0` shows as an invisible character See also https://github.com/Marwes/combine/issues/333

C-bug
A-error

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

C-bug
A-error

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...

C-bug
A-error

`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...

C-bug
A-edit

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)...

C-enhancement
A-edit