Cargo Features

openvino-sys has no features set by default.

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

Linking features: 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?