-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
64 lines (59 loc) · 1.5 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
[workspace]
resolver = "2"
members = [
"check-for-attributes",
"check-for-cringe-summaries",
"check-for-optimizations",
"check-for-pedantic",
"check-for-unwrap",
"compress-exe",
"convert-caption-json-to-txt",
"convert-e621-json-to-caption",
"create-empty-caption-files",
"delete-url-files",
"extract-metadata",
"format-json",
"hotdogaug",
"insert-pedantic",
"keep-tokens",
"letterbox-remover",
"remove-extra-file-extensions",
"remove-transparency",
"search-for-empty-captions",
"search-for-superscript-numbers",
]
[package]
name = "dataset-tools"
version = "0.1.0"
authors = ["Balazs Horvath"]
edition = "2021"
license = "MIT"
# Enable all compiler optimizations in debug builds.
[profile.dev]
opt-level = 3
# Enable all compiler optimizations for dependencies in debug builds.
# With some link time optimizations, it might produce better optimized
# code, using whole-program analysis, at the cost of longer linking time.
[profile.dev.package."*"]
opt-level = 3
codegen-units = 1
# Enable every possible compiler optimizations and stripping for release builds.
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
strip = true
[dependencies]
# Command Line Argument Parser for Rust
log = "0.4.22"
env_logger = "0.11.3"
clap = { version = "4.5.8", features = ["derive"] }
regex = "1.10.5"
walkdir = "2.5.0"
crossterm = "0.27.0"
serde_json = "1.0.120"
safetensors = "0.4.3"
memmap2 = "0.9.4"
anyhow = "1.0.86"
image = "0.25.1"
tokio = { version = "1.38.0", features = ["full"] }