Print the version on lift off and add version endpoint #10

Merged
paul merged 3 commits from 6-print-version-add-endpoint into main 2023-01-29 15:37:15 +01:00
Owner

Show both a version at lift off but also add an API endpoint so it can be queried from the outside.

This closes #9.

Show both a version at lift off but also add an API endpoint so it can be queried from the outside. This closes #9.
paul added this to the 0.3.0 milestone 2023-01-16 21:20:08 +01:00
paul added the
enhancement
label 2023-01-16 21:20:08 +01:00
paul self-assigned this 2023-01-16 21:20:08 +01:00
paul added 1 commit 2023-01-16 21:20:09 +01:00
paul added 2 commits 2023-01-29 15:30:50 +01:00
de1ad37b95
Use the vergen crate to generate version information
* Add depend on the `vergen` crate (only use the `build` and `git`
  features)
* Add the build script `build.rs` to setup the environment variables
  from the build system
* Update the printed version information to use these environment
  variables
04e28a33c3
Add a /version API endpoint
* Introduce the `VersionInfo` struct, build from the vergen environment
  variables
* Add the `version` handler to construct and return the version info
* Update the README
paul changed title from WIP: Print the version on lift off and add version endpoint to Print the version on lift off and add version endpoint 2023-01-29 15:35:36 +01:00
paul merged commit 7c704b69ed into main 2023-01-29 15:37:15 +01:00
paul deleted branch 6-print-version-add-endpoint 2023-01-29 15:37:15 +01:00
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: paul/solar-grabber#10
No description provided.