Skip to content

Commit

Permalink
fix(Version): print version number on startup
Browse files Browse the repository at this point in the history
  • Loading branch information
ShadowApex committed Mar 6, 2024
1 parent 50bb67d commit a014ab0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ mod watcher;
#[tokio::main]
async fn main() -> Result<(), Box<dyn Error>> {
SimpleLogger::new().init().unwrap();
log::info!("Starting InputPlumber");
const VERSION: &str = env!("CARGO_PKG_VERSION");
log::info!("Starting InputPlumber v{}", VERSION);

// Setup CTRL+C handler
tokio::spawn(async move {
Expand Down

0 comments on commit a014ab0

Please sign in to comment.