We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d143ebe commit 2bc11fbCopy full SHA for 2bc11fb
src/main.rs
@@ -45,6 +45,7 @@ struct StatusParams {
45
struct StatusInfo {
46
success: bool,
47
message: String,
48
+ version: String,
49
tech: String,
50
timestamp: String,
51
lastmod: String,
@@ -60,6 +61,7 @@ async fn get_status(Query(params): Query<StatusParams>) -> Response {
60
61
let status = StatusInfo {
62
success: true,
63
message: "OK".to_string(),
64
+ version: format!("{}", version()),
65
tech: tech.to_string(),
66
timestamp: timestamp.to_string(),
67
lastmod: lastmod.to_string(),
0 commit comments