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 |
#543 in Development tools
494 downloads per month
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