summaryrefslogtreecommitdiff
path: root/support/pkgcheck/Cargo.toml
blob: 29048feda94a095614b72cd3308dfd007e8b71f8 (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
[package]
name = "pkgcheck"
version = "2.4.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"

# 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]
structopt = "0.3"
walkdir = "2.3"
scoped_threadpool = "0.1"
num_cpus = "1"
blake3 = "1.2.0"
rustc-hash = "1.1"
unbytify = "0.2"
regex = "1"
glob = "0.3"
colored = "2"
linkify = "0.8"

reqwest = { version = "0.11", features = ["blocking", "gzip"] }
tokio = { version = "1", features = ["full"] }

lazy_static = "1"
tempfile = "3.1"
assert_cmd = "2"
predicates = "2"
openssl-probe = "0.1.4"
pest = "2.1"
pest_derive = "2.1"
escargot = "0.5"

threadpool = "1.8"
unicode-bom = "1"

url = "2.1"

zip = { version = "0.5", default-features = false }
zip-extensions = "0.6"

[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" }