[package]
edition = "2021"
rust-version = "1.96"
name = "j2k-native"
version = "0.6.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure-Rust JPEG 2000 and HTJ2K codec engine for j2k"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/frames-sg/j2k"
[package.metadata.docs.rs]
all-features = true
targets = []
[features]
default = [
"std",
"simd",
"parallel",
]
logging = ["dep:log"]
parallel = [
"dep:rayon",
"std",
]
simd = [
"fearless_simd",
"std",
]
std = ["j2k-profile/std"]
[lib]
name = "j2k_native"
path = "src/lib.rs"
[[test]]
name = "bench_harness"
path = "tests/bench_harness.rs"
[[test]]
name = "component_planes"
path = "tests/component_planes.rs"
[[test]]
name = "empty_cmap"
path = "tests/empty_cmap.rs"
[[test]]
name = "encode_coefficients"
path = "tests/encode_coefficients.rs"
[[test]]
name = "idwt_helpers"
path = "tests/idwt_helpers.rs"
[[test]]
name = "plt_decode"
path = "tests/plt_decode.rs"
[[test]]
name = "poc_decode"
path = "tests/poc_decode.rs"
[[test]]
name = "tile_header_markers"
path = "tests/tile_header_markers.rs"
[[bench]]
name = "direct_cpu"
path = "benches/direct_cpu.rs"
harness = false
[[bench]]
name = "htj2k_sigprop_phase"
path = "benches/htj2k_sigprop_phase.rs"
harness = false
[[bench]]
name = "tier1_bitplane"
path = "benches/tier1_bitplane.rs"
harness = false
[dependencies.fearless_simd]
version = "0.4"
optional = true
[dependencies.j2k-profile]
version = "=0.6.1"
default-features = false
[dependencies.j2k-types]
version = "=0.6.1"
[dependencies.libm]
version = "0.2"
default-features = false
[dependencies.log]
version = "0.4"
optional = true
[dependencies.rayon]
version = "1"
optional = true
[dev-dependencies.criterion]
version = "0.8"
default-features = false
[lints.clippy]
pedantic = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.rust]
unreachable_pub = "warn"
unsafe_code = "forbid"