mentat/tools/cli/Cargo.toml
Nick Alexander c19337c8bf [cli] Part 1: Bump linefeed; use linefeed::Interface; add "--no-tty" argument.
I don't really understand why we were using `linefeed::Reader`
directly, but reading is not the full set of linefeed features we want
to access.  I think the `linefeed::Interface` should be owned by the
`Repl`, not the `InputReader`, but it's a little awkward to share
access with that configuration, so I'm not going to lift the ownership
until I have a reason to.

I think the "--no-tty" argument might be useful for running inside
Emacs.  Along the way, I made read_stdin() strip the trailing newline,
which agrees with InputReader::read_line().
2018-06-22 15:36:09 -07:00

55 lines
902 B
TOML

[package]
name = "mentat_cli"
version = "0.0.1"
# Forward mentat's features.
[features]
default = ["bundled_sqlite3"]
sqlcipher = ["mentat/sqlcipher"]
bundled_sqlite3 = ["mentat/bundled_sqlite3"]
[lib]
name = "mentat_cli"
path = "src/mentat_cli/lib.rs"
[[bin]]
name = "mentat_cli"
doc = false
test = false
[dependencies]
combine = "2.2.2"
env_logger = "0.5"
failure = "0.1.1"
failure_derive = "0.1.1"
getopts = "0.2"
lazy_static = "0.2"
linefeed = "0.5"
log = "0.4"
tabwriter = "1"
tempfile = "1.1"
termion = "1"
time = "0.1"
[dependencies.rusqlite]
version = "0.13"
features = ["limits"]
[dependencies.mentat]
path = "../.."
default-features = false
[dependencies.mentat_parser_utils]
path = "../../parser-utils"
[dependencies.edn]
path = "../../edn"
[dependencies.mentat_query]
path = "../../query"
[dependencies.mentat_core]
path = "../../core"
[dependencies.mentat_db]
path = "../../db"