xmpp-rs/xso/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jonas Schäfer e2dcd8ac66 Stop being pedantic by default
Up to now, the xmpp-rs projects have been very strict about incoming
data. This has served us, as developers of the libraries, well,
uncovering bugs in our and remote implementations which we could then
get fixed.

However, this behaviour is unexpected to users of the library. In the
XMPP world, unexpected child elements and attributes are generally
expected to be ignored. While this could be opted-into previously, the
feature flag for that sounded more dangerous than it was
("disable-validation"). In addition, the tribal knowledge needed to know
about that feature flag may not have reached some people who tried the
library and gave up because of that.

With this change, we make the non-pedantic behaviour the default. For
development and debugging purposes, users can always opt into the
pedantic behaviour as needed, using the newly-introduced `pedantic`
feature flags on all affected crates.
2026-03-27 12:51:51 +01:00
..
asxml.rs xso: add type-erased and dyn-compatible variant of AsXml 2025-07-13 11:10:51 +00:00
dynxso.rs Fix all typos using the typos tool 2025-11-22 21:48:21 +00:00
error.rs xso: deprecate try_from_element 2025-04-27 13:44:06 +02:00
from_xml_doc.md xso: add support for attribute-switched enums 2025-04-27 18:34:48 +00:00
fromxml.rs xso{,-proc}: clippy 2025-11-01 16:30:22 +01:00
lib.rs Stop being pedantic by default 2026-03-27 12:51:51 +01:00
minidom_compat.rs xso: fix build with minidom and without std 2026-02-21 09:36:57 +01:00
rxml_util.rs Bump rxml to 0.14.0 2026-02-21 13:56:50 +01:00
text.rs xso: reorganise the code a little 2025-05-06 07:42:57 +02:00
xso_vec_test_prelude.rs xso: relax the feature = "std" requirement for xso::dynxso 2025-07-13 11:10:51 +00:00