From 9e9b789d46b247f16f3fb9c003c6f3a61ffe1d21 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 6 Feb 2026 22:11:55 +0000 Subject: [PATCH] Fix invalid botserver dependency in bottest/Cargo.toml Remove botserver dependency since it's a binary-only crate with no lib target. Integration tests should spawn the botserver process instead of linking it as a library. This fixes the warning: 'ignoring invalid dependency botserver which is missing a lib target' --- Cargo.toml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index fe092e8..aae640d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,8 +7,7 @@ license = "AGPL-3.0" repository = "https://github.com/GeneralBots/BotServer" [dependencies] -# The server we're testing - include drive and cache for required deps -botserver = { path = "../botserver", default-features = false, features = ["chat", "llm", "automation", "tasks", "directory", "drive", "cache"] } +# Note: botserver is a binary-only crate, tested by spawning the process botlib = { path = "../botlib", features = ["database"] } # Async runtime