kamiyaa / joshuto

ranger-like terminal file manager written in Rust
https://crates.io/crates/joshuto
GNU Lesser General Public License v3.0
3.35k stars 151 forks source link

Use `shadow-rs` to show detailed version information #481

Closed xrelkd closed 5 months ago

xrelkd commented 5 months ago

It shows detailed version information like this when executing joshuto --version or joshuto version:

joshuto-0.9.6
branch:feat/shadow-rs
commit_hash:71332cd7
build_time:2024-01-18 22:38:35 +08:00
build_env:rustc 1.75.0 (82e1608df 2023-12-21),

The build information and commit hash will be helpful when reporting issues.

kamiyaa commented 5 months ago

LGTM! Thanks! Been wanting something like this, but was low priority so I didn't bother doing research xd