6 releases (breaking)

0.56.0 Apr 12, 2024
0.3.0 Mar 7, 2024
0.2.0 Feb 22, 2024
0.1.0 Nov 15, 2023
0.0.1 Jan 27, 2023

#475 in Development tools

Download history 132/week @ 2024-02-19 19/week @ 2024-02-26 182/week @ 2024-03-04 20/week @ 2024-03-11 27/week @ 2024-03-18 16/week @ 2024-04-01 75/week @ 2024-04-08 15/week @ 2024-04-15

107 downloads per month

MIT/Apache

8.5MB
10K SLoC

Generate Rust bindings for Windows

The riddle tool automatically generates Rust bindings from Windows metadata.

Start by installing riddle:

> cargo install riddle

Generates Rust bindings as needed:

> riddle
Usage: riddle.exe [options...]

Options:
  --in  <path>          Path to files and directories containing .winmd and .rdl files
  --out <path>          Path to .winmd, .rdl, or .rs file to generate
  --filter <namespace>  Namespaces to include or !exclude in output
  --config <key=value>  Override a configuration value
  --format              Format .rdl files only
  --etc <path>          File containing command line options

Dependencies