Crates.io | window |
lib.rs | window |
version | 0.5.0 |
source | src |
created_at | 2019-07-07 17:25:58.259626 |
updated_at | 2021-01-05 07:20:51.738749 |
description | Minimal Rust code for creating a window, automatically choosing a backend window manager and graphics API. |
homepage | https://github.com/libcala/window/blob/main/CHANGELOG.md |
repository | https://github.com/libcala/window |
max_upload_size | |
id | 147351 |
size | 201,170 |
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 cala which depends on this crate.
Check out the documentation for examples.
Human targets all platforms that can run Rust, including:
Licensed under any of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be licensed as described above, without any additional terms or conditions.
If you want help using or contributing to this library, feel free to send me an email at aldaronlau@gmail.com.