Rust wrapper for libxml2.
The main goal of this project is to benefit from libxml2's maturity and stability while the native Rust XML crates mature to be near-drop-in replacements.
As of the 0.2.0
release of the crate, there are some modest safety guarantees:
Rc<RefCell<T>>
wrappers to ensure runtime safety of libxml2 operations already in the Rust layer.Node
and Document
objects have automatic bookkeeping and deallocation on drop, for leak-free wrapper use.Coverage: Only covers a subset of libxml2 at the moment, contributions are welcome. We try to increase support with each release.
Welcome! With these caveats, the contributors to the project are migrating production work towards Rust and find a continuing reliance on libxml2 a helpful relief for initial ports. As such, contributions to this crate are welcome, if your workflow is not yet fully supported.