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.2.0" |
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" , default-features = false } |
19 | event-listener = { version = "5.0.0" , default-features = false } |
20 | event-listener-strategy = { version = "0.5.0" , default-features = false } |
21 | futures-core = { version = "0.3.5" , default-features = false } |
22 | pin-project-lite = "0.2.11" |
23 | |
24 | [dev-dependencies] |
25 | easy-parallel = "3" |
26 | futures-lite = "2" |
27 | |
28 | [target.'cfg(target_family = "wasm")'.dev-dependencies] |
29 | wasm-bindgen-test = "0.3.37" |
30 | |
31 | [features] |
32 | default = ["std" ] |
33 | std = ["concurrent-queue/std" , "event-listener/std" , "event-listener-strategy/std" ] |
34 | |