[package]
edition = "2021"
rust-version = "1.85"
name = "rusty_jpeg"
version = "0.3.2"
authors = ["Mata Network <https://www.mata.network>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure-Rust JPEG/MJPEG decoder and encoder: baseline + progressive, planar YUV in/out, AVX2/NEON kernels, box-averaged chroma, opt-in trellis. At parity with FFmpeg 8.1.2 on encode and decode at matched output size."
homepage = "https://github.com/Remade-With-Rust/rusty_jpeg"
readme = "README.md"
keywords = [
"jpeg",
"mjpeg",
"image",
"decoder",
"encoder",
]
categories = [
"multimedia::images",
"multimedia::encoding",
]
license = "(MIT OR Apache-2.0) AND IJG"
repository = "https://github.com/Remade-With-Rust/rusty_jpeg"
[features]
benchmark = []
counters = []
default = [
"std",
"simd",
]
nightly_aarch64_neon = []
platform_independent = []
profile = []
rayon = ["dep:rayon"]
simd = ["std"]
std = []
[lib]
name = "rusty_jpeg"
path = "src/lib.rs"
[[example]]
name = "corpus_sweep"
path = "examples/corpus_sweep.rs"
[[example]]
name = "decode_bench"
path = "examples/decode_bench.rs"
[[example]]
name = "fuzzprobe"
path = "examples/fuzzprobe.rs"
[[example]]
name = "jpegquality"
path = "examples/jpegquality.rs"
[[example]]
name = "make_fixture"
path = "examples/make_fixture.rs"
[[example]]
name = "scanmode"
path = "examples/scanmode.rs"
[[test]]
name = "planar_decode"
path = "tests/planar_decode.rs"
[[test]]
name = "profile_jpeg"
path = "tests/profile_jpeg.rs"
[[test]]
name = "progressive"
path = "tests/progressive.rs"
[[test]]
name = "robustness"
path = "tests/robustness.rs"
[dependencies.rayon]
version = "1.5.1"
optional = true