# Copyright John Nunley, 2022. # Distributed under the Boost Software License, Version 1.0. # (See accompanying file LICENSE or copy at # https://www.boost.org/LICENSE_1_0.txt) [package] name = "whitebreadx" version = "0.1.0" edition = "2018" license = "BSL-1.0" repository = "https://github.com/bread-graphics/whitebreadx" homepage = "https://github.com/bread-graphics/whitebreadx#readme" description = "A breadx library that provides a wrapper for libxcb and libX11." readme = "README.md" authors = ["notgull "] [dependencies] breadx = { version = "3.1", default-features = false } cfg-if = "1" cstr_core = { version = "0.2" } hashbrown = { version = "0.11", default-features = false } libc = { version = "0.2", default-features = false } libloading = { version = "0.7.3", optional = true } once_cell = { version = "1", optional = true } parking_lot = { version = "0.12.0", optional = true } rustc-hash = { version = "1", default-features = false } spin = { version = "0.9", features = ["lazy"] } [features] default = ["real_mutex", "std", "xlib"] dl = ["libloading", "std"] pl = ["real_mutex", "parking_lot", "breadx/pl", "once_cell/parking_lot"] real_mutex = ["once_cell", "std"] std = ["breadx/std"] to_socket = ["std"] xlib = [] [dev-dependencies] tracing-subscriber = "0.3.11" [package.metadata.docs.rs] all-features = true