mirror of
https://github.com/watchexec/watchexec.git
synced 2024-11-16 17:18:30 +01:00
446a8d95a7
Solves several issues, generally through delivering signals before filesystem events, preventing situations where an overwhelming amount of events makes it impossible to quit. Does _not_ solve the problem of a queue full of lower-priority events not accepting an urgent message, but that's a rarer issue that's more complicated to overcome. Changes the Filterer trait: adds Priority to `check_event()` Makes some events unfilterable (Urgent priority): SIGINT, SIGTERM, and CTRL_C to the main process. These still need to be handled by `on_action` to do anything, but cannot be stopped before reaching that.
67 lines
1.3 KiB
TOML
67 lines
1.3 KiB
TOML
[package]
|
|
name = "watchexec"
|
|
version = "2.0.0-pre.14"
|
|
|
|
authors = ["Matt Green <mattgreenrocks@gmail.com>", "Félix Saparelli <felix@passcod.name>"]
|
|
license = "Apache-2.0"
|
|
description = "Library to execute commands in response to file modifications"
|
|
keywords = ["watcher", "filesystem", "watchexec"]
|
|
|
|
documentation = "https://docs.rs/watchexec"
|
|
homepage = "https://watchexec.github.io"
|
|
repository = "https://github.com/watchexec/watchexec"
|
|
readme = "README.md"
|
|
|
|
rust-version = "1.58.0"
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
async-priority-channel = "0.1.0"
|
|
async-recursion = "1.0.0"
|
|
async-stream = "0.3.2"
|
|
atomic-take = "1.0.0"
|
|
clearscreen = "1.0.9"
|
|
dunce = "1.0.2"
|
|
futures = "0.3.16"
|
|
git-config = "0.2.0"
|
|
globset = "0.4.8"
|
|
ignore = "0.4.18"
|
|
miette = "3.2.0"
|
|
nom = "7.0.0"
|
|
once_cell = "1.8.0"
|
|
regex = "1.5.4"
|
|
thiserror = "1.0.26"
|
|
unicase = "2.6.0"
|
|
|
|
[dependencies.command-group]
|
|
version = "1.0.8"
|
|
features = ["with-tokio"]
|
|
|
|
[dependencies.notify]
|
|
version = "=5.0.0-pre.14"
|
|
|
|
[dependencies.tokio]
|
|
version = "1.19.2"
|
|
features = [
|
|
"fs",
|
|
"io-std",
|
|
"process",
|
|
"rt",
|
|
"rt-multi-thread",
|
|
"signal",
|
|
"sync",
|
|
]
|
|
|
|
[dependencies.tokio-stream]
|
|
version = "0.1.7"
|
|
features = ["fs"]
|
|
|
|
[dependencies.tracing]
|
|
version = "0.1.26"
|
|
features = ["log"]
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
libc = "0.2.104"
|
|
|
|
[dev-dependencies]
|
|
tracing-subscriber = "0.3.6"
|