openvino-rs
Library Listed
High-level bindings for OpenVINO.
- Downloads
- 218,765
- Dependents
- 6
- Stars
- 143
- Forks
- 37
- Contributors
- 16
- Commits
- 235
- Latest release
- 0.11.1 ·
About
This repository contains Rust bindings for accessing OpenVINO™ functionality:
| Crate | Description |
|---|---|
| openvino | High-level, ergonomic bindings for OpenVINO™ inference |
| openvino-sys | Low-level, unsafe FFI bindings for the OpenVINO™ C API |
| openvino-genai | High-level bindings for OpenVINO™ GenAI (LLM, VLM, Whisper pipelines) |
| openvino-genai-sys | Low-level, unsafe FFI bindings for the OpenVINO™ GenAI C API |
| openvino-finder | Shared library discovery logic |
Prerequisites
The openvino-sys crate creates bindings to the OpenVINO™ C API using
bindgen; this requires a local installation oflibclang. Also, be sure to retrieve all Git submodules.This library binds to OpenVINO™'s shared libraries; how those native libraries are configured and installed on your system determines how these Rust bindings work. The openvino-finder crate attempts to locate the necessary libraries and configuration; if you run into problems, you may need to understand additional details documented in the
openvino-finderdocs.
Read the full README
During testing only, this library will download several models for its integration tests. This relies on
curlbeing available on the system path.For macOS (homebrew) users. Install the openvino toolkit, which includes the native C library, and set
DYLD_LIBRARY_PATH:brew install openvino export DYLD_LIBRARY_PATH="$(brew --prefix)/lib"Then you can build and run using runtime linking.
Build from an OpenVINO™ installation
cargo build
cargo test
The quickest method to build the openvino and openvino-sys crates is with a local installation
of OpenVINO™ (see the installation instructions). The build script will attempt to locate an
existing installation (see openvino-finder) and link against its shared libraries. Provide the
OPENVINO_INSTALL_DIR environment variable to point at a specific installation. Ensure that the
correct libraries are available on the system's load path; OpenVINO™'s setupvars.sh script will do
this automatically (e.g., source /opt/intel/openvino/setupvars.sh).
Build for runtime linking
cargo build --features runtime-linking
cargo test --features runtime-linking
The openvino-rs crates also support linking from a shared library at runtime (i.e.
dlopen-style). This allow building the crates with no OpenVINO™ installation or source code
present and only later — at runtime — providing the OpenVINO™ shared libraries. All
underlying system calls are wrapped so that a call to openvino_sys::library::load will link them
to their shared library implementation (using the logic in openvino-finder to locate the shared
libraries). For high-level users, call openvino::Core::new first to automatically load and link
the libraries.
Build from OpenVINO™ sources
First, build OpenVINO by cloning the openvino repository and following the OpenVINO™ build
documentation. Then, using the top-level directory as <openvino-repo> (not the CMake build
directory), build this crate:
OPENVINO_BUILD_DIR=<openvino-repo> cargo build
OPENVINO_BUILD_DIR=<openvino-repo> cargo test
Some important notes about the path passed in OPENVINO_BUILD_DIR:
<openvino-repo>should be an absolute path (or at least a path relative to thecrates/openvino-sysdirectory, which is the current directory when used at build time)<openvino-repo>should either be outside of this crate's tree or in thetargetdirectory (see the limitations oncargo:rustc-link-search).
The various OpenVINO libraries and dependencies are found using the openvino-finder crate. Turn on
logging to troubleshoot any issues finding the right libraries, e.g., RUST_LOG=debug OPENVINO_BUILD_DIR=... cargo build -vv.
Build without linking to OpenVINO™
OPENVINO_SKIP_LINKING=1 cargo build -vv
In some environments it may be necessary to build the openvino-sys crate without linking to the
OpenVINO libraries (e.g. for docs.rs builds). In these cases, use the OPENVINO_SKIP_LINKING
environment variable to skip linking entirely. The compiled crate will likely not work as expected
(e.g., for inference), but it should build.
Use
After building:
- peruse the documentation for the openvino crate; this is the library you likely want to interact with from Rust.
- follow along one with of the classification examples; these examples
classifies an image using pre-built models. The examples (and all tests) are runnable using
cargo test(orOPENVINO_INSTALL_DIR=/opt/intel/openvino cargo testwhen building from an installation).
Development
Run cargo xtask --help to read up on the in-tree development tools.
License
openvino-rs is released under the same license as OpenVINO™: the Apache License Version
2.0. By contributing to the project, you agree to the license and copyright terms therein
and release your contribution under these terms.
Compatibility
- Runs on
- GPU support unknown
What shows it
- no dependency or feature matches a backend row
- Native code
- Required
- Binds native code: openvino-genai-sys, openvino-sys, openvino_c_api, openvino_genai_c_api
- Python bindings
- No Python binding crate found
- License
- Apache-2.0
Compare with similar projects
Order: strongest tier first, then most downloads, then name, with unmeasured values last. A library counts downloads over 30 days. An app counts binary downloads per release. An app with none counts its crate downloads over 30 days. ML Rust runs this catalogue, so its closest project always gets a row.
| Project | Downloads | Dependents | Stars | Latest release | Runs on (GPU) | Native code | License |
|---|---|---|---|---|---|---|---|
|
High-level bindings for OpenVINO. |
218,765 downloads over 30 days | 6 | 143 | 0.11.1 | GPU support unknown | Binds native code: openvino-genai-sys, openvino-sys, openvino_c_api, openvino_genai_c_api | Apache-2.0 |
|
llama-cpp-rs Featured
llama.cpp bindings for Rust |
341,382 downloads over 30 days | 98 | 665 | 0.1.161 | CUDA, WebGPU, Metal, ROCm, Vulkan | Binds native code: llama. Build uses a native toolchain: bindgen, cc, cmake | Apache-2.0 OR MIT |
|
ctranslate2-rs Listed
Rust bindings for OpenNMT/CTranslate2 |
10,244 downloads over 30 days | 6 | 63 | 0.10.4 | CUDA | Binds native code: cxx, link-cplusplus, intel-onemkl-prebuild (feature mkl), onednn-src (feature dnnl), openblas-src (feature openblas) and 1 more. Build uses a native toolchain: cmake, cxx-build | MIT |
|
Rust bindings for TensorFlow Lite |
550 downloads over 30 days | 1 | 129 | 0.9.8 | GPU support unknown | Build uses a native toolchain: bindgen | Apache-2.0 OR MIT |
|
diffusion-rs Listed
High level API for stable-diffusion.cpp |
241 downloads over 30 days | 2 | 56 | 0.1.20 | CUDA, Metal, Vulkan | Binds native code: diffusion-rs-sys, stable-diffusion. Build uses a native toolchain: bindgen, cmake | MIT |
|
pmetal Listed
High-performance LLM fine-tuning framework for Apple Silicon Python bindings |
13 downloads over 30 days | 0 | 332 | 0.7.0 | Metal | Binds native code: pmetal_bridge, pmetal_runtime, mach-sys, pmetal-mlx-sys. Build uses a native toolchain: cc, cmake | Apache-2.0 OR MIT |
|
Inference server for LLMs, speech and embeddings: OpenAI-compatible routes with streaming, plus speech synthesis (TTS) and transcription (ASR). Serves Llama, Mistral, Qwen, Mamba2, MLA+MoE and hybrid models from SafeTensors, AWQ, GPTQ and GGUF. |
8 binary downloads per release | Not applicable | 7 | 0.7.1 | CUDA, WebGPU | Binds native code: ring (feature distributed) | Apache-2.0 |
Why ListedNo archive, New or Featured rule places it, so it is Listed.
What it lacks for Featured
- It has 6 active dependents and 5 new dependents in 365 days. Featured needs 11 active dependents or 9 new dependents in 365 days. The repository route reads 143 stars, 37 forks and 16 contributors. It needs 4,539 stars, 434 forks and 79 contributors together.
What else the check found
- The last activity is on 9 Oct 2026, 31 days ago. The rules expect an update within 600 days. Dormancy rule
- The oldest outside issue waits 2119 days for a reply, past the limit of 270. No maintainer replied in 365 days. Rot signals rule
Exact rules: Listed, Featured library. The check on applied thresholds version 9.
Every rule outcome, as the check records it
expected-interval: version 0.11.1 base 300, doubled for 218765 downloads per month: E = 600 daysdormancy: last activity 2026-10-09, 31 days ago, E = 600: activerot: oldest unanswered issue 2119 days (limit 270), no maintainer reply in 365 daysfeatured: not featured: active_users 6 < 11 and new_adopters 5 < 9 and repository route stars 143 (needs 4539), forks 37 (needs 434), contributors 16 (needs 79)listed: listed: no archive, new or featured rule applies
Crates5 crates
Measurements and sources
Each signal row shows the raw value, its source and the fetch date. The Sources list gathers every distinct source on this page. Movement needs more history.
Sources6 sources
- Description: the crates.io description
- crates.io database dump, fetched
- RustSec advisory database, fetched
- GitHub repository, fetched
- crates.io package, fetched
- GitHub contributors, fetched
Adoption6 active dependents, 5 new dependents in 365 days1 not measured
| Signal | Value | Source | Fetched | Counts |
|---|---|---|---|---|
| Active dependents | 6 | crates.io database dump | Yes | |
| New dependents (365 days) | 5 | crates.io database dump | Yes | |
| Peak active dependents | 6 | crates.io database dump | Yes | |
| Active dependents as a share of the peak | 1 | crates.io database dump | Yes | |
| Binary downloads per release | Not measured | Yes |
MaintenanceLatest human commit: 31 days ago3 not measured
| Signal | Value | Source | Fetched | Counts |
|---|---|---|---|---|
| Latest human commit | 2026-10-09 | GitHub repository | Yes | |
| Latest release | 2026-10-09 | crates.io database dump | Yes | |
| First release | 2020-10-22 | crates.io database dump | Yes | |
| Latest version | 0.11.1 | crates.io database dump | Yes | |
| Days the oldest outside issue waits for a reply | 2119 | GitHub repository | Yes | |
| Maintainer replies over 365 days | 0 | GitHub repository | Yes | |
| Repository archived | false | GitHub repository | Yes | |
| Repository gone | false | GitHub repository | Yes | |
| Release commit or manifest in the repo | true | crates.io package | Yes | |
| Published docs | true | crates.io database dump | Yes | |
| Latest release fails cargo check | Not measured | Yes | ||
| Build check date | Not measured | Yes | ||
| Build check toolchain | Not measured | Yes |
SecurityUnpatched vulnerabilities: none
| Signal | Value | Source | Fetched | Counts |
|---|---|---|---|---|
| Unpatched vulnerabilities past the grace window | none | RustSec advisory database | Yes | |
| RustSec unmaintained advisory | none | RustSec advisory database | Yes | |
| Deprecation notice | none | crates.io database dump | Yes | |
| Deprecated requirement | none | crates.io database dump | Yes |
Distribution25 releases, 218,765 downloads over 30 days5 not measured
| Signal | Value | Source | Fetched | Counts |
|---|---|---|---|---|
| Releases | 25 | crates.io database dump | Yes | |
| Downloads over 30 days | 218765 | crates.io database dump | Yes | |
| Binary downloads over the last 3 releases | Not measured | Yes | ||
| Homebrew installs on request over 365 days | Not measured | Yes | ||
| Repology repository families | Not measured | Yes | ||
| Docker pull growth over 90 days | Not measured | Yes | ||
| Docker pulls at the growth baseline | Not measured | Yes | ||
| Every version a prerelease | false | crates.io database dump | Yes | |
| Every version 0.0.x | false | crates.io database dump | Yes | |
| Every version yanked | false | crates.io database dump | Yes | |
| Crate deleted from crates.io | false | crates.io database dump | Yes |
Repository143 stars, 37 forks, 16 contributors, 235 commits. Stars alone never qualify a project.
| Signal | Value | Source | Fetched | Counts |
|---|---|---|---|---|
| GitHub stars | 143 | GitHub repository | Yes — one part of the repository route | |
| GitHub forks | 37 | GitHub repository | Yes — one part of the repository route | |
| Contributors with a GitHub account | 16 | GitHub contributors | Yes — one part of the repository route | |
| Commits on the default branch | 235 | GitHub repository | No | |
| Repository's main crate left out of the entry | none | crates.io database dump | Yes |
Facts that never count
| Signal | Value | Source | Fetched | Counts |
|---|---|---|---|---|
| License | Apache-2.0 | crates.io database dump | No | |
| Runs on, from listed crates and their direct dependencies | GPU support unknown | crates.io database dump | No | |
| What shows each backend | no dependency or feature matches a backend row | crates.io database dump | No | |
| Native code, from listed crates and their dependencies | Binds native code: openvino-genai-sys, openvino-sys, openvino_c_api, openvino_genai_c_api | crates.io database dump | No | |
| Python bindings, from direct dependencies of listed crates | No Python binding crate found | crates.io database dump | No | |
| Crates that depend on a listed crate directly | 6 | crates.io database dump | No |
Corrections and review history
No correction applies to this entry.
Judgments
A judgment enters only through an approved issue and a merged pull request.
No judgment applies to this entry.