Cargo Features

openvino-sys has no features set by default.

[dependencies]
openvino-sys = { version = "0.8.0", features = ["dynamic-linking", "runtime-linking"] }
dynamic-linking

Linking features: build.rs will default to dynamic linking if none is selected.

  • Will find and bind to an OpenVINO shared library at compile time.
runtime-linking = libloading, once_cell
  • Will bind to an OpenVINO shared library at runtime using load.

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

once_cell runtime-linking?
libloading runtime-linking?