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:
@@ -5,6 +5,9 @@ edition = "2021"
|
|||||||
authors = ["syui"]
|
authors = ["syui"]
|
||||||
description = "Simple memory storage for Claude with MCP (with game mode!)"
|
description = "Simple memory storage for Claude with MCP (with game mode!)"
|
||||||
|
|
||||||
|
[lib]
|
||||||
|
name = "aigpt"
|
||||||
|
path = "src/lib.rs"
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
name = "aigpt"
|
name = "aigpt"
|
||||||
|
|||||||
Reference in New Issue
Block a user