How do you update a crate

I get the following when compiling rust
$ rustc src/ --extern iron=target/debug/deps/libiron-09d928974ca04cb0.rlib
src/ 2:19 error: found possibly newer version of crate log which iron depends on [E0460]
src/ extern crate iron;
src/ 2:19 note: perhaps this crate needs to be recompiled?
src/ extern crate iron;
src/ 2:19 note: crate log path #1: /usr/local/lib/rustlib/x86_64-unknown-linux-gnu/lib/
src/ 2:19 note: crate iron path #1: /home/tepkes/Development/Rust/rustless/target/debug/deps/libiron-09d928974ca04cb0.rlib
error: aborting due to previous error

So if log is out of date, how do I bring it in date? Thanks in advance


Is there a reason your not using cargo?

Cargo was failing and wasn't giving me the reason for the failure. I think I got it now I updated my Cargo.toml with iron in dependancies. Now I get a whole different error, but doesn't have anything to do with this. I think I answered this one after digging some more. Thanks