-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
42 lines (35 loc) · 880 Bytes
/
Cargo.toml
File metadata and controls
42 lines (35 loc) · 880 Bytes
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 = "nonogram-solver"
version = "0.9.0"
edition = "2021"
[dependencies]
image = { version = "0.25", features = ["jpeg", "png", "bmp", "gif", "tiff", "webp"] }
clap = { version = "4.5", features = ["derive"] }
anyhow = "1.0"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
rayon = "1.10"
tesseract = { version = "0.15", optional = true }
regex = "1.10"
dirs = "5.0"
chrono = "0.4"
slint = { version = "1.9", optional = true }
rfd = { version = "0.15", optional = true }
[features]
default = []
ocr = ["tesseract"]
gui = ["slint", "rfd", "slint-build"]
[profile.dev]
opt-level = 1
[profile.release]
opt-level = 3
lto = true
[[bin]]
name = "nonogram-solver"
path = "src/main.rs"
[[bin]]
name = "nonogram-solver-gui"
path = "src/gui_main.rs"
required-features = ["gui"]
[build-dependencies]
slint-build = { version = "1.9", optional = true }