2021-04-30 17:27:17 +02:00
|
|
|
[package]
|
|
|
|
name = "watchexec-cli"
|
2023-08-30 08:18:56 +02:00
|
|
|
version = "1.23.0"
|
2021-04-30 17:27:17 +02:00
|
|
|
|
2023-03-05 02:57:34 +01:00
|
|
|
authors = ["Félix Saparelli <felix@passcod.name>", "Matt Green <mattgreenrocks@gmail.com>"]
|
2021-04-30 17:27:17 +02:00
|
|
|
license = "Apache-2.0"
|
|
|
|
description = "Executes commands in response to file modifications"
|
|
|
|
keywords = ["watcher", "filesystem", "cli", "watchexec"]
|
|
|
|
categories = ["command-line-utilities"]
|
|
|
|
|
2021-07-21 14:13:59 +02:00
|
|
|
documentation = "https://watchexec.github.io/docs/#watchexec"
|
|
|
|
homepage = "https://watchexec.github.io"
|
2021-04-30 17:27:17 +02:00
|
|
|
repository = "https://github.com/watchexec/watchexec"
|
2021-05-08 17:39:13 +02:00
|
|
|
readme = "README.md"
|
2021-04-30 17:27:17 +02:00
|
|
|
|
2021-10-19 13:51:33 +02:00
|
|
|
edition = "2021"
|
2021-04-30 17:27:17 +02:00
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "watchexec"
|
|
|
|
path = "src/main.rs"
|
|
|
|
|
|
|
|
[dependencies]
|
2023-11-25 21:33:44 +01:00
|
|
|
argfile = "0.1.6"
|
|
|
|
chrono = "0.4.31"
|
|
|
|
clap_complete = "4.4.4"
|
|
|
|
clap_complete_nushell = "4.4.2"
|
|
|
|
clap_mangen = "0.2.15"
|
|
|
|
clearscreen = "2.0.1"
|
2023-03-21 01:16:06 +01:00
|
|
|
dirs = "5.0.0"
|
2023-11-25 21:33:44 +01:00
|
|
|
futures = "0.3.29"
|
2023-03-05 02:57:34 +01:00
|
|
|
humantime = "2.1.0"
|
|
|
|
is-terminal = "0.4.4"
|
2023-11-25 21:33:44 +01:00
|
|
|
notify-rust = "4.9.0"
|
|
|
|
serde_json = "1.0.107"
|
|
|
|
tempfile = "3.8.1"
|
2023-11-27 13:12:51 +01:00
|
|
|
termcolor = "1.4.0"
|
2023-11-25 21:33:44 +01:00
|
|
|
tracing = "0.1.40"
|
|
|
|
which = "5.0.0"
|
2023-03-18 09:32:24 +01:00
|
|
|
|
|
|
|
[dependencies.console-subscriber]
|
2023-11-25 21:33:44 +01:00
|
|
|
version = "0.2.0"
|
2023-03-18 09:32:24 +01:00
|
|
|
optional = true
|
2021-04-30 17:27:17 +02:00
|
|
|
|
|
|
|
[dependencies.clap]
|
2023-11-25 21:33:44 +01:00
|
|
|
version = "4.4.7"
|
2023-03-05 02:57:34 +01:00
|
|
|
features = ["cargo", "derive", "env", "wrap_help"]
|
2021-04-30 17:27:17 +02:00
|
|
|
|
2022-06-15 05:25:05 +02:00
|
|
|
[dependencies.ignore-files]
|
2023-11-26 05:22:00 +01:00
|
|
|
version = "1.3.2"
|
2022-06-15 05:25:05 +02:00
|
|
|
path = "../ignore-files"
|
|
|
|
|
2023-03-18 09:32:24 +01:00
|
|
|
[dependencies.miette]
|
|
|
|
version = "5.3.0"
|
|
|
|
features = ["fancy"]
|
|
|
|
|
2023-11-25 21:33:44 +01:00
|
|
|
[dependencies.pid1]
|
|
|
|
version = "0.1.1"
|
|
|
|
optional = true
|
|
|
|
|
2022-06-15 05:25:05 +02:00
|
|
|
[dependencies.project-origins]
|
2023-11-26 04:30:39 +01:00
|
|
|
version = "1.2.1"
|
2022-06-15 05:25:05 +02:00
|
|
|
path = "../project-origins"
|
|
|
|
|
2022-06-16 10:17:04 +02:00
|
|
|
[dependencies.watchexec]
|
2023-11-29 06:41:27 +01:00
|
|
|
version = "3.0.1"
|
2022-06-16 10:17:04 +02:00
|
|
|
path = "../lib"
|
|
|
|
|
2023-03-18 09:32:24 +01:00
|
|
|
[dependencies.watchexec-events]
|
2023-11-29 06:56:23 +01:00
|
|
|
version = "2.0.1"
|
2023-03-18 09:32:24 +01:00
|
|
|
path = "../events"
|
|
|
|
features = ["serde"]
|
|
|
|
|
|
|
|
[dependencies.watchexec-signals]
|
2023-11-29 06:18:03 +01:00
|
|
|
version = "2.0.0"
|
2023-03-18 09:32:24 +01:00
|
|
|
path = "../signals"
|
|
|
|
|
2022-06-16 10:17:04 +02:00
|
|
|
[dependencies.watchexec-filterer-globset]
|
2023-11-27 11:52:28 +01:00
|
|
|
version = "2.0.0"
|
2022-06-16 10:17:04 +02:00
|
|
|
path = "../filterer/globset"
|
|
|
|
|
2021-10-15 03:27:17 +02:00
|
|
|
[dependencies.tokio]
|
2023-11-25 21:33:44 +01:00
|
|
|
version = "1.33.0"
|
2021-10-16 06:25:21 +02:00
|
|
|
features = [
|
2021-10-15 03:27:17 +02:00
|
|
|
"fs",
|
2021-10-16 06:25:21 +02:00
|
|
|
"io-std",
|
|
|
|
"process",
|
|
|
|
"rt",
|
|
|
|
"rt-multi-thread",
|
|
|
|
"signal",
|
|
|
|
"sync",
|
2021-10-15 03:27:17 +02:00
|
|
|
]
|
|
|
|
|
2021-12-23 14:35:26 +01:00
|
|
|
[dependencies.tracing-subscriber]
|
2022-01-18 10:14:34 +01:00
|
|
|
version = "0.3.6"
|
2021-12-23 14:35:26 +01:00
|
|
|
features = [
|
|
|
|
"env-filter",
|
|
|
|
"fmt",
|
2022-06-16 17:56:59 +02:00
|
|
|
"json",
|
2022-06-28 14:21:19 +02:00
|
|
|
"tracing-log",
|
2021-12-23 14:35:26 +01:00
|
|
|
]
|
|
|
|
|
2021-10-15 03:27:32 +02:00
|
|
|
[target.'cfg(target_env = "musl")'.dependencies]
|
2023-11-25 21:33:44 +01:00
|
|
|
mimalloc = "0.1.39"
|
2023-03-05 02:57:34 +01:00
|
|
|
|
2021-04-30 17:27:17 +02:00
|
|
|
[build-dependencies]
|
2023-11-25 21:33:44 +01:00
|
|
|
embed-resource = "2.4.0"
|
2021-04-30 17:27:17 +02:00
|
|
|
|
2023-03-05 04:26:23 +01:00
|
|
|
[build-dependencies.bosion]
|
2023-11-26 04:29:49 +01:00
|
|
|
version = "1.0.2"
|
2023-03-05 04:26:23 +01:00
|
|
|
path = "../bosion"
|
|
|
|
|
2021-09-28 14:47:18 +02:00
|
|
|
[features]
|
2023-11-25 21:33:44 +01:00
|
|
|
default = ["pid1"]
|
|
|
|
|
|
|
|
## Enables PID1 handling.
|
|
|
|
pid1 = ["dep:pid1"]
|
|
|
|
|
|
|
|
## Enables logging for PID1 handling.
|
|
|
|
pid1-withlog = ["pid1"]
|
|
|
|
|
2022-02-04 04:46:49 +01:00
|
|
|
## For debugging only: enables the Tokio Console.
|
2021-09-28 14:47:18 +02:00
|
|
|
dev-console = ["console-subscriber"]
|
|
|
|
|
2021-04-30 17:27:17 +02:00
|
|
|
[package.metadata.binstall]
|
2022-09-07 07:30:28 +02:00
|
|
|
pkg-url = "{ repo }/releases/download/v{ version }/watchexec-{ version }-{ target }.{ archive-format }"
|
2022-08-24 09:19:02 +02:00
|
|
|
bin-dir = "watchexec-{ version }-{ target }/{ bin }{ binary-ext }"
|
2021-04-30 17:27:17 +02:00
|
|
|
pkg-fmt = "txz"
|
|
|
|
|
|
|
|
[package.metadata.binstall.overrides.x86_64-pc-windows-msvc]
|
|
|
|
pkg-fmt = "zip"
|
2021-06-27 13:55:40 +02:00
|
|
|
|
|
|
|
[package.metadata.deb]
|
|
|
|
maintainer = "Félix Saparelli <felix@passcod.name>"
|
2022-06-23 12:29:04 +02:00
|
|
|
license-file = ["../../LICENSE", "0"]
|
2021-06-27 13:55:40 +02:00
|
|
|
section = "utility"
|
2022-06-29 03:28:29 +02:00
|
|
|
depends = "libc6, libgcc-s1" # not needed for musl, but see below
|
2021-06-27 13:55:40 +02:00
|
|
|
# conf-files = [] # look me up when config file lands
|
|
|
|
assets = [
|
2022-07-01 15:39:43 +02:00
|
|
|
["../../target/release/watchexec", "usr/bin/watchexec", "755"],
|
2021-08-24 10:23:37 +02:00
|
|
|
["README.md", "usr/share/doc/watchexec/README", "644"],
|
2023-03-18 16:36:49 +01:00
|
|
|
["../../doc/watchexec.1.md", "usr/share/doc/watchexec/watchexec.1.md", "644"],
|
2022-06-23 12:29:04 +02:00
|
|
|
["../../doc/watchexec.1", "usr/share/man/man1/watchexec.1.html", "644"],
|
2023-03-18 16:36:49 +01:00
|
|
|
["../../completions/bash", "usr/share/bash-completion/completions/watchexec", "644"],
|
|
|
|
["../../completions/fish", "usr/share/fish/completions/watchexec.fish", "644"],
|
2022-06-23 12:29:04 +02:00
|
|
|
["../../completions/zsh", "usr/share/zsh/site-functions/_watchexec", "644"],
|
|
|
|
["../../doc/logo.svg", "usr/share/icons/hicolor/scalable/apps/watchexec.svg", "644"],
|
2021-06-27 13:55:40 +02:00
|
|
|
]
|
|
|
|
|
2021-06-27 13:55:56 +02:00
|
|
|
[package.metadata.generate-rpm]
|
|
|
|
assets = [
|
2022-07-01 15:39:43 +02:00
|
|
|
{ source = "../../target/release/watchexec", dest = "/usr/bin/watchexec", mode = "755" },
|
2022-06-23 12:29:04 +02:00
|
|
|
{ source = "README.md", dest = "/usr/share/doc/watchexec/README", mode = "644", doc = true },
|
2023-03-18 16:36:49 +01:00
|
|
|
{ source = "../../doc/watchexec.1.md", dest = "/usr/share/doc/watchexec/watchexec.1.md", mode = "644", doc = true },
|
2022-06-23 12:29:04 +02:00
|
|
|
{ source = "../../doc/watchexec.1", dest = "/usr/share/man/man1/watchexec.1.html", mode = "644" },
|
2023-03-18 16:36:49 +01:00
|
|
|
{ source = "../../completions/bash", dest = "/usr/share/bash-completion/completions/watchexec", mode = "644" },
|
|
|
|
{ source = "../../completions/fish", dest = "/usr/share/fish/completions/watchexec.fish", mode = "644" },
|
2022-06-23 12:29:04 +02:00
|
|
|
{ source = "../../completions/zsh", dest = "/usr/share/zsh/site-functions/_watchexec", mode = "644" },
|
|
|
|
{ source = "../../doc/logo.svg", dest = "/usr/share/icons/hicolor/scalable/apps/watchexec.svg", mode = "644" },
|
2021-08-24 10:23:37 +02:00
|
|
|
# set conf = true for config file when that lands
|
2021-06-27 13:55:56 +02:00
|
|
|
]
|
2022-06-29 03:28:29 +02:00
|
|
|
|
|
|
|
auto-req = "disabled"
|
|
|
|
# technically incorrect when using musl, but these are probably
|
|
|
|
# present on every rpm-using system, so let's worry about it if
|
|
|
|
# someone asks.
|
|
|
|
[package.metadata.generate-rpm.requires]
|
|
|
|
glibc = "*"
|
|
|
|
libgcc = "*"
|