3 unstable releases

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

#27 in #foo-bar

Download history 131/week @ 2024-11-17 237/week @ 2024-11-24 300/week @ 2024-12-01 262/week @ 2024-12-08 257/week @ 2024-12-15 57/week @ 2024-12-22 54/week @ 2024-12-29 194/week @ 2025-01-05 168/week @ 2025-01-12 161/week @ 2025-01-19 71/week @ 2025-01-26 277/week @ 2025-02-02 198/week @ 2025-02-09 109/week @ 2025-02-16 159/week @ 2025-02-23 55/week @ 2025-03-02

594 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
~44K SLoC