Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replaced structopt & clap with pico-args. #77

Merged
merged 1 commit into from
Dec 1, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 7 additions & 51 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions cargo-geiger/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,12 @@ maintenance = { status = "experimental" }

[dependencies]
cargo = "0.40.0"
clap = "2.33.0"
colored = "1.9.0"
console = "0.9.1"
env_logger = "0.7.1"
geiger = { path = "../geiger", version = "0.4.1" }
petgraph = "0.4.13"
structopt = "0.3.4"
pico-args = "0.3.0"
walkdir = "2.2.9"

[dev-dependencies]
Expand Down
13 changes: 2 additions & 11 deletions cargo-geiger/src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,6 @@
// TODO: Consider making this a lib.rs (again) and expose a full API, excluding
// only the terminal output..? That API would be dependent on cargo.

extern crate cargo;
extern crate colored;
extern crate console;
extern crate env_logger;
extern crate geiger;
extern crate petgraph;
extern crate structopt;
extern crate walkdir;

use self::walkdir::DirEntry;
use self::walkdir::WalkDir;
use crate::format::Pattern;
use crate::Args;
use cargo::core::compiler::CompileMode;
Expand Down Expand Up @@ -61,6 +50,8 @@ use std::path::PathBuf;
use std::str::{self, FromStr};
use std::sync::Arc;
use std::sync::Mutex;
use walkdir::DirEntry;
use walkdir::WalkDir;

// ---------- BEGIN: Public items ----------

Expand Down
Loading