Make sure to have the latest stable version of Rust
installed.
We recommend using rustup for that.
After you did that, Rust
should be fully installed.
sozu
is published on crates.io.
To install them, you only have to do cargo install sozu
.
They will be built and available in the ~/.cargo/bin
folder.
Build the sozu executable and command line:
cd bin && cargo build --release --locked
The
--release
parameter inform cargo to compile sozu with optimizations turned on. Only use--release
to make a production version.The
--locked
flag tells cargo to stick to dependencies versions as specified inCargo.lock
and thus prevent dependencie breaks.