sapling/eden/scm/exec/hgmain/Cargo.toml
Jun Wu 784bc61b3d hgmain: enable virtual termainal processing on Windows
Summary: This is needed for rendering multiple progress bars in `cmd.exe`.

Reviewed By: andll

Differential Revision: D27887601

fbshipit-source-id: 9aa987cef327de91408f2e38b4d2e551fe10e39b
2021-04-20 15:50:41 -07:00

36 lines
871 B
TOML

[package]
name = "hgmain"
version = "0.1.0"
edition = "2018"
build = "build.rs"
[features]
default = []
fb = ["hgcommands/fb"]
python2 = ["hgcommands/python2"]
python3 = ["hgcommands/python3"]
buildinfo = []
with_chg = ["dirs"]
[dependencies]
libc = "0.2"
dirs = { version = "1.0", optional = true }
clidispatch = { path = "../../lib/clidispatch" }
cliparser = { path = "../../lib/cliparser" }
configparser = { path = "../../lib/configparser" }
hgcommands = { path = "../../lib/hgcommands", default-features = false }
pyblackbox = { path = "../../edenscmnative/bindings/modules/pyblackbox" }
[target.'cfg(windows)'.dependencies]
anyhow = "1.0.20"
winapi = {version = "0.3.7", features = ["consoleapi", "handleapi", "processenv", "winbase", "wincon"]}
[dependencies.encoding]
path = "../../lib/encoding"
[profile.release]
debug = true
incremental = true
lto = false