hyprland_socket2_path() duplicated the same HYPRLAND_INSTANCE_SIGNATURE + XDG_RUNTIME_DIR resolution breadbox and breadclip had for socket1 — now shared via bread_utils::hypr::socket_path (path dependency for now, see the TODO in Cargo.toml). Builds and all 16 existing tests pass.
28 lines
808 B
TOML
28 lines
808 B
TOML
[package]
|
|
name = "breadmon"
|
|
version = "0.1.1"
|
|
edition = "2021"
|
|
description = "TUI monitor manager for Hyprland"
|
|
license = "MIT"
|
|
|
|
[[bin]]
|
|
name = "breadmon"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
ratatui = "0.29"
|
|
crossterm = { version = "0.28", features = ["event-stream"] }
|
|
tokio = { version = "1", features = ["rt-multi-thread", "macros", "process", "signal", "sync", "time", "net", "io-util"] }
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
toml = "0.8"
|
|
anyhow = "1"
|
|
dirs = "5"
|
|
futures = "0.3"
|
|
# TODO(owner): switch to tag-pinned git dependency once bread-utils is merged and tagged, matching the bread-theme pattern
|
|
bread-utils = { path = "../bread-ecosystem-fix-worktree/bread-utils" }
|
|
|
|
[profile.release]
|
|
lto = "thin"
|
|
codegen-units = 1
|
|
strip = "symbols"
|