xmpp-rs/xso
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Emmanuel Gil Peyrot c72cf3ddd1 xso-proc: Add n = 1 flag to element meta
This allows exactly one arbitrary payload in any element, and is handled
after every other element with a more specific matcher has been parsed.

Both the #[xml(element(n = 1))] meta and its shortcut #[xml(element)]
are allowed and treated the exact same way.
2025-01-26 16:40:05 +00:00
..
src xso-proc: Add n = 1 flag to element meta 2025-01-26 16:40:05 +00:00
Cargo.toml xmpp_parsers: --features disable-validation 2024-12-20 14:50:14 +01:00
ChangeLog xso-proc: Add n = 1 flag to element meta 2025-01-26 16:40:05 +00:00
README.md xso: add README files 2024-07-24 16:27:53 +02:00

xso -- serde-like parsing for XML

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