| # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO |
| # |
| # When uploading crates to the registry Cargo will automatically |
| # "normalize" Cargo.toml files for maximal compatibility |
| # with all versions of Cargo and also rewrite `path` dependencies |
| # to registry (e.g., crates.io) dependencies. |
| # |
| # If you are reading this file be aware that the original Cargo.toml |
| # will likely look very different (and much more reasonable). |
| # See Cargo.toml.orig for the original contents. |
| |
| [package] |
| edition = "2018" |
| rust-version = "1.56" |
| name = "futures-executor" |
| version = "0.3.31" |
| build = false |
| autobins = false |
| autoexamples = false |
| autotests = false |
| autobenches = false |
| description = """ |
| Executors for asynchronous tasks based on the futures-rs library. |
| """ |
| homepage = "https://rust-lang.github.io/futures-rs" |
| readme = "README.md" |
| license = "MIT OR Apache-2.0" |
| repository = "https://github.com/rust-lang/futures-rs" |
| |
| [package.metadata.docs.rs] |
| all-features = true |
| rustdoc-args = [ |
| "--cfg", |
| "docsrs", |
| ] |
| |
| [lib] |
| name = "futures_executor" |
| path = "src/lib.rs" |
| |
| [[test]] |
| name = "local_pool" |
| path = "tests/local_pool.rs" |
| |
| [[bench]] |
| name = "thread_notify" |
| path = "benches/thread_notify.rs" |
| |
| [dependencies.futures-core] |
| version = "0.3.31" |
| default-features = false |
| |
| [dependencies.futures-task] |
| version = "0.3.31" |
| default-features = false |
| |
| [dependencies.futures-util] |
| version = "0.3.31" |
| default-features = false |
| |
| [dependencies.num_cpus] |
| version = "1.8.0" |
| optional = true |
| |
| [dev-dependencies] |
| futures = "0.3.21" |
| |
| [features] |
| default = ["std"] |
| std = [ |
| "futures-core/std", |
| "futures-task/std", |
| "futures-util/std", |
| ] |
| thread-pool = [ |
| "std", |
| "num_cpus", |
| ] |
| |
| [lints.rust] |
| missing_debug_implementations = "warn" |
| rust_2018_idioms = "warn" |
| single_use_lifetimes = "warn" |
| unreachable_pub = "warn" |
| |
| [lints.rust.unexpected_cfgs] |
| level = "warn" |
| priority = 0 |
| check-cfg = ["cfg(futures_sanitizer)"] |