Registry / serialization / serde-ini

serde-ini

JSON →
library0.2.0rscratesunverified

Windows INI file serialization and deserialization using Serde.

# Cargo.toml [dependencies] serde_ini = "0.2.0"
INSTALL
IMPORT
SIG · SERDE-INI
S
serde-ini
serializationrustv0.2.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.

from_str
✓ use serde_ini::from_str;

Deserializes an INI string into a nested map.

use serde_ini::from_str; fn main() { let ini = "[section]\nkey=value"; let data: std::collections::BTreeMap<String, std::collections::BTreeMap<String, String>> = from_str(ini).unwrap(); println!("{:?}", data); }
Debug
Known issues
gotchaDoes not support all INI file quirks (e.g., comments, escape sequences).
fix
Preprocess the INI file to remove comments or escape sequences before parsing.
affects: >=0.2.0
Upgrade
Version history
0.2.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
34 hits · last 30 days
node
30
Resources
serde-ini — cargo add serde-ini · libregistry