[package] name = "x11rb-async" version = "0.13.1" description = "Async Rust bindings to X11" authors = [ "Uli Schlachter ", "Eduardo Sánchez Muñoz ", "notgull ", ] repository = "https://github.com/psychon/x11rb" readme = "../README.md" edition = "2021" rust-version = "1.63" license = "MIT OR Apache-2.0" keywords = ["xcb", "X11", "async"] [dependencies] async-io = "2.3" async-lock = "3.3" blocking = "1.5" event-listener = "5.0" futures-lite = "2.2" tracing = { version = "0.1.33", default-features = false } x11rb = { version = "0.13.1", path = "../x11rb", default-features = false } x11rb-protocol = { version = "0.13.1", default-features = false, features = ["std"], path = "../x11rb-protocol" } [features] # Enable this feature to enable all the X11 extensions 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" ] # Enable extra traits on protocol types. extra-traits = ["x11rb-protocol/extra-traits"] composite = ["x11rb-protocol/composite", "xfixes"] damage = ["x11rb-protocol/damage", "xfixes"] dbe = ["x11rb-protocol/dbe"] dpms = ["x11rb-protocol/dpms"] dri2 = ["x11rb-protocol/dri2"] dri3 = ["x11rb-protocol/dri3"] glx = ["x11rb-protocol/glx"] present = ["x11rb-protocol/present", "randr", "xfixes", "sync"] randr = ["x11rb-protocol/randr", "render"] record = ["x11rb-protocol/record"] render = ["x11rb-protocol/render"] res = ["x11rb-protocol/res"] 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"] allow-unsafe-code = ["x11rb/allow-unsafe-code"] [package.metadata.docs.rs] all-features = true [dev-dependencies] async-executor = "1.8" tracing-subscriber = { version = "0.3", features = ["env-filter"] } [target.'cfg(unix)'.dev-dependencies.rustix] version = "0.38" default-features = false features = ["mm", "pipe"] [[example]] name = "shared_memory_async" required-features = ["shm"]