leanshot/Cargo.toml
2021-07-28 16:30:28 -05:00

36 lines
846 B
TOML

[package]
name = "leanshot"
description = "Screenshot capture for Linux."
version = "0.5.0"
repository = "https://git.mzhang.io/michael/leanshot"
license = "MIT"
edition = "2018"
authors = ["Michael Zhang <mail@mzhang.io>"]
[workspace]
members = ["x11"]
[features]
default = ["backend-x11", "backend-x11-glx"]
backend-x11 = ["leanshot-x11"]
backend-x11-glx = ["backend-x11", "leanshot-x11/glx"]
backend-xcb = ["xcb-util", "xcb"]
backend-wayland = []
[dependencies]
anyhow = "1.0.42"
image = { version = "0.23.14", default-features = false, features = ["jpeg", "png"] }
log = "0.4.14"
stderrlog = "0.5.1"
structopt = "0.3.22"
libc = "0.2.98"
# x11
leanshot-x11 = { path = "x11", optional = true }
# xcb
xcb-util = { version = "0.3.0", features = ["image", "cursor"], optional = true }
xcb = { version = "0.9.0", optional = true }
# wayland