From 27e5a23ee935ac15cdfdf032cd649644390572a5 Mon Sep 17 00:00:00 2001 From: Leonid Kaganov Date: Wed, 26 Nov 2025 16:51:40 +0200 Subject: [PATCH] feature: add version number to /status info Signed-off-by: Leonid Kaganov --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/main.rs | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 1d45a58ccd..b6064ca942 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1324,7 +1324,7 @@ checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9" [[package]] name = "hulypulse" -version = "0.2.1" +version = "0.2.2" dependencies = [ "actix", "actix-cors", diff --git a/Cargo.toml b/Cargo.toml index 611fb59db9..6352ab12c2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hulypulse" -version = "0.2.1" +version = "0.2.2" edition = "2024" [dependencies] diff --git a/src/main.rs b/src/main.rs index 203c6280c1..0fc2ae93f1 100644 --- a/src/main.rs +++ b/src/main.rs @@ -189,6 +189,7 @@ async fn main() -> anyhow::Result<()> { "backend": CONFIG.backend.to_string().to_lowercase(), "websockets": count, "status": "OK", + "version": env!("CARGO_PKG_VERSION"), }))) } }