mirror of
https://git.deuxfleurs.fr/Deuxfleurs/garage.git
synced 2026-05-16 06:06:53 -04:00
By default, structopt reports the value provided by the env var CARGO_PKG_VERSION, feeded by Cargo when reading Cargo.toml. However for Garage we use a versioning based on git, so we often report a version that is behind the real version. In this commit, we create garage_util::version::garage() that reports the right version and configure all structopt subcommands to call this function instead of using the env var. |
||
|---|---|---|
| .. | ||
| api | ||
| block | ||
| db | ||
| garage | ||
| k2v-client | ||
| model | ||
| rpc | ||
| table | ||
| util | ||
| web | ||