1 unstable release

0.1.0 Oct 25, 2024

#1388 in Parser implementations

Download history 86/week @ 2024-10-20 26/week @ 2024-10-27 13/week @ 2024-11-03 1/week @ 2024-11-10

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.3–1MB
~21K SLoC