From 15530a4287879c42446b57991e2e22f0a8b83f81 Mon Sep 17 00:00:00 2001 From: blank X Date: Thu, 4 Feb 2021 11:43:14 +0700 Subject: [PATCH] Use env!("CARGO_PKG_VERSION") --- src/main.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index fe2fa4f..52ee0ed 100644 --- a/src/main.rs +++ b/src/main.rs @@ -7,8 +7,7 @@ extern crate tokio; fn main() { let matches = App::new("hanimers") .about("hanime.tv downloader in rust") - // let's hope i remember to bump the version xd - .version("0.1.3") + .version(env!("CARGO_PKG_VERSION")) .setting(AppSettings::SubcommandRequiredElseHelp) .subcommand( SubCommand::with_name("search")