seanmonstar / num_cpus

Get the number of CPUs in Rust
Apache License 2.0
582 stars 91 forks source link

README.md: Mention `available_parallelism`; explain when to still use `num_cpus` #117

Open joshtriplett opened 2 years ago

joshtriplett commented 2 years ago

With std::thread::available_parallelism stabilized in 1.59, some projects may want to switch to it. Document the key difference (minimum Rust version support) to help projects make that decision more carefully.

joshtriplett commented 3 weeks ago

Following up on this PR.