wlroots-0.2.1 doesn't have any documentation.
wlroots-rs
Safe Rust bindings for wlroots.
This library is currently unversioned as wlroots is still unstable. In the future it will be versioned and released on crates.io. It will track the current version of wlroots, with additional versions for each Rust only change (what that will look like is still being decided).
Documentation
Building
To build wlroots-rs you have to init the wlroots submodule first and have all wlroots dependencies.
git submodule update --init
cargo build
If you don't want to compile against wlroots statically, add the --no-default-features
flag.
If you want unstable wlroots features then add --features=unstable
.
Examples
See the examples directory for basic examples using this library and at Way Cooler the primary user of this library.
You can run an example using the following command: