260 lines
4.4 KiB
TOML
260 lines
4.4 KiB
TOML
|
|
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
|
||
|
|
#
|
||
|
|
# When uploading crates to the registry Cargo will automatically
|
||
|
|
# "normalize" Cargo.toml files for maximal compatibility
|
||
|
|
# with all versions of Cargo and also rewrite `path` dependencies
|
||
|
|
# to registry (e.g., crates.io) dependencies.
|
||
|
|
#
|
||
|
|
# If you are reading this file be aware that the original Cargo.toml
|
||
|
|
# will likely look very different (and much more reasonable).
|
||
|
|
# See Cargo.toml.orig for the original contents.
|
||
|
|
|
||
|
|
[package]
|
||
|
|
edition = "2018"
|
||
|
|
rust-version = "1.65"
|
||
|
|
name = "russh"
|
||
|
|
version = "0.46.0"
|
||
|
|
authors = ["Pierre-Étienne Meunier <pe@pijul.org>"]
|
||
|
|
build = false
|
||
|
|
autobins = false
|
||
|
|
autoexamples = false
|
||
|
|
autotests = false
|
||
|
|
autobenches = false
|
||
|
|
description = "A client and server SSH library."
|
||
|
|
homepage = "https://github.com/warp-tech/russh"
|
||
|
|
documentation = "https://docs.rs/russh"
|
||
|
|
readme = "README.md"
|
||
|
|
keywords = ["ssh"]
|
||
|
|
license = "Apache-2.0"
|
||
|
|
repository = "https://github.com/warp-tech/russh"
|
||
|
|
resolver = "2"
|
||
|
|
|
||
|
|
[package.metadata.docs.rs]
|
||
|
|
features = ["openssl"]
|
||
|
|
|
||
|
|
[lib]
|
||
|
|
name = "russh"
|
||
|
|
path = "src/lib.rs"
|
||
|
|
|
||
|
|
[[example]]
|
||
|
|
name = "client_exec_interactive"
|
||
|
|
path = "examples/client_exec_interactive.rs"
|
||
|
|
|
||
|
|
[[example]]
|
||
|
|
name = "client_exec_simple"
|
||
|
|
path = "examples/client_exec_simple.rs"
|
||
|
|
|
||
|
|
[[example]]
|
||
|
|
name = "echoserver"
|
||
|
|
path = "examples/echoserver.rs"
|
||
|
|
|
||
|
|
[[example]]
|
||
|
|
name = "ratatui_app"
|
||
|
|
path = "examples/ratatui_app.rs"
|
||
|
|
|
||
|
|
[[example]]
|
||
|
|
name = "ratatui_shared_app"
|
||
|
|
path = "examples/ratatui_shared_app.rs"
|
||
|
|
|
||
|
|
[[example]]
|
||
|
|
name = "sftp_client"
|
||
|
|
path = "examples/sftp_client.rs"
|
||
|
|
|
||
|
|
[[example]]
|
||
|
|
name = "sftp_server"
|
||
|
|
path = "examples/sftp_server.rs"
|
||
|
|
|
||
|
|
[[example]]
|
||
|
|
name = "test"
|
||
|
|
path = "examples/test.rs"
|
||
|
|
|
||
|
|
[[test]]
|
||
|
|
name = "test_data_stream"
|
||
|
|
path = "tests/test_data_stream.rs"
|
||
|
|
|
||
|
|
[dependencies.aes]
|
||
|
|
version = "0.8"
|
||
|
|
|
||
|
|
[dependencies.aes-gcm]
|
||
|
|
version = "0.10"
|
||
|
|
|
||
|
|
[dependencies.async-trait]
|
||
|
|
version = "0.1"
|
||
|
|
|
||
|
|
[dependencies.bitflags]
|
||
|
|
version = "2.0"
|
||
|
|
|
||
|
|
[dependencies.byteorder]
|
||
|
|
version = "1.4"
|
||
|
|
|
||
|
|
[dependencies.cbc]
|
||
|
|
version = "0.1"
|
||
|
|
|
||
|
|
[dependencies.chacha20]
|
||
|
|
version = "0.9"
|
||
|
|
|
||
|
|
[dependencies.ctr]
|
||
|
|
version = "0.9"
|
||
|
|
|
||
|
|
[dependencies.curve25519-dalek]
|
||
|
|
version = "4.1.3"
|
||
|
|
|
||
|
|
[dependencies.des]
|
||
|
|
version = "0.8.1"
|
||
|
|
|
||
|
|
[dependencies.digest]
|
||
|
|
version = "0.10"
|
||
|
|
|
||
|
|
[dependencies.elliptic-curve]
|
||
|
|
version = "0.13"
|
||
|
|
features = ["ecdh"]
|
||
|
|
|
||
|
|
[dependencies.flate2]
|
||
|
|
version = "1.0"
|
||
|
|
optional = true
|
||
|
|
|
||
|
|
[dependencies.futures]
|
||
|
|
version = "0.3"
|
||
|
|
|
||
|
|
[dependencies.generic-array]
|
||
|
|
version = "0.14"
|
||
|
|
|
||
|
|
[dependencies.hex-literal]
|
||
|
|
version = "0.4"
|
||
|
|
|
||
|
|
[dependencies.hmac]
|
||
|
|
version = "0.12"
|
||
|
|
|
||
|
|
[dependencies.log]
|
||
|
|
version = "0.4"
|
||
|
|
|
||
|
|
[dependencies.num-bigint]
|
||
|
|
version = "0.4"
|
||
|
|
features = ["rand"]
|
||
|
|
|
||
|
|
[dependencies.once_cell]
|
||
|
|
version = "1.13"
|
||
|
|
|
||
|
|
[dependencies.p256]
|
||
|
|
version = "0.13"
|
||
|
|
features = ["ecdh"]
|
||
|
|
|
||
|
|
[dependencies.p384]
|
||
|
|
version = "0.13"
|
||
|
|
features = ["ecdh"]
|
||
|
|
|
||
|
|
[dependencies.p521]
|
||
|
|
version = "0.13"
|
||
|
|
features = ["ecdh"]
|
||
|
|
|
||
|
|
[dependencies.poly1305]
|
||
|
|
version = "0.8"
|
||
|
|
|
||
|
|
[dependencies.rand]
|
||
|
|
version = "0.8"
|
||
|
|
|
||
|
|
[dependencies.rand_core]
|
||
|
|
version = "0.6.4"
|
||
|
|
features = ["getrandom"]
|
||
|
|
|
||
|
|
[dependencies.russh-cryptovec]
|
||
|
|
version = "0.7.0"
|
||
|
|
|
||
|
|
[dependencies.russh-keys]
|
||
|
|
version = "0.46.0"
|
||
|
|
|
||
|
|
[dependencies.russh-util]
|
||
|
|
version = "0.46.0"
|
||
|
|
|
||
|
|
[dependencies.sha1]
|
||
|
|
version = "0.10"
|
||
|
|
features = ["oid"]
|
||
|
|
|
||
|
|
[dependencies.sha2]
|
||
|
|
version = "0.10"
|
||
|
|
features = ["oid"]
|
||
|
|
|
||
|
|
[dependencies.ssh-encoding]
|
||
|
|
version = "0.2"
|
||
|
|
|
||
|
|
[dependencies.ssh-key]
|
||
|
|
version = "0.6"
|
||
|
|
features = [
|
||
|
|
"ed25519",
|
||
|
|
"rsa",
|
||
|
|
"encryption",
|
||
|
|
]
|
||
|
|
|
||
|
|
[dependencies.subtle]
|
||
|
|
version = "2.4"
|
||
|
|
|
||
|
|
[dependencies.thiserror]
|
||
|
|
version = "1.0"
|
||
|
|
|
||
|
|
[dependencies.tokio]
|
||
|
|
version = "1.17.0"
|
||
|
|
features = [
|
||
|
|
"io-util",
|
||
|
|
"sync",
|
||
|
|
"time",
|
||
|
|
]
|
||
|
|
|
||
|
|
[dev-dependencies.anyhow]
|
||
|
|
version = "1.0"
|
||
|
|
|
||
|
|
[dev-dependencies.clap]
|
||
|
|
version = "3.2"
|
||
|
|
features = ["derive"]
|
||
|
|
|
||
|
|
[dev-dependencies.env_logger]
|
||
|
|
version = "0.11"
|
||
|
|
|
||
|
|
[dev-dependencies.rand]
|
||
|
|
version = "0.8.5"
|
||
|
|
|
||
|
|
[dev-dependencies.ratatui]
|
||
|
|
version = "0.26.0"
|
||
|
|
|
||
|
|
[dev-dependencies.shell-escape]
|
||
|
|
version = "0.1"
|
||
|
|
|
||
|
|
[dev-dependencies.termion]
|
||
|
|
version = "2"
|
||
|
|
|
||
|
|
[dev-dependencies.tokio]
|
||
|
|
version = "1.17.0"
|
||
|
|
features = [
|
||
|
|
"io-std",
|
||
|
|
"io-util",
|
||
|
|
"rt-multi-thread",
|
||
|
|
"time",
|
||
|
|
"net",
|
||
|
|
"sync",
|
||
|
|
"macros",
|
||
|
|
]
|
||
|
|
|
||
|
|
[dev-dependencies.tokio-fd]
|
||
|
|
version = "0.3"
|
||
|
|
|
||
|
|
[features]
|
||
|
|
default = ["flate2"]
|
||
|
|
legacy-ed25519-pkcs8-parser = ["russh-keys/legacy-ed25519-pkcs8-parser"]
|
||
|
|
openssl = [
|
||
|
|
"russh-keys/openssl",
|
||
|
|
"dep:openssl",
|
||
|
|
]
|
||
|
|
vendored-openssl = [
|
||
|
|
"openssl/vendored",
|
||
|
|
"russh-keys/vendored-openssl",
|
||
|
|
]
|
||
|
|
|
||
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.openssl]
|
||
|
|
version = "0.10"
|
||
|
|
optional = true
|
||
|
|
|
||
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.russh-sftp]
|
||
|
|
version = "2.0.5"
|
||
|
|
|
||
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio]
|
||
|
|
version = "1.17.0"
|