# 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 = "2024"
rust-version = "1.91.1"
name = "rcp-tools-remote"
version = "0.35.0"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Internal library for RCP tools - remote copy protocol and networking (not intended for direct use)"
documentation = "https://docs.rs/rcp-tools-remote"
readme = "README.md"
keywords = [
    "internal",
    "remote",
    "tcp",
]
categories = ["development-tools"]
license = "MIT"
repository = "https://github.com/wykurz/rcp"
resolver = "2"

[package.metadata.docs.rs]
cargo-args = [
    "--config",
    'build.rustflags=["--cfg", "tokio_unstable"]',
]
rustdoc-args = [
    "--cfg",
    "tokio_unstable",
]

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

[[test]]
name = "integration_test"
path = "tests/integration_test.rs"

[dependencies.anyhow]
version = "1.0"

[dependencies.async-channel]
version = "2.5"

[dependencies.async-recursion]
version = "1.1"

[dependencies.base64]
version = "0.22"

[dependencies.bitcode]
version = "0.6"
features = ["serde"]

[dependencies.bytes]
version = "1.11"

[dependencies.bytesize]
version = "2.3"

[dependencies.chrono]
version = "0.4"

[dependencies.common]
version = "0.35.0"
package = "rcp-tools-common"

[dependencies.enum-map]
version = "2.7"

[dependencies.futures]
version = "0.3"

[dependencies.hex]
version = "0.4"

[dependencies.humantime]
version = "2.3"

[dependencies.if-addrs]
version = "0.15"

[dependencies.openssh]
version = "0.11"

[dependencies.rand]
version = "0.10"

[dependencies.rcgen]
version = "0.14"

[dependencies.rustls]
version = "0.23"
features = [
    "ring",
    "std",
    "tls12",
]
default-features = false

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.sha2]
version = "0.11"

[dependencies.socket2]
version = "0.6"

[dependencies.strum]
version = "0.28"
features = ["derive"]

[dependencies.tokio]
version = "1.52"
features = [
    "full",
    "parking_lot",
    "tracing",
]

[dependencies.tokio-rustls]
version = "0.26"

[dependencies.tokio-util]
version = "0.7"

[dependencies.tracing]
version = "0.1"

[lints.clippy.all]
level = "deny"
priority = -1

[lints.rustdoc]
missing_crate_level_docs = "allow"

[lints.rustdoc.all]
level = "deny"
priority = -1
