| 1 | [package] |
| 2 | name = "async-executor" |
| 3 | # When publishing a new version: |
| 4 | # - Update CHANGELOG.md |
| 5 | # - Create "v1.x.y" git tag |
| 6 | version = "1.13.1" |
| 7 | authors = ["Stjepan Glavina <stjepang@gmail.com>" , "John Nunley <dev@notgull.net>" ] |
| 8 | edition = "2021" |
| 9 | rust-version = "1.63" |
| 10 | description = "Async executor" |
| 11 | license = "Apache-2.0 OR MIT" |
| 12 | repository = "https://github.com/smol-rs/async-executor" |
| 13 | keywords = ["asynchronous" , "executor" , "single" , "multi" , "spawn" ] |
| 14 | categories = ["asynchronous" , "concurrency" ] |
| 15 | exclude = ["/.*" ] |
| 16 | |
| 17 | [features] |
| 18 | # Adds support for executors optimized for use in static variables. |
| 19 | static = [] |
| 20 | |
| 21 | [dependencies] |
| 22 | async-task = "4.4.0" |
| 23 | concurrent-queue = "2.5.0" |
| 24 | fastrand = "2.0.0" |
| 25 | futures-lite = { version = "2.0.0" , default-features = false } |
| 26 | slab = "0.4.4" |
| 27 | |
| 28 | [target.'cfg(target_family = "wasm")'.dependencies] |
| 29 | futures-lite = { version = "2.0.0" , default-features = false, features = ["std" ] } |
| 30 | |
| 31 | [dev-dependencies] |
| 32 | async-channel = "2.0.0" |
| 33 | async-io = "2.1.0" |
| 34 | async-lock = "3.0.0" |
| 35 | criterion = { version = "0.5" , default-features = false, features = ["cargo_bench_support" ] } |
| 36 | easy-parallel = "3.1.0" |
| 37 | fastrand = "2.0.0" |
| 38 | futures-lite = "2.0.0" |
| 39 | once_cell = "1.16.0" |
| 40 | |
| 41 | [[bench]] |
| 42 | name = "executor" |
| 43 | harness = false |
| 44 | required-features = ["static" ] |
| 45 | |
| 46 | [package.metadata.docs.rs] |
| 47 | all-features = true |
| 48 | |