safex11/Cargo.toml

32 lines
707 B
TOML
Raw Normal View History

2020-06-28 09:43:22 +00:00
[package]
2020-06-28 09:46:25 +00:00
name = "safex11"
2020-06-30 08:10:12 +00:00
version = "0.0.4"
2020-06-28 09:56:34 +00:00
description = "Safe, high-level x11 bindings"
2020-06-28 09:57:42 +00:00
license-file = "LICENSE"
2020-06-28 09:56:34 +00:00
authors = ["Michael Zhang <iptq@protonmail.com>"]
edition = "2018"
documentation = "https://docs.rs/safex11"
readme = "README.md"
repository = "https://git.sr.ht/~iptq/safex11"
2020-06-28 09:43:22 +00:00
2020-06-28 10:00:57 +00:00
[package.metadata.docs.rs]
all-features = true
2020-06-28 09:43:22 +00:00
[features]
2020-06-29 05:22:13 +00:00
default = ["xlib"]
2020-06-30 07:19:48 +00:00
glx = ["x11/glx", "xlib", "gl_generator"]
2020-06-28 09:43:22 +00:00
xlib = ["x11/xlib"]
xrender = ["x11/xrender"]
2020-06-29 05:22:13 +00:00
xinerama = ["x11/xinerama", "xlib"]
2020-06-28 19:50:29 +00:00
xinput = ["x11/xinput"]
2020-06-28 09:43:22 +00:00
[dependencies]
libc = "0.2"
x11 = { version = "2.18" }
thiserror = "1.0.20"
log = "0.4.8"
2020-06-29 05:22:13 +00:00
bitflags = "1.2.1"
2020-06-30 07:19:48 +00:00
[build-dependencies]
gl_generator = { version = "0.14.0", optional = true }