[package]
name = "dotm-rs"
version = "2.1.1"
edition = "2024"
rust-version = "1.87"
description = "Dotfile manager with composable roles, templates, and host-specific overrides"
license = "AGPL-3.0-only"
authors = ["Anten Skrabec <cebarks@gmail.com>"]
readme = "README.md"
repository = "https://github.com/cebarks/dotm"
keywords = ["dotfiles", "configuration", "symlink", "template", "stow"]
categories = ["command-line-utilities", "config"]

[lib]
name = "dotm"

[[bin]]
name = "dotm"
path = "src/main.rs"

[dependencies]
anyhow = "1"
clap = { version = "4", features = ["derive"] }
clap_complete = "4"
dirs = "6"
fs2 = "0.4"
hostname = "0.4"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
tera = "1"
crossterm = "0.29"
gix = { version = "0.81", default-features = false, features = ["revision", "sha1"] }
nix = { version = "0.31", features = ["user", "fs"] }
sha2 = "0.10"
shellexpand = "3"
similar = "2"
toml = "1"

[dev-dependencies]
assert_cmd = "2"
predicates = "3"
tempfile = "3"
