• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1## v1.13.1
2
3### Fixes
4
5- fix parsing zero or multiple optional fields in cgroup mountinfo.
6
7## v1.13.0
8
9### Features
10
11- add Linux cgroups support when calling `get()`.
12
13## v1.12.0
14
15#### Fixes
16
17- fix `get` on OpenBSD to ignore offline CPUs
18- implement `get_physical` on OpenBSD
19
20## v1.11.1
21
22#### Fixes
23
24- Use `mem::zeroed` instead of `mem::uninitialized`.
25
26## v1.11.0
27
28#### Features
29
30- add `hermit` target OS support
31- removes `bitrig` support
32
33#### Fixes
34
35- fix `get_physical` count with AMD hyperthreading.
36
37## v1.10.1
38
39#### Fixes
40
41- improve `haiku` CPU detection
42
43## v1.10.0
44
45#### Features
46
47- add `illumos` target OS support
48- add default fallback if target is unknown to `1`
49
50## v1.9.0
51
52#### Features
53
54- add `sgx` target env support
55
56## v1.8.0
57
58#### Features
59
60- add `wasm-unknown-unknown` target support
61
62## v1.7.0
63
64#### Features
65
66- add `get_physical` support for macOS
67
68#### Fixes
69
70- use `_SC_NPROCESSORS_CONF` on Unix targets
71
72### v1.6.2
73
74#### Fixes
75
76- revert 1.6.1 for now
77
78### v1.6.1
79
80#### Fixes
81
82- fixes sometimes incorrect num on Android/ARM Linux (#45)
83
84## v1.6.0
85
86#### Features
87
88- `get_physical` gains Windows support
89
90### v1.5.1
91
92#### Fixes
93
94- fix `get` to return 1 if `sysconf(_SC_NPROCESSORS_ONLN)` failed
95
96## v1.5.0
97
98#### Features
99
100- `get()` now checks `sched_affinity` on Linux
101
102## v1.4.0
103
104#### Features
105
106- add `haiku` target support
107
108## v1.3.0
109
110#### Features
111
112- add `redox` target support
113
114### v1.2.1
115
116#### Fixes
117
118- fixes `get_physical` count (454ff1b)
119
120## v1.2.0
121
122#### Features
123
124- add `emscripten` target support
125- add `fuchsia` target support
126
127## v1.1.0
128
129#### Features
130
131- added `get_physical` function to return number of physical CPUs found
132
133# v1.0.0
134
135#### Features
136
137- `get` function returns number of CPUs (physical and virtual) of current platform
138