Rust challenge 15/100 - Project structure
Note: The solution on this page is outdated, and mod.rs is no longer needed. See https://doc.rust-lang.org/edition-guide/rust-2018/path-changes.html
Table of content
What is this?
The rules of the game are explained in my original post.
15th Challenge
Challenge
Today’s challenge is to familiarize myself with structuring and organizing rust projects. In order to do that, the challenge is to copy the structure of an existing project
Solution
Organizing files and folders in Rust is a tad confusing. I found the following post very helpful on stackoverflow.
The following is only the beginning of the structure:
example content of multicastsetup/mod.rs
See github.