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