diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-05-05 12:20:32 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-05-05 12:55:09 +0900 |
| commit | a55ad1cc44c12836eca5652d231902968e04eea1 (patch) | |
| tree | 3e24d859a464dd716ecb92cc40c729bf281863f4 /crates/mozart/src/main.rs | |
| parent | 14d3eb2b2f537140bf626b3d109e01834704e5bf (diff) | |
| download | php-mozart-a55ad1cc44c12836eca5652d231902968e04eea1.tar.gz php-mozart-a55ad1cc44c12836eca5652d231902968e04eea1.tar.zst php-mozart-a55ad1cc44c12836eca5652d231902968e04eea1.zip | |
refactor(core): centralize version constant in mozart-core
Diffstat (limited to 'crates/mozart/src/main.rs')
| -rw-r--r-- | crates/mozart/src/main.rs | 3 |
1 files changed, 2 insertions, 1 deletions
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!( "<info>Mozart</info> version <comment>{}</comment> {}", - env!("CARGO_PKG_VERSION"), + MOZART_VERSION, build_date ) ); |
