[Build] Propagate vLLM version to Rust binaries (#52593)

Signed-off-by: Bugen Zhao <i@bugenzhao.com>
Co-authored-by: Nick Hill <nickhill123@gmail.com>
Co-authored-by: Andreas Karatzas <akaratza@amd.com>
This commit is contained in:
Bugen Zhao
2026-08-17 23:37:37 -07:00
committed by GitHub
co-authored by Nick Hill Andreas Karatzas
parent b0e9cff5e7
commit c89d692cb5
24 changed files with 135 additions and 39 deletions
+1
View File
@@ -45,6 +45,7 @@ tracing-subscriber.workspace = true
url.workspace = true
uuid.workspace = true
validator.workspace = true
vllm-build-info.workspace = true
vllm-chat.workspace = true
vllm-engine-core-client.workspace = true
vllm-llm.workspace = true
+1 -1
View File
@@ -1746,7 +1746,7 @@ async fn version_returns_engine_vllm_version() {
json,
json!({
"version": "test-vllm-version",
"rust_frontend_version": env!("CARGO_PKG_VERSION"),
"rust_frontend_version": vllm_build_info::VERSION,
})
);
}
+1 -1
View File
@@ -21,6 +21,6 @@ pub async fn version(State(state): State<Arc<AppState>>) -> Json<VersionResponse
Json(VersionResponse {
version,
rust_frontend_version: env!("CARGO_PKG_VERSION"),
rust_frontend_version: vllm_build_info::VERSION,
})
}