-
Notifications
You must be signed in to change notification settings - Fork 34
/
Cargo.toml
134 lines (123 loc) · 3.12 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
[package]
authors = ["Johann Woelper <[email protected]>"]
description = "A minimalistic image viewer with analysis and editing tools"
edition = "2018"
exclude = ["res/*.gif", "tests/*"]
keywords = ["graphics", "image", "viewer"]
license = "MIT"
name = "oculante"
readme = "README.md"
repository = "https://github.com/woelper/oculante/"
version = "0.8.22"
[package.metadata.bundle]
icon = ["res/oculante.png"]
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 = "2.7"
gif = "0.12"
gif-dispose = "4"
image = {version = "0.25.1", features = ["hdr"]}
kamadak-exif = "0.5"
lexical-sort = "0.3"
libavif-image = { version = "0.11", optional = true }
log = "0.4"
nalgebra = "0.32"
notan = { version = "0.12", default-features = false, features = [
"backend",
"draw",
"drop_files",
"egui",
] }
egui_plot = "0.26"
palette = "0.7"
psd = "0.3"
quickraw = "0.1.6"
rand = "0.8"
rand_chacha = "0.3"
rayon = "1.7"
resvg = "0.33.0"
rfd = { version = "0.14", optional = true }
rgb = "0.8"
self_update = { version = "0.40", default-features = false, features = [
"rustls",
], optional = true }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
strum = { version = "0.26", features = ["derive"] }
strum_macros = "0.26"
tiny-skia = "0.9"
turbojpeg = {version = "0.5.4", features = ["image"], optional = true}
usvg = "0.33.0"
webbrowser = "0.8"
tiff = "0.9"
jxl-oxide = "0.8"
zune-png = "0.5.0-rc1"
img-parts = "0.3"
dark-light = "1.0"
trash = "3.1"
lutgen = {version ="0.10.0", features = ["lutgen-palettes"]}
libheif-rs = { version = "0.22.0", default-features = false, optional = true}
egui-phosphor = "0.4"
egui-notify = "0.13"
ktx2 = "0.3.0"
wgpu = "0.19"
thiserror = "1.0.51"
bitflags = "2.4.1"
flate2 = "1.0.28"
ruzstd = "0.5.0"
basis-universal = "0.3.1"
mouse_position = "0.1.3"
webp-animation = { version = "0.9.0", features = ["static"] }
fluent-uri = "0.1.4"
imageproc = { version = "0.25", features = ["rayon"] }
num-traits = "0.2.18"
zerocopy = "0.7.34"
icns = "0.3.1"
jpeg2k = { version = "0.7.0", optional = true, default-features = false, features = [
"threads",
"file-io",
"openjpeg-sys",
] }
[features]
default = ["turbo", "avif_native", "file_open", "update", "notan/glsl-to-spirv", "j2k"]
heif = ["libheif-rs"]
avif_native = ["avif-decode"]
dav1d = ["libavif-image"]
file_open = ["rfd"]
turbo = ["turbojpeg"]
update = ["self_update"]
j2k = ["jpeg2k"]
[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"
[profile.release]
codegen-units = 1
# incremental = false
lto = true
strip = true
opt-level = 3
panic = "abort"
[profile.dev]
debug = false
incremental = true
opt-level = 1