Skip to content

Commit

Permalink
Merge pull request #11 from kbknapp/v0.1.1
Browse files Browse the repository at this point in the history
V0.1.1
  • Loading branch information
kbknapp committed Nov 4, 2015
2 parents b82219e + 2c01d59 commit 45d34fc
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 8 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
<a name="v0.1.1"></a>
### v0.1.1 (2015-11-04)


#### Documentation

* adds crate level docs ([8ba28c73](https://github.com/kbknapp/cargo-outdated/commit/8ba28c73e084bf0535e0df72653c529886d025a5))

#### Improvements

* various fixes from clippy run ([b8b633fc](https://github.com/kbknapp/cargo-outdated/commit/b8b633fc148b8be38fec8a8efc73d30bc2917716))



<a name="v0.1.0"></a>
## v0.1.0 Initial Implementation (2015-08-11)

Expand Down
4 changes: 2 additions & 2 deletions Cargo.lock

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

10 changes: 7 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
[package]
name = "cargo-outdated"
version = "0.1.0"
version = "0.1.1"
authors = ["Kevin K. <kbknapp@gmail.com>"]

[[bin]]
name = "cargo-outdated"

[dependencies]
clap = "~1.4"
toml = "0.1"
Expand All @@ -16,5 +19,6 @@ clippy = {version = "~0.0", optional = true}
default = ["color"]
color = ["ansi_term"]
debug = []
unstable = []
lints = ["clippy", "unstable"]
nightly = []
unstable = ["lints"]
lints = ["clippy", "nightly"]
2 changes: 1 addition & 1 deletion src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ impl Display for CliError {
}

impl Error for CliError {
fn description<'a>(&'a self) -> &'a str {
fn description(&self) -> &str {
match *self {
CliError::Generic(ref d) => &*d,
CliError::FileOpen(ref d) => &*d,
Expand Down
3 changes: 2 additions & 1 deletion src/lockfile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ impl Lockfile {
pwd.display())))
}

#[cfg_attr(feature = "lints", allow(str_to_string))]
pub fn get_updates(&mut self, cfg: &Config) -> CliResult<Option<HashMap<String, Dep>>> {
try!(self.parse_deps_to_depth(cfg.depth));

Expand Down Expand Up @@ -326,7 +327,7 @@ impl Lockfile {
}


fn parse_deps_to_depth<'a>(&'a mut self, mut depth: i32) -> CliResult<()> {
fn parse_deps_to_depth(&mut self, mut depth: i32) -> CliResult<()> {
debugln!("executing; parse_deps_to_depth; depth={}", depth);
let mut all_deps = depth == 0;

Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,12 @@
#![cfg_attr(feature = "lints", allow(explicit_iter_loop))]
#![cfg_attr(feature = "lints", allow(should_implement_trait))]
#![cfg_attr(feature = "lints", deny(warnings))]
#![cfg_attr(not(any(feature = "unstable", feature = "nightly")), deny(unstable_features))]
#![deny(missing_docs,
missing_debug_implementations,
missing_copy_implementations,
trivial_casts, trivial_numeric_casts,
unsafe_code,
unstable_features,
unused_import_braces,
unused_qualifications)]

Expand Down

0 comments on commit 45d34fc

Please sign in to comment.