| Crates.io | depthai-sys |
| lib.rs | depthai-sys |
| version | 0.1.2 |
| created_at | 2026-01-01 20:56:09.829746+00 |
| updated_at | 2026-01-21 23:31:00.911507+00 |
| description | Low-level FFI crate that builds/links Luxonis DepthAI-Core v3 and exposes Rust bindings. |
| homepage | https://github.com/groupe-carvi/depthai-rs |
| repository | https://github.com/groupe-carvi/depthai-rs |
| max_upload_size | |
| id | 2017497 |
| size | 374,415 |
Low-level FFI crate for depthai-rs.
This crate is responsible for building/downloading Luxonis DepthAI-Core v3 and generating Rust bindings (via autocxx) plus a small C++ wrapper layer.
Most users should depend on the high-level crate instead:
depthaino-native)depthai-sys normally builds or downloads DepthAI-Core (and its dependencies) and links the native libraries.
That can be too slow for docs.rs, which is time-limited and often network-restricted.
To keep docs.rs builds reliable, this crate provides a feature flag:
no-native: bindings-only mode.When no-native is enabled (or when DOCS_RS=1 is set by docs.rs):
autocxx still runs, and the crate still generates the Rust FFI API.autocxx is compiled in normal builds.DOCS_RS=1), the build skips compiling the C++ glue to keep docs builds fast.wrapper/wrapper.cpp) is not compiled.This is sufficient for documentation generation, but it is not a runnable configuration.
To build docs locally in the same mode as docs.rs:
cargo doc -p depthai-sys --no-default-features --features no-native