A low-level, pull-based, zero-allocation XML 1.0 parser.
APACHE-2.0 License
xmlparser is a low-level, pull-based, zero-allocation XML 1.0 parser.
for token in xmlparser::Tokenizer::from("<tagname name='value'/>") {
println!("{:?}", token);
}
This library is basically a low-level XML tokenizer that preserves the positions of the tokens and is not intended to be used directly.
If you are looking for a higher level solution, check out roxmltree.
StrSpan
structs which represent the position of thecargo-bloat
.no_std
builds. To use without the standard library, disable the<root><child></root></child>
or a string without root element will be<a/><a/>
will lead to an error.<item a="v1" a="v2"/>
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.