From eb6af85d79976f6fb6effcd6286765aaa1e6b330 Mon Sep 17 00:00:00 2001 From: Bruno Mendes Date: Wed, 17 Jan 2024 11:06:18 +0000 Subject: [PATCH] Announce package version in uci command --- src/engine/commands/executor.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/commands/executor.rs b/src/engine/commands/executor.rs index 45f9b63d..da06700a 100644 --- a/src/engine/commands/executor.rs +++ b/src/engine/commands/executor.rs @@ -103,7 +103,7 @@ pub fn execute_ponderhit(engine: &mut Engine) { } pub fn execute_uci() { - println!("id name Camel"); + println!("id name Camel {}", env!("CARGO_PKG_VERSION")); println!("id author Bruno Mendes"); // Options list