# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2018" name = "xcb" version = "1.5.0" authors = ["Remi Thebault "] build = "build/main.rs" exclude = [ ".github", "examples/todo/*", "gen", "xml/upstream", "xml/upstream_normalized", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Rust safe bindings for XCB" documentation = "https://rust-x-bindings.github.io/rust-xcb/xcb/" readme = "README.md" keywords = [ "xcb", "window", "xlib", "x11", "opengl", ] license = "MIT" repository = "https://github.com/rust-x-bindings/rust-xcb" [package.metadata.docs.rs] all-features = true [lib] name = "xcb" path = "src/lib.rs" [[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"] [dependencies.as-raw-xcb-connection] version = "1.0" optional = true [dependencies.bitflags] version = "1.3.2" [dependencies.libc] version = "0.2.102" [dependencies.x11] version = "2.19.0" features = ["xlib"] optional = true [dev-dependencies.gl] version = "0.14.0" [dev-dependencies.png] version = "0.17.5" [dev-dependencies.x11] version = "2.19.1" features = [ "xlib", "glx", ] [build-dependencies.quick-xml] version = "0.30.0" [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"]