]> git.proxmox.com Git - cargo.git/commit
export rich version information from cargo::version
authorNathan Froyd <froydnj@gmail.com>
Fri, 27 Jan 2017 16:39:17 +0000 (11:39 -0500)
committerNathan Froyd <froydnj@gmail.com>
Fri, 27 Jan 2017 17:25:42 +0000 (12:25 -0500)
commit775c900e469ce56418cb5564cb26f8bea04d6d4c
treefaecd7350e7b84e423cda88aedacaec539541eeb
parent84ef722d1a1350fee48c0bc7725341fca2aea3a4
export rich version information from cargo::version

To support `cargo --version --verbose`, ala rustc, we need more
information to be injected into cargo when it's built from the Makefile,
and a more explicit data structure to be returned from cargo::version.
We implement fmt::Display for our newly-created structure so clients
don't have to bother with the details of interpreting the structure if
all they want is a string.
Makefile.in
src/cargo/lib.rs [changed mode: 0644->0755]
src/cargo/ops/registry.rs