wayland-protocols-treeland 0.1.2

Generated API for the Treeland wayland protocol extensions
docs.rs failed to build wayland-protocols-treeland-0.1.2
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.

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.