hikvision-mvs-sys 0.2.0

Low-level bindings to the hikvision Machine Vision Software SDK
# hikvision-mvs-sys

Low-level Rust bindings for the Hikvision MVS SDK.

## Supported platforms

- Linux x86_64: MVS installed at `/opt/MVS`
- macOS arm64/x86_64: `MvCameraControl.framework` installed at
  `/Library/Frameworks/MvCameraControl.framework`

The build script generates bindings from the SDK version installed on the
machine and links the appropriate shared library or macOS framework.

If the SDK is installed somewhere else, set `HIKVISION_MVS_SDK_ROOT`. On macOS
it may point either to `MvCameraControl.framework` or to the directory that
contains it. On Linux it must point to the MVS directory containing `include`
and `lib/64`.

```sh
HIKVISION_MVS_SDK_ROOT=/path/to/MVS cargo build
```

On macOS, downstream applications may need to add the framework directory to
their runtime search paths because Hikvision distributes the framework with an
`@rpath` install name:

```sh
RUSTFLAGS='-C link-arg=-Wl,-rpath,/Library/Frameworks' cargo run
```