Thanks to visit codestin.com
Credit goes to lib.rs

#xmpp #xml-serialization #serialization #xml

no-std xso

XML Streamed Objects: similar to serde, but XML-native

6 releases (3 breaking)

0.3.0 Oct 28, 2025
0.2.0 Sep 17, 2025
0.1.2 Jul 26, 2024
0.0.1 Apr 17, 2024

#346 in Encoding

Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App

220 downloads per month
Used in 7 crates (2 directly)

MPL-2.0 license

285KB
5K SLoC

XML Streamed Objects -- serde-like parsing for XML

This crate provides the traits for parsing XML data into Rust structs, and vice versa.

While it is in 0.0.x versions, many features still need to be developed, but rest assured that there is a solid plan to get it fully usable for even advanced XML scenarios.

XSO is an acronym for XML Stream(ed) Objects, referring to the main field of use of this library in parsing XML streams like specified in RFC 6120.


xso -- serde-like parsing for XML

What’s 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.

Dependencies

~1.3–2.6MB
~54K SLoC