#bindings #raxb #legal

sys raxb-libxml2-sys

The Rust Architecture for XML Binding

11 releases

0.4.4 Oct 1, 2024
0.4.2 Aug 2, 2024
0.3.8 Jun 27, 2024

#5 in #legal


Used in 2 crates (via raxb-validate)

MIT license

8.5MB
213K 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 Shell 794 SLoC // 0.2% comments JavaScript 619 SLoC // 0.1% comments Stratego/XT 223 SLoC Batch 209 SLoC M4 77 SLoC // 0.6% comments Perl 67 SLoC // 0.0% comments Bitbake 65 SLoC Rust 53 SLoC PowerShell 43 SLoC

Contains (obscure autoconf code, 34KB) third_party/libxml2/configure.ac

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

No runtime deps