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