[package] name = "alloy-drift" version = "0.1.0" description = "The desktop backdrop: the keybinding legend, and the automata that run behind it." edition.workspace = true rust-version.workspace = true license.workspace = true repository.workspace = true authors.workspace = true [[bin]] name = "alloy-drift" path = "src/main.rs" # libc and nothing else, on purpose. # # This process runs for the whole life of a session on the background layer of # every output, so its two costs are the frames it asks the compositor to # rasterise and the memory it holds while doing nothing. Neither is helped by a # dependency. What libc is here for is the three things std does not expose: # `TIOCGWINSZ` for the surface size, `signal` for the toggle and the resize, and # `pause` so the legend costs no wakeups at all. # # No clap. The sibling helpers in usr/bin parse their own arguments in a `case` # and this has six flags, so the derived `--help` is not worth linking an # argument parser into a surface that is idle by design. [dependencies] libc = "0.2" [lints] workspace = true