-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
56 lines (48 loc) · 1.37 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
[package]
name = "chksum-cli"
version = "0.4.2"
authors = ["Konrad Goławski <konrad@golawski.it>"]
edition = "2021"
rust-version = "1.74.0"
description = "A simple checksum calculator."
readme = ".cargo/README.md"
repository = "https://github.com/chksum-rs/cli"
license = "MIT"
keywords = ["checksum", "digest", "directory-checksum", "file-checksum", "hash"]
categories = ["command-line-utilities", "cryptography", "filesystem"]
[profile.release]
lto = "fat"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[dependencies]
anyhow = "1.0.76"
chksum = { version = "0.4.0", default-features = false }
clap = { version = "4.4.11", features = ["cargo", "derive", "wrap_help", "unicode"] }
colored = { version = "2.1.0", optional = true }
exitcode = "1.1.2"
rayon = "1.7.0"
[dev-dependencies]
assert_cmd = { version = "2.0.12", features = ["color-auto"] }
assert_fs = { version = "=1.0.12", features = ["color-auto"] }
thiserror = "1.0.51"
[features]
default = [
# compilation
"color",
# algorithms
"md5", "sha1", "sha2",
]
# compilation
color = ["colored"]
# algorithms
md5 = ["chksum/md5"]
sha1 = ["chksum/sha1"]
sha2 = ["sha2-224", "sha2-256", "sha2-384", "sha2-512", "chksum/sha2"]
sha2-224 = ["chksum/sha2-224"]
sha2-256 = ["chksum/sha2-256"]
sha2-384 = ["chksum/sha2-384"]
sha2-512 = ["chksum/sha2-512"]
[[bin]]
name = "chksum"
path = "src/main.rs"