-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
42 lines (32 loc) · 1.08 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
[package]
name = "ezk-image"
version = "0.2.4"
edition = "2021"
description = "Convert pixel and color formats such and RGB, YUV (YCbCr), ICtCp"
categories = ["multimedia", "multimedia::images", "multimedia::video"]
keywords = ["color", "video", "RGB", "YUV", "convert"]
readme = "README.md"
repository = "https://github.com/kbalt/ezk-image"
license = "MIT"
documentation = "https://docs.rs/ezk-image"
exclude = ["tests"]
[dependencies]
thiserror = "2"
rayon = { version = "1.9", optional = true }
num_cpus = { version = "1.0", optional = true }
fir = { package = "fast_image_resize", version = "5", optional = true }
[features]
default = ["multi-thread", "resize"]
# Enable multi threading for image conversion
multi-thread = ["dep:rayon", "dep:num_cpus"]
# Include Resizer using fast_image_resize
resize = ["dep:fir"]
# Enable features that are incomplete, untested and/or require a nightly compiler
unstable = []
[dev-dependencies]
image = { version = "0.25", default-features = false, features = ["png"] }
nalgebra = "0.33"
criterion = "0.5"
[[bench]]
name = "pixel_format"
harness = false