From 379dc251d3cb15e29cd936a420f6322ee5da466b Mon Sep 17 00:00:00 2001 From: nutcas3 Date: Sat, 25 Apr 2026 03:16:53 +0300 Subject: [PATCH] feat: Add library configuration and test dependencies to charging-engine - Add [lib] section with charging_engine name and src/lib.rs path - Add dev-dependencies: tokio-test 0.4, mockall 0.13, serial_test 3.2 --- apps/charging-engine/Cargo.toml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/apps/charging-engine/Cargo.toml b/apps/charging-engine/Cargo.toml index e93a34d..08bca00 100644 --- a/apps/charging-engine/Cargo.toml +++ b/apps/charging-engine/Cargo.toml @@ -6,6 +6,10 @@ edition.workspace = true rust-version.workspace = true license.workspace = true +[lib] +name = "charging_engine" +path = "src/lib.rs" + [dependencies] tokio = { workspace = true } redis = { workspace = true } @@ -22,6 +26,11 @@ anyhow = { workspace = true } dotenv = { workspace = true } uuid = { workspace = true } +[dev-dependencies] +tokio-test = "0.4" +mockall = "0.13" +serial_test = "3.2" + [[bin]] name = "charging-engine" path = "src/main.rs"