parco-xml-0.1.3 has been yanked.
Parco XML
Parco XML is a zero-copy XML deserialization library for Rust, designed to generate highly efficient parsing code. It allows you to extract only the fields you need without traversing unnecessary parts of the XML, making it fast and memory-efficient.
With Parco XML, you can define your data structures and mapping to XML declaratively using the dexml! macro. The library also supports custom parsing logic for individual fields, enabling validation and specialized deserialization when needed.
Example
use ;
dexml!
let src = "
<soap:Envelope>
<soap:Body id=\"123\" soap:mustUnderstand=\"1\">
<Response>
<UserToken>
example token
</UserToken>
<Expires>
2030-01-01
</Expires>
</Response>
</soap:Body>
</soap:Envelope>
";
let res = dexml.unwrap;
println!;