Skip to content

Latest commit

 

History

History
68 lines (44 loc) · 1.06 KB

macos.md

File metadata and controls

68 lines (44 loc) · 1.06 KB

Quick Start Guide for macOS

Prerequisites

To build this project on macOS, you will need the following:

  • Rust
  • Protobuf
  • OpenSSL development libraries

Installing Dependencies

1. Install Rust

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

2. Install Protobuf

To install Protobuf, use Homebrew:

brew install protobuf

Verify the installation:

protoc --version

3. Install OpenSSL Development Libraries

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

4. Build the Project

Once all dependencies are installed, build the project with:

cargo build