To build this project on macOS, you will need the following:
- Rust
- Protobuf
- OpenSSL development libraries
Run the following command to install Rust via rustup
:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
After installation, configure your shell with:
source $HOME/.cargo/env
Verify installation:
rustc --version
To install Protobuf, use Homebrew:
brew install protobuf
Verify the installation:
protoc --version
To install OpenSSL, use Homebrew:
brew install openssl
You may need to manually set environment variables to ensure the system finds the OpenSSL library:
export OPENSSL_DIR=$(brew --prefix openssl)
export PKG_CONFIG_PATH=$OPENSSL_DIR/lib/pkgconfig
Once all dependencies are installed, build the project with:
cargo build