Files

56 lines
1.5 KiB
TOML
Raw Permalink Normal View History

[package]
name = "socktop-swipe"
version = "2.0.0-dev"
edition = "2021"
rust-version = "1.82"
description = "Swipe-to-zoom touchscreen navigation for a wall-mounted socktop dashboard"
repository = "https://gt.wittyoneoff.com/jason/socktop-swipe"
license = "Apache-2.0"
readme = "README.md"
keywords = ["tui", "touchscreen", "tmux", "dashboard", "socktop"]
categories = ["command-line-utilities"]
[dependencies]
anyhow = "1"
clap = { version = "4", features = ["derive"] }
evdev = "0.12"
serde = { version = "1", features = ["derive"] }
serde_yaml = "0.9"
shell-words = "1"
[profile.release]
opt-level = "s"
lto = true
codegen-units = 1
strip = true
panic = "abort"
# `cargo deb` produces a package with these paths. Not used yet -- see
# notes/PLAN-v2.md, distribution is source-only for v2.0.
[package.metadata.deb]
maintainer = "Jason Witty"
depends = "tmux"
recommends = "alacritty"
extended-description = """\
Drives a grid of terminal dashboards on a touchscreen. Swipe between socktop \
hosts, an Uptime Kuma status page, a unifly UniFi TUI or any command you like. \
Reads the touch panel directly via evdev and lays the screens out with tmux."""
assets = [
["target/release/socktop-swipe", "usr/bin/", "755"],
["config.example.yaml", "usr/share/doc/socktop-swipe/", "644"],
["README.md", "usr/share/doc/socktop-swipe/", "644"],
["packaging/70-socktop-swipe.rules", "lib/udev/rules.d/", "644"],
]
[lib]
name = "socktop_swipe"
path = "src/lib.rs"
[[bin]]
name = "socktop-swipe"
path = "src/main.rs"
[dev-dependencies]
shell-words = "1"
serde_yaml = "0.9"