2025-05-08 18:52:16 -04:00
|
|
|
//! Rust Challenge
|
|
|
|
mod project;
|
|
|
|
|
|
|
|
|
2025-05-08 20:39:54 -04:00
|
|
|
/// The environment variable defined by Cargo for the name.
|
|
|
|
const CLIENT_NAME: &'static str = "base_station";
|
|
|
|
|
2025-05-08 18:52:16 -04:00
|
|
|
|
|
|
|
/// Print the version of the project.
|
|
|
|
fn print_version()
|
|
|
|
{
|
2025-05-08 20:39:54 -04:00
|
|
|
println!("{} v{}", CLIENT_NAME, project::get_version());
|
2025-05-08 18:52:16 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/// The usual starting point of your project.
|
|
|
|
fn main()
|
|
|
|
{
|
|
|
|
print_version();
|
|
|
|
}
|