Closed rabadin closed 3 years ago
Instead of hardcoding the version and forcing a code change for each version, use the value of the env var CARGO_PKG_VERSION.
Hum, I thought 0.04 referred to the actix-web-prom version but it's actually from the prometheus spec https://prometheus.io/docs/instrumenting/exposition_formats/#text-based-format. Closing this PR.
Instead of hardcoding the version and forcing a code change for each version, use the value of the env var CARGO_PKG_VERSION.