-
-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathCargo.toml
27 lines (25 loc) · 926 Bytes
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
[package]
name = "surface-dial-daemon"
version = "0.1.0"
authors = ["Daniel Prilik <[email protected]>"]
edition = "2018"
[dependencies]
directories = "3.0"
# master includes a PR that implements `Send` for `Device` and `UInputDevice`
evdev-rs = { git = "https://github.com/ndesh26/evdev-rs.git", rev = "8e995b8bf" }
hidapi = { version = "1.2.3", default-features = false, features = ["linux-shared-hidraw"] }
lazy_static = "1.4"
nix = "0.19.0"
notify-rust = "4"
parking_lot = "0.11.0"
signal-hook = "0.1.16"
udev = "0.5"
# HACK: Using >1 virtual uinput devices will segfault in release builds.
#
# While spooky, this isn't a show-stopper for us Pragmatic Programmers™, as we
# can simply disable optimizations for `evdev-rs` and have things work Okay™.
#
# That said, I would like to find some time to narrow down why this is happening
# and fix it. Maybe later...
[profile.release.package.evdev-rs]
opt-level = 0