- Install Rust: https://www.rust-lang.org/tools/install
- Cargo is required, it should be installed along with Rust
- When building with Cargo, it would automatically download dependencies
- Under root directory
cargo test
can execute unit test
- Under
server
directory executecargo run
- This crate contains the server program designed to be executed in a known-ip server
- Once started, the server program does not need any interaction
- Under
client
directory executecargo run
- This crate contains the client’s binary
- The server’s IP address can be set in
config.yaml
underclient
directory - Shared files are stored under
files/