1 unstable release

0.1.0 Oct 25, 2024

#1363 in Parser implementations

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