xmpp-rs/xso
Emmanuel Gil Peyrot 7f5b6fec7f xso: Allow any T: FromXmlText + AsXmlText in EmptyAsNone
This text codec was previously implemented only for Option<String>, this
extends it to all types implementing those two traits, such as numbers
or JIDs.
2024-08-03 13:43:44 +02:00
..
src xso: Allow any T: FromXmlText + AsXmlText in EmptyAsNone 2024-08-03 13:43:44 +02:00
Cargo.toml
ChangeLog
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.