Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
53 lines (47 loc) · 1.91 KB
/
Copy pathCargo.toml
File metadata and controls
53 lines (47 loc) · 1.91 KB
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
[workspace]
members = [
"append_only_set",
"imageflow_helpers",
"imageflow_http_helpers",
"imageflow_types",
"imageflow_riapi",
"imageflow_core",
"imageflow_abi",
"imageflow",
"imageflow_tool",
"c_components",
# "c_components/tests",
]
resolver = "2"
[profile.release]
debug = true
split-debuginfo = "packed"
strip = true
lto = true
# enable on musl: strip = true
# enable on musl: lto = true
# RIAPI Tests take 600ms each at 0, 200ms each at 1, 36ms each at 2, 26ms each at 3
[profile.test]
opt-level = 2
[patch.crates-io]
# libwebp-sys = { git = "https://github.com/imazen/libwebp-sys" }
libpng-sys = { git = "https://github.com/imazen/rust-libpng-sys" }
lcms2-sys = { git = "https://github.com/imazen/rust-lcms2-sys", branch = "update-lcms2-2.18" }
# zencodec 0.1.24 (AllocPreference + estimate_decode_resources) resolves from
# crates.io — published 2026-06-21; the temporary local path ref is no longer needed.
# zenpixels 0.2.14 (published — CMYK plumbing landed) resolves from crates.io;
# its old main-patch was removed. zenjpeg github main until CMYK8 is published.
zenjpeg = { git = "https://github.com/imazen/zenjpeg", branch = "main" }
# Local zenwebp with push_frame stride fix for strided input (imageflow
# bitmaps are SIMD-aligned with stride > width*bpp).
zenwebp = { git = "https://github.com/imazen/zenwebp", branch = "main" }
# zenresize 0.3.0 published to crates.io (fused decode+premultiply, linear-srgb 0.6.11 threshold fix)
# load_image.git = "https://gitlab.com/lilith6/load_image.git"
# TODO(rgb-0.8.91): Uncomment when rgb 0.8.91+ is published to crates.io
# This enables: root-level BGR8/BGRA8/RGB8/RGBA8 exports, Gray_v09 compat type,
# and Pod impl for GrayA. Then revert changes in bitmaps.rs marked with TODO(rgb-0.8.91)
# rgb.git = "https://github.com/kornelski/rust-rgb"
#bennch with cpu native
[profile.bench]
# [build]
# rustflags = ["-C", "target-cpu=native"]