1 unstable release

0.1.0 Oct 25, 2024

#1475 in Parser implementations

Download history 95/week @ 2024-10-21 18/week @ 2024-10-28 13/week @ 2024-11-04

126 downloads per month

MIT license

50KB
1.5K SLoC

dfdl

A DFDL Implementation for Rust

Still In early development, no acutual functionality provided yet

The Data Format Description Language (DFDL) is a language developed by the Open Grid Forum (OGF), to describe binary and textual data formats via an extention to XML Schemas.

This crate aims to be a rust implementation of the language specification, providing facilities to parse and unparse DFDL described data formats to a DFDL Infoset, and to provide ways of interacting with these Infosets (e.g. via serde)

Aims:

  • implementation of a parser & unparser conforming to the core DFDL specification
  • ability to serialize/deserialize to/from the DFDL Infoset
  • generating structs & parsers for a DFDL schema at compile time
  • generating schemas & parsers for existing rust structs

License: MIT


lib.rs:

A DFDL Implementation for Rust

Still In early development, no acutual functionality provided yet

The Data Format Description Language (DFDL) is a language developed by the Open Grid Forum (OGF), to describe binary and textual data formats via an extention to XML Schemas.

This crate aims to be a rust implementation of the language specification, providing facilities to parse and unparse DFDL described data formats to a DFDL Infoset, and to provide ways of interacting with these Infosets (e.g. via serde)

Aims:

  • implementation of a parser & unparser conforming to the core DFDL specification
  • ability to serialize/deserialize to/from the DFDL Infoset
  • generating structs & parsers for a DFDL schema at compile time
  • generating schemas & parsers for existing rust structs

Dependencies

~0.4–1MB
~22K SLoC