[package]
name = "calc"
version = "0.2.0"
authors = ["Peter Goodspeed-Niklaus <peter.r.goodspeedniklaus@gmail.com>"]
edition = "2018"
description = "CLI calculator app"
license = "GPL-3.0-only"
repository = "https://github.com/coriolinus/calc"
categories = [
    "command-line-interface",
    "command-line-utilities",
    "mathematics",
]
keywords = ["calculator", "cli"]


[dependencies]
anyhow = { version = "1.0.38", optional = true }
lalrpop-util = "0.19.4"
lazy_static = "1.4.0"
regex = "1.4.3"
rustyline = { version = "7.1.0", optional = true }
structopt = { version = "0.3.21", optional = true }
thiserror = "1.0.23"

[build-dependencies]
lalrpop = "0.19.4"

[features]
default = ["cli"]
cli = [
    "anyhow",
    "rustyline",
    "structopt",
]
