[package]
edition = "2024"
rust-version = "1.85.0"
name = "stutter-daemon"
version = "0.3.2"
authors = ["Kleshzz"]
build = false
exclude = [
".github",
"pkg/",
"docs/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Focus-aware process priority daemon"
homepage = "https://github.com/Kleshzz/stutter"
readme = "docs/README.md"
keywords = [
"wayland",
"compositor",
"daemon",
"priority",
"nice",
]
categories = [
"os",
"command-line-utilities",
]
license = "MIT"
repository = "https://github.com/Kleshzz/stutter"
[[bin]]
name = "stutter"
path = "src/main.rs"
[dependencies.libc]
version = "0.2"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"rt",
"macros",
"io-util",
"net",
"signal",
"time",
]
[dependencies.toml]
version = "1.1"
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
[lints.clippy]
cloned_instead_of_copied = "warn"
expect_used = "warn"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
mut_mut = "warn"
too_many_lines = "allow"
unwrap_used = "warn"
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_debug_implementations = "warn"
unsafe_code = "warn"
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
panic = "abort"
overflow-checks = false
strip = true