Skip to content
This repository has been archived by the owner on Nov 2, 2022. It is now read-only.
/ weston-rs Public archive

[UNMAINTAINED] Rust bindings to libweston(-desktop) of Weston, the reference Wayland compositor

License

Notifications You must be signed in to change notification settings

valpackett/weston-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

(Work in progress!)

weston-rs

Rust bindings to libweston / libweston-desktop, the core of Weston, the reference Wayland compositor. Featuring:

  • custom build.rs build with libweston statically linked — no autoconf, no shared library plugins
    • you can do cross-language link-time optimization with RUSTFLAGS="-Zcross-lang-lto" (on nightly Rust)!
    • (TODO: support system installed libweston too)
  • slightly modified libweston (aside from the static linking support, it includes support for running on FreeBSD)
  • nice Rusty wrappers for stuff
  • support for the loginw setuid launcher-wrapper (which is like weston-launch but with a public API)

Current status

Screenshot of the simple demo compositor running gtk3-demo

A simple example compositor, like not-a-wm but with window movement, works! See weston-rs/examples/simple.rs.

Contributing

By participating in this project you agree to follow the Contributor Code of Conduct.

The list of contributors is available on GitHub.

License

MIT License, same as Weston itself.
For more information, please refer to the COPYING file.