-
-
Notifications
You must be signed in to change notification settings - Fork 105
/
Cargo.toml
58 lines (48 loc) · 1.22 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
[package]
authors = ["David Peter <[email protected]>"]
categories = ["command-line-utilities"]
description = "A command-line tool to generate, analyze, convert and manipulate colors"
homepage = "https://github.com/sharkdp/pastel"
license = "MIT/Apache-2.0"
name = "pastel"
readme = "README.md"
repository = "https://github.com/sharkdp/pastel"
version = "0.10.0"
edition = "2021"
build = "build.rs"
exclude = ["doc/pastel.gif"]
rust-version = "1.74.0"
[dependencies]
# library dependencies
atty = "0.2"
nom = "7.1.3"
once_cell = "1.20.2"
output_vt100 = "0.1"
rand = "0.8"
# binary-only dependencies (see https://github.com/rust-lang/cargo/issues/1982)
regex = "1.11"
[dependencies.clap]
version = "3"
features = ["suggestions", "color", "wrap_help", "cargo"]
[build-dependencies]
clap = { version = "3", features = ["cargo"] }
clap_complete = "3"
once_cell = "1.20.2"
output_vt100 = "0.1"
[[bin]]
name = "pastel"
path = "src/cli/main.rs"
[dev-dependencies]
approx = "0.5.0"
assert_cmd = "2.0.13"
rand_xoshiro = "0.6.0"
criterion = "0.5"
[[bench]]
name = "parse_color"
harness = false
[profile.release]
lto = true
strip = true
codegen-units = 1
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(pastel_normal_build)'] }