#:tombi schema.strict = false

[package]
name = "tuning"
version = "0.5.3"
edition = "2024"
description = "ansible-like tool with a smaller scope, focused primarily on complementing dotfiles for cross-machine bliss"
readme = "README.md"
homepage = "https://gitlab.com/jokeyrhyme/tuning"
repository = "https://gitlab.com/jokeyrhyme/tuning.git"
license = "MIT"
keywords = ["ansible", "dotfiles"]
categories = ["command-line-utilities", "config", "filesystem"]
include = ["Cargo.toml", "LICENSE", "README.md", "src/**/*"]

[dependencies]
bstr = "1"
camino = { version = "1", features = ["serde1"] }
clap = { version = "4", features = ["derive"] }
colored = "3"
dirs = "6"
futures = "0.3"
gix-url = { version = "0.33", features = ["serde"] }
regex = "1"
semver = "1"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
tera = { version = "1", default-features = false }
thiserror = "1"
tokio = { version = "1", features = [
  "fs",
  "macros",
  "process",
  "rt-multi-thread",
  "sync",
  "time"
] }
toml = "0.9"
uuid = { version = "1", features = ["v4"] }
which = "4"

[dev-dependencies]
mktemp = "0.5"

# explicitly use dynamic-linking with musl
[target.'cfg(target_env = "musl")']
rustflags = "-C target-feature=-crt-static"

[badges]
maintenance = { status = "actively-developed" }

[profile.release]
opt-level = "z"
overflow-checks = true
lto = "fat"
codegen-units = 1
