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