aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFuwn <[email protected]>2022-03-17 02:31:14 -0700
committerFuwn <[email protected]>2022-03-17 02:31:14 -0700
commitf5a8602748eff4bafea5fd37ffc270f7892c19c8 (patch)
tree7b9dc9b9188a5f967ac19919926f8f3b1b0d86ef /src
parentfeat: 0.1.0 :star: (diff)
downloadcli-f5a8602748eff4bafea5fd37ffc270f7892c19c8.tar.xz
cli-f5a8602748eff4bafea5fd37ffc270f7892c19c8.zip
fix(build): remove vergen
Diffstat (limited to 'src')
-rw-r--r--src/main.rs7
1 files changed, 3 insertions, 4 deletions
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)