ezwin-rs
use *;
Goals
The main goal of ezwin is to have a simple, easy-to-use API. The target audience is game developers looking to create
a window quickly and easily. I aim to have feature-parity with winit eventually as a secondary goal.
Cross-platform support is unlikely, but pull requests are welcomed if anyone else wants to tackle it.
I would like to eventually transition from using windows to windows-sys to benefit from better compile times,
as the wrappers included in the former are redundant for this crate.
Cargo Features
rwh_05/rwh_06: use the appropriate version ofraw-window-handle.rwh_06is the default.
Examples
You can find examples in the examples folder. You can also see the vulkano branch of
foxy-rs/foxy, which as of the time of writing is utilizing ezwin, but
is subject to change.
FAQ
Q: Why not winit?
A: While winit is the best choice for pretty much everyone, I found that multithreading the windows message pump
could lead to performance gains. Additionally, I was simply not satisfied with the way the winit API looks and feels.
If you are perfectly satisfied with what winit offers, then I recommend you stick with it.
Q: What happened to the 3.0 version?
A: As this project is in flux, there was a temporary 3.0 version that was implemented which strayed from my vision of
the crate. I regret publishing that version, and have since yanked each of them off of crates.io. In the future, I intend
to be far more deliberate and considerate over what gets published rather than willy-nilly publishing the next big features.
⚠️ This project is still hilariously incomplete. I am only one student, after all. ⚠️