xmpp-rs/xso
Jonas Schäfer c90752aa51 xso: add support for overriding names of generated types
In 1265f4b, we introduced a change which may cause a conflict of type
names when deriving the traits on two different types. While a
workaround existed (use `mod`s to isolate the implementation), that is
ugly.

This commit allows overriding the choice of type names.
2024-08-01 12:53:20 +00:00
..
src xso: add support for overriding names of generated types 2024-08-01 12:53:20 +00:00
Cargo.toml xso: Bump version to 0.1.2 2024-07-26 18:24:43 +02:00
ChangeLog xso: add support for overriding names of generated types 2024-08-01 12:53:20 +00:00
README.md

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.