distant/distant-ssh2/Cargo.toml
2022-06-01 15:35:29 -05:00

42 lines
1.2 KiB
TOML

[package]
name = "distant-ssh2"
description = "Library to enable native ssh-2 protocol for use with distant sessions"
categories = ["network-programming"]
version = "0.16.4"
authors = ["Chip Senkbeil <chip@senkbeil.org>"]
edition = "2018"
homepage = "https://github.com/chipsenkbeil/distant"
repository = "https://github.com/chipsenkbeil/distant"
readme = "README.md"
license = "MIT OR Apache-2.0"
[features]
default = ["libssh", "ssh2"]
libssh = ["wezterm-ssh/libssh-rs", "wezterm-ssh/vendored-openssl-libssh-rs"]
ssh2 = ["wezterm-ssh/ssh2", "wezterm-ssh/vendored-openssl-ssh2"]
[dependencies]
async-compat = "0.2.1"
distant-core = { version = "=0.16.4", path = "../distant-core" }
futures = "0.3.16"
log = "0.4.14"
rand = { version = "0.8.4", features = ["getrandom"] }
rpassword = "5.0.1"
shell-words = "1.0"
smol = "1.2"
tokio = { version = "1.12.0", features = ["full"] }
wezterm-ssh = { version = "0.4.0", default-features = false }
# Optional serde support for data structures
serde = { version = "1.0.126", features = ["derive"], optional = true }
[dev-dependencies]
assert_cmd = "2.0.0"
assert_fs = "1.0.4"
flexi_logger = "0.19.4"
indoc = "1.0.3"
once_cell = "1.8.0"
predicates = "2.0.2"
rstest = "0.11.0"
whoami = "1.1.4"