[package]
edition = "2021"
rust-version = "1.96"
name = "j2k-transcode-metal"
version = "0.7.3"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Metal acceleration for JPEG-to-HTJ2K coefficient-domain transcode stages"
readme = "README.md"
keywords = [
"jpeg",
"jpeg2000",
"htj2k",
"gpu",
"transcode",
]
categories = [
"multimedia::images",
"multimedia::encoding",
"compression",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/frames-sg/j2k"
[package.metadata.docs.rs]
all-features = true
targets = []
[package.metadata.cargo-machete]
ignored = ["rayon"]
[features]
bench-internals = ["j2k-transcode/dev-support"]
default = []
[lib]
name = "j2k_transcode_metal"
path = "src/lib.rs"
[[example]]
name = "jpeg_to_htj2k_route_report"
path = "examples/jpeg_to_htj2k_route_report.rs"
[[test]]
name = "bench_harness"
path = "tests/bench_harness.rs"
[[test]]
name = "dct53"
path = "tests/dct53.rs"
[[test]]
name = "dct97"
path = "tests/dct97.rs"
[[test]]
name = "jpeg_to_htj2k"
path = "tests/jpeg_to_htj2k.rs"
[[test]]
name = "route_report"
path = "tests/route_report.rs"
[[test]]
name = "shader_integrity"
path = "tests/shader_integrity.rs"
[[bench]]
name = "dct97"
path = "benches/dct97.rs"
test = false
harness = false
required-features = ["bench-internals"]
[dependencies.j2k-codec-math]
version = "=0.7.3"
[dependencies.j2k-core]
version = "=0.7.3"
[dependencies.j2k-metal-support]
version = "=0.7.3"
[dependencies.j2k-transcode]
version = "=0.7.3"
[dev-dependencies.criterion]
version = "0.8"
default-features = false
[dev-dependencies.j2k-jpeg]
version = "=0.7.3"
[dev-dependencies.j2k-native]
version = "=0.7.3"
[dev-dependencies.j2k-profile]
version = "=0.7.3"
[dev-dependencies.rayon]
version = "1"
[target.'cfg(target_os = "macos")'.dependencies.j2k-metal]
version = "=0.7.3"
[target.'cfg(target_os = "macos")'.dependencies.metal]
version = "0.33"
[lints.clippy]
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
undocumented_unsafe_blocks = "warn"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unreachable_pub = "warn"
unsafe_code = "deny"
unsafe_op_in_unsafe_fn = "deny"