xmpp-rs/parsers
Jonas Schäfer 58698f633f xso: only take reference in transform
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.
2024-12-20 12:44:43 +01:00
..
examples parsers: Replace std stuff with alloc/core stuff 2024-12-19 20:45:38 +01:00
src xso: only take reference in transform 2024-12-20 12:44:43 +01:00
Cargo.toml parsers: Add Message::extract_valid_payload helper 2024-12-19 17:36:10 +01:00
ChangeLog parsers: Rename Message::get_best_owned to get_best_cloned 2024-12-20 00:29:03 +01:00
doap.xml xmpp-parsers: Fix jingle thumbnails wrt the XEP changes 2024-12-17 00:27:15 +01:00
LICENSE
README.md

xmpp-parsers

Whats 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.