Skip to main content

max / alloy

1.1 KB · 32 lines History Blame Raw
1 [package]
2 name = "alloy-drift"
3 version = "0.1.0"
4 description = "The desktop backdrop: the keybinding legend, and the automata that run behind it."
5 edition.workspace = true
6 rust-version.workspace = true
7 license.workspace = true
8 repository.workspace = true
9 authors.workspace = true
10
11 [[bin]]
12 name = "alloy-drift"
13 path = "src/main.rs"
14
15 # libc and nothing else, on purpose.
16 #
17 # This process runs for the whole life of a session on the background layer of
18 # every output, so its two costs are the frames it asks the compositor to
19 # rasterise and the memory it holds while doing nothing. Neither is helped by a
20 # dependency. What libc is here for is the three things std does not expose:
21 # `TIOCGWINSZ` for the surface size, `signal` for the toggle and the resize, and
22 # `pause` so the legend costs no wakeups at all.
23 #
24 # No clap. The sibling helpers in usr/bin parse their own arguments in a `case`
25 # and this has six flags, so the derived `--help` is not worth linking an
26 # argument parser into a surface that is idle by design.
27 [dependencies]
28 libc = "0.2"
29
30 [lints]
31 workspace = true
32