distant/Cargo.toml

60 lines
1.6 KiB
TOML
Raw Normal View History

2021-07-26 02:02:51 +00:00
[package]
name = "distant"
description = "Operate on a remote computer through file and process manipulation"
2021-07-29 04:28:18 +00:00
categories = ["command-line-utilities"]
keywords = ["cli"]
version = "0.16.4"
2021-07-26 02:02:51 +00:00
authors = ["Chip Senkbeil <chip@senkbeil.org>"]
2021-07-29 04:28:18 +00:00
edition = "2018"
homepage = "https://github.com/chipsenkbeil/distant"
repository = "https://github.com/chipsenkbeil/distant"
readme = "README.md"
license = "MIT OR Apache-2.0"
2021-07-26 02:02:51 +00:00
[workspace]
members = ["distant-core", "distant-ssh2"]
2021-07-26 02:02:51 +00:00
[profile.release]
opt-level = 'z'
lto = true
codegen-units = 1
[features]
2022-05-14 17:57:11 +00:00
default = ["libssh", "ssh2"]
libssh = ["distant-ssh2/libssh"]
ssh2 = ["distant-ssh2/ssh2"]
2021-07-26 02:02:51 +00:00
[dependencies]
derive_more = { version = "0.99.17", default-features = false, features = ["display", "from", "error", "is_variant"] }
distant-core = { version = "=0.16.4", path = "distant-core", features = ["structopt"] }
flexi_logger = "0.18.1"
indoc = "1.0.6"
log = "0.4.17"
once_cell = "1.12.0"
rand = { version = "0.8.5", features = ["getrandom"] }
serde = { version = "1.0.137", features = ["derive"] }
serde_json = "1.0.81"
structopt = "0.3.26"
strum = { version = "0.21.0", features = ["derive"] }
sysinfo = "0.23.13"
tokio = { version = "1.19.0", features = ["full"] }
2022-02-01 02:44:37 +00:00
terminal_size = "0.1.17"
termwiz = "0.15.0"
whoami = "1.2.1"
# Optional native SSH functionality
distant-ssh2 = { version = "=0.16.4", path = "distant-ssh2", default-features = false, features = ["serde"], optional = true }
[target.'cfg(unix)'.dependencies]
fork = "0.1.19"
# [target.'cfg(windows)'.dependencies]
# sysinfo = "0.23.2"
[dev-dependencies]
assert_cmd = "2.0.4"
assert_fs = "1.0.7"
indoc = "1.0.6"
predicates = "2.1.1"
rstest = "0.11.0"