| 1 |
[package] |
| 2 |
name = "futures-executor" |
| 3 |
version = "0.3.31" |
| 4 |
edition = "2018" |
| 5 |
rust-version = "1.56" |
| 6 |
license = "MIT OR Apache-2.0" |
| 7 |
repository = "https://github.com/rust-lang/futures-rs" |
| 8 |
homepage = "https://rust-lang.github.io/futures-rs" |
| 9 |
description = """ |
| 10 |
Executors for asynchronous tasks based on the futures-rs library. |
| 11 |
""" |
| 12 |
|
| 13 |
[features] |
| 14 |
default = ["std"] |
| 15 |
std = ["futures-core/std", "futures-task/std", "futures-util/std"] |
| 16 |
thread-pool = ["std", "num_cpus"] |
| 17 |
|
| 18 |
[dependencies] |
| 19 |
futures-core = { path = "../futures-core", version = "0.3.31", default-features = false } |
| 20 |
futures-task = { path = "../futures-task", version = "0.3.31", default-features = false } |
| 21 |
futures-util = { path = "../futures-util", version = "0.3.31", default-features = false } |
| 22 |
num_cpus = { version = "1.8.0", optional = true } |
| 23 |
|
| 24 |
[dev-dependencies] |
| 25 |
futures = { path = "../futures", features = ["thread-pool"] } |
| 26 |
|
| 27 |
[package.metadata.docs.rs] |
| 28 |
all-features = true |
| 29 |
rustdoc-args = ["--cfg", "docsrs"] |
| 30 |
|
| 31 |
[lints] |
| 32 |
workspace = true |