Safe Rust bindings for wlroots, used for Way Cooler
Clone or download
Latest commit 48874cc Jan 26, 2019

README.md

wlroots-rs

Crates.io License

Safe Rust bindings for wlroots.

This library is currently tracking the wlroots version for its minor version. Patch versions are wlroots-rs specific.

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 want to compile against wlroots statically, add the "static" flag.

If you want use unstable wlroots features then add the "unstable" flag.

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:

cargo run --example <name of the example>