# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "cutler"
version = "0.19.6"
authors = ["Machlit"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Powerful, declarative settings management for your Mac, with speed."
homepage = "https://machlit.github.io/cutler"
readme = "README.md"
keywords = [
    "macos",
    "macos-automation",
    "cutler",
    "declarative-settings",
]
categories = ["command-line-utilities"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/machlit/cutler"

[lib]
name = "cutler"
path = "src/lib.rs"

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

[[test]]
name = "domains_test"
path = "tests/domains_test.rs"

[[test]]
name = "external_test"
path = "tests/external_test.rs"

[[test]]
name = "inline_table_test"
path = "tests/inline_table_test.rs"

[[test]]
name = "snapshot_test"
path = "tests/snapshot_test.rs"

[[test]]
name = "type_conversion_test"
path = "tests/type_conversion_test.rs"

[dependencies.anstyle]
version = "1.0.13"

[dependencies.anyhow]
version = "1.0.100"

[dependencies.async-trait]
version = "0.1.89"

[dependencies.clap]
version = "4"
features = ["derive"]

[dependencies.clap_complete]
version = "4.5.65"

[dependencies.defaults-rs]
version = "1.2.2"
default-features = false

[dependencies.dialoguer]
version = "0.12.0"

[dependencies.dirs]
version = "6.0.0"

[dependencies.nix]
version = "0.30.1"
features = ["user"]

[dependencies.once_cell]
version = "1.21.3"

[dependencies.regex]
version = "1.12.2"

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "rustls-tls",
]
default-features = false

[dependencies.self_update]
version = "0.42.0"
features = [
    "archive-tar",
    "compression-flate2",
]

[dependencies.semver]
version = "1.0.27"

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0.149"

[dependencies.sha2]
version = "0.10.9"

[dependencies.shell-words]
version = "1.1.1"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.toml]
version = "0.9"

[dependencies.toml_edit]
version = "0.24"

[dependencies.which]
version = "8.0.0"

[dev-dependencies.tempfile]
version = "3.24.0"

[lints.clippy]
expect_used = "deny"
must_use_candidate = "warn"
unreachable = "deny"
unwrap_used = "deny"

[lints.rust]
unused_must_use = "deny"

[profile.release]
lto = "thin"
