toml
toml copied to clipboard
Rust TOML Parser
This would allow us to switch the internals to a `Table`, simplifying calling code
I would expect time to convert pretty naturally to `std::time::Duration` but that's not the case
```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 } "#, )...
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...
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...
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...
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...
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); }...