58698f633f
This avoids the need for an expensive clone. Since we switched to AsXml instead of IntoXml, we don't necessarily have to clone the data when building new elements, only when it's absolutely necessary. The clones then happen implicitly in the ItemToEvent iterator used internally. This mostly fixes #86, with the caveat that there's no absolutely cheap test: On success, the entire element will be copied, while on failure, you learn about it rather quickly. |
||
---|---|---|
.. | ||
examples | ||
src | ||
Cargo.toml | ||
ChangeLog | ||
doap.xml | ||
LICENSE | ||
README.md |
xmpp-parsers
What’s this?
A crate which provides parsers and serialisers for most XMPP elements, to avoid having to deal with XML manually. It validates its inputs by default, and aims at providing useful errors when a particular XML element was invalid.
What license is it under?
MPL-2.0 or later, see the LICENSE
file.