On Linux/macOS :
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source "$HOME/.cargo/env"On Windows : Download the installer et suivez les instructions.
Debian/Ubuntu :
sudo apt-get update && sudo apt-get install -y \
build-essential \
cmake \
pkg-config \
libssl-dev \
gitFedora :
sudo dnf install gcc cmake pkgconfig openssl-devel gitgit clone https://github.com/UwUDev/ygege.git
cd ygegeDevelopment mode (debugging) :
cargo buildProduction mode (optimized) :
cargo build --release**Debug version ** :
./target/debug/ygege --helpOptimized version :
./target/release/ygege --helpMake sure your config.json contains valid YGG credentials :
{
"username": "your_ygg_username",
"password": "your_ygg_password",
"bind_ip": "0.0.0.0",
"bind_port": 8715,
"log_level": "debug"
}- Install UPX :
sudo apt-get install upx-ucl # Debian/Ubuntu- Compress the binary :
upx --best --lzma ./target/release/ygegeMissing library error :
sudo apt-get install libssl3Update Rust :
rustup updateProject clean-up :
cargo clean