openvino-genai-sys 0.11.0

Low-level bindings for OpenVINO GenAI (use the `openvino-genai` crate for easier-to-use bindings).
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! This module determines how the OpenVINO GenAI libraries are linked to by defining a `link!` macro
//! to wrap the bindgen functions. In the `dynamic-linking` case, the macro is a pass-through; in
//! the `runtime-linking` case, the macro defines a `load` function to open the shared library and
//! each OpenVINO GenAI function is wrapped to use the loaded references.
//!
//! This approach borrows heavily from the approach taken in
//! the `clang-sys` crate (see
//! [link.rs](https://github.com/KyleMayes/clang-sys/blob/c9ae24a7a218e73e1eccd320174349eef5a3bd1a/src/link.rs)).

#[cfg(feature = "dynamic-linking")]
mod dynamic;

#[cfg(feature = "runtime-linking")]
mod runtime;