[package]
edition = "2024"
rust-version = "1.85"
name = "pith-jpeg"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "pith jpeg lane: baseline and progressive JPEG decoding, byte-exact with libjpeg islow (zero-dep Rust)"
homepage = "https://pith-jpeg.n24q02m.com"
readme = "README.md"
categories = [
"algorithms",
"multimedia::encoding",
]
license = "MIT"
repository = "https://github.com/pith-hash/pith-jpeg"
[lib]
name = "pith_jpeg"
crate-type = [
"cdylib",
"rlib",
]
path = "src/lib.rs"
[[bin]]
name = "gen-reference"
path = "tools/gen-reference/main.rs"
[[test]]
name = "edge"
path = "tests/edge.rs"
[[test]]
name = "fixtures"
path = "tests/fixtures.rs"
[[test]]
name = "pith_jpeg_ffi"
path = "tests/pith_jpeg_ffi.rs"
[dependencies.pith-digest]
version = "0.1"
[dependencies.pith-image]
version = "0.1"
[dependencies.pith-math]
version = "0.1"
[lints.rust]
missing_docs = "deny"
[profile.release]
lto = true
codegen-units = 1
[profile.test]
opt-level = 2