Cargo Features

realsense-rust has no features set by default.

[dependencies]
realsense-rust = { version = "1.2.3", features = ["buildtime-bindgen", "test-single-device", "docs-only"] }
default

- The default build. This uses RealSense bindings, generated by bindgen and imported into src/ via
realsense-sys/bindings.

buildtime-bindgen

- Rebuild the FFI bindings used to interface with the RealSense API. This flag is passed to the realsense-sys
Cargo.toml.

Enables buildtime-bindgen of realsense-sys

test-single-device

- This feature does nothing in terms of library functionality / behaviour, but is instead for running tests that
utilize a single device on the backend.

docs-only

Only build docs, don't link to anything

Enables docs-only of realsense-sys