safex11/Cargo.toml

32 lines
730 B
TOML

[package]
name = "safex11"
version = "0.0.6"
description = "Safe, high-level x11 bindings"
license-file = "LICENSE"
authors = ["Michael Zhang <mail@mzhang.io>"]
edition = "2021"
documentation = "https://docs.rs/safex11"
readme = "README.md"
repository = "https://git.mzhang.io/michael/safex11"
[package.metadata.docs.rs]
all-features = true
[features]
default = ["xlib"]
glx = ["x11/glx", "xlib", "gl_generator"]
xlib = ["x11/xlib"]
xrender = ["x11/xrender"]
xinerama = ["x11/xinerama", "xlib"]
xinput = ["x11/xinput"]
[dependencies]
libc = "0.2"
x11 = { version = "2.21" }
thiserror = "1.0.47"
log = "0.4.20"
bitflags = "2.4.0"
derivative = "2.2.0"
[build-dependencies]
gl_generator = { version = "0.14.0", optional = true }