| Filename | Latest commit message | Latest commit date |
|---|---|---|
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.
|
||
| .. | ||
| src | ||
| Cargo.toml | ||
| ChangeLog | ||
| README.md | ||
xso -- serde-like parsing for XML
What’s this?
This crate provides the traits for parsing XML data into Rust structs, and vice versa. You can do things like:
#[derive(FromXml, AsXml)]
#[xml(namespace = "urn:example", name = "element")]
pub struct Foo;
For more information, see its documentation on docs.rs for the latest release or the documentation for the main branch on our servers.
What license is it under?
MPL-2.0 or later, see the LICENSE file.