sinktools 0.1.0

Extra sink adaptors and helpers.
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"
name = "sinktools"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Extra sink adaptors and helpers."
documentation = "https://docs.rs/sinktools/"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/hydro-project/hydro"
resolver = "2"

[package.metadata.docs.rs]
all-features = true

[features]
default = [
    "std",
    "variadics",
]
std = [
    "futures-util/std",
    "variadics?/std",
    "dep:tokio",
    "tokio/sync",
    "tokio/macros",
    "tokio/rt",
]
variadics = ["dep:variadics"]

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

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

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

[dependencies.futures-util]
version = "0.3"
features = ["sink"]
default-features = false

[dependencies.pin-project-lite]
version = "0.2"

[dependencies.sealed]
version = "0.6"

[dependencies.tokio]
version = "1.29.0"
optional = true
default-features = false

[dependencies.variadics]
version = "^0.1.0"
optional = true
default-features = false

[dev-dependencies.bytes]
version = "1.1.0"

[dev-dependencies.futures-task]
version = "0.3"

[dev-dependencies.tokio]
version = "1.29.0"
features = [
    "macros",
    "rt",
]
default-features = false

[dev-dependencies.tokio-stream]
version = "0.1.3"
default-features = false

[dev-dependencies.tokio-util]
version = "0.7.5"
features = [
    "net",
    "codec",
]
default-features = false

[lints.clippy]
alloc_instead_of_core = "warn"
allow_attributes = "warn"
allow_attributes_without_reason = "warn"
explicit_into_iter_loop = "warn"
let_and_return = "allow"
manual_is_variant_and = "warn"
manual_let_else = "warn"
redundant_clone = "warn"
self_named_module_files = "warn"
str_to_string = "warn"
try_err = "warn"
uninlined_format_args = "allow"
unused_async = "warn"

[lints.rust]
impl_trait_overcaptures = "warn"
missing_unsafe_on_extern = "deny"
unsafe_attr_outside_unsafe = "deny"
unused_qualifications = "warn"