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

This would allow us to switch the internals to a `Table`, simplifying calling code

C-enhancement
M-breaking-change
A-edit

I would expect time to convert pretty naturally to `std::time::Duration` but that's not the case

C-enhancement
A-serde

```rust use std::str::FromStr; use toml_edit::{Document, Item, Table}; fn main() { let mut val = Document::from_str( r#" # hello i'm a comment foo = { bar = 1 } "#, )...

C-bug
M-breaking-change
A-edit

It seems a bit silly to make a library about reading toml files but the examples provided "decode.rs" and "enum_external.rs" both read from a string variable embedded in the code,...

Context: I have a custom wrapper on top of `toml_edit` that allows carrying around a mix of mutable references and owned data. I was severely confused by `Item::None` and its...

C-enhancement
A-edit

For context, I am writing a command line application that provides configuration support via a TOML file. Much like how Git provides the `config` command to set config values, my...

C-bug
M-breaking-change
A-serde

I think `Spanned` should be just a POD with all its fields public or at least the `value` field should be. Not being public makes matching extra annoying. My use...

C-enhancement
A-serde

I would expect to be the case because the docs says it is the preferred way when appropriate: https://toml.io/en/v1.0.0#filename-extension. I guess what they mean by that, is when the table...

C-question
A-serde

The current `TableLike` apis uses `dyn TableLike` without `Send` or `Sync`, while there is unlikely to be anything that blocks them from being `Send` or `Sync`. To extend the usage...

`toml` crate fail to work with `typetag` with vector of trait object during serializing, but serde_json works: ```rust use serde::{Serialize, Deserialize}; #[typetag::serde(tag = "type")] trait WebEvent { fn inspect(&self); }...

C-bug
A-serde