Skip to content

Commit

Permalink
Fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
psibi committed Jan 1, 2020
1 parent b7d4ad3 commit 717600e
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,22 @@ extern crate tokio_core;

use clap::{App, Arg, SubCommand};
use credstash::{CredStashClient, CredStashCredential};
use either::Either;
use futures::future::Future;
use ring;
use ring::hmac::Algorithm;
use rusoto_core::region::Region;
use rusoto_dynamodb::AttributeValue;
use serde_json::map::Map;
use serde_json::{to_string_pretty, Value};
use std::clone::Clone;
use std::collections::HashMap;
use std::env;
use std::ffi::OsString;
use std::io::Write;
use std::str::FromStr;
mod crypto;
use either::Either;
use ring;
use std::clone::Clone;
use std::io;
use std::io::Write;
use std::str;
use std::str::FromStr;
use std::string::ToString;
use std::vec::Vec;
use tokio_core::reactor::Core;
Expand Down Expand Up @@ -304,8 +303,9 @@ impl CredstashApp {
I: Iterator<Item = T>,
T: Into<OsString> + Clone,
{
let version: Option<&'static str> = option_env!("CARGO_PKG_VERSION");
let app: App = App::new("rucredstash")
.version("0.1")
.version(version.unwrap())
.about("A credential/secret storage system")
.author("Sibi Prabakaran");

Expand Down

0 comments on commit 717600e

Please sign in to comment.