# 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 = "2021"
rust-version = "1.89"
name = "garlic-ward"
version = "0.3.2"
authors = ["Daniel Schwartz <danielschwar@gmail.com>"]
build = false
exclude = [
    "backend/",
    "CLAUDE.md",
    ".gitignore",
    ".github/",
    ".claude/",
    ".mcp.json",
    ".semgrepignore",
    "Makefile",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Track active coding time with Claude Code and nudge yourself to take breaks"
homepage = "https://github.com/justanotherspy/garlic"
readme = "README.md"
keywords = [
    "claude",
    "claude-code",
    "productivity",
    "cli",
    "hooks",
]
categories = ["command-line-utilities"]
license = "MIT"
repository = "https://github.com/justanotherspy/garlic"

[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/garlic-{ target }.{ archive-format }"
pkg-fmt = "tgz"
bin-dir = "garlic{ binary-ext }"

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

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

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

[dependencies.chrono]
version = "0.4"
features = [
    "clock",
    "std",
]
default-features = false

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

[dependencies.dirs]
version = "6"

[dependencies.rand]
version = "0.10"

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

[dependencies.serde_json]
version = "1"
features = ["preserve_order"]

[dependencies.tempfile]
version = "3"

[dependencies.toml]
version = "1.1"

[dependencies.ureq]
version = "3"

[dev-dependencies.assert_cmd]
version = "2"

[dev-dependencies.httpmock]
version = "0.8"

[dev-dependencies.predicates]
version = "3"
