Install OpenCV
brew install opencv
create workspace and clone this repository
mkdir rust_ws && cd rust_ws
git clone https://github.com/RustStudio/rust_opencv
export opencv lib path and run
cd rust_opencv
export DYLD_FALLBACK_LIBRARY_PATH="$(xcode-select --print-path)/Toolchains/XcodeDefault.xctoolchain/usr/lib/"
export LDFLAGS=-L/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib
cargo run