9 releases (breaking)

0.58.1 Sep 9, 2024
0.58.0 Jul 3, 2024
0.57.0 Jun 7, 2024
0.56.0 Apr 12, 2024
0.0.1 Jan 27, 2023

#537 in Development tools

Download history 17/week @ 2024-07-25 5/week @ 2024-08-01 97/week @ 2024-09-05 49/week @ 2024-09-12 16/week @ 2024-09-19 17/week @ 2024-09-26 9/week @ 2024-10-03

494 downloads per month

MIT/Apache

8.5MB
10K SLoC

Generate Rust bindings for Windows

Update: the riddle tool is no longer being updated. You can continue to use the windows-bindgen library crate directly.

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