main.rs — Binary Entry Point The binary entry point is intentionally minimal. It simply calls base_station_lib::run() , which lives in lib.rs . The only thing of note is the windows_subsystem = "windows" attribute on the first line — this suppresses the extra console window that would otherwise appear when launching the app on Windows in release builds. Do not remove it.