#xml #binding #architecture #raxb

raxb-validate

The Rust Architecture for XML Binding

9 releases

0.3.7 Jun 8, 2024
0.3.6 Jun 6, 2024
0.3.1 May 31, 2024
0.2.0 May 29, 2024
0.1.0 May 29, 2024

#1 in #raxb

Download history 349/week @ 2024-05-27 672/week @ 2024-06-03 14/week @ 2024-06-10

1,035 downloads per month

MIT license

8.5MB
214K SLoC

C 199K SLoC // 0.2% comments Python 9K SLoC // 0.2% comments XSL 1K SLoC // 0.0% comments Automake 1K SLoC // 0.1% comments Rust 1K SLoC // 0.0% comments Shell 793 SLoC // 0.2% comments JavaScript 618 SLoC // 0.1% comments Stratego/XT 222 SLoC Batch 208 SLoC M4 76 SLoC // 0.6% comments Perl 66 SLoC Bitbake 64 SLoC PowerShell 42 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.3"

Dependencies

~6.5–10MB
~268K SLoC