# 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"
name = "t2"
version = "1.0.0"
authors = ["Keith Yang <yang@keitheis.org>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rerun commands when files change - Rust file watcher"
readme = "README.md"
keywords = [
    "watcher",
    "file",
    "development",
    "automation",
    "cli",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/keitheis/t2"

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

[dependencies.anyhow]
version = "1.0"

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

[dependencies.notify]
version = "6.1"

[dependencies.notify-debouncer-full]
version = "0.3"

[dependencies.tokio]
version = "1.35"
features = [
    "rt-multi-thread",
    "macros",
    "process",
    "signal",
    "sync",
]

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

[profile.release]
lto = true
codegen-units = 1
strip = true
