[package]
edition = "2024"
name = "stream_shared"
version = "0.8.7"
authors = ["Ankur Mittal"]
build = false
exclude = [
"target/",
".git/",
".gitignore",
"/.github/",
"codecov.yml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A library for creating shareable streams that can be cloned and consumed by multiple consumers"
documentation = "https://docs.rs/stream_shared"
readme = "README.md"
keywords = [
"stream",
"async",
"clone",
"shared",
]
categories = [
"asynchronous",
"data-structures",
]
license = "Apache-2.0"
repository = "https://github.com/ankurmittal/stream-shared-rs"
[package.metadata.docs.rs]
features = ["stats"]
[features]
default = []
stats = []
[lib]
name = "stream_shared"
path = "src/lib.rs"
[[bench]]
name = "stream_contention_bench"
path = "benches/stream_contention_bench.rs"
harness = false
[[bench]]
name = "utils"
path = "benches/utils.rs"
[dependencies.futures-util]
version = "0.3"
[dev-dependencies.criterion]
version = "0.5"
features = [
"async",
"tokio",
]
[dev-dependencies.futures]
version = "0.3"
[dev-dependencies.static_assertions]
version = "1"
[dev-dependencies.tokio]
version = "1"
features = [
"rt",
"macros",
"rt-multi-thread",
]
[dev-dependencies.tokio-stream]
version = "0.1"
[dev-dependencies.tokio-test]
version = "0.4"
[lints.rust]
warnings = "deny"