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:

	.
	├── airtime
	│   └── calculator.rs
	├── applayer
	│   ├── clock
	│   │   ├── cid_string.rs
	│   │   ├── clock_sync.rs
	│   │   └── mod.rs
	│   ├── fragmentation
	│   │   ├── cid_string.rs
	│   │   ├── encode.rs
	│   │   ├── fragmentation.rs
	│   │   └── mod.rs
	│   ├── mod.rs
	│   └── multicastsetup
	│       ├── cid_string.rs
	│       ├── keys.rs
	│       ├── mod.rs
	│       └── multicastsetup.rs
	├── backend
	├── band
	├── calculator
	│   └── mod.rs
	├── clock
	│   └── mod.rs
	├── gps
	├── main.rs
	└── sensitivity

	

example content of multicastsetup/mod.rs

	pub mod cid_string;
	pub mod keys;
	pub mod multicastsetup;

	

See github.