Add [lib] section to Cargo.toml

This ensures cargo recognizes src/lib.rs as a library crate,
allowing binary targets to import modules properly.
This commit is contained in:
Claude
2025-11-05 16:29:10 +00:00
parent 63031c3939
commit f9f637e3cf

View File

@@ -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"