riddle

Crates.ioriddle
lib.rsriddle
version0.58.1
sourcesrc
created_at2023-01-19 22:12:54.370141
updated_at2024-09-09 17:44:26.09252
descriptionWindows metadata compiler
homepage
repositoryhttps://github.com/microsoft/windows-rs
max_upload_size
id762983
size7,567
Kenny Kerr (kennykerr)

documentation

README

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
Commit count: 1510

cargo fmt