3 unstable releases

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

#21 in #integer-value

Download history 239/week @ 2025-12-13 307/week @ 2025-12-20 203/week @ 2025-12-27 231/week @ 2026-01-03 84/week @ 2026-01-10 291/week @ 2026-01-17 379/week @ 2026-01-24 297/week @ 2026-01-31 164/week @ 2026-02-07 246/week @ 2026-02-14 342/week @ 2026-02-21 2855/week @ 2026-02-28 4092/week @ 2026-03-07 388/week @ 2026-03-14 331/week @ 2026-03-21 1249/week @ 2026-03-28

7,387 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
~48K SLoC