3 unstable releases

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

#25 in #foo-bar

Download history 180/week @ 2024-07-22 281/week @ 2024-07-29 239/week @ 2024-08-05 189/week @ 2024-08-12 152/week @ 2024-08-19 331/week @ 2024-08-26 198/week @ 2024-09-02 240/week @ 2024-09-09 149/week @ 2024-09-16 234/week @ 2024-09-23 214/week @ 2024-09-30 36/week @ 2024-10-07 154/week @ 2024-10-14 151/week @ 2024-10-21 117/week @ 2024-10-28 186/week @ 2024-11-04

610 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
~45K SLoC