-
Notifications
You must be signed in to change notification settings - Fork 18
/
Cargo.toml
85 lines (69 loc) · 2.48 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
[package]
name = "matugen"
version = "2.4.1"
authors = ["InioX"]
description = "A material you color generation tool with templates"
repository = "https://github.com/InioX/matugen"
categories = ["command-line-utilities"]
exclude = ["default.nix", "flake.nix", "shell.nix", "example/*"]
license = "GPL-2.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[target.'cfg(windows)'.dependencies]
winapi = { version = "0.3", features = ["winuser"] }
[target.'cfg(target_os = "macos")'.dependencies]
enquote = "1.1.0"
[features]
default = ["dump-json"]
update-informer = ["dep:update-informer"]
web-image = ["dep:reqwest"]
dump-json = ["dep:serde_json"]
ui = [
"dep:egui",
"dep:eframe",
"dep:indexmap",
"dep:egui_file",
"dep:rfd",
]
[dev-dependencies]
criterion = { version = "0.5", features = ["html_reports"] }
[[bench]]
name = "template"
harness = false
[dependencies]
# logging
log = "0.4.17"
paris-log = { version = "1.0.2", features = ["icons"] } # TODO replace with using paris directly?
pretty_env_logger = "0.5.0"
# terminal output
prettytable-rs = { default-features = false, version = "0.10.0" } # TODO feature-gate? This should definitely be a default feature tho.
color-eyre = { version = "0.6.2", default-features = false }
colorsys = { default-features = false, version = "0.6.7" }
owo-colors = "4.0.0"
# templating engine
upon = { features = ["filters", "serde"], default-features = false, version = "0.8.0" }
# config
serde = { version = "1.0.160", features = ["serde_derive", "std"], default-features = false }
toml = { features = ["parse"], default-features = false, version = "0.8.8" }
clap = { version = "4.2.4", features = ["derive", "std"], default-features = true }
material-colors = { version = "0.4.0", features = ["image"] }
image = { default-features = false, version = "0.25.2" }
directories = "5.0"
# should probably be removed
resolve-path = "0.1.0"
execute = "0.2.13"
# update-informer feature
update-informer = { version = "1.1.0", optional = true }
# dump-json feature
serde_json = { version = "1.0.107", optional = true }
# web-image feature
reqwest = { version = "0.12.5", default-features = false, features = [
"blocking",
"rustls-tls",
], optional = true }
# gui feature
egui = { version = "0.29.1", optional = true }
eframe = { version = "0.29.1", optional = true }
indexmap = { version = "2.7.0", optional = true }
egui_file = { version = "0.19.0", optional = true }
rfd = { version = "0.15.1", optional = true }