fork/oculante

git clone https://git.julia.blue/fork/oculante

Johann WoelperMerge pull request #666 from woelper/update_notan00922d7

master
4.4 KiB185 linesraw
1[package]
2authors = ["Johann Woelper <woelper@gmail.com>"]
3description = "A minimalistic image viewer with analysis and editing tools"
4edition = "2021"
5exclude = [
6    ".github/*",
7    "res/fonts/NotoSansSC-Regular.ttf",
8    "res/icons/*",
9    "res/*.svg",
10    "res/premult.png",
11    "res/screen*.png",
12    "res/*.avif",
13    "res/*.gif",
14    "tests/*",
15    "res/screenshots/*",
16    "res/previews/*",
17]
18keywords = ["graphics", "image", "viewer"]
19license = "MIT"
20name = "oculante"
21readme = "README.md"
22repository = "https://github.com/woelper/oculante/"
23version = "0.9.2"
24
25[package.metadata.bundle]
26icon = ["icon.ico"]
27identifier = "com.github.woelper.oculante"
28name = "oculante"
29
30[dependencies]
31env_logger = "0.11"
32notan = { version = "0.13", default-features = false, features = [
33    "backend",
34    "draw",
35    "drop_files",
36    "egui",
37    "clipboard",
38] }
39# === EGUI
40#  These need to match the egui version used in notan and can't be
41# updated unless notan updates egui.
42egui_plot = "0.31"
43egui-notify = "0.19"
44egui_extras = { version = "0.31", features = ["image", "file"] }
45
46# === IMAGE FORMATS
47avif-decode = { version = "1.0", optional = true }
48turbojpeg = { version = "1.2", optional = true }
49psd = "0.3"
50quickraw = "0.1.6"
51tiff = "0.9"
52jxl-oxide = "0.8"
53zune-png = "0.5.0-rc1" # upgrade if https://github.com/etemesi254/zune-image/issues/210 is solved
54# These 3 need to be updated together
55resvg = "0.44"
56tiny-skia = "0.11"
57usvg = "0.44"
58libheif-rs = { version = "2", default-features = false, features = ["v1_19"], optional = true }
59ktx2 = "0.3.0"
60basis-universal = "0.3"
61dds-rs = "0.7"
62exr = "1.73"
63gif = "0.13.1"
64image = { version = "0.25.5", features = ["hdr"] }
65jpeg2k = { version = "0.9", optional = true, default-features = false, features = [
66    "threads",
67    "file-io",
68    "openjpeg-sys",
69] }
70icns = "0.3.1"
71webp-animation = { version = "0.9.0", features = ["static"] }
72# dicom needs to be the same version
73dicom-pixeldata = { version = "0.8", features = ["image"] }
74dicom-object = "0.8"
75libavif-image = { version = "0.14", optional = true }
76gif-dispose = "5.0.1"
77
78# === FILTER CRATES
79palette = "0.7"
80lutgen = { version = "0.11", features = ["lutgen-palettes"] }
81quantette = { version = "0.3.0", features = ["threads"] }
82ase-swatch = "0.1.0"
83libblur = "0.14"
84imageproc = { version = "0.25", features = ["rayon"] }
85evalexpr = "12"
86fast_image_resize = { version = "5.1", features = ["rayon"] }
87
88# APP FUNCTIONALITY CRATES
89rand = "0.8"
90rand_chacha = "0.3"
91rayon = "1.10"
92rfd = { version = "0.14", optional = true }
93rgb = "0.8"
94self_update = { version = "0.41", default-features = false, features = [
95    "rustls",
96], optional = true }
97serde = { version = "1.0", features = ["derive"] }
98serde_json = { version = "1.0", features = ["preserve_order"] }
99strum = { version = "0.26", features = ["derive"] }
100strum_macros = "0.26"
101webbrowser = "1.0"
102thiserror = "1.0.51"
103
104img-parts = "0.3" # for exif saving
105dark-light = "2.0"
106trash = "5.2"
107flate2 = "1.0" # for KTX
108bitflags = "2.8" # for KTX
109wgpu = "22" # for KTX
110ruzstd = "0.8" # for KTX
111mouse_position = "0.1.4"
112file-format = "0.26"
113zip = "2.2"
114sysinfo = "0.33.1"
115unicode-segmentation = "1.12.0"
116font-kit = "0.14"
117open = "5.3"
118kamadak-exif = "0.6"
119lexical-sort = "0.3"
120log = "0.4"
121nalgebra = "0.33"
122anyhow = "1.0"
123arboard = { version = "3.4", features = ["wayland-data-control"] }
124clap = "3.2" # DO NOT UPDATE unless you test extensively on mac. This will break the mac app.
125dirs = "6.0"
126egui-modal = {path = "egui-modal-diag"}
127
128[features]
129default = [
130    "turbo",
131    "avif_native",
132    "update",
133    "notan/shaderc",
134    "j2k",
135    "jxlcms",
136]
137heif = ["libheif-rs"]
138avif_native = ["avif-decode"]
139dav1d = ["libavif-image"]
140file_open = ["rfd"]
141turbo = ["turbojpeg"]
142update = ["self_update"]
143j2k = ["jpeg2k"]
144jxlcms = ["jxl-oxide/lcms2"]
145hdr = []
146lang_support = []
147
148[target.'cfg(target_os = "macos")'.dependencies]
149fruitbasket = "0.10.0"
150
151[target.'cfg(windows)'.build-dependencies]
152# this currently causes a link error LNK1356, check in the future if the problem was solved
153windres = "0.2"
154
155[build-dependencies]
156env_logger = "0.11"
157log = "0.4.14"
158winres = "0.1"
159cc = "1.0.46"
160cmake = "0.1"
161
162[dev-dependencies]
163cmd_lib = "1.3.0"
164xmltree = "0.11.0"
165chrono = "0.4.38"
166criterion = { version = "0.5.1", features = ["html_reports", "stable"] }
167
168[profile.release]
169opt-level = 3
170lto = "fat"
171debug = false
172strip = true
173codegen-units = 1
174# panic = "abort"
175
176[profile.dev]
177debug = false
178opt-level = 2
179lto = false
180codegen-units = 64
181
182
183[[bench]]
184name = "my_benchmark"
185harness = false