Skip to content

Commit d9aaefb

Browse files
authored
Merge pull request #1012 from joshtriplett/available-parallelism
2 parents 2c63046 + f6ecd5f commit d9aaefb

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ default = [
2929
"futures-lite",
3030
"kv-log-macro",
3131
"log",
32-
"num_cpus",
3332
"pin-project-lite",
3433
"gloo-timers",
3534
]
@@ -71,7 +70,6 @@ futures-io = { version = "0.3.4", optional = true }
7170
kv-log-macro = { version = "1.0.6", optional = true }
7271
log = { version = "0.4.8", features = ["kv_unstable"], optional = true }
7372
memchr = { version = "2.3.3", optional = true }
74-
num_cpus = { version = "1.12.0", optional = true }
7573
once_cell = { version = "1.3.1", optional = true }
7674
pin-project-lite = { version = "0.2.0", optional = true }
7775
pin-utils = { version = "0.1.0-alpha.4", optional = true }

src/lib.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -267,9 +267,10 @@
267267
//!
268268
//! * `ASYNC_STD_THREAD_COUNT`: The number of threads that the
269269
//! async-std runtime will start. By default, this is one per logical
270-
//! cpu as reported by the [num_cpus](num_cpus) crate, which may be
271-
//! different than the number of physical cpus. Async-std _will panic_
272-
//! if this is set to any value other than a positive integer.
270+
//! cpu as determined by [async-global-executor](async_global_executor),
271+
//! which may be different than the number of physical cpus. Async-std
272+
//! _will panic_ if this is set to any value other than a positive
273+
//! integer.
273274
//! * `ASYNC_STD_THREAD_NAME`: The name that async-std's runtime
274275
//! threads report to the operating system. The default value is
275276
//! `"async-std/runtime"`.

0 commit comments

Comments
 (0)