mirror of
https://github.com/wez/wezterm.git
synced 2024-12-18 19:01:36 +03:00
e6421d1b72
This breaking API change allows us to explicitly generate EOF when the taken writer is dropped. The examples have been updated to show how to manage read, write and waiting without deadlock for both linux and windows. Need to confirm that this is still good on macOS, but my confidence is high. I've also removed ssh2 support from this crate as part of this change. We haven't used it directly in wezterm in a long while and removing it from here means that there is slightly less code to keep compiling over and over. refs: https://github.com/wez/wezterm/discussions/2392 refs: https://github.com/wez/wezterm/issues/1396
53 lines
1.6 KiB
TOML
53 lines
1.6 KiB
TOML
[package]
|
|
name = "wezterm-ssh"
|
|
version = "0.4.0"
|
|
authors = ["Wez Furlong <wez@wezfurlong.org>"]
|
|
edition = "2018"
|
|
repository = "https://github.com/wez/wezterm"
|
|
description = "More convenient higher level wrapper around libssh2"
|
|
license = "MIT"
|
|
documentation = "https://docs.rs/wezterm-ssh"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[features]
|
|
default = ["libssh-rs", "ssh2"]
|
|
vendored-openssl = ["ssh2/vendored-openssl", "libssh-rs/vendored-openssl"]
|
|
vendored-openssl-ssh2 = ["ssh2/vendored-openssl"]
|
|
vendored-openssl-libssh-rs = ["libssh-rs/vendored-openssl"]
|
|
|
|
[dependencies]
|
|
anyhow = "1.0"
|
|
base64 = "0.13"
|
|
bitflags = "1.3"
|
|
camino = "1.0"
|
|
dirs-next = "2.0"
|
|
filedescriptor = { version="0.8", path = "../filedescriptor" }
|
|
filenamegen = "0.2"
|
|
libc = "0.2"
|
|
log = "0.4"
|
|
portable-pty = { version="0.8", path = "../pty" }
|
|
regex = "1"
|
|
smol = "1.2"
|
|
ssh2 = {version="0.9.3", features=["openssl-on-win32"], optional = true}
|
|
libssh-rs = {version="0.1.4", features=["vendored"], git="https://github.com/wez/libssh-rs.git", optional = true}
|
|
#libssh-rs = {path="../../libssh-rs/libssh-rs", features=["vendored"], optional = true}
|
|
thiserror = "1.0"
|
|
socket2 = "0.4"
|
|
|
|
# Not used directly, but is used to centralize the openssl vendor feature selection
|
|
async_ossl = { path = "../async_ossl" }
|
|
|
|
[dev-dependencies]
|
|
assert_fs = "1.0.4"
|
|
clap = {version="3.1", features=["derive"]}
|
|
k9 = "0.11.0"
|
|
once_cell = "1.8"
|
|
predicates = "2.0"
|
|
env_logger = "0.9"
|
|
rstest = "0.15"
|
|
shell-words = "1.1"
|
|
smol-potat = "1.1.2"
|
|
termwiz = { version = "0.17", path = "../termwiz" }
|
|
whoami = "1.1"
|