32 lines
705 B
TOML
32 lines
705 B
TOML
|
[package]
|
||
|
name = "leanshot-x11"
|
||
|
version = "0.0.5"
|
||
|
description = "Safe, high-level X11 bindings"
|
||
|
license-file = "LICENSE"
|
||
|
authors = ["Michael Zhang <mail@mzhang.io>"]
|
||
|
edition = "2018"
|
||
|
documentation = "https://docs.rs/leanshot-x11"
|
||
|
readme = "README.md"
|
||
|
repository = "https://git.mzhang.io/michael/leanshot"
|
||
|
|
||
|
[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 = "2.18"
|
||
|
thiserror = "1.0.20"
|
||
|
log = "0.4.8"
|
||
|
bitflags = "1.2.1"
|
||
|
|
||
|
[build-dependencies]
|
||
|
gl_generator = { version = "0.14.0", optional = true }
|