Go to file
Dirkjan Ochtman 083cd567a1 Upgrade to syn 2 2023-03-21 15:28:10 +01:00
.github Check MSRV in CI 2023-02-27 10:35:06 +01:00
instant-xml Bump version to 0.3 for semver-incompatible change 2023-03-03 13:17:41 +01:00
instant-xml-macros Upgrade to syn 2 2023-03-21 15:28:10 +01:00
.gitignore Handling namespaces attributes in fields (#4) 2022-07-04 14:33:54 +02:00
Cargo.toml Passing first test 2022-04-29 18:01:35 +02:00
README.md Initial version of README 2023-03-02 13:50:08 +01:00
deny.toml Ignore unactionable time advisory 2022-11-21 21:33:54 -08:00

README.md

instant-xml: more rigorously mapping XML to Rust types

Documentation Crates.io Build status License: MIT License: Apache 2.0

instant-xml is a serde-like library providing traits and procedural macros to help map XML to Rust types. While serde is great for formats like JSON, the underlying structure it provides is not a great fit for XML, limiting serde-based tools like quick-xml. instant-xml more rigorously maps the XML data model (including namespaces) to Rust types while providing a serde-like interface.

Features

  • Familiar serde-like interface
  • Full support for XML namespaces
  • Avoids copying deserialized data where possible
  • Minimum supported Rust version is 1.58

Limitations

instant-xml is still early in its lifecycle. While it works well for our use cases, it might not work well for you, and several more semver-incompatible releases should be expected to flesh out the core trait APIs as we throw more test cases at it. There's also currently not that much documentation.

We'd love to hear your feedback!

Thanks

Thanks to @rsdy and @choinskib for their work on this library, and thanks (of course) to @dtolnay for creating serde.