# 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 = "2021" rust-version = "1.64" name = "x11rb" version = "0.13.2" authors = [ "Uli Schlachter ", "Eduardo Sánchez Muñoz ", "notgull ", ] build = false autolib = false autobins = false autoexamples = false autotests = false autobenches = false description = "Rust bindings to X11" readme = "README.md" keywords = [ "xcb", "X11", ] license = "MIT OR Apache-2.0" repository = "https://github.com/psychon/x11rb" resolver = "1" [package.metadata.docs.rs] all-features = true [features] all-extensions = [ "x11rb-protocol/all-extensions", "composite", "damage", "dbe", "dpms", "dri2", "dri3", "glx", "present", "randr", "record", "render", "res", "screensaver", "shape", "shm", "sync", "xevie", "xf86dri", "xf86vidmode", "xfixes", "xinerama", "xinput", "xkb", "xprint", "xselinux", "xtest", "xv", "xvmc", ] allow-unsafe-code = [ "libc", "as-raw-xcb-connection", ] composite = [ "x11rb-protocol/composite", "xfixes", ] cursor = [ "render", "resource_manager", "xcursor", ] damage = [ "x11rb-protocol/damage", "xfixes", ] dbe = ["x11rb-protocol/dbe"] dl-libxcb = [ "allow-unsafe-code", "libloading", "once_cell", ] dpms = ["x11rb-protocol/dpms"] dri2 = ["x11rb-protocol/dri2"] dri3 = ["x11rb-protocol/dri3"] extra-traits = ["x11rb-protocol/extra-traits"] glx = ["x11rb-protocol/glx"] image = [] present = [ "x11rb-protocol/present", "randr", "xfixes", "sync", ] randr = [ "x11rb-protocol/randr", "render", ] record = ["x11rb-protocol/record"] render = ["x11rb-protocol/render"] request-parsing = ["x11rb-protocol/request-parsing"] res = ["x11rb-protocol/res"] resource_manager = ["x11rb-protocol/resource_manager"] screensaver = ["x11rb-protocol/screensaver"] shape = ["x11rb-protocol/shape"] shm = ["x11rb-protocol/shm"] sync = ["x11rb-protocol/sync"] xevie = ["x11rb-protocol/xevie"] xf86dri = ["x11rb-protocol/xf86dri"] xf86vidmode = ["x11rb-protocol/xf86vidmode"] xfixes = [ "x11rb-protocol/xfixes", "render", "shape", ] xinerama = ["x11rb-protocol/xinerama"] xinput = [ "x11rb-protocol/xinput", "xfixes", ] xkb = ["x11rb-protocol/xkb"] xprint = ["x11rb-protocol/xprint"] xselinux = ["x11rb-protocol/xselinux"] xtest = ["x11rb-protocol/xtest"] xv = [ "x11rb-protocol/xv", "shm", ] xvmc = [ "x11rb-protocol/xvmc", "xv", ] [lib] name = "x11rb" path = "src/lib.rs" [[example]] name = "check_unchecked_requests" path = "examples/check_unchecked_requests.rs" [[example]] name = "display_ppm" path = "examples/display_ppm.rs" required-features = ["image"] [[example]] name = "generic_events" path = "examples/generic_events.rs" required-features = ["present"] [[example]] name = "hypnomoire" path = "examples/hypnomoire.rs" [[example]] name = "list_fonts" path = "examples/list_fonts.rs" [[example]] name = "record" path = "examples/record.rs" required-features = ["record"] [[example]] name = "shared_memory" path = "examples/shared_memory.rs" required-features = [ "libc", "shm", ] [[example]] name = "simple_window" path = "examples/simple_window.rs" required-features = [ "cursor", "resource_manager", "tracing", "tracing-subscriber/env-filter", ] [[example]] name = "simple_window_manager" path = "examples/simple_window_manager.rs" [[example]] name = "tutorial" path = "examples/tutorial.rs" [[example]] name = "xclock_utc" path = "examples/xclock_utc.rs" [[example]] name = "xeyes" path = "examples/xeyes.rs" required-features = ["shape"] [[test]] name = "multithread_test" path = "tests/multithread_test.rs" [[test]] name = "regression_tests" path = "tests/regression_tests.rs" [[test]] name = "resource_manager" path = "tests/resource_manager.rs" [[test]] name = "x11_utils" path = "tests/x11_utils.rs" [dependencies.as-raw-xcb-connection] version = "1.0" optional = true [dependencies.gethostname] version = "1.0" [dependencies.libc] version = "0.2" optional = true [dependencies.libloading] version = "0.8.0" optional = true [dependencies.once_cell] version = "1.19" optional = true [dependencies.raw-window-handle] version = "0.5.0" optional = true [dependencies.rustix] version = "1.0" features = [ "std", "event", "fs", "net", "system", ] default-features = false [dependencies.tracing] version = "0.1" optional = true default-features = false [dependencies.x11rb-protocol] version = "0.13.2" features = ["std"] default-features = false [dependencies.xcursor] version = "0.3.7" optional = true [dev-dependencies.polling] version = "3.4" [dev-dependencies.tracing-subscriber] version = "0.3"