-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
42 lines (34 loc) · 1.02 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
[package]
name = "modify-crc32"
version = "0.1.1"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[[bin]]
name = "modify-crc32-cli"
path = "src/bin/cli.rs"
required-features = ["cli"]
[[bin]]
name = "modify-crc32-gui"
path = "src/bin/gui/main.rs"
required-features = ["gui"]
[features]
default = ["cli", "gui"]
cli = ["dep:argh", "dep:kdam", "dep:rprompt"]
gui = ["dep:eframe", "dep:egui-modal", "dep:egui_file", "dep:flume"]
[dependencies]
crc32fast = "1.3.2"
# cli dependencies
argh = { version = "0.1.10", optional = true }
kdam = { version = "0.3.0", features = [
"template",
"gradient",
], optional = true }
rprompt = { version = "2.0.2", optional = true }
# gui dependencies
eframe = { version = "0.21.3", optional = true }
egui-modal = { version = "0.2.2", optional = true }
egui_file = { version = "0.8.0", optional = true }
flume = { version = "0.10.14", default-features = false, optional = true }
[dev-dependencies]
fastrand = "1.9.0"
rayon = "1.7.0"