From a9fb7fb9d7c00f85df8f6e82869915d9aa8c3096 Mon Sep 17 00:00:00 2001 From: Sean McArthur Date: Thu, 28 Sep 2017 10:53:33 -0700 Subject: [PATCH] v1.7.0 --- CHANGELOG.md | 10 ++++++++++ Cargo.toml | 2 +- src/lib.rs | 1 + 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 983d2f8..71ecf32 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,13 @@ +## v1.7.0 + +#### Features + +- add `get_physical` support for macOS + +#### Fixes + +- use `_SC_NPROCESSORS_CONF` on Unix targets + ### v1.6.2 #### Fixes diff --git a/Cargo.toml b/Cargo.toml index 9089c2c..c23907c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "num_cpus" -version = "1.6.2" +version = "1.7.0" # don't forget to update html_root_url description = "Get the number of CPUs on a machine." authors = ["Sean McArthur "] license = "MIT/Apache-2.0" diff --git a/src/lib.rs b/src/lib.rs index 9f18ddc..0ec5058 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -10,6 +10,7 @@ //! ``` #![cfg_attr(test, deny(warnings))] #![deny(missing_docs)] +#![doc(html_root_url = "https://docs.rs/num_cpus/1.7.0")] #![allow(non_snake_case)] #[cfg(not(windows))]