-
Notifications
You must be signed in to change notification settings - Fork 81
/
Cargo.toml
67 lines (57 loc) · 1.92 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
[package]
name = "cargo-watch"
version = "8.5.3"
authors = ["Félix Saparelli <[email protected]>"]
license = "CC0-1.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"
rust-version = "1.75.0"
exclude = ["/.github"]
[[bin]]
name = "cargo-watch"
[dependencies]
camino = "1.1.2"
cargo_metadata = "0.18.1"
clap = "2.34.0"
dotenvy = "0.15.6"
log = "0.4.17"
notify-rust = "4.7.0"
shell-escape = "0.1.5"
stderrlog = "0.6.0"
watchexec = "1.17.2"
[dev-dependencies]
assert_cmd = "1.0.8"
insta = "1.32.0"
predicates = "3.0.4"
wait-timeout = "0.2.0"
[profile.release]
lto = true
panic = "abort"
codegen-units = 1
[package.metadata.binstall]
bin-dir = "{ name }-v{ version }-{ target }/{ bin }{ format }"
[package.metadata.deb]
maintainer = "Félix Saparelli <[email protected]>"
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
]