| 1 | [package] |
| 2 | name = "concurrent-queue" |
| 3 | # When publishing a new version: |
| 4 | # - Update CHANGELOG.md |
| 5 | # - Create "v2.x.y" git tag |
| 6 | version = "2.5.0" |
| 7 | authors = [ |
| 8 | "Stjepan Glavina <stjepang@gmail.com>" , |
| 9 | "Taiki Endo <te316e89@gmail.com>" , |
| 10 | "John Nunley <dev@notgull.net>" |
| 11 | ] |
| 12 | edition = "2021" |
| 13 | rust-version = "1.60" |
| 14 | description = "Concurrent multi-producer multi-consumer queue" |
| 15 | license = "Apache-2.0 OR MIT" |
| 16 | repository = "https://github.com/smol-rs/concurrent-queue" |
| 17 | keywords = ["channel" , "mpmc" , "spsc" , "spmc" , "mpsc" ] |
| 18 | categories = ["concurrency" ] |
| 19 | exclude = ["/.*" ] |
| 20 | |
| 21 | [lib] |
| 22 | bench = false |
| 23 | |
| 24 | [dependencies] |
| 25 | crossbeam-utils = { version = "0.8.11" , default-features = false } |
| 26 | portable-atomic = { version = "1" , default-features = false, optional = true } |
| 27 | |
| 28 | # Enables loom testing. This feature is permanently unstable and the API may |
| 29 | # change at any time. |
| 30 | [target.'cfg(loom)'.dependencies] |
| 31 | loom = { version = "0.7" , optional = true } |
| 32 | |
| 33 | [[bench]] |
| 34 | name = "bench" |
| 35 | harness = false |
| 36 | |
| 37 | [dev-dependencies] |
| 38 | criterion = { version = "0.5" , features = ["cargo_bench_support" ], default-features = false } |
| 39 | easy-parallel = "3.1.0" |
| 40 | fastrand = "2.0.0" |
| 41 | |
| 42 | [target.'cfg(target_family = "wasm")'.dev-dependencies] |
| 43 | wasm-bindgen-test = "0.3" |
| 44 | |
| 45 | [features] |
| 46 | default = ["std" ] |
| 47 | std = [] |
| 48 | |