stratus::infra

Module build_info

Source

Constants§

BUILD_GLIBC_VERSION
BUILD_HOSTNAME
BUILD_OPENSSL_VERSION
BUILD_TIMESTAMP
CARGO_DEBUG
CARGO_FEATURES
GIT_BRANCH
GIT_COMMIT
GIT_COMMIT_AUTHOR
GIT_COMMIT_MESSAGE
GIT_COMMIT_TIMESTAMP
GIT_DESCRIBE
RUST_CHANNEL
RUST_TARGET
RUST_VERSION

Functions§

as_json
Returns build info as JSON.
binary_name
Returns the current binary basename.
service_name
Returns the current service name.
service_name_with_version
Returns the current service name with version.
version
Returns the version derived from the build information.