2019-05-20 04:38:59 +03:00
|
|
|
[package]
|
|
|
|
name = "portable-pty"
|
2019-09-16 04:16:43 +03:00
|
|
|
version = "0.2.0"
|
2019-05-20 04:38:59 +03:00
|
|
|
authors = ["Wez Furlong"]
|
|
|
|
edition = "2018"
|
|
|
|
repository = "https://github.com/wez/wezterm"
|
|
|
|
description = "Cross platform pty interface"
|
|
|
|
license = "MIT"
|
|
|
|
documentation = "https://docs.rs/portable-pty"
|
|
|
|
|
|
|
|
[dependencies]
|
2020-01-20 18:55:11 +03:00
|
|
|
async-trait = "0.1"
|
2019-12-15 08:43:05 +03:00
|
|
|
anyhow = "1.0"
|
2020-01-26 20:14:26 +03:00
|
|
|
filedescriptor = { version="0.7", path = "../filedescriptor" }
|
2019-06-09 01:37:55 +03:00
|
|
|
log = "0.4"
|
2019-05-20 04:38:59 +03:00
|
|
|
libc = "0.2"
|
2019-08-02 20:51:10 +03:00
|
|
|
shell-words = "0.1"
|
2019-05-20 04:38:59 +03:00
|
|
|
serde_derive = {version="1.0", optional=true}
|
|
|
|
serde = {version="1.0", optional=true}
|
2019-08-07 20:59:42 +03:00
|
|
|
serial = "0.4"
|
2020-02-22 19:50:13 +03:00
|
|
|
ssh2 = {optional=true, version="0.8"}
|
2020-01-20 19:19:12 +03:00
|
|
|
tokio = { version = "0.2", features = ["io-driver", "io-util"] }
|
2019-05-20 04:38:59 +03:00
|
|
|
|
|
|
|
[features]
|
|
|
|
default = []
|
|
|
|
serde_support = ["serde", "serde_derive"]
|
2019-08-02 20:51:10 +03:00
|
|
|
ssh = ["ssh2"]
|
2019-05-20 04:38:59 +03:00
|
|
|
|
2020-01-20 18:55:11 +03:00
|
|
|
[target."cfg(unix)".dependencies]
|
|
|
|
mio = { version = "0.6" }
|
|
|
|
|
2019-05-20 04:38:59 +03:00
|
|
|
[target."cfg(windows)".dependencies]
|
2019-05-20 04:55:10 +03:00
|
|
|
bitflags = "1.0"
|
|
|
|
lazy_static = "1.3"
|
2019-05-20 04:38:59 +03:00
|
|
|
shared_library = "0.1"
|
|
|
|
uds_windows = "0.1"
|
|
|
|
winapi = { version = "0.3", features = [
|
|
|
|
"winuser",
|
|
|
|
"consoleapi",
|
|
|
|
"handleapi",
|
|
|
|
"fileapi",
|
|
|
|
"namedpipeapi",
|
|
|
|
"synchapi",
|
|
|
|
]}
|
|
|
|
|
2020-01-20 18:55:11 +03:00
|
|
|
[dev-dependencies]
|
|
|
|
tokio = { version = "0.2", features = ["rt-threaded", "macros"] }
|