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

#928 in Database interfaces

Download history 32/week @ 2024-06-28 47/week @ 2024-07-05 4/week @ 2024-07-12 309/week @ 2024-08-02 8/week @ 2024-08-09 1/week @ 2024-08-16 6/week @ 2024-09-06 58/week @ 2024-09-13 39/week @ 2024-09-20 161/week @ 2024-09-27 44/week @ 2024-10-04 10/week @ 2024-10-11

259 downloads per month
Used in xoev-xwasser

MIT license

8.5MB
214K SLoC

C 199K SLoC // 0.2% comments Python 9K SLoC // 0.2% comments XSL 1K SLoC // 0.0% comments Rust 1K SLoC // 0.0% comments Automake 1K SLoC // 0.1% 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.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

~6.5–10MB
~256K SLoC