[package]
edition = "2021"
rust-version = "1.96"
name = "j2k"
version = "0.6.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "JPEG 2000 and HTJ2K codec APIs for Rust with GPU adapter support"
documentation = "https://docs.rs/j2k"
readme = "README.md"
keywords = [
"jpeg2000",
"jpeg2k",
"htj2k",
"gpu",
"transcode",
]
categories = ["multimedia::images"]
license = "Apache-2.0"
repository = "https://github.com/frames-sg/j2k"
[package.metadata.docs.rs]
all-features = true
targets = []
[lib]
name = "j2k"
path = "src/lib.rs"
[[example]]
name = "decode_generated"
path = "examples/decode_generated.rs"
[[test]]
name = "adaptive_route"
path = "tests/adaptive_route.rs"
[[test]]
name = "batch"
path = "tests/batch.rs"
[[test]]
name = "bench_harness"
path = "tests/bench_harness.rs"
[[test]]
name = "decode"
path = "tests/decode.rs"
[[test]]
name = "device_plan"
path = "tests/device_plan.rs"
[[test]]
name = "encode_lossless"
path = "tests/encode_lossless.rs"
[[test]]
name = "encode_lossy"
path = "tests/encode_lossy.rs"
[[test]]
name = "grok_parity"
path = "tests/grok_parity.rs"
[[test]]
name = "inspect"
path = "tests/inspect.rs"
[[test]]
name = "iso_conformance"
path = "tests/iso_conformance.rs"
[[test]]
name = "openjpeg_parity"
path = "tests/openjpeg_parity.rs"
[[test]]
name = "proptest_inspect"
path = "tests/proptest_inspect.rs"
[[test]]
name = "recode"
path = "tests/recode.rs"
[[bench]]
name = "public_api"
path = "benches/public_api.rs"
harness = false
[dependencies.j2k-core]
version = "=0.6.1"
[dependencies.j2k-native]
version = "=0.6.1"
[dependencies.j2k-types]
version = "=0.6.1"
[dependencies.thiserror]
version = "2"
default-features = false
[dev-dependencies.criterion]
version = "0.8"
default-features = false
[dev-dependencies.j2k-native]
version = "=0.6.1"
[dev-dependencies.proptest]
version = "1"
[lints.clippy]
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_sign_loss = "allow"
doc_markdown = "allow"
missing_errors_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
too_many_lines = "allow"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unreachable_pub = "warn"
unsafe_code = "forbid"