2021-03-16 11:30:18 +00:00
|
|
|
[package]
|
|
|
|
name = "espanso-clipboard"
|
|
|
|
version = "0.1.0"
|
|
|
|
authors = ["Federico Terzi <federico-terzi@users.noreply.github.com>"]
|
|
|
|
edition = "2018"
|
|
|
|
build="build.rs"
|
|
|
|
|
|
|
|
[features]
|
|
|
|
# If the wayland feature is enabled, all X11 dependencies will be dropped
|
2021-03-16 15:09:59 +00:00
|
|
|
# and wayland support will be enabled
|
2021-03-16 18:56:00 +00:00
|
|
|
wayland = ["wait-timeout"]
|
2021-03-16 11:30:18 +00:00
|
|
|
|
2021-05-21 19:59:29 +00:00
|
|
|
# If enabled, avoid linking with the gdiplus library on Windows, which
|
|
|
|
# might conflict with wxWidgets
|
|
|
|
avoid-gdi = []
|
|
|
|
|
2021-03-16 11:30:18 +00:00
|
|
|
[dependencies]
|
|
|
|
log = "0.4.14"
|
|
|
|
lazycell = "1.3.0"
|
|
|
|
anyhow = "1.0.38"
|
|
|
|
thiserror = "1.0.23"
|
|
|
|
lazy_static = "1.4.0"
|
|
|
|
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
|
|
widestring = "0.4.3"
|
|
|
|
|
2021-03-16 18:56:00 +00:00
|
|
|
[target.'cfg(target_os = "linux")'.dependencies]
|
|
|
|
wait-timeout = { version = "0.2.0", optional = true }
|
2021-03-16 11:30:18 +00:00
|
|
|
|
|
|
|
[build-dependencies]
|
|
|
|
cc = "1.0.66"
|