hailort-sys 0.1.0

Raw FFI bindings to the HailoRT C runtime library
Documentation
  • Coverage
  • 3.52%
    30 out of 853 items documented0 out of 94 items with examples
  • Size
  • Source code size: 154.2 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 35.93 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 19s Average build duration of successful builds.
  • all releases: 18s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • quinnjr/hailort-sys
    1 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • quinnjr

Raw FFI bindings to the HailoRT runtime library.

These bindings mirror the C API declared in <hailo/hailort.h> from the hailo-ai/hailort open-source project. They give Rust code direct access to the Hailo AI HAT+ on Raspberry Pi.

Safety

Every function in the [ffi] module is unsafe. Callers must uphold all invariants described in the upstream C API documentation: https://hailo.ai/developer-zone/

Linking

The build.rs script attempts pkg-config first, then falls back to searching /usr/lib and /usr/local/lib for libhailort.so.

Module layout

Module Contents
[constants] Sizing limits and default parameter values
[handles] Opaque C handle types
[status] hailo_status return code and all error constants
[enums] All other C enum type aliases and their variants
[types] Structs, unions, and callback type aliases
[ffi] unsafe extern "C" function declarations