summaryrefslogtreecommitdiff
path: root/support/pkgcheck/Cargo.toml
blob: c765d91590525eba6c345570461ed0a08d549e0d (plain)
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
[package]
name = "pkgcheck"
version = "3.1.0"
authors = ["Manfred Lotz <manfred@ctan.org>"]
description = "Command-line tool to check packages uploaded to CTAN."
license = "MIT/Apache-2.0"
readme = "README.md"
edition = "2021"

[[bin]]
name = "pkgcheck"

# with this option binaries are smaller
# https://doc.rust-lang.org/edition-guide/rust-2018/error-handling-and-panics/aborting-on-panic.html
[profile.release]
panic = "abort"
lto = true

[dependencies]
blake3 = "1.3"
clap = { version = "4", features = ["derive"] }
clap_complete = "4"
colored = "2"
config = "0.13"
escargot = "0.5"
fern = "0.6"
glob = "0.3"
home = "0.5.3"
once_cell = "1.13"
#lazy_static = "1"
linkify = "0.9"
log = "0.4"
num_cpus = "1"
openssl-probe = "0.1.4"
pest = "2.3"
pest_derive = "2.3"
regex = "1"
reqwest = { version = "0.11", features = ["blocking", "gzip"] }
rustc-hash = "1.1"
scoped_threadpool = "0.1"
serde = { version = "1.0", features = ["derive"] }
serde_yaml = "0.9"
tempfile = "3.1"
threadpool = "1.8"
tokio = { version = "1", features = ["full"] }
unbytify = "0.2"
unicode-bom = "1"
url = "2.1"
walkdir = "2.3"
zip = { version = "^0.6", default-features = false, features = ["deflate"] }

[dev-dependencies]
assert_cmd = "2"
predicates = "2"

[package.metadata.deb]
section = "utility"
depends = ""
priority = "optional"
assets = [
	["target/x86_64-unknown-linux-musl/release/pkgcheck", "usr/bin/", "755"],
	["LICENSE-MIT", "usr/share/doc/pkgcheck/", "644"],
	["LICENSE-APACHE", "usr/share/doc/pkgcheck/", "644"],
	["README.md", "usr/share/doc/pkgcheck/README", "644"],
	["docs/pkgcheck.pdf", "usr/share/doc/pkgcheck/pkgcheck.pdf", "644"],
]
extended-description = """\
A checker for uploaded packages to CTAN
"""

changelog = "CHANGES.md"



[package.metadata.rpm]
package = "pkgcheck"

[package.metadata.rpm.cargo]
buildflags = ["--release"]

[package.metadata.rpm.targets]
pkgcheck = { path = "/usr/bin/pkgcheck" }