Используйте модуль в другом модуле ржавчине

// in your main.rs file add
mod my_module;
// to the top.
// In your module file you can add
use crate::my_module;
// To the top
Flyhouse_Squarewheel