-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
52 lines (43 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
[package]
name = "ya"
version = "0.10.5"
edition = "2021"
default-run = "ya"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
build = "build.rs"
[build-dependencies]
clap = { version = "4.5.19", features = ["derive", "cargo"], optional = true }
clap_complete = { version = "4.5.32", optional = true }
handlebars = { version = "5.1.2", optional = true }
serde_json = { version = "1.0.128", optional = true }
[dependencies]
anyhow = "1.0.89"
clap = { version = "4.5.19", features = ["derive", "cargo"] }
colored = "2.1.0"
serde_yaml = "0.9.34"
home = { version = "0.5.9", optional = true }
clap_complete = { version = "4.5.32", optional = true }
handlebars = {version = "5.1.2", features = ["dir_source"], optional = true }
serde_json = { version = "1.0.128", optional = true }
ignore = { version = "0.4.23", optional = true }
dialoguer = { version = "0.11.0", optional = true }
[dev-dependencies]
assert_cmd = "2.0.16"
tempfile = "3.13.0"
[profile.release]
strip = true
lto = true
codegen-units = 1
panic = "abort"
[[bin]]
name = "ya"
path = "src/bin/ya.rs"
[[bin]]
name = "yadayada"
path = "src/bin/yadayada.rs"
required-features = ["yadayada"]
[features]
completion = ["clap_complete"]
templating = ["handlebars", "serde_json", "ignore", "dialoguer"]
gh-release = ["completion", "templating"]
yadayada = ["completion", "templating", "home"]