Skip to content

Upgrading sysinfo 0.15 to 0.16

Breaking0.15.9 → 0.16.5Breaking2Platform1New6Changed4Fixed7

BreakingUpgrade verdict

2 breaking changes and a platform requirement change.

  • 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.
3 items need code or config changes

Drops cc.

Installs 15 packages in all (was 18).

Breaking2
Splits SystemExt::get_version into SystemExt::get_kernel_version and SystemExt::get_os_version.
SystemExt::get_versionSystemExt::get_kernel_versionSystemExt::get_os_version
Changes return type of SystemExt::get_physical_core_count from usize to Option<usize>.
SystemExt::get_physical_core_count
Platform1
Adds support for Android.