33 lines
745 B
TOML
33 lines
745 B
TOML
[package]
|
|
name = "espanso-detect"
|
|
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
|
|
# and only EVDEV-based methods will be supported.
|
|
wayland = ["sctk"]
|
|
|
|
[dependencies]
|
|
log = "0.4.14"
|
|
lazycell = "1.3.0"
|
|
anyhow = "1.0.38"
|
|
thiserror = "1.0.23"
|
|
regex = "1.4.3"
|
|
lazy_static = "1.4.0"
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
widestring = "0.4.3"
|
|
|
|
[target.'cfg(target_os="linux")'.dependencies]
|
|
libc = "0.2.85"
|
|
scopeguard = "1.1.0"
|
|
sctk = { package = "smithay-client-toolkit", version = "0.14.0", optional = true }
|
|
|
|
[build-dependencies]
|
|
cc = "1.0.73"
|
|
|
|
[dev-dependencies]
|
|
enum-as-inner = "0.3.3" |