Upgrading sysinfo 0.33 to 0.34
Breaking0.33.1 → 0.34.2Breaking3New6Changed5Fixed7Other1
BreakingUpgrade verdict
3 breaking changes.
In plain terms
- Programs that relied on multithreaded refresh without enabling the feature will now get single-threaded behavior.
- Code that calls wait on a process must now handle a possible None result.
- Callers must now call it on the type rather than on a System instance.
Must act 3 items need code or config changes
Adds objc2-core-foundation ^0.3.0.
Drops core-foundation-sys.
What you must change
Breaking3
The
multithread feature is now disabled by default.multithreadProcess::wait now returns Option<ExitStatus> instead of the previous return type.Process::waitExitStatusSystem::physical_core_count becomes an associated function instead of a method.System::physical_core_count