| 1 | [package] |
| 2 | name = "async-task" |
| 3 | # When publishing a new version: |
| 4 | # - Update CHANGELOG.md |
| 5 | # - Create "v4.x.y" git tag |
| 6 | version = "4.7.1" |
| 7 | authors = ["Stjepan Glavina <stjepang@gmail.com>" ] |
| 8 | edition = "2021" |
| 9 | rust-version = "1.57" |
| 10 | license = "Apache-2.0 OR MIT" |
| 11 | repository = "https://github.com/smol-rs/async-task" |
| 12 | description = "Task abstraction for building executors" |
| 13 | keywords = ["futures" , "task" , "executor" , "spawn" ] |
| 14 | categories = ["asynchronous" , "concurrency" , "no-std" ] |
| 15 | exclude = ["/.*" ] |
| 16 | |
| 17 | [features] |
| 18 | default = ["std" ] |
| 19 | std = [] |
| 20 | |
| 21 | [dependencies] |
| 22 | # Uses portable-atomic polyfill atomics on targets without them |
| 23 | portable-atomic = { version = "1" , optional = true, default-features = false } |
| 24 | |
| 25 | [dev-dependencies] |
| 26 | atomic-waker = "1" |
| 27 | easy-parallel = "3" |
| 28 | flaky_test = "0.2" |
| 29 | flume = { version = "0.11" , default-features = false } |
| 30 | futures-lite = "2.0.0" |
| 31 | once_cell = "1" |
| 32 | pin-project-lite = "0.2.10" |
| 33 | smol = "2" |
| 34 | |
| 35 | # rewrite dependencies to use the this version of async-task when running tests |
| 36 | [patch.crates-io] |
| 37 | async-task = { path = "." } |
| 38 | |