To build this project, 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
sudo apt update
sudo apt install protobuf-compiler
sudo dnf install protobuf-compiler
sudo pacman -S protobuf
sudo apt update
sudo apt install pkg-config libssl-dev
sudo dnf install pkg-config openssl-devel
sudo pacman -S openssl
If OpenSSL is not detected during the build, manually set the environment variables:
export OPENSSL_DIR=/usr/lib/ssl # Adjust based on your system
export PKG_CONFIG_PATH=$OPENSSL_DIR/lib/pkgconfig
Once all dependencies are installed, build the project with:
cargo build