protwrap 0.4.3

Thin protocol wrapper for network applications.
Documentation
# 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.87"
name = "protwrap"
version = "0.4.3"
build = false
exclude = [
    ".fossil-settings",
    ".efiles",
    ".fslckout",
    "examples",
    "www",
    "bacon.toml",
    "mkpki.sh",
    "run-client.sh",
    "run-server.sh",
    "rustfmt.toml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Thin protocol wrapper for network applications."
readme = "README.md"
keywords = [
    "network",
    "wrapper",
]
categories = [
    "asynchronous",
    "network-programming",
]
license = "0BSD"
repository = "https://repos.qrnch.tech/pub/protwrap"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
    "--generate-link-to-definition",
]

[badges.maintenance]
status = "experimental"

[features]
tls = ["dep:tokio-rustls"]
tokio = [
    "dep:tokio",
    "dep:tokio-util",
    "dep:async-trait",
    "dep:killswitch",
]

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

[[test]]
name = "listener-acceptor"
path = "tests/listener-acceptor.rs"

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

[dependencies.async-trait]
version = "0.1.89"
optional = true

[dependencies.futures]
version = "0.3.32"

[dependencies.killswitch]
version = "0.4.2"
optional = true

[dependencies.log]
version = "0.4.29"

[dependencies.tokio]
version = "1.50.0"
features = [
    "io-util",
    "macros",
    "net",
    "rt",
]
optional = true

[dependencies.tokio-rustls]
version = "0.26.4"
optional = true

[dependencies.tokio-util]
version = "0.7.18"
optional = true

[dev-dependencies.quickcert]
version = "0.1.2"

[dev-dependencies.tokio]
version = "1.50.0"
features = [
    "rt-multi-thread",
    "time",
]

[target."cfg(unix)".dependencies.tokio]
version = "1.50.0"
features = ["fs"]
optional = true

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

[lints.clippy.cargo]
level = "warn"
priority = -1

[lints.clippy.nursery]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1