cppwinrt

Crates.iocppwinrt
lib.rscppwinrt
version0.1.0
sourcesrc
created_at2024-02-02 15:44:33.209705
updated_at2024-06-10 13:17:46.647323
descriptionC++/WinRT
homepage
repositoryhttps://github.com/microsoft/windows-rs
max_upload_size
id1124456
size1,298,655
Kenny Kerr (kennykerr)

documentation

README

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:

fn main() {
    match cppwinrt::cppwinrt(["-help"]) {
        Ok(output) => println!("{output}"),
        Err(error) => println!("{error}"),
    };
}

Source:

Commit count: 1451

cargo fmt