From f9f637e3cf25cb893ed266df61d8509ae4d8a8b7 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 5 Nov 2025 16:29:10 +0000 Subject: [PATCH] Add [lib] section to Cargo.toml This ensures cargo recognizes src/lib.rs as a library crate, allowing binary targets to import modules properly. --- Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 56c6164..590cb73 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,6 +5,9 @@ edition = "2021" authors = ["syui"] description = "Simple memory storage for Claude with MCP (with game mode!)" +[lib] +name = "aigpt" +path = "src/lib.rs" [[bin]] name = "aigpt"