Use env!("CARGO_PKG_VERSION")

master
blank X 2 years ago
parent aed8a28aac
commit 15530a4287
Signed by: blankie
GPG Key ID: CC15FC822C7F61F5
  1. 3
      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")

Loading…
Cancel
Save