Skip to content

Commit

Permalink
use environment variable for version
Browse files Browse the repository at this point in the history
  • Loading branch information
junnlikestea committed Oct 29, 2020
1 parent 8d7bf06 commit 35dd4f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "reesolve"
version = "0.0.3"
version = "0.0.4"
authors = ["Junn <[email protected]>"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion src/bin/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ fn make_path(path: &str, format: &str) -> PathBuf {

#[tokio::main]
async fn main() -> Result<()> {
let args = create_clap_app("0.0.3");
let args = create_clap_app(env!("CARGO_PKG_VERSION"));
let matches = args.get_matches();
let concurrency: usize = matches.value_of("concurrency").unwrap().parse()?;
let timeout: u64 = matches.value_of("timeout").unwrap().parse()?;
Expand Down

0 comments on commit 35dd4f5

Please sign in to comment.