[package]
name = "randpaper"
version = "0.1.5"
edition = "2024"
description = "A customizable wallpaper daemon for per-monitor cycling, one-shot application, and optional theme synchronization for Waybar and terminals."
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/saylesss88/randpaper"
homepage = "https://github.com/saylesss88/randpaper"
keywords = ["rust", "wallpaper"]
categories = ["command-line-utilities", "multimedia"]
exclude = [
	".github",
	".gitignore",
	"flake",
	"flake.lock",
	"flake.nix",
	"result",
	"rustfmt.toml",
]

[dependencies]
anyhow = "1.0.101"
async-trait = "0.1.89"
clap = {version = "4.5.57", features = ["derive"]}
color-thief = "0.2.2"
dirs = "6.0.0"
env_logger = "0.11.8"
hex = "0.4.3"
image = "0.25.9"
libc = "0.2.181"
log = "0.4.29"
parse_duration = "2.1.1"
rand = "0.10.0"
serde = "1.0.228"
serde_json = "1.0.149"
swayipc-async = "3.0.0"
swayipc-types = "2.0.1"
tokio = {version = "1.49.0", features = ["full"]}
walkdir = "2.5.0"

[lints.clippy]
all = "warn"
pedantic = "warn"
nursery = "warn"

[profile.release]
opt-level = "s"
lto = "fat"
codegen-units = 1
strip = true
panic = "abort"
debug = false
