edgefirst-codec 0.23.0

Image codec for decoding JPEG/PNG into pre-allocated EdgeFirst tensors
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 = "2021"
name = "edgefirst-codec"
version = "0.23.0"
authors = ["Au-Zone Technologies <support@au-zone.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Image codec for decoding JPEG/PNG into pre-allocated EdgeFirst tensors"
homepage = "https://edgefirst.ai"
documentation = "https://docs.rs/edgefirst-codec"
readme = "README.md"
keywords = [
    "jpeg",
    "png",
    "image-decoding",
    "zero-copy",
    "edge-ai",
]
categories = [
    "multimedia::images",
    "embedded",
]
license = "Apache-2.0"
repository = "https://github.com/EdgeFirstAI/hal"
resolver = "3"

[features]
default = []
opencv = ["dep:opencv"]
turbojpeg = ["dep:turbojpeg"]

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

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

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

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

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

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

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

[dependencies.edgefirst-tensor]
version = "0.23.0"

[dependencies.kamadak-exif]
version = "0.6.1"

[dependencies.log]
version = "0.4.29"

[dependencies.num-traits]
version = "0.2.19"

[dependencies.opencv]
version = "0.98"
features = ["imgproc"]
optional = true
default-features = false

[dependencies.turbojpeg]
version = "0.5"
optional = true

[dependencies.zune-png]
version = "0.5.2"

[dev-dependencies.image]
version = "0.25.10"
features = [
    "png",
    "jpeg",
]
default-features = false

[dev-dependencies.zune-jpeg]
version = "0.5.15"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(coverage,coverage_nightly)"]