od-bridge 0.2.3

C ABI bridge for od_opencv, designed for Go CGO integration
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.85"
name = "od-bridge"
version = "0.2.3"
authors = ["LdDl <sexykdi@gmail.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "C ABI bridge for od_opencv, designed for Go CGO integration"
readme = "README.md"
keywords = [
    "object-detection",
    "onnx",
    "ffi",
    "cgo",
    "yolo",
]
categories = [
    "computer-vision",
    "external-ffi-bindings",
]
license = "MIT"
repository = "https://github.com/LdDl/od-bridge"

[features]
cuda = ["od_opencv/ort-cuda-backend"]
rknn = ["od_opencv/rknn-backend"]
tensorrt = ["od_opencv/ort-tensorrt-backend"]
trt = ["od_opencv/tensorrt-backend"]

[lib]
name = "od_bridge"
crate-type = [
    "cdylib",
    "staticlib",
    "rlib",
]
path = "src/lib.rs"

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

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

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

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

[dependencies.ndarray]
version = "0.17.2"

[dependencies.od_opencv]
version = "0.10.1"
features = ["ort-backend"]
default-features = false

[dev-dependencies.image]
version = "0.25.10"

[build-dependencies.cbindgen]
version = "0.29.2"

[build-dependencies.cc]
version = "1"