8 releases

Uses old Rust 2015

0.3.4 Aug 9, 2020
0.3.3 Aug 8, 2020
0.3.2 Apr 11, 2017
0.3.1 Mar 30, 2017
0.2.2 Mar 22, 2017

#23 in #xpath

GPL-2.0 license

42KB
592 lines

vtd_xml.rs crate docs patreon

Rust VTD-XML wrapper.

VTD-XML indexes the XML documents instead of loading them fully into the RAM. This makes for a very fast parsing indexing step and plays nicely with memory mapping. It uses a cloneable cursor to navigate the XML index, which is almost as convenient as having a DOM tree. XPath queries are supported as well (see the unit test), though as of now they lack a high-level Rust wrapper.

Supported environments: Debian, Ubuntu.

Needs the Nightly version of Rust (because the "test" crate is unstable).

Dependencies

~3MB
~45K SLoC