Use env!("CARGO_PKG_VERSION")

This commit is contained in:
blank X 2021-02-04 11:43:14 +07:00
parent aed8a28aac
commit 15530a4287
Signed by: blankie
GPG Key ID: CC15FC822C7F61F5
1 changed files with 1 additions and 2 deletions

View File

@ -7,8 +7,7 @@ extern crate tokio;
fn main() { fn main() {
let matches = App::new("hanimers") let matches = App::new("hanimers")
.about("hanime.tv downloader in rust") .about("hanime.tv downloader in rust")
// let's hope i remember to bump the version xd .version(env!("CARGO_PKG_VERSION"))
.version("0.1.3")
.setting(AppSettings::SubcommandRequiredElseHelp) .setting(AppSettings::SubcommandRequiredElseHelp)
.subcommand( .subcommand(
SubCommand::with_name("search") SubCommand::with_name("search")