Skip to content

Commit

Permalink
clap is optional
Browse files Browse the repository at this point in the history
  • Loading branch information
coriolinus committed Oct 13, 2022
1 parent e6031c8 commit cdfbaff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ keywords = ["calculator", "cli"]

[dependencies]
anyhow = { version = "1.0.65", optional = true }
clap = { version = "4.0.14", features = ["derive"] }
clap = { version = "4.0.14", features = ["derive"], optional = true }
lalrpop-util = { version = "0.19.8", features = ["lexer"] }
lazy_static = "1.4.0"
num-runtime-fmt = "0.1.2"
Expand All @@ -30,6 +30,7 @@ lalrpop = "0.19.8"
default = ["cli"]
cli = [
"anyhow",
"clap",
"rustyline",
]

Expand Down

0 comments on commit cdfbaff

Please sign in to comment.