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 232/week @ 2024-01-04 291/week @ 2024-01-11 191/week @ 2024-01-18 172/week @ 2024-01-25 128/week @ 2024-02-01 215/week @ 2024-02-08 272/week @ 2024-02-15 244/week @ 2024-02-22 243/week @ 2024-02-29 254/week @ 2024-03-07 191/week @ 2024-03-14 327/week @ 2024-03-21 382/week @ 2024-03-28 218/week @ 2024-04-04 232/week @ 2024-04-11 220/week @ 2024-04-18

1,076 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
~41K SLoC