getver is a simple command line tool for capturing the latest version of crates.
$ getver <crate>...
getver needs stable version of rust. Here provides the easy way to install rust
$ curl https://sh.rustup.rs -sSf | sh
$ rustup install stable
$ cargo install getver
after installation, try this:
$ getver libc bitflags rand log lazy_static