Crates.io | riddle |
lib.rs | riddle |
version | 0.58.1 |
source | src |
created_at | 2023-01-19 22:12:54.370141 |
updated_at | 2024-09-09 17:44:26.09252 |
description | Windows metadata compiler |
homepage | |
repository | https://github.com/microsoft/windows-rs |
max_upload_size | |
id | 762983 |
size | 7,567 |
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