3 unstable releases

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

#27 in #integer-value

Download history 245/week @ 2023-12-06 291/week @ 2023-12-13 271/week @ 2023-12-20 176/week @ 2023-12-27 193/week @ 2024-01-03 286/week @ 2024-01-10 230/week @ 2024-01-17 150/week @ 2024-01-24 144/week @ 2024-01-31 226/week @ 2024-02-07 272/week @ 2024-02-14 185/week @ 2024-02-21 264/week @ 2024-02-28 264/week @ 2024-03-06 185/week @ 2024-03-13 334/week @ 2024-03-20

1,103 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

~1.5MB
~40K SLoC