-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
70 lines (57 loc) · 1.53 KB
/
Copy pathCargo.toml
File metadata and controls
70 lines (57 loc) · 1.53 KB
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
61
62
63
64
65
66
67
68
69
70
[workspace]
resolver = "2"
members = [
"crates/hidpp",
"crates/hidpp-transport",
"crates/hidpp-device",
"crates/hidpp-cli",
"crates/hidpp-web",
"crates/hidpp-daemon",
]
[workspace.package]
version = "0.5.2"
edition = "2024"
license = "MIT OR Apache-2.0"
# Lints are configured per-crate in each crate's Cargo.toml.
# Cargo doesn't support partial inheritance (override + workspace = true),
# so each crate defines its own lint set with a shared baseline:
# - unsafe_code = deny
# - unwrap_used, expect_used, panic, todo, unreachable = deny (libs)
# - correctness = deny, suspicious/style/complexity/perf = warn
[workspace.dependencies]
# Internal
hidpp = { path = "crates/hidpp" }
hidpp-transport = { path = "crates/hidpp-transport" }
hidpp-device = { path = "crates/hidpp-device" }
# Serialization
serde = { version = "1", features = ["derive"] }
serde_json = "1"
toml = "0.8"
# Error handling
thiserror = "2"
anyhow = "1"
# Async
tokio = { version = "1", features = ["macros", "rt-multi-thread", "sync", "time"] }
async-trait = "0.1"
futures-core = "0.3"
# HID
hidapi = { version = "2", features = ["macos-shared-device"] }
# CLI
clap = { version = "4", features = ["derive"] }
# Input injection
enigo = "0.6"
# Menu bar / tray
tao = "0.35"
tray-icon = "0.22"
muda = "0.17"
# Logging
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
# Bit manipulation
bitflags = "2"
# WASM
wasm-bindgen = "0.2"
wasm-bindgen-futures = "0.4"
web-sys = "0.3"
js-sys = "0.3"
serde-wasm-bindgen = "0.6"