You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Matthias Beyer c1cc4c7b90 Update minimum rustc version to 1.32.0 4 days ago
.github Rewrite github templates 4 months ago
src Warn when not using 2018 idioms 3 weeks ago
toml-query_derive Warn when not using 2018 idioms 3 weeks ago
.gitignore Initial import 2 years ago
.travis.yml Update minimum rustc version to 1.32.0 4 days ago
CHANGELOG.md Add changelog for 0.9.1 2 months ago
Cargo.toml Merge pull request #47 from lzutao/rustfmt 3 months ago
LICENSE Initial import 2 years ago
README.md Revert "Add vacation notice" 6 months ago

README.md

toml-query

Work with [toml-rs]() Value objects in an easy way:

value.read("foo.bar.a.b.c")                       // -> Result<Option<&Value>, Error>
value.set("foo.bar.a.b.c", Value::Integer(1))     // -> Result<Option<Value>, Error>
value.insert("foo.bar.a.b.c", Value::Integer(1))  // -> Result<Option<Value>, Error>
value.delete("foo.bar.a.b.c")                     // -> Result<Option<Value>, Error>

Development

This library was developed using a Test-Driven-Development approach from the ground up.

Goals:

  • Nice, clean and human-readable error messages in the Error types
  • Easy to use library

Non-Goals:

  • High performance. TOML objects shouldn’t be enormous. The library may get faster at some point in time, but it is not a primary goal of the development.

License

MPL 2.0