Skip to content

Upgrading sysinfo 0.28 to 0.29

Breaking0.28.4 → 0.29.11Breaking3Platform1New2Changed2Fixed11Other6

BreakingUpgrade verdict

3 breaking changes and a platform requirement change.

  • The disk type enum has a new name, so code using the old name must be updated.
  • The method that reports a disk's kind has a new name, so callers must update their code.
  • On macOS, process status is now reported correctly, and the public ThreadStatus field is gone, so code reading it must change.
  • Building this library now requires Rust 1.63 or newer.
4 items need code or config changes

Rust requirement changed in 0.29.6: 1.59 → 1.63.

Breaking3
Renames DiskType into DiskKind.
DiskTypeDiskKind
Renames DiskExt::type_ into DiskExt::kind.
DiskExt::type_DiskExt::kind
On macOS, correctly handles ProcessStatus and removes the public ThreadStatus field.
ProcessStatusThreadStatus
Platform1
Raises the minimum supported Rust version to 1.63.