Registry / config / toml-query

toml-query

JSON →
library0.11.0rscratesunverified

A library for querying and manipulating toml::Value objects with a convenient API.

# Cargo.toml [dependencies] toml-query = "0.11.0"
INSTALL
IMPORT
SIG · TOML-QUERY
T
toml-query
configrustv0.11.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Query
use toml_query::query::Query;

Queries a TOML value using a dot-separated path.

use toml_query::query::Query; use toml::Value; let toml_str = "[package]\nname = \"my_crate\""; let value: Value = toml::from_str(toml_str).unwrap(); let query = Query::new("package.name"); if let Some(name) = query.query(&value) { println!("Name: {}", name); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.11.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
43 hits · last 30 days
node
40
OpenAI (training)
1
Resources
toml-query — cargo add toml-query · libregistry