-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
125 lines (102 loc) · 3.32 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
[package]
name = "aw-man"
version = "0.1.0"
edition = "2024"
description = "Awused's personal image and manga viewer"
readme = "README.md"
license = "MIT"
keywords = ["manga", "image-viewer"]
homepage = "https://github.com/awused/aw-man"
repository = "https://github.com/awused/aw-man"
links = "GTK4, X11, libjxl, libarchive"
[dependencies]
ahash = "0.8.11"
awconf = { git = "https://github.com/awused/awconf" }
aw-upscale = { git = "https://github.com/awused/aw-upscale" }
clap = { version = "4.5.29", features = ["derive"] }
color-eyre = "0.6.3"
compress-tools = "0.15.1"
derive_more = { version = "2.0.1", default-features = false, features = ["add", "add_assign", "deref", "deref_mut", "debug", "display", "from"] }
dirs = "6.0.0"
flume = { version = "0.11.1", default-features = false, features = ["async"] }
futures-util = { version = "0.3.31", default-features = false }
gtk = { package = "gtk4", features = ["v4_16"], version = "0.9.5" }
jpegxl-rs = { version = "0.11.2", default-features = false, features = [ "image", "vendored" ] }
# Disable jpeg_rayon due to https://github.com/image-rs/jpeg-decoder/issues/227
# Missing ico, hdr, avif, tga
image = { version = "0.25.5", default-features = false, features = ["bmp", "dds", "exr", "ff", "gif", "hdr", "jpeg", "png", "pnm", "qoi", "tiff", "webp"] }
libc = "0.2.169"
once_cell = "1.20.3"
ouroboros = "0.18.5"
rayon = "1.10.0"
regex = "1.11.1"
serde = { version = "1.0.217", default-features = false, features = ["derive"] }
serde_json = "1.0.138"
tempfile = "3.16.0"
tokio = { version = "1.43.0", features = ["fs", "net", "macros", "process", "rt", "sync", "time"] }
toml = "0.8.20"
# Tracing
nu-ansi-term = "0.50.1"
tracing = "0.1.41"
tracing-log = "0.2.0"
tracing-error = "0.2.1"
tracing-subscriber = { version = "0.3.19", features = ["env-filter"] }
# Glium stuff
cgmath = "0.18.0"
epoxy = "0.1.0"
gl = "0.14.0"
#glium = { version = "0.34.0", default-features = false }
glium = { default-features = false, git = "https://github.com/awused/glium", branch = "bad-idea" }
libloading = "0.8.6"
# OpenCL
ocl = { version = "0.19.7", optional = true }
[target.'cfg(unix)'.dependencies]
signal-hook = "0.3.17"
[target.'cfg(target_os = "linux")'.dependencies]
gdk4-x11 = "0.9.5"
tikv-jemallocator = { version = "0.6.0", features = [ "background_threads" ] }
[target.'cfg(windows)'.dependencies]
ctrlc = "3.4.5"
futures-executor = "0.3.31"
uds_windows = "1.1.0"
[target.'cfg(windows)'.dependencies.windows]
version = "0.59.0"
features = [
"Win32_Foundation",
"Win32_System_Threading",
"Win32_Graphics_Gdi",
"Win32_Networking_WinSock",
"Win32_UI_HiDpi",
"Win32_UI_Input_KeyboardAndMouse",
"Win32_UI_WindowsAndMessaging",
]
[dev-dependencies]
criterion = "0.5.1"
rand = "0.9.0"
[build-dependencies]
metadeps = "1.1.2"
pkg-config = "0.3.31"
[target.'cfg(windows)'.build-dependencies]
embed-resource = "3.0.1"
[package.metadata.pkg-config]
gtk4 = "4.12"
libarchive = "3.4"
# libjxl = "0.3.7"
[profile.dev]
opt-level = 1
[profile.dev.package."*"]
overflow-checks = false
# Without this dev doesn't build on msvc
# TODO -- is this still true?
# [profile.dev.package."paste"]
# opt-level = 1
[features]
default = ["opencl"]
benchmarking = ["opencl"]
# Enable console IO on Windows
windows-console = []
opencl = ["dep:ocl"]
[[bench]]
name = "benchmarks"
harness = false
required-features = ["benchmarking"]