Documentation

C++/WinRT

The cppwinrt crate bundles the C++/WinRT compiler for use in Rust.

Start by adding the following to your Cargo.toml file:

[dependencies.cppwinrt]
version = "0.1"

Use cppwinrt function as needed:

println!("{}", cppwinrt::cppwinrt(["-help"]));

Source: