| Crates.io | nanoxml |
| lib.rs | nanoxml |
| version | 0.3.2 |
| created_at | 2025-04-23 08:17:53.44599+00 |
| updated_at | 2025-09-18 10:32:13.196356+00 |
| description | A truly minimal XML (de)serializer |
| homepage | https://git.tjdev.de/thetek/nanoxml |
| repository | https://git.tjdev.de/thetek/nanoxml |
| max_upload_size | |
| id | 1645189 |
| size | 41,989 |
A truly minimal XML (de)serializer for Rust.
derive for (de)serialization of structs and enums (optional)no_stdalloc supportdefmt supportheapless support#[nanoxml(attr)]: (de)serialize as attribute (i.e. key="value")#[nanoxml(text)]: (de)serialize as text (i.e. content between <tag></tag> without an additional sub-element for the field)#[nanoxml(rename = "xmlname")]: use xmlname as the attribute key or tag name in the XML#[nanoxml(seq)]: must be specified for "sequence" fields (e.g. Vec or array)#[nanoxml(skip_ser)]: skip this field when serializing to XML#[nanoxml(default_de)]: when this field is not present when deserializing the XML, fall back to the Default::default() value#[nanoxml(default_de = "func")]: when this field is not present when deserializing the XML, call func to get a fallback value