1[package]
2name = "jpeg-decoder"
3version = "0.3.1"
4edition = "2021"
5
6rust-version = "1.61.0"
7
8license = "MIT OR Apache-2.0"
9description = "JPEG decoder"
10authors = ["The image-rs Developers"]
11readme = "README.md"
12
13documentation = "https://docs.rs/jpeg-decoder"
14repository = "https://github.com/image-rs/jpeg-decoder"
15keywords = ["jpeg", "jpg", "decoder", "image"]
16exclude = ["/tests/*", "!/tests/*.rs"]
17
18[dependencies]
19rayon = { version = "1.5.1", optional = true }
20
21[dev-dependencies]
22png = "0.16"
23walkdir = "2.0"
24criterion = "0.3"
25wasm-bindgen-test = "0.3"
26wasm-bindgen = "=0.2.83"
27
28[features]
29default = ["rayon"]
30platform_independent = []
31# Opt-in, this depends on Rust nightly. Will be changed to a no-op feature when
32# the Rust feature is stabilized which is expected to be 1.61.
33nightly_aarch64_neon = []
34
35## Internal development configuration: testing and benchmarking
36
37[[bench]]
38name = "decoding_benchmark"
39harness = false
40
41[[bench]]
42name = "large_image"
43harness = false
44
45[[test]]
46name = "rayon"
47required-features = ["rayon"]
48
49[[test]]
50name = "rayon-0"
51required-features = ["rayon"]
52
53[[test]]
54name = "rayon-1"
55required-features = ["rayon"]
56
57[[test]]
58name = "rayon-2"
59required-features = ["rayon"]
60