mirror of https://github.com/passcod/cargo-watch
108 lines
2.7 KiB
TOML
108 lines
2.7 KiB
TOML
[package]
|
||
name = "cargo-watch"
|
||
version = "8.1.2"
|
||
|
||
authors = ["Félix Saparelli <felix@passcod.name>"]
|
||
license = "Apache-2.0"
|
||
description = "Watches over your Cargo project’s source"
|
||
keywords = ["cargo", "watch", "compile", "notify"]
|
||
categories = ["command-line-utilities", "development-tools"]
|
||
|
||
documentation = "https://watchexec.github.io/docs/#cargo-watch"
|
||
homepage = "https://watchexec.github.io/#cargo-watch"
|
||
repository = "https://github.com/watchexec/cargo-watch"
|
||
readme = "README.md"
|
||
|
||
edition = "2021"
|
||
resolver = "2"
|
||
rust-version = "1.58.0"
|
||
|
||
exclude = ["/.github"]
|
||
|
||
[[bin]]
|
||
name = "cargo-watch"
|
||
|
||
[dependencies]
|
||
# camino = "1.0.4"
|
||
console-subscriber = { version = "0.1.0", optional = true }
|
||
dunce = "1.0.2"
|
||
futures = "0.3.17"
|
||
miette = { version = "3.2.0", features = ["fancy"] }
|
||
# shell-escape = "0.1.5"
|
||
tracing = "0.1.26"
|
||
watchexec = "2.0.0-pre.6"
|
||
|
||
[dependencies.clap]
|
||
version = "2.33.3"
|
||
default-features = false
|
||
features = ["wrap_help"]
|
||
|
||
[dependencies.tokio]
|
||
version = "1.15.0"
|
||
features = [
|
||
"fs",
|
||
"io-std",
|
||
"parking_lot",
|
||
"process",
|
||
"rt",
|
||
"rt-multi-thread",
|
||
"signal",
|
||
"sync",
|
||
]
|
||
|
||
[dependencies.tracing-subscriber]
|
||
version = "0.3.6"
|
||
features = [
|
||
"env-filter",
|
||
"fmt",
|
||
]
|
||
|
||
[target.'cfg(target_env = "musl")'.dependencies]
|
||
mimalloc = "0.1.26"
|
||
|
||
[target.'cfg(not(target_os="freebsd"))'.dependencies]
|
||
notify-rust = "4.5.2"
|
||
|
||
[build-dependencies]
|
||
embed-resource = "1.6.1"
|
||
|
||
[dev-dependencies]
|
||
assert_cmd = "1.0.1"
|
||
insta = "1.7.1"
|
||
predicates = "2.0.0"
|
||
wait-timeout = "0.2.0"
|
||
|
||
[features]
|
||
dev-console = ["console-subscriber"]
|
||
|
||
[profile.release]
|
||
debug = 1 # for stack traces
|
||
lto = "fat"
|
||
codegen-units = 1
|
||
|
||
[package.metadata.binstall]
|
||
pkg-url = "{ repo }/releases/download/v{ version }/{ name }-v{ version }-{ target }.tar.xz"
|
||
bin-dir = "{ name }-v{ version }-{ target }/{ bin }{ format }"
|
||
pkg-fmt = "txz"
|
||
|
||
[package.metadata.deb]
|
||
maintainer = "Félix Saparelli <felix@passcod.name>"
|
||
license-file = ["LICENSE", "0"]
|
||
section = "devel"
|
||
# conf-files = [] # look me up when config file lands
|
||
assets = [
|
||
["target/release/cargo-watch", "usr/bin/", "755"],
|
||
["README.md", "usr/share/doc/cargo-watch/README", "644"],
|
||
["cargo-watch.1", "usr/share/man/man1/cargo-watch.1", "644"],
|
||
["logo.svg", "usr/share/icons/hicolor/scalable/apps/cargo-watch.svg", "644"],
|
||
]
|
||
|
||
[package.metadata.generate-rpm]
|
||
assets = [
|
||
{ source = "target/release/cargo-watch", dest = "/usr/bin/", mode = "755" },
|
||
{ source = "README.md", dest = "/usr/share/doc/cargo-watch/README", mode = "644", doc = true },
|
||
{ source = "cargo-watch.1", dest = "/usr/share/man/man1/cargo-watch.1.html", mode = "644" },
|
||
{ source = "logo.svg", dest = "/usr/share/icons/hicolor/scalable/apps/cargo-watch.svg", mode = "644" },
|
||
# set conf = true for config file when that lands
|
||
]
|