[package]
edition = "2021"
rust-version = "1.96"
name = "j2k-core"
version = "0.6.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Shared codec contracts and backend types for 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_core"
path = "src/lib.rs"
[[test]]
name = "api"
path = "tests/api.rs"
[dependencies.thiserror]
version = "2"
default-features = false
[dev-dependencies.serde_json]
version = "1"
[lints.clippy]
missing_errors_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_lifetimes = "allow"
type_complexity = "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"