edgefirst-image 0.6.2

High-performance image processing with hardware acceleration for edge AI
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-image"
version = "0.6.2"
authors = ["Au-Zone Technologies <support@au-zone.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-performance image processing with hardware acceleration for edge AI"
homepage = "https://edgefirst.ai"
documentation = "https://docs.rs/edgefirst-image"
readme = "README.md"
keywords = [
    "image-processing",
    "computer-vision",
    "gpu",
    "edge-ai",
    "nv12",
]
categories = [
    "multimedia::images",
    "multimedia::video",
    "embedded",
]
license = "Apache-2.0"
repository = "https://github.com/EdgeFirstAI/hal"
resolver = "3"

[features]
decoder = [
    "dep:edgefirst-decoder",
    "dep:ndarray-stats",
]
default = [
    "opengl",
    "decoder",
]
dma_test_formats = []
g2d_test_formats = []
opencv = ["dep:opencv"]
opengl = [
    "dep:khronos-egl",
    "dep:gbm",
]

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

[[bench]]
name = "common"
path = "benches/common.rs"

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

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

[dependencies.ctor]
version = "0.4.2"

[dependencies.edgefirst-decoder]
version = "0.6.2"
optional = true

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

[dependencies.enum_dispatch]
version = "0.3.13"

[dependencies.env_logger]
version = "0.11.8"

[dependencies.fast_image_resize]
version = "5.2.0"
features = [
    "image",
    "rayon",
]

[dependencies.four-char-code]
version = "2.3.0"

[dependencies.gls]
version = "0.1.6"

[dependencies.jpeg-encoder]
version = "0.6.1"
features = ["simd"]

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

[dependencies.khronos-egl]
version = "6.0.0"
features = ["dynamic"]
optional = true

[dependencies.libc]
version = "0.2.174"

[dependencies.libloading]
version = "0.8.8"

[dependencies.log]
version = "0.4.27"

[dependencies.ndarray]
version = "0.16.1"
features = ["rayon"]

[dependencies.ndarray-stats]
version = "0.6.0"
optional = true

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

[dependencies.rayon]
version = "1.10.0"

[dependencies.tokio]
version = "1.47.1"
features = [
    "rt",
    "sync",
]

[dependencies.yuv]
version = "0.8.9"
features = ["fast_mode"]

[dependencies.zune-jpeg]
version = "0.4.21"

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

[dev-dependencies.criterion]
version = "0.5"
features = [
    "html_reports",
    "plotters",
    "cargo_bench_support",
]
default-features = false

[dev-dependencies.divan]
version = "0.1.21"

[dev-dependencies.image]
version = "0.25.6"
features = ["png"]
default-features = false

[dev-dependencies.image-compare]
version = "0.4.2"

[target.'cfg(target_os = "linux")'.dependencies.dma-heap]
version = "0.4.1"

[target.'cfg(target_os = "linux")'.dependencies.g2d-sys]
version = "1.2.0"

[target.'cfg(target_os = "linux")'.dependencies.gbm]
version = "0.18.1"
features = [
    "dynamic",
    "drm-support",
]
optional = true
default-features = false
package = "edgefirst-gbm"

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