From a55ad1cc44c12836eca5652d231902968e04eea1 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Tue, 5 May 2026 12:20:32 +0900 Subject: refactor(core): centralize version constant in mozart-core --- crates/mozart/src/main.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'crates/mozart/src/main.rs') diff --git a/crates/mozart/src/main.rs b/crates/mozart/src/main.rs index 8201d87..35f8485 100644 --- a/crates/mozart/src/main.rs +++ b/crates/mozart/src/main.rs @@ -1,5 +1,6 @@ use clap::Parser; use mozart::commands; +use mozart_core::MOZART_VERSION; use mozart_core::exit_code; use tracing_subscriber::{EnvFilter, fmt, prelude::*}; @@ -48,7 +49,7 @@ async fn main() { "{}", mozart_core::console_format!( "Mozart version {} {}", - env!("CARGO_PKG_VERSION"), + MOZART_VERSION, build_date ) ); -- cgit v1.3.1