# 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"
rust-version = "1.88"
name = "g2d-sys"
version = "1.3.0"
authors = ["Au-Zone Technologies <support@au-zone.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Low-level FFI bindings for NXP i.MX G2D 2D graphics accelerator"
homepage = "https://edgefirst.ai"
documentation = "https://docs.rs/g2d-sys"
readme = "README.md"
keywords = [
    "g2d",
    "nxp",
    "imx8",
    "ffi",
    "graphics",
]
categories = [
    "external-ffi-bindings",
    "hardware-support",
    "multimedia::images",
]
license = "Apache-2.0"
repository = "https://github.com/EdgeFirstAI/g2d-rs"

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

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

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

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

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

[dependencies.libloading]
version = "0.9"

[dependencies.log]
version = "0.4"

[dependencies.nix]
version = "0.31"
features = ["ioctl"]
default-features = false

[dev-dependencies.criterion]
version = "0.8"
default-features = false

[dev-dependencies.dma-heap]
version = "0.4"

[dev-dependencies.env_logger]
version = "0.11"

[dev-dependencies.libc]
version = "0.2"

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