xmlparser

Build Status Crates.io Documentation Rust 1.18+

xmlparser is a low-level, pull-based, zero-allocation XML 1.0 parser.

Example

rust for token in xmlparser::Tokenizer::from("<tagname name='value'/>") { println!("{:?}", token); }

Why a new library

This library is basically a low-level XML tokenizer that preserves a position of the tokens and does not intend to be used directly. If you are looking for a more high-level solution - checkout roxmltree.

Benefits

Limitations

Safety

License

Licensed under either of

at your option.

Contribution

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.