j2k-transcode-metal 0.6.2

Metal acceleration for JPEG to J2K and HTJ2K transcode paths
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.96"
name = "j2k-transcode-metal"
version = "0.6.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Metal acceleration for JPEG to J2K and HTJ2K transcode paths"
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 = []

[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"
harness = false

[dependencies.j2k-core]
version = "=0.6.2"

[dependencies.j2k-transcode]
version = "=0.6.2"

[dev-dependencies.criterion]
version = "0.8"
default-features = false

[dev-dependencies.j2k-jpeg]
version = "=0.6.2"

[dev-dependencies.j2k-native]
version = "=0.6.2"

[target.'cfg(target_os = "macos")'.dependencies.j2k-metal]
version = "=0.6.2"

[target.'cfg(target_os = "macos")'.dependencies.j2k-metal-support]
version = "=0.6.2"

[target.'cfg(target_os = "macos")'.dependencies.metal]
version = "0.33"

[target.'cfg(target_os = "macos")'.dependencies.rayon]
version = "1"

[lints.clippy]
cast_possible_truncation = "allow"
cast_precision_loss = "allow"
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 = "allow"
unsafe_op_in_unsafe_fn = "deny"