Crates.io | toml-query |
lib.rs | toml-query |
version | 0.10.0 |
source | src |
created_at | 2017-05-16 19:48:16.889791 |
updated_at | 2020-03-23 13:44:50.870425 |
description | Library to work with toml::Value objects more conveniently |
homepage | |
repository | https://github.com/matthiasbeyer/toml-query |
max_upload_size | |
id | 14854 |
size | 156,935 |
Work with toml-rs 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>
This library was developed using a Test-Driven-Development approach from the ground up.
Goals:
Error
typesNon-Goals:
MPL 2.0