3 unstable releases

0.10.0 Mar 23, 2020
0.9.2 Feb 4, 2020
0.9.0 May 29, 2019

#28 in #integer-value

Download history 236/week @ 2024-03-03 225/week @ 2024-03-10 234/week @ 2024-03-17 346/week @ 2024-03-24 393/week @ 2024-03-31 190/week @ 2024-04-07 213/week @ 2024-04-14 264/week @ 2024-04-21 229/week @ 2024-04-28 229/week @ 2024-05-05 254/week @ 2024-05-12 236/week @ 2024-05-19 248/week @ 2024-05-26 200/week @ 2024-06-02 166/week @ 2024-06-09 274/week @ 2024-06-16

928 downloads per month
Used in 75 crates (via toml-query)

MPL-2.0 license

3KB

toml-query

Work with toml 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

Dependencies

~2MB
~41K SLoC