Skip to content

Commit a9fb7fb

Browse files
committed
v1.7.0
1 parent b991064 commit a9fb7fb

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

CHANGELOG.md

+10
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
## v1.7.0
2+
3+
#### Features
4+
5+
- add `get_physical` support for macOS
6+
7+
#### Fixes
8+
9+
- use `_SC_NPROCESSORS_CONF` on Unix targets
10+
111
### v1.6.2
212

313
#### Fixes

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22

33
name = "num_cpus"
4-
version = "1.6.2"
4+
version = "1.7.0" # don't forget to update html_root_url
55
description = "Get the number of CPUs on a machine."
66
authors = ["Sean McArthur <sean@seanmonstar.com>"]
77
license = "MIT/Apache-2.0"

src/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
//! ```
1111
#![cfg_attr(test, deny(warnings))]
1212
#![deny(missing_docs)]
13+
#![doc(html_root_url = "https://docs.rs/num_cpus/1.7.0")]
1314
#![allow(non_snake_case)]
1415

1516
#[cfg(not(windows))]

0 commit comments

Comments
 (0)