brane_reg::version

Function get

Source
pub async fn get() -> Result<impl Reply, Rejection>
Expand description

Handles a GET on the main /version path, returning the version number of this service.

§Returns

The response that can be send back to the client. Simply contains the string ‘vXX.YY.ZZ’, where

  • XX is the major version;
  • YY is the minor version; and
  • ZZ is the patch version.

§Errors

This function doesn’t usually error.