[package]
edition = "2021"
rust-version = "1.61.0"
name = "watchexec"
version = "8.1.2"
authors = [
"Félix Saparelli <felix@passcod.name>",
"Matt Green <mattgreenrocks@gmail.com>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Library to execute commands in response to file modifications"
homepage = "https://watchexec.github.io"
documentation = "https://docs.rs/watchexec"
readme = "README.md"
keywords = [
"watcher",
"filesystem",
"watchexec",
]
license = "Apache-2.0"
repository = "https://github.com/watchexec/watchexec"
[lib]
name = "watchexec"
path = "src/lib.rs"
[[example]]
name = "only_commands"
path = "examples/only_commands.rs"
[[example]]
name = "only_events"
path = "examples/only_events.rs"
[[example]]
name = "readme"
path = "examples/readme.rs"
[[example]]
name = "restart_run_on_successful_build"
path = "examples/restart_run_on_successful_build.rs"
[[test]]
name = "env_reporting"
path = "tests/env_reporting.rs"
[[test]]
name = "error_handler"
path = "tests/error_handler.rs"
[dependencies.async-priority-channel]
version = "0.2.0"
[dependencies.atomic-take]
version = "1.0.0"
[dependencies.futures]
version = "0.3.29"
[dependencies.miette]
version = "7.2.0"
[dependencies.normalize-path]
version = "0.2.0"
[dependencies.notify]
version = "8.0.0"
[dependencies.thiserror]
version = "2.0.11"
[dependencies.tokio]
version = "1.33.0"
features = [
"fs",
"io-std",
"process",
"rt",
"rt-multi-thread",
"signal",
"sync",
]
[dependencies.tracing]
version = "0.1.40"
features = ["log"]
[dependencies.watchexec-events]
version = "6.1.0"
[dependencies.watchexec-signals]
version = "5.0.1"
[dependencies.watchexec-supervisor]
version = "5.1.0"
[dev-dependencies.tracing-subscriber]
version = "0.3.6"
features = ["env-filter"]
[target."cfg(unix)".dependencies.libc]
version = "0.2.74"
[target."cfg(unix)".dev-dependencies.nix]
version = "0.30.1"
features = ["signal"]
[target."cfg(windows)".dependencies.windows-sys]
version = ">= 0.59.0, < 0.62.0"
features = [
"Win32_System_Console",
"Win32_Foundation",
]
[lints.clippy]
blocks_in_conditions = "allow"
cognitive_complexity = "allow"
default_trait_access = "allow"
enum_glob_use = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
nursery = "warn"
option_if_let_else = "allow"
pedantic = "warn"
similar_names = "allow"
too_many_lines = "allow"