satellite_comms/src/client.rs
Myrddin Dundragon a965f796ae Setup a server-client program.
I setup a server-client program where the server will terminate when
Ctrl+C is pressed.
2025-05-08 20:39:54 -04:00

21 lines
349 B
Rust

//! Rust Challenge
mod project;
/// The environment variable defined by Cargo for the name.
const CLIENT_NAME: &'static str = "base_station";
/// Print the version of the project.
fn print_version()
{
println!("{} v{}", CLIENT_NAME, project::get_version());
}
/// The usual starting point of your project.
fn main()
{
print_version();
}