1 | [package] |
2 | name = "crossbeam-channel" |
3 | # When publishing a new version: |
4 | # - Update CHANGELOG.md |
5 | # - Update README.md (when increasing major or minor version) |
6 | # - Run './tools/publish.sh crossbeam-channel <version>' |
7 | version = "0.5.12" |
8 | edition = "2021" |
9 | rust-version = "1.60" |
10 | license = "MIT OR Apache-2.0" |
11 | repository = "https://github.com/crossbeam-rs/crossbeam" |
12 | homepage = "https://github.com/crossbeam-rs/crossbeam/tree/master/crossbeam-channel" |
13 | description = "Multi-producer multi-consumer channels for message passing" |
14 | keywords = ["channel" , "mpmc" , "select" , "golang" , "message" ] |
15 | categories = ["algorithms" , "concurrency" , "data-structures" ] |
16 | |
17 | [features] |
18 | default = ["std" ] |
19 | |
20 | # Enable to use APIs that require `std`. |
21 | # This is enabled by default. |
22 | # |
23 | # NOTE: Disabling `std` feature is not supported yet. |
24 | std = ["crossbeam-utils/std" ] |
25 | |
26 | [dependencies] |
27 | crossbeam-utils = { version = "0.8.18" , path = "../crossbeam-utils" , default-features = false } |
28 | |
29 | [dev-dependencies] |
30 | num_cpus = "1.13.0" |
31 | rand = "0.8" |
32 | signal-hook = "0.3" |
33 | |