build: separate bin/lib targets
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user