1 | [package] |
2 | name = "async-global-executor" |
3 | version = "2.4.1" |
4 | authors = ["Marc-Antoine Perennou <Marc-Antoine@Perennou.com>" ] |
5 | description = "A global executor built on top of async-executor and async-io" |
6 | edition = "2021" |
7 | license = "Apache-2.0 OR MIT" |
8 | repository = "https://github.com/Keruspe/async-global-executor" |
9 | homepage = "https://github.com/Keruspe/async-global-executor" |
10 | documentation = "https://docs.rs/async-global-executor" |
11 | keywords = ["async" , "await" , "future" , "executor" ] |
12 | categories = ["asynchronous" , "concurrency" ] |
13 | readme = "README.md" |
14 | rust-version = "1.60" |
15 | |
16 | [features] |
17 | default = ["async-io" ] |
18 | tokio = ["tokio-crate" ] |
19 | tokio02 = ["tokio02-crate" ] |
20 | tokio03 = ["tokio03-crate" ] |
21 | |
22 | [dependencies] |
23 | async-channel = "^2.1.1" |
24 | async-executor = "^1.8" |
25 | async-lock = "^3.2" |
26 | blocking = "^1.5" |
27 | futures-lite = "^2.0" |
28 | once_cell = "^1.4" |
29 | |
30 | [dependencies.async-io] |
31 | version = "^2.2.1" |
32 | optional = true |
33 | |
34 | [dependencies.tokio-crate] |
35 | package = "tokio" |
36 | version = "^1.0" |
37 | optional = true |
38 | default-features = false |
39 | features = ["rt" , "rt-multi-thread" ] |
40 | |
41 | [dependencies.tokio02-crate] |
42 | package = "tokio" |
43 | version = "^0.2" |
44 | optional = true |
45 | default-features = false |
46 | features = ["rt-core" ] |
47 | |
48 | [dependencies.tokio03-crate] |
49 | package = "tokio" |
50 | version = "^0.3.4" |
51 | optional = true |
52 | default-features = false |
53 | features = ["rt" , "rt-multi-thread" ] |
54 | |
55 | [dev-dependencies] |
56 | doc-comment = "^0.3" |
57 | |