refactor: pull things into own files, have a library
This commit is contained in:
parent
4848f2be2f
commit
ee23572983
7 changed files with 176 additions and 166 deletions
8
src/branding.rs
Normal file
8
src/branding.rs
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
pub fn startup_msg() {
|
||||
let name = env!("CARGO_PKG_NAME");
|
||||
let version = env!("CARGO_PKG_VERSION");
|
||||
let authors = env!("CARGO_PKG_AUTHORS");
|
||||
|
||||
println!("{name} v{version} started.",);
|
||||
println!("Copyright 2025 {authors}. All rights reserved.")
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue