111 lines
2.0 KiB
TOML
111 lines
2.0 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.11.0"
|
|
authors = ["Joshua Barretto <joshua.s.barretto@gmail.com>"]
|
|
exclude = [
|
|
"/.github",
|
|
"/misc",
|
|
]
|
|
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"
|
|
|
|
[[bench]]
|
|
name = "basic"
|
|
harness = false
|
|
|
|
[dependencies.futures-core]
|
|
version = "0.3"
|
|
optional = true
|
|
default_features = false
|
|
|
|
[dependencies.futures-sink]
|
|
version = "0.3"
|
|
optional = true
|
|
default_features = false
|
|
|
|
[dependencies.nanorand]
|
|
version = "0.7"
|
|
features = ["getrandom"]
|
|
optional = true
|
|
|
|
[dependencies.spin1]
|
|
version = "0.9.8"
|
|
features = ["mutex"]
|
|
package = "spin"
|
|
|
|
[dev-dependencies.async-std]
|
|
version = "1.9.0"
|
|
features = [
|
|
"attributes",
|
|
"unstable",
|
|
]
|
|
|
|
[dev-dependencies.criterion]
|
|
version = "0.3.4"
|
|
|
|
[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.rand]
|
|
version = "0.8.3"
|
|
|
|
[dev-dependencies.tokio]
|
|
version = "^1.16.1"
|
|
features = [
|
|
"rt",
|
|
"macros",
|
|
]
|
|
|
|
[dev-dependencies.waker-fn]
|
|
version = "1.1.0"
|
|
|
|
[features]
|
|
async = [
|
|
"futures-sink",
|
|
"futures-core",
|
|
]
|
|
default = [
|
|
"async",
|
|
"select",
|
|
"eventual-fairness",
|
|
]
|
|
eventual-fairness = [
|
|
"select",
|
|
"nanorand",
|
|
]
|
|
select = []
|
|
spin = []
|