Skip to content

Commit ca60cdd

Browse files
committed
build: reduce inputmodule-control build time
Remove features from 'image' crate. Reduces build time from >1 min to ~18 seconds on AMD 3950x.
1 parent 1ac0faa commit ca60cdd

File tree

2 files changed

+4
-241
lines changed

2 files changed

+4
-241
lines changed

Cargo.lock

Lines changed: 0 additions & 240 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

inputmodule-control/Cargo.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ clap = { version = "4.0", features = ["derive"] }
88
serialport = "4.2.0"
99

1010
# For ledmatrix
11-
image = "0.24.5"
11+
image = { version = "0.24.5", default-features = false, features = [
12+
"ico",
13+
"gif",
14+
] }
1215
rand = "0.8.5"
1316
chrono = "0.4.23"

0 commit comments

Comments
 (0)