mirror of
https://github.com/HigherOrderCO/Bend.git
synced 2024-09-11 11:56:54 +03:00
Add explicit cargo bin, make clap dep for cli only
This commit is contained in:
parent
3faedc1057
commit
a7a856821d
13
Cargo.toml
13
Cargo.toml
@ -3,11 +3,22 @@ name = "hvm-lang"
|
|||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
|
[lib]
|
||||||
|
name = "hvm_lang"
|
||||||
|
|
||||||
|
[[bin]]
|
||||||
|
name = "hvm-lang"
|
||||||
|
required-features = ["cli"]
|
||||||
|
|
||||||
|
[features]
|
||||||
|
default = ["cli"]
|
||||||
|
cli = ["clap"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow = "1.0.72"
|
anyhow = "1.0.72"
|
||||||
ariadne = "0.3.0"
|
ariadne = "0.3.0"
|
||||||
chumsky = "1.0.0-alpha.4"
|
chumsky = "1.0.0-alpha.4"
|
||||||
clap = { version = "4.4.1", features = ["derive"] }
|
clap = { version = "4.4.1", features = ["derive"], optional = true }
|
||||||
derive_more = "0.99.17"
|
derive_more = "0.99.17"
|
||||||
hvm-core = { git = "https://github.com/HigherOrderCO/hvm-core.git" }
|
hvm-core = { git = "https://github.com/HigherOrderCO/hvm-core.git" }
|
||||||
# hvm-core = { path = "../hvm-core/rust" }
|
# hvm-core = { path = "../hvm-core/rust" }
|
||||||
|
Loading…
Reference in New Issue
Block a user