[build-dependencies.quick-xml]
version = "0.30.0"
[dependencies.as-raw-xcb-connection]
optional = true
version = "1.0"
[dependencies.bitflags]
version = "1.3.2"
[dependencies.libc]
version = "0.2.102"
[dependencies.x11]
features = ["xlib"]
optional = true
version = "2.19.0"
[dev-dependencies.gl]
version = "0.14.0"
[dev-dependencies.png]
version = "0.17.5"
[dev-dependencies.x11]
features = ["xlib", "glx"]
version = "2.19.1"
[[example]]
name = "basic_window"
path = "examples/basic_window.rs"
[[example]]
name = "connect"
path = "examples/connect.rs"
[[example]]
name = "connect_str"
path = "examples/connect_str.rs"
[[example]]
name = "draw_root_window"
path = "examples/draw_root_window.rs"
[[example]]
name = "drawing"
path = "examples/drawing.rs"
[[example]]
name = "get_all_windows"
path = "examples/get_all_windows.rs"
[[example]]
name = "get_keyboard_names"
path = "examples/get_keyboard_names.rs"
required-features = ["xkb", "xinput", "xlib_xcb"]
[[example]]
name = "opengl_window"
path = "examples/opengl_window.rs"
required-features = ["glx", "xlib_xcb", "dri2"]
[[example]]
name = "present_special_event"
path = "examples/present_special_event.rs"
required-features = ["present", "randr"]
[[example]]
name = "print_setup"
path = "examples/print_setup.rs"
[[example]]
name = "randr_crtc_info"
path = "examples/randr_crtc_info.rs"
required-features = ["randr"]
[[example]]
name = "randr_crtc_listen"
path = "examples/randr_crtc_listen.rs"
required-features = ["randr"]
[[example]]
name = "randr_screen_info"
path = "examples/randr_screen_info.rs"
required-features = ["randr"]
[[example]]
name = "randr_screen_modes"
path = "examples/randr_screen_modes.rs"
required-features = ["randr"]
[[example]]
name = "screen_info"
path = "examples/screen_info.rs"
[[example]]
name = "screenshot"
path = "examples/screenshot.rs"
[[example]]
name = "threaded_window"
path = "examples/threaded_window.rs"
[[example]]
name = "xinput_stylus_events"
path = "examples/xinput_stylus_events.rs"
required-features = ["xinput"]
[[example]]
name = "xkb_init"
path = "examples/xkb_init.rs"
required-features = ["xkb"]
[[example]]
name = "xkb_keyboard_mouse_event"
path = "examples/xkb_keyboard_mouse_event.rs"
required-features = ["xkb"]
[features]
composite = ["xfixes"]
damage = ["xfixes"]
debug_atom_names = []
default = ["libxcb_v1_14"]
dpms = []
dri2 = []
dri3 = []
ge = []
glx = []
libxcb_v1_14 = []
present = ["render", "xfixes", "sync"]
randr = ["render"]
record = []
render = []
res = []
screensaver = []
shape = []
shm = []
sync = []
xevie = []
xf86dri = []
xf86vidmode = []
xfixes = ["render", "shape"]
xinerama = []
xinput = ["xfixes"]
xkb = []
xlib_xcb = ["x11/xlib"]
xprint = []
xselinux = []
xtest = []
xv = ["shm"]
xvmc = ["xv"]
[lib]
name = "xcb"
path = "src/lib.rs"
[package]
authors = ["Remi Thebault <remi.thebault@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = "build/main.rs"
description = "Rust safe bindings for XCB"
documentation = "https://rust-x-bindings.github.io/rust-xcb/xcb/"
edition = "2018"
exclude = [".github", "examples/todo/*", "gen", "xml/upstream", "xml/upstream_normalized"]
keywords = ["xcb", "window", "xlib", "x11", "opengl"]
license = "MIT"
name = "xcb"
readme = "README.md"
repository = "https://github.com/rust-x-bindings/rust-xcb"
version = "1.5.0"
[package.metadata.docs.rs]
all-features = true