-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Cargo.toml
71 lines (63 loc) · 1.38 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
68
69
70
71
[package]
name = "aarty"
version = "0.7.0-alpha.4"
edition = "2021"
rust-version = "1.70"
authors = ["Anas Elgarhy <[email protected]>"]
description = "Mini-framework to display pictures on your terminal"
repository = "https://github.com/0x61nas/aarty"
license = "MIT"
readme = "README.md"
autobins = false
keywords = [
"ascii",
"art",
"image",
"pictures"
]
categories = [
"command-line-utilities",
"multimedia",
"text-processing"
]
include = [
"src/**/*",
"benches/**/*",
"Cargo.toml",
"README.md",
"LICENSE",
"CHANGELOG.md"
]
[[bin]]
name = "aarty"
path = "src/bin/main.rs"
required-features = ["image", "colors"]
[[bench]]
name = "text_image"
harness = false
required-features = ["text_image", "image"]
[[bench]]
name = "convert_to_ascii"
harness = false
required-features = ["image"]
[dependencies]
image = { version = "0.25", optional = true }
serde = { version = "1.0.200", features = ["derive"], optional = true }
# transitive dependencies
rayon = { version = ">=1.1", optional = true }
cfg-if = { version = ">=0.1.2", optional = true }
[features]
default = ["colors", "reverse", "image", "text_image"]
colors = []
image = ["dep:image", "rayon", "cfg-if"]
reverse = []
serde = ["dep:serde"]
text_image = []
[dev-dependencies]
criterion = "0.5.1"
[profile.release]
panic = "abort"
strip = true
lto = "fat"
codegen-units = 1
debug = false