[package]
edition = "2021"
rust-version = "1.96"
name = "j2k-cuda"
version = "0.6.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "NVIDIA CUDA GPU adapter for Rust JPEG 2000 and HTJ2K decode/encode paths"
documentation = "https://docs.rs/j2k-cuda"
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 = []
[features]
cuda-profiling = [
"cuda-runtime",
"j2k-cuda-runtime/cuda-profiling",
]
cuda-runtime = ["dep:j2k-cuda-runtime"]
default = []
[lib]
name = "j2k_cuda"
path = "src/lib.rs"
[[example]]
name = "htj2k_decode_profile"
path = "examples/htj2k_decode_profile.rs"
[[test]]
name = "bench_harness"
path = "tests/bench_harness.rs"
[[test]]
name = "encode_stage_api"
path = "tests/encode_stage_api.rs"
[[test]]
name = "host_surface"
path = "tests/host_surface.rs"
[[test]]
name = "htj2k_cuda_kernels"
path = "tests/htj2k_cuda_kernels.rs"
[[test]]
name = "htj2k_encode_parity"
path = "tests/htj2k_encode_parity.rs"
[[test]]
name = "htj2k_plan"
path = "tests/htj2k_plan.rs"
[[bench]]
name = "encode_stages"
path = "benches/encode_stages.rs"
harness = false
[[bench]]
name = "htj2k_decode"
path = "benches/htj2k_decode.rs"
harness = false
[[bench]]
name = "htj2k_encode"
path = "benches/htj2k_encode.rs"
harness = false
required-features = ["cuda-runtime"]
[dependencies.j2k]
version = "=0.6.1"
[dependencies.j2k-core]
version = "=0.6.1"
[dependencies.j2k-cuda-runtime]
version = "=0.6.1"
optional = true
[dependencies.j2k-native]
version = "=0.6.1"
[dependencies.j2k-profile]
version = "=0.6.1"
[dependencies.thiserror]
version = "2"
default-features = false
[dev-dependencies.criterion]
version = "0.8"
default-features = false
[lints.clippy]
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
too_many_lines = "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"