forked from ShadowBlip/InputPlumber
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
60 lines (56 loc) · 2.39 KB
/
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
[package]
name = "inputplumber"
version = "0.36.6"
edition = "2021"
license = "GPL-3.0-or-later"
description = "Open source input manager for Linux"
[package.metadata.generate-rpm]
assets = [
{ source = "target/release/inputplumber", dest = "/usr/bin/inputplumber", mode = "755" },
{ source = "rootfs/usr/share/dbus-1/system.d/org.shadowblip.InputPlumber.conf", dest = "/usr/share/dbus-1/system.d/org.shadowblip.InputPlumber.conf", mode = "644" },
{ source = "rootfs/usr/lib/systemd/system/inputplumber.service", dest = "/usr/lib/systemd/system/inputplumber.service", mode = "644" },
{ source = "rootfs/usr/share/inputplumber/devices/*.yaml", dest = "/usr/share/inputplumber/devices/", mode = "644" },
{ source = "rootfs/usr/share/inputplumber/schema/*.json", dest = "/usr/share/inputplumber/schema/", mode = "644" },
{ source = "rootfs/usr/share/inputplumber/capability_maps/*.yaml", dest = "/usr/share/inputplumber/capability_maps/", mode = "644" },
{ source = "rootfs/usr/share/inputplumber/profiles/*.yaml", dest = "/usr/share/inputplumber/profiles/", mode = "644" },
{ source = "rootfs/usr/lib/udev/hwdb.d/59-inputplumber.hwdb", dest = "/usr/lib/udev/hwdb.d/59-inputplumber.hwdb", mode = "644" },
]
auto-req = "no"
[package.metadata.generate-rpm.requires]
libiio = "*"
libevdev = "*"
[dependencies]
env_logger = "0.11.3"
evdev = { git = "https://github.com/emberian/evdev.git", features = [
"tokio",
], rev = "42b58ee08508b7799322a13bf89121a1d29cf0a2" }
glob-match = "0.2.1"
hidapi = "2.6.1"
industrial-io = "0.5.2"
#evdev = { version = "0.12.1", features = ["tokio"] }
inotify = "0.10.2"
# Omit trace logging for release builds
log = { version = "0.4.22", features = [
"max_level_trace",
"release_max_level_debug",
] }
mio = { version = "0.8.11", features = ["os-poll", "os-ext", "net"] }
nix = { version = "0.29.0", features = ["fs"] }
packed_struct = "0.10.1"
procfs = "0.16.0"
rand = "0.8.5"
serde = { version = "1.0.204", features = ["derive"] }
serde_yaml = "0.9.34"
thiserror = "1.0.61"
tokio = { version = "*", features = ["full"] }
udev = { version = "^0.8", features = ["mio"] }
uhid-virt = "0.0.7"
virtual-usb = { git = "https://github.com/ShadowBlip/virtual-usb-rs.git", rev = "5a7a96a6aedc54f339d9ebff78bf484e5b17728d" }
xdg = "2.5.2"
zbus = { version = "4.3.1", default-features = false, features = ["tokio"] }
zbus_macros = "4.3.1"
[profile.release]
debug = false
strip = true
lto = true
codegen-units = 1