#xml #binding #architecture #raxb #write

macro raxb-derive

The Rust Architecture for XML Binding

14 unstable releases (3 breaking)

0.4.4 Oct 1, 2024
0.4.2 Aug 2, 2024
0.3.8 Jun 27, 2024
0.3.1 May 31, 2024
0.1.0 May 29, 2024

#1310 in Procedural macros

Download history 25/week @ 2024-08-26 8/week @ 2024-09-02 74/week @ 2024-09-09 108/week @ 2024-09-16 70/week @ 2024-09-23 216/week @ 2024-09-30 59/week @ 2024-10-07 49/week @ 2024-10-14 33/week @ 2024-10-21 3/week @ 2024-10-28 23/week @ 2024-11-04 55/week @ 2024-11-11 42/week @ 2024-11-18 43/week @ 2024-11-25 18/week @ 2024-12-02 36/week @ 2024-12-09

141 downloads per month
Used in 6 crates (2 directly)

MIT license

80KB
2K SLoC

RAXB

The Rust Architecture for XML Binding (RAXB) provides an API and tools that automate the mapping between XML documents and Rust structures.

Licensed under MIT license.

Features

The RAXB framework enables developers to perform the following operations:

  • Unmarshal XML content into a Rust representation
  • Access and update the Rust representation
  • Marshal the Rust representation of the XML content into XML content

RAXB gives Rust developers an efficient and standard way of mapping between XML and Rust code. Rust developers using RAXB are more productive because they can write less code themselves and do not have to be experts in XML. RAXB makes it easier for developers to extend their applications with XML and Web Services technologies.

Usage

Add dependency to Cargo.toml:

[dependencies]
raxb = "0.4"

Development

The project is using Rust, JavaScript and TypeScript to provide its functionality.

To simplify project setup one can use Visual Studio Code with DevContainers feature enabled.

References: https://code.visualstudio.com/docs/devcontainers/containers

Dependencies

~6MB
~169K SLoC