# 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"
name = "openssh-sftp-error"
version = "0.5.0"
authors = ["Jiahao XU <Jiahao_XU@outlook.com>"]
build = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Error type used when communicating with openssh sftp server."
readme = false
keywords = [
    "ssh",
    "multiplex",
    "async",
    "network",
    "sftp",
]
categories = [
    "asynchronous",
    "network-programming",
    "api-bindings",
]
license = "MIT"
repository = "https://github.com/openssh-rust/openssh-sftp-client"
resolver = "2"

[package.metadata.docs.rs]
features = ["openssh"]
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[lib]
name = "openssh_sftp_error"
path = "src/lib.rs"

[dependencies.awaitable-error]
version = "0.1.0"

[dependencies.openssh]
version = "0.11.0"
optional = true
default-features = false

[dependencies.openssh-sftp-protocol-error]
version = "0.1.0"

[dependencies.ssh_format_error]
version = "0.1.0"

[dependencies.thiserror]
version = "1.0.29"

[dependencies.tokio]
version = "1.11.0"
features = ["rt"]

[features]
openssh = ["dep:openssh"]
