Hirevo / alexandrie

An alternative crate registry, implemented in Rust.
https://hirevo.github.io/alexandrie/
Apache License 2.0
495 stars 54 forks source link

add build info with alexandrie. #91

Closed baoyachi closed 3 years ago

baoyachi commented 4 years ago

build alexandrie version

when build alexandrie,that compiled project much information in alexandrie. So when people have question,They can report key project information and quickly locate problems.

how to use

use exec cmd :./alexandrie -V

➜  ~ ./alexandrie -V
alexandrie version:0.3.14
branch:master
commit-hash:9560be54
build_time:2020-08-25 02:39:21
build_env:rustc 1.45.0 (5c1f21c3b 2020-07-13),stable-x86_64-apple-darwin (default)

➜  ~ 
Hirevo commented 3 years ago

Hello !

I am sorry for my long period of inactivity these last months, which left this PR open all that time.
Thanks for the PR, I agree that this information will be helpful when submitting bug reports.
I think we can merge this now, and I'll take care of upgrading the dependency, due to being merged late.

Thanks again for the PR !