# 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 = "rewatch"
version = "0.4.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "File watch and restart tool — a smarter cargo-watch alternative for AI coding agents. Waits for you (or a trigger file) instead of rebuilding on every save."
readme = "README.md"
keywords = [
    "watch",
    "restart",
    "dev-tools",
    "ai-agent",
    "claude-code",
]
categories = [
    "development-tools",
    "command-line-utilities",
]
license = "MIT"
repository = "https://github.com/holovskyi/rewatch"

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

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

[dependencies.ctrlc]
version = "3"

[dependencies.notify]
version = "7"

[dependencies.process-wrap]
version = "9"
features = ["std"]

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

[dependencies.shlex]
version = "1"

[dependencies.toml]
version = "0.8"

[profile.release]
opt-level = "z"
lto = true
strip = true
