A simple template/example repo for the set-up of Rust projects including a gitignore and a dockerfile.
You normally create a Rust project with the following command.
cargo new project_name
cargo build
cargo test
In Rust you write the unit tests directly in the implementation files. Only integration tests are moved into an own module/crate. The template also includes an example.
cargo run
docker build -t rust-template .
docker run rust-template