A crate to build applications' windows in Windows using WinAPI. This would be less confusing if the operating system was called something else. Better name ideas are welcome.
The primary goal is to build a better abstraction for Rust to deal with the Windows API, and the development is tailored by theForger's Win32 API Programming Tutorial which is a great source to get into the API. The examples from that resource are ported to Rust using this crate under the
examples/ folder, which can be ran with
# for small single-file examples cargo run --example test # for larger examples using resources cargo run --package menu_one
For Using Resources, a separate crate such as embed-resource or winres may be used for commodity (essentially emitting the correct
cargo:rustc-link-lib value in
build.rs). You may also read about
.rc files to understand what they are and how they work.