Rust Rewrite Index

libxcb

X C Binding

Rust efforts

Research record · 2026-11-29

Searched libxcb, XCB Rust replacements, x11rb source and Rust bindings. x11rb uses the xcb-proto XML descriptions and has a Rust X11 connection; it does not establish a source port or C ABI replacement of libxcb.

Original source check. The packaged source scan found zero files with the .rs suffix. This covers the Debian 13 snapshot and excludes common vendor directories. Independent repositories are outside this count.

Rust component

x11rb

Rust X11 protocol implementation generated from XCB protocol descriptions; it overlaps libxcb’s wire functions without replacing its C API.

Evidence checked 2026-11-29

Project structure

The XCB library provides an interface to the X Window System protocol, designed to replace the Xlib interface. XCB provides several advantages over Xlib:

Inside the source tree

Source files by extension in this snapshot · C (10), Python (1)

Selected components packaged from this source in Debian 13.

  • libxcb1 · X C Binding
  • libxcb-xv0 · X C Binding, xv extension
  • libxcb-glx0 · X C Binding, glx extension
  • libxcb-res0 · X C Binding, res extension
  • libxcb-shm0 · X C Binding, shm extension
  • libxcb-xkb1 · X C Binding, XKEYBOARD extension