build: separate bin/lib targets

This commit is contained in:
2024-11-10 16:23:34 +01:00
parent e79e44c0df
commit 5275bc33a8
4 changed files with 16 additions and 12 deletions

View File

@@ -6,13 +6,17 @@ version = "0.1.0"
edition = "2021"
[lib]
name = "lispers"
path = "src/lib.rs"
[[bin]]
name = "demo"
path = "src/demo.rs"
path = "src/bin/demo.rs"
[[bin]]
name = "repl"
path = "src/repl.rs"
path = "src/bin/repl.rs"
[dependencies]
as-any = "0.3.1"