-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathCargo.toml
94 lines (86 loc) · 2.79 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
[package]
name = "cooklang-chef"
version = "0.10.0"
edition = "2021"
authors = ["Zheoni <zheoni@outlook.es>"]
description = "CLI to manage cooklang recipes"
license = "MIT"
keywords = ["cooklang", "cooking", "recipes", "cli", "chef"]
categories = ["command-line-utilities", "parser-implementations"]
repository.workspace = true
readme = "README.md"
include = ["/src", "/Cargo.toml", "/README.md", "/ui/assets", "/ui/i18n", "/ui/templates"]
[[bin]]
path = "src/main.rs"
name = "chef"
[dependencies]
clap = { version = "4", features = ["derive"] }
clap_complete = "4"
tabular = { version = "0.2", features = ["ansi-cell"] }
serde_json = "1"
toml = "0.8"
cooklang = { workspace = true }
cooklang-fs = { version = "0.15", path = "./cooklang-fs" }
cooklang-to-human = { version = "0.15", path = "./cooklang-to-human" }
cooklang-to-cooklang = { version = "0.15", path = "./cooklang-to-cooklang" }
cooklang-to-md = { version = "0.15", path = "./cooklang-to-md" }
textwrap = { workspace = true, features = ["terminal_size"] }
tracing = "0.1"
tracing-subscriber = "0.3"
anyhow = "1"
serde = { version = "1", features = ["derive"] }
camino = { version = "1", features = ["serde1"] }
bitflags = { version = "2", features = ["std"] }
colorchoice-clap = "1.0"
anstream = "0.6"
directories = "6.0.0"
inquire = "0.7.4"
shell-words = "1.1"
enum-map = "2.7.3"
emojis = "0.6.0"
once_cell = "1"
serde_yaml = "0.9.34"
yansi = {workspace = true}
# Serve
tokio = { version = "1", features = ["full"], optional = true }
axum = { version = "0.8.1", optional = true }
tower = { version = "0.5.2", features = ["util"], optional = true }
tower-http = { version = "0.6.2", features = ["fs", "trace"], optional = true }
notify = { version = "8.0.0", optional = true }
tokio-stream = { version = "0.1", features = ["sync"], optional = true }
futures = { version = "0.3", optional = true }
rust-embed = { version = "8.0", features = ["compression", "include-exclude"], optional = true }
mime_guess = { version = "2.0", optional = true }
open = { version = "5.0", optional = true }
minijinja = { version = "2.0.2", features = ["loader", "urlencode", "json"], optional = true}
ansi-to-html = { version = "0.2.1", optional = true }
regex = { version = "1", optional = true }
[features]
default = ["serve"]
serve = [
"dep:tokio",
"dep:axum",
"dep:notify",
"dep:tokio-stream",
"dep:futures",
"dep:tower",
"dep:tower-http",
"dep:mime_guess",
"dep:rust-embed",
"dep:open",
"dep:minijinja",
"dep:ansi-to-html",
"dep:regex"
]
[workspace]
members = ["cooklang-fs", "cooklang-to-cooklang", "cooklang-to-human", "cooklang-to-md"]
[workspace.package]
repository = "https://github.com/Zheoni/cooklang-chef"
[workspace.dependencies]
cooklang = "0.15"
textwrap = "0.16"
yansi = "1.0.1"
[profile.release]
lto = "thin"
strip = true
# opt-level = "s"