-
Notifications
You must be signed in to change notification settings - Fork 44
/
Copy pathCargo.toml
153 lines (140 loc) · 3.54 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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
[package]
authors = ["Johann Woelper <[email protected]>"]
description = "A minimalistic image viewer with analysis and editing tools"
edition = "2021"
exclude = ["res/*.gif", "tests/*", "res/screenshots/*", "res/previews/*"]
keywords = ["graphics", "image", "viewer"]
license = "MIT"
name = "oculante"
readme = "README.md"
repository = "https://github.com/woelper/oculante/"
version = "0.9.1"
[package.metadata.bundle]
icon = ["icon.ico"]
identifier = "com.github.woelper.oculante"
name = "oculante"
[dependencies]
anyhow = "1.0"
arboard = { version = "3.2", features = ["wayland-data-control"] }
avif-decode = { version = "1.0", optional = true }
clap = "3.2"
dds-rs = "0.7"
dirs = "5.0"
env_logger = "0.11"
evalexpr = "11.3"
exr = "1.72"
fast_image_resize = "5.0"
gif = "0.13.1"
gif-dispose = "5.0.1"
image = { version = "0.25.4", features = ["hdr"] }
kamadak-exif = "0.5"
lexical-sort = "0.3"
libavif-image = { version = "0.14", optional = true }
log = "0.4"
nalgebra = "0.33"
notan = { version = "0.12", default-features = false, features = [
"backend",
"draw",
"drop_files",
"egui",
] }
egui_plot = "0.27"
palette = "0.7"
psd = "0.3"
quickraw = "0.1.6"
rand = "0.8"
rand_chacha = "0.3"
rayon = "1.7"
# the next 3 belong together
resvg = "0.42.0"
tiny-skia = "0.11.4"
usvg = "0.42.0"
rfd = { version = "0.14", optional = true }
rgb = "0.8"
self_update = { version = "0.41", default-features = false, features = [
"rustls",
], optional = true }
serde = { version = "1.0", features = ["derive"] }
serde_json = { version = "1.0", features = ["preserve_order"] }
strum = { version = "0.26", features = ["derive"] }
strum_macros = "0.26"
turbojpeg = { version = "1.1.0", optional = true }
webbrowser = "1.0"
tiff = "0.9"
jxl-oxide = "0.8"
zune-png = "0.5.0-rc1"
img-parts = "0.3"
dark-light = "1.0"
trash = "5.0"
lutgen = { version = "0.10.0", features = ["lutgen-palettes"] }
libheif-rs = { version = "1.0", default-features = false, optional = true }
egui-notify = "0.14"
ktx2 = "0.3.0"
thiserror = "1.0.51"
bitflags = "2.4.1"
flate2 = "1.0.28"
wgpu = "22" # for ktx
ruzstd = "0.7" # for ktx
basis-universal = "0.3.1"
mouse_position = "0.1.3"
webp-animation = { version = "0.9.0", features = ["static"] }
imageproc = { version = "0.25", features = ["rayon"] }
icns = "0.3.1"
jpeg2k = { version = "0.9", optional = true, default-features = false, features = [
"threads",
"file-io",
"openjpeg-sys",
] }
file-format = "0.25.0"
egui_extras = { version = "0.27.2", features = ["image", "file"] }
libblur = "0.13.5"
egui-modal = "0.3.6"
zip = "2.2.0"
ase-swatch = "0.1.0"
[features]
default = [
"turbo",
"avif_native",
"update",
"notan/glsl-to-spirv",
"j2k",
"jxlcms",
]
heif = ["libheif-rs"]
avif_native = ["avif-decode"]
dav1d = ["libavif-image"]
file_open = ["rfd"]
turbo = ["turbojpeg"]
update = ["self_update"]
j2k = ["jpeg2k"]
jxlcms = ["jxl-oxide/lcms2"]
[target.'cfg(target_os = "macos")'.dependencies]
fruitbasket = "0.10.0"
[target.'cfg(windows)'.build-dependencies]
# this currently causes a link error LNK1356, check in the future if the problem was solved
windres = "0.2"
[build-dependencies]
env_logger = "0.11"
log = "0.4.14"
winres = "0.1"
cc = "1.0.46"
cmake = "0.1"
[dev-dependencies]
cmd_lib = "1.3.0"
xmltree = "0.11.0"
chrono = "0.4.38"
criterion = { version = "0.5.1", features = ["html_reports", "stable"] }
[profile.release]
# codegen-units = 1
# incremental = false
# lto = true
strip = true
# opt-level = 3
panic = "abort"
[profile.dev]
debug = false
incremental = true
opt-level = 3
[[bench]]
name = "my_benchmark"
harness = false