-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
85 lines (81 loc) · 2.59 KB
/
Copy pathCargo.toml
File metadata and controls
85 lines (81 loc) · 2.59 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
[workspace]
resolver = "2"
members = [
"crates/dormant-core",
"crates/dormant-sensors",
"crates/dormant-displays",
"crates/dormantd",
"crates/dormantctl",
"crates/dormant-doctor",
"crates/dormant-render",
"crates/dormant-web",
"crates/dormant-tray",
]
# vendor/ddc-macos is a vendored, patched fork (see vendor/ddc-macos/README.dormant.md) pinned
# via [patch.crates-io] below. It has its own package metadata and is not a workspace member.
exclude = ["vendor/ddc-macos", ".github/fixtures/nextest-policy"]
[workspace.package]
version = "0.12.4"
edition = "2024"
rust-version = "1.88"
license = "MIT OR Apache-2.0"
repository = "https://github.com/legion-works/dormant"
[workspace.dependencies]
tokio = { version = "1", features = ["full"] }
tokio-util = "0.7"
serde = { version = "1", features = ["derive"] }
toml = "1"
toml_edit = "0.25"
thiserror = "2"
anyhow = "1"
async-trait = "0.1"
evdev = { version = "0.13", features = ["tokio"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
humantime = "2"
humantime-serde = "1"
serde_json = "1"
reqwest = { version = "0.12", default-features = false, features = [
"json",
"rustls-tls",
] }
tokio-tungstenite = { version = "0.29", features = ["rustls-tls-native-roots"] }
zbus = "5"
pipewire = "0.10"
indexmap = { version = "2", features = ["serde"] }
proptest = "1"
# `default-features = false` drops rumqttc's `use-rustls` default, which pulled
# a second, older TLS stack (rustls 0.22 / rustls-webpki 0.102) purely as dead
# weight: `parse_broker_url` accepts only `tcp://`, `mqtt://`, or a bare
# host:port, so dormant cannot open a TLS broker connection at all. That older
# webpki carried RUSTSEC-2026-0049/0098/0099/0104, which deny.toml had to
# suppress. Re-enabling this feature reintroduces all four — add `mqtts://`
# support to parse_broker_url first, and pin a webpki >= 0.103.13.
rumqttc = { version = "0.25", default-features = false }
futures-util = "0.3"
tokio-serial = "5"
ddc-hi = "0.4"
clap = { version = "4", features = ["derive"] }
libc = "0.2"
notify = "7"
sha2 = "0.10"
tempfile = "3"
rand = "0.9"
base64 = "=0.22.1"
time = { version = "=0.3.53", features = ["formatting"] }
test-case = "3"
image = { version = "0.25", default-features = false, features = [
"jpeg",
"png",
"webp",
"bmp",
"gif",
] }
# The profile that 'dist' will build with
[profile.dist]
inherits = "release"
lto = "thin"
# Retry-safe, raw-VCP ddc-macos fork. See vendor/ddc-macos/README.dormant.md for the upstream
# commit and the rationale (haimgel/ddc-macos-rs#8).
[patch.crates-io]
ddc-macos = { path = "vendor/ddc-macos" }