Website | GitHub | Changelog | Contributors | Tutorials
Minimal Rust code for creating a window, automatically choosing a backend window manager and graphics API.
Other Rust window creation libraries require you to build for a specific backend, so I made this crate to fix the issue. You can now make a program that runs Wayland on a machine that has Wayland installed, and will fall back to XCB if it's not installed. And, will run OpenGLES (eventually try Vulkan first, too) if it's installed, and fall back to OpenGL if it's not installed.
Since this crate is minimal, it doesn't even handle window decoration. If you want window decoration and GUI widgets, check out barg which depends on this crate.
This crate is part of the cala project.
Contributors are always welcome! Whether it is a bug report, bug fix, feature request, feature implementation or whatever. Don't be shy about getting involved. I always make time to fix bugs, so usually a patched version of the library will be out soon after a report. Features take me longer, though. I'll also always listen to any design critiques you have. If you have any questions you can email me at jeronlau@plopgrizzly.com. Otherwise, here's a link to the issues on GitHub.
And, as always, make sure to always follow the code of conduct. Happy coding!
This repository is licensed under either of the following:
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you shall be dual licensed as above without any additional terms or conditions.