Use the version number from Cargo.toml

master
Jos van den Oever 2018-09-28 23:54:42 +02:00
parent 6ee8ca626d
commit fe9731819f
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ use rust_qt_binding_generator::*;
fn main() {
let matches = App::new("rust_qt_binding_generator")
.version("0.1.0")
.version(env!("CARGO_PKG_VERSION"))
.about("Generates bindings between Qt and Rust")
.arg(
Arg::with_name("overwrite-implementation")