- add
.envfile in the project's root with the following lines.
RUST_LOG=error,info
RUST_BACKTRACE=0
SERVER_ADDR=127.0.0.1:9002
cargo build --bin server && ./target/debug/serverorcargo run --bin serverto run server.cargo build --bin client && ./target/debug/clientorcargo run --bin clientto run client.
cargo checkshould not fail !!cargo fmtto format your source code.