From f5a8602748eff4bafea5fd37ffc270f7892c19c8 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Thu, 17 Mar 2022 02:31:14 -0700 Subject: fix(build): remove vergen --- src/main.rs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/main.rs b/src/main.rs index 96513f6..8321019 100644 --- a/src/main.rs +++ b/src/main.rs @@ -25,11 +25,10 @@ use crate::export::Exporter; fn main() { let matches = clap::Command::new(env!("CARGO_PKG_NAME")) .version(&*format!( - "{}(1)-{}-({})-{}", + "{}(1)-{}-({})", env!("CARGO_PKG_VERSION"), - env!("VERGEN_CARGO_PROFILE"), - env!("VERGEN_CARGO_TARGET_TRIPLE"), - env!("VERGEN_GIT_SHA").get(0..7).unwrap(), + env!("PROFILE"), + env!("TARGET"), )) .author(env!("CARGO_PKG_AUTHORS")) .subcommand_required(true) -- cgit v1.2.3