Skip to content
This repository has been archived by the owner on Jun 5, 2020. It is now read-only.

Commit

Permalink
Bump CI version to 1.30
Browse files Browse the repository at this point in the history
  • Loading branch information
sfackler committed Oct 28, 2018
1 parent 5cb7813 commit 8249386
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
build:
working_directory: ~/build
docker:
- image: rust:1.26.0
- image: rust:1.30.0
steps:
- checkout
- run: apt-get update
Expand Down
27 changes: 21 additions & 6 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ extern crate cargo;
extern crate env_logger;
extern crate failure;
extern crate petgraph;

#[macro_use]
extern crate structopt;

use cargo::core::dependency::Kind;
Expand Down Expand Up @@ -63,15 +61,23 @@ struct Args {
/// Set the target triple
target: Option<String>,
/// Directory for all generated artifacts
#[structopt(long = "target-dir", value_name = "DIRECTORY", parse(from_os_str))]
#[structopt(
long = "target-dir",
value_name = "DIRECTORY",
parse(from_os_str)
)]
target_dir: Option<PathBuf>,
#[structopt(long = "all-targets")]
/// Return dependencies for all targets. By default only the host target is matched.
all_targets: bool,
#[structopt(long = "no-dev-dependencies")]
/// Skip dev dependencies.
no_dev_dependencies: bool,
#[structopt(long = "manifest-path", value_name = "PATH", parse(from_os_str))]
#[structopt(
long = "manifest-path",
value_name = "PATH",
parse(from_os_str)
)]
/// Path to Cargo.toml
manifest_path: Option<PathBuf>,
#[structopt(long = "invert", short = "i")]
Expand All @@ -89,10 +95,19 @@ struct Args {
#[structopt(long = "duplicate", short = "d")]
/// Show only dependencies which come in multiple versions (implies -i)
duplicates: bool,
#[structopt(long = "charset", value_name = "CHARSET", default_value = "utf8")]
#[structopt(
long = "charset",
value_name = "CHARSET",
default_value = "utf8"
)]
/// Character set to use in output: utf8, ascii
charset: Charset,
#[structopt(long = "format", short = "f", value_name = "FORMAT", default_value = "{p}")]
#[structopt(
long = "format",
short = "f",
value_name = "FORMAT",
default_value = "{p}"
)]
/// Format string used for printing dependencies
format: String,
#[structopt(long = "verbose", short = "v", parse(from_occurrences))]
Expand Down

0 comments on commit 8249386

Please sign in to comment.