[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 "] [workspace] members = ["x11"] [features] default = ["backend-x11", "backend-x11-glx"] backend-x11 = [] backend-x11-glx = ["backend-x11"] backend-xcb = ["xcb-util", "xcb"] [dependencies] anyhow = "1.0.38" image = { version = "0.23.13", default-features = false, features = ["jpeg", "png"] } leanshot-x11 = { path = "x11" } log = "0.4.14" stderrlog = "0.5.1" structopt = "0.3.21" libc = "0.2.86" xcb-util = { version = "0.3.0", features = ["image", "cursor"], optional = true } xcb = { version = "0.9.0", optional = true } cfg-if = "1.0.0"