Rust 2018 cleanup

This commit is contained in:
Michael Vines
2018-12-14 20:39:10 -08:00
committed by Grimes
parent aaa5cd4615
commit fd562cb9e2
59 changed files with 109 additions and 209 deletions

View File

@@ -1,16 +1,8 @@
#[macro_use]
extern crate clap;
use dirs;
#[macro_use]
extern crate solana;
#[macro_use]
extern crate serde_json;
mod wallet;
use crate::wallet::{parse_command, process_command, WalletConfig, WalletError};
use clap::{App, Arg, ArgMatches, SubCommand};
use clap::{crate_version, App, Arg, ArgMatches, SubCommand};
use solana::socketaddr;
use solana_sdk::signature::{gen_keypair_file, read_keypair, KeypairUtil};
use std::error;
use std::net::SocketAddr;