xmpp-rs/xso-proc/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
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
..
field xso-proc: Replace std stuff with alloc/core stuff 2024-12-19 20:51:56 +01:00
common.rs xso-proc: introduce trait for StructDef 2024-08-01 15:26:38 +02:00
compound.rs xso: add support for ignoring unknown children 2024-10-26 17:37:32 +00:00
enums.rs xso-proc: Replace std stuff with alloc/core stuff 2024-12-19 20:51:56 +01:00
error_message.rs xso-proc: Use core instead of std wherever possible 2024-08-04 12:41:17 +00:00
lib.rs xso: only take reference in transform 2024-12-20 12:44:43 +01:00
meta.rs xso: add support for ignoring unknown stuff in extracts 2024-10-26 17:37:32 +00:00
scope.rs xso: implement support for extracting data from child elements 2024-08-03 15:17:30 +02:00
state.rs xso-proc: Use core instead of std wherever possible 2024-08-04 12:41:17 +00:00
structs.rs xso-proc: Replace std stuff with alloc/core stuff 2024-12-19 20:51:56 +01:00
types.rs xso-proc: Replace std stuff with alloc/core stuff 2024-12-19 20:51:56 +01:00