Rust bindings for Treeland Wayland protocol extensions.
These bindings are built on top of wayland-client and wayland-server.
For details about the protocols themselves, please refer to the upstream repository: https://github.com/linuxdeepin/treeland-protocols
Add this to your Cargo.toml:
[dependencies]
wayland-protocols-treeland = { git = "https://github.com/dwapp/treeland-protocols-rs" }client(default): Enable client-side bindingsserver: Enable server-side bindings
# Client only (default)
wayland-protocols-treeland = { git = "..." }
# Server only
wayland-protocols-treeland = { git = "...", default-features = false, features = ["server"] }
# Both client and server
wayland-protocols-treeland = { git = "...", features = ["client", "server"] }# Clone with submodules
git clone --recursive https://github.com/dwapp/treeland-protocols-rs
cd treeland-protocols-rs
cargo buildThis project is licensed under the MIT License - see the LICENSE file for details.
The protocol definitions in treeland-protocols/ are licensed separately, see that repository for details.