Files
2026-08-01 16:11:49 +03:00

229 lines
3.6 KiB
TOML

# 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 = "2018"
name = "flume"
version = "0.12.0"
authors = ["Joshua Barretto <joshua.s.barretto@gmail.com>"]
build = false
exclude = [
"/.github",
"/misc",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A blazingly fast multi-producer channel"
documentation = "https://docs.rs/flume"
readme = "README.md"
keywords = [
"mpsc",
"fifo",
"channel",
"thread",
"mpmc",
]
categories = [
"concurrency",
"data-structures",
]
license = "Apache-2.0/MIT"
repository = "https://github.com/zesterer/flume"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
async = [
"futures-sink",
"futures-core",
]
default = [
"async",
"select",
"eventual-fairness",
]
eventual-fairness = [
"select",
"fastrand",
]
select = []
spin = []
[lib]
name = "flume"
path = "src/lib.rs"
[[example]]
name = "async"
path = "examples/async.rs"
[[example]]
name = "perf"
path = "examples/perf.rs"
[[example]]
name = "select"
path = "examples/select.rs"
[[example]]
name = "simple"
path = "examples/simple.rs"
[[test]]
name = "after"
path = "tests/after.rs"
[[test]]
name = "array"
path = "tests/array.rs"
[[test]]
name = "async"
path = "tests/async.rs"
[[test]]
name = "basic"
path = "tests/basic.rs"
[[test]]
name = "check_same_channel"
path = "tests/check_same_channel.rs"
[[test]]
name = "golang"
path = "tests/golang.rs"
[[test]]
name = "iter"
path = "tests/iter.rs"
[[test]]
name = "list"
path = "tests/list.rs"
[[test]]
name = "method_sharing"
path = "tests/method_sharing.rs"
[[test]]
name = "mpsc"
path = "tests/mpsc.rs"
[[test]]
name = "never"
path = "tests/never.rs"
[[test]]
name = "ready"
path = "tests/ready.rs"
[[test]]
name = "same_channel"
path = "tests/same_channel.rs"
[[test]]
name = "select"
path = "tests/select.rs"
[[test]]
name = "select_macro"
path = "tests/select_macro.rs"
[[test]]
name = "stream"
path = "tests/stream.rs"
[[test]]
name = "thread_locals"
path = "tests/thread_locals.rs"
[[test]]
name = "tick"
path = "tests/tick.rs"
[[test]]
name = "zero"
path = "tests/zero.rs"
[[bench]]
name = "basic"
path = "benches/basic.rs"
harness = false
[dependencies.fastrand]
version = "2.3"
features = [
"std",
"js",
]
optional = true
[dependencies.futures-core]
version = "0.3"
optional = true
default-features = false
[dependencies.futures-sink]
version = "0.3"
optional = true
default-features = false
[dependencies.spin1]
version = "0.9.8"
features = ["mutex"]
package = "spin"
[dev-dependencies.async-std]
version = "1.13.0"
features = [
"attributes",
"unstable",
]
[dev-dependencies.criterion]
version = "0.5.1"
default-features = false
[dev-dependencies.crossbeam-channel]
version = "0.5.5"
[dev-dependencies.crossbeam-utils]
version = "0.8.10"
[dev-dependencies.futures]
version = "^0.3"
features = ["std"]
[dev-dependencies.getrandom]
version = "0.2.15"
features = ["js"]
[dev-dependencies.rand]
version = "0.8.3"
[dev-dependencies.tokio]
version = "^1.16.1"
features = [
"rt",
"macros",
]
[dev-dependencies.waker-fn]
version = "1.1.0"