watchexec/crates/cli/Cargo.toml

126 lines
3.6 KiB
TOML
Raw Normal View History

[package]
name = "watchexec-cli"
version = "1.21.1"
authors = ["Matt Green <mattgreenrocks@gmail.com>", "Félix Saparelli <felix@passcod.name>"]
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"
repository = "https://github.com/watchexec/watchexec"
2021-05-08 17:39:13 +02:00
readme = "README.md"
2021-10-19 13:51:33 +02:00
edition = "2021"
[[bin]]
name = "watchexec"
path = "src/main.rs"
[dependencies]
2021-12-23 14:28:21 +01:00
console-subscriber = { version = "0.1.0", optional = true }
dirs = "4.0.0"
2022-01-18 10:14:34 +01:00
futures = "0.3.17"
miette = { version = "5.3.0", features = ["fancy"] }
notify-rust = "4.5.2"
tracing = "0.1.26"
[dependencies.clap]
version = "3.1.18"
features = ["cargo", "wrap_help"]
2022-06-15 05:25:05 +02:00
[dependencies.ignore-files]
version = "1.1.0"
2022-06-15 05:25:05 +02:00
path = "../ignore-files"
[dependencies.project-origins]
version = "1.2.0"
2022-06-15 05:25:05 +02:00
path = "../project-origins"
2022-06-16 10:17:04 +02:00
[dependencies.watchexec]
version = "2.1.1"
2022-06-16 10:17:04 +02:00
path = "../lib"
[dependencies.watchexec-filterer-globset]
version = "1.1.0"
2022-06-16 10:17:04 +02:00
path = "../filterer/globset"
[dependencies.watchexec-filterer-tagged]
version = "0.2.0"
2022-06-16 10:17:04 +02:00
path = "../filterer/tagged"
[dependencies.tokio]
version = "1.24.2"
2021-10-16 06:25:21 +02:00
features = [
"fs",
2021-10-16 06:25:21 +02:00
"io-std",
"process",
"rt",
"rt-multi-thread",
"signal",
"sync",
]
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",
"json",
"tracing-log",
2021-12-23 14:35:26 +01:00
]
2021-10-15 03:27:32 +02:00
[target.'cfg(target_env = "musl")'.dependencies]
mimalloc = "0.1.26"
[build-dependencies]
embed-resource = "1.6.1"
2021-09-28 14:47:18 +02:00
[features]
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"]
[package.metadata.binstall]
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 }"
pkg-fmt = "txz"
[package.metadata.binstall.overrides.x86_64-pc-windows-msvc]
pkg-fmt = "zip"
[package.metadata.deb]
maintainer = "Félix Saparelli <felix@passcod.name>"
license-file = ["../../LICENSE", "0"]
section = "utility"
depends = "libc6, libgcc-s1" # not needed for musl, but see below
# conf-files = [] # look me up when config file lands
assets = [
["../../target/release/watchexec", "usr/bin/watchexec", "755"],
["README.md", "usr/share/doc/watchexec/README", "644"],
["../../doc/watchexec.1.html", "usr/share/doc/watchexec/watchexec.1.html", "644"],
["../../doc/watchexec.1", "usr/share/man/man1/watchexec.1.html", "644"],
["../../completions/zsh", "usr/share/zsh/site-functions/_watchexec", "644"],
["../../doc/logo.svg", "usr/share/icons/hicolor/scalable/apps/watchexec.svg", "644"],
]
[package.metadata.generate-rpm]
assets = [
{ source = "../../target/release/watchexec", dest = "/usr/bin/watchexec", mode = "755" },
{ source = "README.md", dest = "/usr/share/doc/watchexec/README", mode = "644", doc = true },
{ source = "../../doc/watchexec.1.html", dest = "/usr/share/doc/watchexec/watchexec.1.html", mode = "644", doc = true },
{ source = "../../doc/watchexec.1", dest = "/usr/share/man/man1/watchexec.1.html", mode = "644" },
{ 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" },
# set conf = true for config file when that lands
]
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 = "*"