149 lines
2.6 KiB
TOML
149 lines
2.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 = "2021"
|
|
rust-version = "1.60"
|
|
name = "crossbeam-channel"
|
|
version = "0.5.15"
|
|
build = false
|
|
autolib = false
|
|
autobins = false
|
|
autoexamples = false
|
|
autotests = false
|
|
autobenches = false
|
|
description = "Multi-producer multi-consumer channels for message passing"
|
|
homepage = "https://github.com/crossbeam-rs/crossbeam/tree/master/crossbeam-channel"
|
|
readme = "README.md"
|
|
keywords = [
|
|
"channel",
|
|
"mpmc",
|
|
"select",
|
|
"golang",
|
|
"message",
|
|
]
|
|
categories = [
|
|
"algorithms",
|
|
"concurrency",
|
|
"data-structures",
|
|
]
|
|
license = "MIT OR Apache-2.0"
|
|
repository = "https://github.com/crossbeam-rs/crossbeam"
|
|
|
|
[features]
|
|
default = ["std"]
|
|
std = ["crossbeam-utils/std"]
|
|
|
|
[lib]
|
|
name = "crossbeam_channel"
|
|
path = "src/lib.rs"
|
|
|
|
[[example]]
|
|
name = "fibonacci"
|
|
path = "examples/fibonacci.rs"
|
|
|
|
[[example]]
|
|
name = "matching"
|
|
path = "examples/matching.rs"
|
|
|
|
[[example]]
|
|
name = "stopwatch"
|
|
path = "examples/stopwatch.rs"
|
|
|
|
[[test]]
|
|
name = "after"
|
|
path = "tests/after.rs"
|
|
|
|
[[test]]
|
|
name = "array"
|
|
path = "tests/array.rs"
|
|
|
|
[[test]]
|
|
name = "golang"
|
|
path = "tests/golang.rs"
|
|
|
|
[[test]]
|
|
name = "iter"
|
|
path = "tests/iter.rs"
|
|
|
|
[[test]]
|
|
name = "list"
|
|
path = "tests/list.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 = "thread_locals"
|
|
path = "tests/thread_locals.rs"
|
|
|
|
[[test]]
|
|
name = "tick"
|
|
path = "tests/tick.rs"
|
|
|
|
[[test]]
|
|
name = "zero"
|
|
path = "tests/zero.rs"
|
|
|
|
[[bench]]
|
|
name = "crossbeam"
|
|
path = "benches/crossbeam.rs"
|
|
|
|
[dependencies.crossbeam-utils]
|
|
version = "0.8.18"
|
|
default-features = false
|
|
|
|
[dev-dependencies.num_cpus]
|
|
version = "1.13.0"
|
|
|
|
[dev-dependencies.rand]
|
|
version = "0.8"
|
|
|
|
[dev-dependencies.signal-hook]
|
|
version = "0.3"
|
|
|
|
[lints.clippy.declare_interior_mutable_const]
|
|
level = "allow"
|
|
priority = 1
|
|
|
|
[lints.clippy.lint_groups_priority]
|
|
level = "allow"
|
|
priority = 1
|
|
|
|
[lints.rust.unexpected_cfgs]
|
|
level = "warn"
|
|
priority = 0
|
|
check-cfg = [
|
|
"cfg(crossbeam_loom)",
|
|
"cfg(crossbeam_sanitize)",
|
|
]
|