[package]
edition = "2021"
rust-version = "1.96"
name = "j2k-transcode-cuda"
version = "0.6.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "CUDA 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 = []
[features]
cuda-oxide-j2k-encode = [
"cuda-runtime",
"j2k-cuda-runtime/cuda-oxide-j2k-encode",
]
cuda-oxide-transcode = [
"cuda-runtime",
"j2k-cuda-runtime/cuda-oxide-transcode",
]
cuda-profiling = [
"cuda-runtime",
"j2k-cuda-runtime/cuda-profiling",
]
cuda-runtime = ["dep:j2k-cuda-runtime"]
default = []
[lib]
name = "j2k_transcode_cuda"
path = "src/lib.rs"
[[test]]
name = "dwt97_batch_parity"
path = "tests/dwt97_batch_parity.rs"
[[test]]
name = "dwt97_parity"
path = "tests/dwt97_parity.rs"
[[test]]
name = "htj2k97_codeblock_parity"
path = "tests/htj2k97_codeblock_parity.rs"
[[test]]
name = "jpeg_to_htj2k"
path = "tests/jpeg_to_htj2k.rs"
[[test]]
name = "reversible_dwt53_parity"
path = "tests/reversible_dwt53_parity.rs"
[dependencies.j2k-cuda-runtime]
version = "=0.6.2"
optional = true
[dependencies.j2k-native]
version = "=0.6.2"
[dependencies.j2k-transcode]
version = "=0.6.2"
[dev-dependencies.j2k-jpeg]
version = "=0.6.2"
[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"