[package]
name = "hazelnut"
version = "0.2.21"
edition = "2024"
rust-version = "1.93"
authors = ["Ricardo Dantas"]
description = "A terminal-based automated file organizer inspired by Hazel"
license = "MIT"
repository = "https://github.com/ricardodantas/hazelnut"
keywords = ["tui", "file-organizer", "automation", "cli", "terminal"]
categories = ["command-line-utilities", "filesystem"]
default-run = "hazelnut"
[dependencies]
ratatui = "0.30"
crossterm = "0.29"
tokio = { version = "1.49", features = ["full"] }
notify = "9.0.0-rc.1"
serde = { version = "1.0", features = ["derive"] }
toml = "0.9"
clap = { version = "4.5", features = ["derive"] }
dirs = "6.0"
anyhow = "1.0"
thiserror = "2.0"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
regex = "1.11"
glob = "0.3"
chrono = { version = "0.4", features = ["serde"] }
open = "5.3"
ureq = { version = "2.10", features = ["json"] }
serde_json = "1.0"
[dev-dependencies]
tempfile = "3.19"
assert_fs = "1.1"
predicates = "3.1"
[[bin]]
name = "hazelnut"
path = "src/main.rs"
[[bin]]
name = "hazelnutd"
path = "src/daemon.rs"
[target.'cfg(unix)'.dependencies]
libc = "0.2"
[profile.release]
lto = true
codegen-units = 1
strip = true