#wayland-client #wayland-server #protocols #api-bindings #wayland

wayland-protocols-treeland

Generated API for the Treeland wayland protocol extensions

3 releases

new 0.1.2 Mar 3, 2026
0.1.1 Jan 13, 2026
0.1.0 Jan 11, 2026

#1544 in GUI


Used in wayland-info-rs

MIT license

27KB
155 lines

Treeland Protocols Rust Bindings

English | 简体中文

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

Installation

Add this to your Cargo.toml:

[dependencies]
wayland-protocols-treeland = { git = "https://github.com/dwapp/treeland-protocols-rs" }

Features

  • client (default): Enable client-side bindings
  • server: 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"] }

Building

# Clone with submodules
git clone --recursive https://github.com/dwapp/treeland-protocols-rs

cd treeland-protocols-rs

cargo build

License

This 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.

Dependencies

~3.5–8MB
~175K SLoC