Upgrading sysinfo 0.15 to 0.16
Breaking0.15.9 → 0.16.5Breaking2Platform1New6Changed4Fixed7
BreakingUpgrade verdict
2 breaking changes and a platform requirement change.
In plain terms
- The single version getter is gone; call the kernel or OS version getter instead.
- The physical core count getter can now return nothing, so callers must handle the optional value.
- The library can now be used on Android devices.
Must act 3 items need code or config changes
Drops cc.
Installs 15 packages in all (was 18).
What you must change
Breaking2
Splits
SystemExt::get_version into SystemExt::get_kernel_version and SystemExt::get_os_version.SystemExt::get_versionSystemExt::get_kernel_versionSystemExt::get_os_versionChanges return type of
SystemExt::get_physical_core_count from usize to Option<usize>.SystemExt::get_physical_core_countPlatform1
Adds support for Android.