1 | [package] |
2 | name = "async-channel" |
3 | # When publishing a new version: |
4 | # - Update CHANGELOG.md |
5 | # - Create "v2.x.y" git tag |
6 | version = "2.3.1" |
7 | authors = ["Stjepan Glavina <stjepang@gmail.com>" ] |
8 | edition = "2021" |
9 | rust-version = "1.60" |
10 | description = "Async multi-producer multi-consumer channel" |
11 | license = "Apache-2.0 OR MIT" |
12 | repository = "https://github.com/smol-rs/async-channel" |
13 | keywords = ["mpmc" , "mpsc" , "spmc" , "chan" , "futures" ] |
14 | categories = ["asynchronous" , "concurrency" ] |
15 | exclude = ["/.*" ] |
16 | |
17 | [dependencies] |
18 | concurrent-queue = { version = "2.5" , default-features = false } |
19 | event-listener-strategy = { version = "0.5.2" , default-features = false } |
20 | futures-core = { version = "0.3.5" , default-features = false } |
21 | pin-project-lite = "0.2.11" |
22 | |
23 | [dev-dependencies] |
24 | easy-parallel = "3" |
25 | futures-lite = "2" |
26 | |
27 | [target.'cfg(target_family = "wasm")'.dev-dependencies] |
28 | wasm-bindgen-test = "0.3.37" |
29 | |
30 | [features] |
31 | default = ["std" ] |
32 | std = ["concurrent-queue/std" , "event-listener-strategy/std" ] |
33 | |