5 releases (3 breaking)
|0.4.0||Jul 14, 2020|
|0.3.1||Feb 15, 2020|
|0.3.0||Oct 25, 2019|
|0.2.0||Aug 2, 2019|
|0.1.0||Jul 7, 2019|
#22 in Rendering engine
47 downloads per month
Used in 2 crates
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.
- Windows WinAPI
- MacOS Cocoa
- Nintendo Switch
- Wasm Canvas
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 email@example.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:
- MIT License (MIT) - See accompanying file LICENSE_MIT.txt or copy at https://opensource.org/licenses/MIT
- Boost Software License (BSL-1.0) - See accompanying file LICENSE_BSL.txt or copy at https://www.boost.org/LICENSE_1_0.txt
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.