windows-rdl 0.100.0

RDL parser library and ECMA-335 generator
Documentation

windows-rdl

The windows-rdl crate compiles RDL (Rust Definition Language) - a Rust-like text format for describing Windows APIs - into ECMA-335 .winmd metadata, and back again.

Start by adding the following to your Cargo.toml file:

[dependencies.windows-rdl]
version = "0.100"

Use the reader to compile .rdl source into a .winmd, and the writer to regenerate canonical .rdl from a .winmd:

windows_rdl::reader()
    .input("example.rdl")
    .output("example.winmd")
    .write()
    .unwrap();

windows_rdl::writer()
    .input("example.winmd")
    .output("example.rdl")
    .write()
    .unwrap();