xmpp-rs/xso
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jonas Schäfer 67f3ffaced xso: re-implement #[xml(lang)] on top of #[xml(attribute)]
This gives us all the goodies of `default`, `type_` and `codec` without
having to duplicate lots of code (and I think the `match`-iness of the
new macro code is still within limits).

However, we still keep them as separate `#[xml(..)]` attributes, because
their semantics are very different and it is sensible to make them stand
out.

skip-changelog, because `#[xml(lang)]` was introduced in this version.
2025-04-27 14:19:31 +02:00
..
src xso: re-implement #[xml(lang)] on top of #[xml(attribute)] 2025-04-27 14:19:31 +02:00
Cargo.toml Bump rxml to 0.13.1 2025-04-22 17:47:45 +02:00
ChangeLog xso: deprecate try_from_element 2025-04-27 13:44:06 +02: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.