2018-05-13 21:42:19 +00:00
|
|
|
[package]
|
2018-09-30 12:25:18 +00:00
|
|
|
name = "leanshot"
|
|
|
|
description = "Screenshot capture for Linux."
|
2021-02-21 12:52:09 +00:00
|
|
|
version = "0.5.0"
|
2020-12-24 00:30:32 +00:00
|
|
|
repository = "https://git.mzhang.io/michael/leanshot"
|
2021-07-13 16:03:02 +00:00
|
|
|
license = "MIT"
|
2020-06-26 18:51:31 +00:00
|
|
|
edition = "2018"
|
2020-12-24 00:30:32 +00:00
|
|
|
authors = ["Michael Zhang <mail@mzhang.io>"]
|
2018-09-11 01:31:25 +00:00
|
|
|
|
2021-07-28 20:53:10 +00:00
|
|
|
[workspace]
|
|
|
|
members = ["x11"]
|
|
|
|
|
2021-07-28 21:05:13 +00:00
|
|
|
[features]
|
|
|
|
default = ["backend-x11", "backend-x11-glx"]
|
|
|
|
backend-x11 = []
|
|
|
|
backend-x11-glx = ["backend-x11"]
|
|
|
|
backend-xcb = ["xcb-util", "xcb"]
|
|
|
|
|
2018-05-13 21:42:19 +00:00
|
|
|
[dependencies]
|
2021-02-21 12:54:28 +00:00
|
|
|
anyhow = "1.0.38"
|
|
|
|
image = { version = "0.23.13", default-features = false, features = ["jpeg", "png"] }
|
2021-07-28 20:53:10 +00:00
|
|
|
leanshot-x11 = { path = "x11" }
|
2021-02-21 12:54:28 +00:00
|
|
|
log = "0.4.14"
|
|
|
|
stderrlog = "0.5.1"
|
2020-12-24 04:42:45 +00:00
|
|
|
structopt = "0.3.21"
|
2021-02-27 07:02:22 +00:00
|
|
|
libc = "0.2.86"
|
2021-07-28 21:05:13 +00:00
|
|
|
|
|
|
|
xcb-util = { version = "0.3.0", features = ["image", "cursor"], optional = true }
|
|
|
|
xcb = { version = "0.9.0", optional = true }
|
|
|
|
cfg-if = "1.0.0"
|