[package]
edition = "2024"
name = "ithmb-core"
version = "1.9.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure Rust decoder and encoder for Apple iThmb thumbnail cache files — supports 8 pixel formats, PhotoDB containers, and 54 device profiles"
homepage = "https://github.com/B67687/Ithmb-Codec"
documentation = "https://docs.rs/ithmb-core"
readme = "README.md"
keywords = [
"ithmb",
"thumbnail",
"apple",
"imageglass",
"image",
]
categories = [
"multimedia::images",
"multimedia::video",
]
license = "MIT"
repository = "https://github.com/B67687/Ithmb-Codec"
resolver = "2"
[features]
cache = ["dep:lru"]
default = []
metrics = []
simd = []
[lib]
name = "ithmb_core"
crate-type = ["lib"]
path = "src/lib.rs"
[[test]]
name = "concurrency"
path = "tests/concurrency.rs"
[[test]]
name = "edge_cases"
path = "tests/edge_cases.rs"
[[test]]
name = "golden_comparison"
path = "tests/golden_comparison.rs"
[[test]]
name = "roundtrip"
path = "tests/roundtrip.rs"
[[test]]
name = "statistical"
path = "tests/statistical.rs"
[[test]]
name = "synthetic_vectors"
path = "tests/synthetic_vectors.rs"
[[bench]]
name = "decoders"
path = "benches/decoders.rs"
harness = false
[[bench]]
name = "encoders"
path = "benches/encoders.rs"
harness = false
[[bench]]
name = "pipeline"
path = "benches/pipeline.rs"
harness = false
[[bench]]
name = "simd_compare"
path = "benches/simd_compare.rs"
harness = false
required-features = ["simd"]
[dependencies.jpeg-decoder]
version = "0.3"
[dependencies.lru]
version = "0.18.0"
optional = true
[dependencies.thiserror]
version = "2"
[dev-dependencies.divan]
version = "0.1.21"
[lints.clippy]
complexity = "deny"
correctness = "deny"
pedantic = "deny"
perf = "deny"
style = "deny"
suspicious = "deny"
[lints.rust]
unsafe_code = "deny"
unused_crate_dependencies = "deny"
[lints.rust.rust_2018_idioms]
level = "deny"
priority = -1