# 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 = "2021"
name = "streamtools"
version = "0.7.5"
authors = ["extremeandy"]
description = "Additional stream combinators"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/extremeandy/streamtools"

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

[dependencies.futures]
version = "0.3.28"

[dependencies.parking_lot]
version = "0.12.1"

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

[dependencies.tokio]
version = "1.28.0"
features = ["time"]
optional = true

[dependencies.tokio-stream]
version = "0.1.14"
features = ["time"]
optional = true

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

[dev-dependencies.tokio-stream]
version = "0.1.14"
features = [
    "sync",
    "time",
]

[dev-dependencies.tokio-test]
version = "0.4.2"

[build-dependencies.rustc_version]
version = "0.4.0"

[features]
default = []
test-util = ["tokio-time"]
tokio-time = [
    "dep:tokio",
    "dep:tokio-stream",
]