Registry / build-tool / windows-macros

windows-macros

JSON →
library0.31.0rscratesunverified

Provides macros for Rust for Windows development.

# Cargo.toml [dependencies] windows_macros = "0.31.0"
INSTALL
IMPORT
SIG · WINDOWS-MACROS
W
windows-macros
build-toolrustv0.31.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

implement
use windows_macros::implement;

Applies the `implement` macro to a struct for Windows COM interop.

use windows_macros::implement; #[implement] struct MyClass; fn main() { println!("Windows macro used"); }
Debug
Known issues
gotchaThis crate is part of the `windows-rs` ecosystem and may require specific feature flags from the `windows` crate.
fix
Ensure you have the correct `windows` crate features enabled (e.g., `windows/macros`).
affects: >=0.31.0
Upgrade
Version history
0.31.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
34 hits · last 30 days
node
30
OpenAI (training)
1
Resources
windows-macros — cargo add windows-macros · libregistry