xmpp-rs/xso
Jonas Schäfer 271c31c9d4 xso: use values instead of types for text codecs
This allows stateful or configurable codecs without having to express
all configuration in the type name itself. For example, we could have a
Base64 type with configurable Base64 engines without having to duplicate
the Base64 type itself.

(Note that the different engines in the Base64 crate are values, not
types.)
2024-08-03 12:14:26 +02:00
..
src xso: use values instead of types for text codecs 2024-08-03 12:14:26 +02:00
Cargo.toml xso: Bump version to 0.1.2 2024-07-26 18:24:43 +02:00
ChangeLog xso: use values instead of types for text codecs 2024-08-03 12:14:26 +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.