Skip to content

swaywm/wlroots-rs

Repository files navigation

wlroots-rs

Crates.io License

This is no longer maintained. As an alternative consider smithay.

Safe Rust bindings for wlroots.

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

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.

You can run an example using the following command:

cargo run --example <name of the example>