rust-j2k 0.5.0

Decodes JPEG 2000 images in pure Rust, for programs that need to read them without linking a C library.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.87"
name = "rust-j2k"
version = "0.5.0"
authors = ["D0ubleD0uble <15200182+D0ubleD0uble@users.noreply.github.com>"]
build = false
exclude = [
    "tests/fixtures/conformance/",
    "tests/fixtures/jp2_real/",
    "tests/fixtures/bench/",
    "tests/fixtures/openjph/",
    "/.claude/",
    "/.github/",
    "/.gitattributes",
    "/.gitignore",
    "/.pre-commit-config.yaml",
    "/codecov.yml",
    "/deny.toml",
    "/scripts/",
    "/RELEASING.md",
    "/CODE_OF_CONDUCT.md",
    "/CONTRIBUTING.md",
    "/docs/development.md",
    "/docs/release-validation.md",
    "/docs/roadmap*.md",
    "/tests/fuzz_seed_outcomes.rs",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Decodes JPEG 2000 images in pure Rust, for programs that need to read them without linking a C library."
readme = "README.md"
keywords = [
    "jpeg2000",
    "j2k",
    "codec",
    "grib2",
]
categories = [
    "multimedia::images",
    "encoding",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/D0ubleD0uble/rust-j2k"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[lib]
name = "rust_j2k"
path = "src/lib.rs"

[[example]]
name = "icc_convert"
path = "examples/icc_convert.rs"

[[test]]
name = "auto_traits"
path = "tests/auto_traits.rs"

[[test]]
name = "bench_fixture"
path = "tests/bench_fixture.rs"

[[test]]
name = "conformance"
path = "tests/conformance.rs"

[[test]]
name = "conformance_corpus"
path = "tests/conformance_corpus.rs"

[[test]]
name = "conformance_ht"
path = "tests/conformance_ht.rs"

[[test]]
name = "conformance_jp2"
path = "tests/conformance_jp2.rs"

[[test]]
name = "conformance_part4"
path = "tests/conformance_part4.rs"

[[test]]
name = "decode_peak_alloc"
path = "tests/decode_peak_alloc.rs"

[[test]]
name = "decode_window"
path = "tests/decode_window.rs"

[[test]]
name = "decode_window_random"
path = "tests/decode_window_random.rs"

[[test]]
name = "encoder_quirks"
path = "tests/encoder_quirks.rs"

[[test]]
name = "ht_reject_matrix"
path = "tests/ht_reject_matrix.rs"

[[test]]
name = "ht_vlc_stuffing"
path = "tests/ht_vlc_stuffing.rs"

[[test]]
name = "incomplete_header"
path = "tests/incomplete_header.rs"

[[test]]
name = "incremental"
path = "tests/incremental.rs"

[[test]]
name = "incremental_alloc"
path = "tests/incremental_alloc.rs"

[[test]]
name = "irreversible_16bit"
path = "tests/irreversible_16bit.rs"

[[test]]
name = "jp2_color"
path = "tests/jp2_color.rs"

[[test]]
name = "jp2_default_labels"
path = "tests/jp2_default_labels.rs"

[[test]]
name = "jp2_header_fields"
path = "tests/jp2_header_fields.rs"

[[test]]
name = "jp2_icc"
path = "tests/jp2_icc.rs"

[[test]]
name = "jp2_palette_metadata"
path = "tests/jp2_palette_metadata.rs"

[[test]]
name = "jp2_real"
path = "tests/jp2_real.rs"

[[test]]
name = "jp2_srgb"
path = "tests/jp2_srgb.rs"

[[test]]
name = "jp2_sycc_replication"
path = "tests/jp2_sycc_replication.rs"

[[test]]
name = "jp2_synthetic"
path = "tests/jp2_synthetic.rs"

[[test]]
name = "many_layers"
path = "tests/many_layers.rs"

[[test]]
name = "max_quality_layers"
path = "tests/max_quality_layers.rs"

[[test]]
name = "message_location"
path = "tests/message_location.rs"

[[test]]
name = "override_order"
path = "tests/override_order.rs"

[[test]]
name = "packed_overrun"
path = "tests/packed_overrun.rs"

[[test]]
name = "partial_decode"
path = "tests/partial_decode.rs"

[[test]]
name = "poc_coverage"
path = "tests/poc_coverage.rs"

[[test]]
name = "poc_dedup_alloc"
path = "tests/poc_dedup_alloc.rs"

[[test]]
name = "poc_precedence"
path = "tests/poc_precedence.rs"

[[test]]
name = "psot_zero"
path = "tests/psot_zero.rs"

[[test]]
name = "read_header"
path = "tests/read_header.rs"

[[test]]
name = "read_header_alloc"
path = "tests/read_header_alloc.rs"

[[test]]
name = "report_scope"
path = "tests/report_scope.rs"

[[test]]
name = "roi_bypass"
path = "tests/roi_bypass.rs"

[[test]]
name = "roi_h1_band"
path = "tests/roi_h1_band.rs"

[[test]]
name = "sample_limit"
path = "tests/sample_limit.rs"

[[test]]
name = "sample_limit_alloc"
path = "tests/sample_limit_alloc.rs"

[[test]]
name = "sample_limit_window_order"
path = "tests/sample_limit_window_order.rs"

[[test]]
name = "signed_32bit"
path = "tests/signed_32bit.rs"

[[test]]
name = "strict_off_poc_alloc"
path = "tests/strict_off_poc_alloc.rs"

[[test]]
name = "tier1_alloc"
path = "tests/tier1_alloc.rs"

[[test]]
name = "tile_body_variants"
path = "tests/tile_body_variants.rs"

[[test]]
name = "tile_grid"
path = "tests/tile_grid.rs"

[[test]]
name = "tile_header"
path = "tests/tile_header.rs"

[[test]]
name = "tile_header_cost"
path = "tests/tile_header_cost.rs"

[[test]]
name = "window_peak_alloc"
path = "tests/window_peak_alloc.rs"

[[test]]
name = "work_bound"
path = "tests/work_bound.rs"

[[test]]
name = "work_limit"
path = "tests/work_limit.rs"

[[bench]]
name = "decode"
path = "benches/decode.rs"
harness = false

[dependencies]

[dev-dependencies.serde]
version = "1"
features = ["derive"]

[dev-dependencies.serde_json]
version = "1"