1# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO 2# 3# When uploading crates to the registry Cargo will automatically 4# "normalize" Cargo.toml files for maximal compatibility 5# with all versions of Cargo and also rewrite `path` dependencies 6# to registry (e.g., crates.io) dependencies. 7# 8# If you are reading this file be aware that the original Cargo.toml 9# will likely look very different (and much more reasonable). 10# See Cargo.toml.orig for the original contents. 11 12[package] 13edition = "2018" 14rust-version = "1.56" 15name = "futures-executor" 16version = "0.3.31" 17build = false 18autobins = false 19autoexamples = false 20autotests = false 21autobenches = false 22description = """ 23Executors for asynchronous tasks based on the futures-rs library. 24""" 25homepage = "https://rust-lang.github.io/futures-rs" 26readme = "README.md" 27license = "MIT OR Apache-2.0" 28repository = "https://github.com/rust-lang/futures-rs" 29 30[package.metadata.docs.rs] 31all-features = true 32rustdoc-args = [ 33 "--cfg", 34 "docsrs", 35] 36 37[lib] 38name = "futures_executor" 39path = "src/lib.rs" 40 41[[test]] 42name = "local_pool" 43path = "tests/local_pool.rs" 44 45[[bench]] 46name = "thread_notify" 47path = "benches/thread_notify.rs" 48 49[dependencies.futures-core] 50version = "0.3.31" 51default-features = false 52 53[dependencies.futures-task] 54version = "0.3.31" 55default-features = false 56 57[dependencies.futures-util] 58version = "0.3.31" 59default-features = false 60 61[dependencies.num_cpus] 62version = "1.8.0" 63optional = true 64 65[dev-dependencies] 66futures = "0.3.21" 67 68[features] 69default = ["std"] 70std = [ 71 "futures-core/std", 72 "futures-task/std", 73 "futures-util/std", 74] 75thread-pool = [ 76 "std", 77 "num_cpus", 78] 79 80[lints.rust] 81missing_debug_implementations = "warn" 82rust_2018_idioms = "warn" 83single_use_lifetimes = "warn" 84unreachable_pub = "warn" 85 86[lints.rust.unexpected_cfgs] 87level = "warn" 88priority = 0 89check-cfg = ["cfg(futures_sanitizer)"] 90