[package]
edition = "2024"
rust-version = "1.88.0"
name = "remotefs-ssh"
version = "0.7.2"
authors = ["Christian Visintin <christian.visintin@veeso.dev>"]
build = false
include = [
"benches/**/*",
"examples/**/*",
"src/**/*",
"LICENSE",
"README.md",
"CHANGELOG.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "remotefs SSH client library"
documentation = "https://docs.rs/remotefs-ssh"
readme = "README.md"
keywords = [
"remotefs",
"ssh-client",
"scp-client",
"sftp-client",
]
categories = ["network-programming"]
license = "MIT"
repository = "https://github.com/remotefs-rs/remotefs-rs-ssh"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
default = [
"find",
"libssh2",
]
find = ["remotefs/find"]
libssh = ["dep:libssh-rs"]
libssh-vendored = [
"libssh",
"libssh-rs/vendored",
"libssh-rs/vendored-openssl",
]
libssh2 = ["dep:ssh2"]
libssh2-vendored = [
"libssh2",
"ssh2/vendored-openssl",
]
no-log = ["log/max_level_off"]
[lib]
name = "remotefs_ssh"
path = "src/lib.rs"
[[example]]
name = "scp"
path = "examples/scp.rs"
required-features = ["libssh2"]
[[example]]
name = "sftp"
path = "examples/sftp.rs"
required-features = ["libssh2"]
[[bench]]
name = "libssh"
path = "benches/libssh.rs"
harness = false
required-features = ["libssh"]
[[bench]]
name = "libssh2"
path = "benches/libssh2.rs"
harness = false
required-features = ["libssh2"]
[dependencies.chrono]
version = "^0.4"
[dependencies.lazy-regex]
version = "3"
[dependencies.libssh-rs]
version = "0.3"
optional = true
[dependencies.log]
version = "^0.4"
[dependencies.remotefs]
version = "^0.3"
[dependencies.ssh2]
version = "^0.9"
optional = true
[dependencies.ssh2-config]
version = "0.7"
[dev-dependencies.criterion]
version = "0.7"
[dev-dependencies.env_logger]
version = "^0.11"
[dev-dependencies.pretty_assertions]
version = "^1"
[dev-dependencies.rand]
version = "^0.9"
[dev-dependencies.rpassword]
version = "7"
[dev-dependencies.tempfile]
version = "^3"
[dev-dependencies.testcontainers]
version = "0.25"
features = ["blocking"]
[target.'cfg(target_os = "windows")'.dependencies.path-slash]
version = "^0.2.1"