mirror of
https://github.com/alacritty/alacritty.git
synced 2024-11-25 14:05:41 -05:00
5a8a34304f
Since cargo-deb builds all members of the workspace by default, it is necessary that the winpty subcrate can be built on all operating systems, since it's not possible to have OS-specific workspace members. To achieve this the crate has been changed to be empty by default on non-windows systems. It might make sense to do something similar with winpty-sys, but it's not strictly necessary at this point since we don't directly depend on it. This fixes #1716.
16 lines
477 B
TOML
16 lines
477 B
TOML
[package]
|
|
name = "winpty"
|
|
version = "0.1.0"
|
|
authors = ["Zac Pullar-Strecker <zacmps@gmail.com>"]
|
|
license = "MIT"
|
|
description = "Safe rust bindings for winpty"
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
# TODO: Replace with official repo
|
|
winpty-sys = { git = "https://github.com/zacps/winpty", branch = "rust" }
|
|
bitflags = "1.0"
|
|
widestring = "0.2.2"
|
|
|
|
[target.'cfg(windows)'.dev-dependencies]
|
|
named_pipe = "0.3"
|
|
winapi = { version = "0.3", features = ["winnt", "processthreadsapi"] }
|