Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Apr 2, 2024

This PR contains the following updates:

Package Type Update Change
sysinfo dependencies minor 0.29.50.37.0

Release Notes

GuillaumeGomez/sysinfo (sysinfo)

v0.37.2

Compare Source

  • Improve documentation of System::refresh_cpu_all and of System::refresh_cpu_specifics.
  • Android: Fix System::uptime.
  • Linux: Correctly handled modified/removed Process::exe paths.

v0.37.1

Compare Source

  • Fix serde serialization on Process::name.
  • Linux: Fix get_cpu_frequency on loongarch64.
  • Windows: Correctly handle invalid UTF-8 string in Motherboard.

v0.37.0

Compare Source

  • Update minimum supported Rust version to 1.88 (for 2024 edition and if let chain feature).
  • Added Component::id API.
  • Linux: Greatly improve partial processes retrieval.
  • Linux: Simplify internal components retrieval code.

v0.36.1

Compare Source

  • Linux: Improve processor CPU usage computation.

v0.36.0

Compare Source

  • Add new Motherboard type.
  • Add new Product type.
  • Linux/macOS: Fix CPU usage update.
  • Linux: Improve Component::label generated String.
  • macOS: Make Components implement Send and Sync traits.

v0.35.2

Compare Source

  • Linux: Fix retrieval of processor frequency on loongarch64.
  • Linux/Android: Improve Process::wait by checking if the process is still alive before waiting.
  • Windows: Fix Process::wait.

v0.35.1

Compare Source

  • Linux: Fix processor retrieval if some information is missing.
  • Windows: Increase range of windows crate up to < 0.63.

v0.35.0

  • Update MSRV to 1.75.
  • Add System::open_files_limit.
  • Add Process::kill_and_wait and Process::kill_with_and_wait methods.
  • Process::open_files* methods return usize.
  • set_open_files_limit argument type is usize.
  • Code example was improved.
  • macOS: Fix M4 CPU frequency calculation.
  • Linux: Correctly handle when new CPUs are added.
  • Linux: Ignore autofs disks.
  • Linux (raspberry pi): Retrieve more thermal zones.
  • Android: Update documentation to mention that newer Android version don't allow to retrieve CPU information.
  • Windows: Improve Process::wait code.
  • Windows: Fix Groups::refresh.

v0.34.2

  • FreeBSD: Fix segfault when refreshing processes.

v0.34.1

  • macOS: Remove forgotten debug print.

v0.34.0

  • multithread feature is disabled by default.
  • Add new Process methods: accumulated_cpu_time, exists, open_files and open_files_limit.
  • Process::wait method now returns Option<ExitStatus>.
  • Add new System methods: distribution_id_like and kernel_long_version.
  • Turn System::physical_core_count method into an associated function.
  • Make System::refresh_all and System::refresh_specifics methods remove dead processes.
  • Add new ProcessRefreshKind refresh: tasks.
  • Fix Group docs.
  • Implement Deserialize trait on DiskKind, MacAddr, IpNetwork, ProcessStatus, Signal and ThreadKind.
  • Implement FromStr trait on IpNetwork and MacAddr.
  • Implement Hash trait on DiskKind, MacAddr, ProcessStatus and Signal.
  • macOS: Removed processes are now correctly handled when refreshing processes.
  • macOS: Strengthen dist list refresh.
  • macOS: Fix internal cfg handling which triggered compilation failures in some specific cases.
  • Linux: max cgroups memory is more reliant in case of wrong input.
  • Linux: Fix processes tasks update.
  • Linux: Improve disks retrieval.
  • Windows: Fix antivirus considering programs using sysinfo as viruses by replacing uses of NtQueryInformationProcess with other "mainstream" Windows API.
  • Windows: Improve CPU usage computation efficiency.
  • FreeBSD: Improve process_procs when there is only one process to refresh.

v0.33.1

Compare Source

  • Linux: Fix components retrieval.
  • Linux: Filter out more virtual file systems for Disk API.
  • Linux/Android: Improve System::long_os_version().
  • Apple: Add missing CPU brands for iPhone and iPads.
  • macOS: Improve system name retrieval in System::long_os_version().
  • Linux/macOS: Avoid trailing whitespace and consecutive whitespace in System::long_os_version().
  • Windows: Fix User::groups.
  • Improve documentation for System::name, System::kernel_version, System::os_version, System::long_os_version and System::distribution_id.

v0.33.0

Compare Source

  • Linux: Add more ARM vendor IDs.
  • Linux: Improve CPU computation when refreshing a single process CPU usage.
  • Windows: Fix CPU frequency not being refreshed.
  • Windows: Improved components retrieval.
  • Windows: Fix inconsistent boot_time information.
  • Windows: Fix User::groups.
  • macOS: Fix network data information being limited to 32 bits.
  • macOS: Add newer macOS version for System::long_os_version.
  • unix: Add support for network sub-interfaces.
  • Use std::env::consts::ARCH as fallback for System::cpu_arch.
  • Add disk I/O support provided through Disk::usage.
  • Add NetworkData::mtu.
  • Add DiskRefreshKind to have finer-grained disks refreshes.
  • Component::temperature and Component::max now returns Option<f32>.
  • Users::refresh_list, Groups::refresh_list, Components::refresh_list, Networks::refresh_list and Disks::refresh_list methods were renamed refresh.
  • *RefreshKind::new methods were renamed nothing.
  • Improve documentation for DiskUsage::read_bytes.
  • Improve documentation for Process::kill.

v0.32.1

Compare Source

  • Fix compilation error due to libc update.

v0.32.0

Compare Source

  • Add new Disk::is_read_only API.
  • Add new remove_dead_processes argument to System::refresh_processes and System::refresh_processes_specifics.
  • macOS: Fix memory leak in disk refresh.

v0.31.4

Compare Source

  • macOS: Force memory cleanup in disk list retrieval.

v0.31.3

Compare Source

  • Raspberry Pi: Fix temperature retrieval.

v0.31.2

Compare Source

  • Remove bstr dependency (needed for rustc development).

v0.31.1

Compare Source

  • Downgrade version of memchr (needed for rustc development).

v0.31.0

Compare Source

  • Split crate in features to only enable what you need.
  • Remove System::refresh_process, System::refresh_process_specifics and System::refresh_pids
    methods.
  • Add new argument of type ProcessesToUpdate to System::refresh_processes and System::refresh_processes_specifics methods.
  • Add new NetworkData::ip_networks method.
  • Add new System::refresh_cpu_list method.
  • Global CPU now only contains CPU usage.
  • Rename TermalSensorType to ThermalSensorType.
  • Process names is now an OsString.
  • Remove System::global_cpu_info.
  • Add System::global_cpu_usage.
  • macOS: Fix invalid CPU computation when single processes are refreshed one after the other.
  • Windows: Fix virtual memory computation.
  • Windows: Fix WoW64 parent process refresh.
  • Linux: Retrieve RSS (Resident Set Size) memory for cgroups.

v0.30.13

  • macOS: Fix segfault when calling Components::refresh_list multiple times.
  • Windows: Fix CPU arch retrieval.

v0.30.12

  • FreeBSD: Fix network interfaces retrieval (one was always missing).

v0.30.11

Compare Source

  • macOS: Fix some invalid utf8 conversions.

v0.30.10

Compare Source

  • Linux: Fix components not being listed anymore.

v0.30.9

Compare Source

  • Linux/Windows: Performance improvements.
  • Linux/macOS/FreeBSD: Parent process ID is updated if changed as expected.

v0.30.8

Compare Source

  • Linux: Fix missing parallelization.
  • Linux: Add cargo feature flag linux-tmpfs to list tmpfs mounts.
  • macOS: Fix CPU usage returning NaN.
  • Components::refresh is now parallelized.

v0.30.7

Compare Source

  • Linux: Fix cgroup memory computation.
  • FreeBSD: Fix documentation about disk usage.

v0.30.6

Compare Source

  • macOS: Fix missing update of process run time.
  • Add new Groups API.
  • Improve documentation.

v0.30.5

Compare Source

  • Windows: Correctly retrieve processes name on 32 bits platforms.
  • Windows: Fix swap memory computation.

v0.30.4

Compare Source

  • Windows: Fix misaligned read.

v0.30.3

Compare Source

  • Improve dependency stack by updating the windows dependency.

v0.30.2

Compare Source

  • Add ThreadKind enum.
  • Add Process::thread_kind method.

v0.30.1

Compare Source

  • macOS: Fix segfault when calling Components::refresh_list multiple times.
  • Windows: Fix CPU arch retrieval.

v0.30.0

Compare Source

  • Split System into subtypes: Components, Disks, Networks and Users.
  • brand, vendor_id and frequency information is not set anymore on the global CPU.
  • Unix: Fix endless loop in user groups retrieval.
  • Unix/Windows: Fix infinite loop when retrieving various information because of bad usage
    of Vec::reserve.
  • Unix: Fix invalid usage of NULL pointer when retrieving user group name.
  • Linux: Fix CPU name retrieval.
  • Linux: Remove cgroup usage from memory computation.
  • Linux: Add linux-netdevs feature to allow to retrieve network devices.
  • Linux: Improve system memory information retrieval (using statm file instead of stat).
  • Linux: Tasks are listed in processes.
  • macOS: Correctly retrieve process root directory.
  • Windows: Add warning that System::load_average is not working in documentation.
  • Windows: Fix invalid use of NULL pointer when retrieving users groups.
  • Windows: Correctly retrieve process root directory.
  • Create new System::cgroup_limits method.
  • Remove System::refresh_system method.
  • Disk::file_system and Disk::name now return an Option<&OsStr>.
  • Implement Display trait on DiskKind.
  • Move from winapi to windows crate.
  • Add System::cpu_arch.
  • Add System::refresh_pids and System::refresh_pids_specifics.
  • System::boot_time, System::cpu_arch, System::distribution_id, System::host_name,
    System::kernel_version, System::load_average, System::long_os_version, System::name,
    System::os_version and System::uptime are static methods.
  • ProcessRefreshKind has a lot more of possibilities for better control over updates.
  • Add new UpdateKind enum.
  • Add new MemoryRefreshKind struct.
  • Add new System::refresh_memory_specifics method.
  • Process::exe, Process::cwd and Process::root return an Option<&Path>.
  • Process::tasks method is available on all platforms.
  • Process::tasks method returns a HashSet<Pid>.
  • Move System::IS_SUPPORTED, System::SUPPORTED_SIGNALS and
    System::MINIMUM_CPU_UPDATE_INTERVAL constants out of System directly at the crate top-level.
  • Rename IS_SUPPORTED into IS_SUPPORTED_SYSTEM.
  • Fix serde serialization.
  • Add System::refresh_cpu_frequency and System::refresh_cpu_all.
  • Fix sysinfo.h and C wrapper.
  • Add a migration guide.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/sysinfo-0.x branch from 9652d5a to 5b7a523 Compare April 8, 2024 22:20
@renovate renovate bot changed the title fix(deps): update rust crate sysinfo to 0.30.8 fix(deps): update rust crate sysinfo to 0.30.9 Apr 8, 2024
@renovate renovate bot force-pushed the renovate/sysinfo-0.x branch from 5b7a523 to b417912 Compare April 10, 2024 16:44
@renovate renovate bot changed the title fix(deps): update rust crate sysinfo to 0.30.9 fix(deps): update rust crate sysinfo to 0.30.10 Apr 10, 2024
@renovate renovate bot force-pushed the renovate/sysinfo-0.x branch 2 times, most recently from 608089f to 23d914d Compare April 11, 2024 13:36
@renovate renovate bot force-pushed the renovate/sysinfo-0.x branch from 23d914d to 712bdc6 Compare April 18, 2024 16:34
@renovate renovate bot changed the title fix(deps): update rust crate sysinfo to 0.30.10 fix(deps): update rust crate sysinfo to 0.30.11 Apr 18, 2024
@renovate renovate bot force-pushed the renovate/sysinfo-0.x branch from 712bdc6 to a76cfc2 Compare May 5, 2024 10:36
@renovate renovate bot changed the title fix(deps): update rust crate sysinfo to 0.30.11 fix(deps): update rust crate sysinfo to 0.30.0 May 5, 2024
@renovate renovate bot changed the title fix(deps): update rust crate sysinfo to 0.30.0 fix(deps): update rust crate sysinfo to 0.31.0 Jul 31, 2024
@renovate renovate bot force-pushed the renovate/sysinfo-0.x branch from a76cfc2 to 1c68c57 Compare July 31, 2024 14:30
@renovate renovate bot force-pushed the renovate/sysinfo-0.x branch from 1c68c57 to d79b71d Compare October 5, 2024 22:53
@renovate renovate bot changed the title fix(deps): update rust crate sysinfo to 0.31.0 fix(deps): update rust crate sysinfo to 0.32.0 Oct 5, 2024
@renovate renovate bot force-pushed the renovate/sysinfo-0.x branch from d79b71d to 304b667 Compare December 4, 2024 14:40
@renovate renovate bot changed the title fix(deps): update rust crate sysinfo to 0.32.0 fix(deps): update rust crate sysinfo to 0.33.0 Dec 4, 2024
@renovate renovate bot force-pushed the renovate/sysinfo-0.x branch from 304b667 to 0433eb4 Compare March 27, 2025 21:58
@renovate renovate bot changed the title fix(deps): update rust crate sysinfo to 0.33.0 fix(deps): update rust crate sysinfo to 0.34.0 Mar 27, 2025
@renovate renovate bot force-pushed the renovate/sysinfo-0.x branch from 0433eb4 to 019f158 Compare May 1, 2025 22:24
@renovate renovate bot changed the title fix(deps): update rust crate sysinfo to 0.34.0 fix(deps): update rust crate sysinfo to 0.35.0 May 1, 2025
@renovate renovate bot force-pushed the renovate/sysinfo-0.x branch from 019f158 to 553431c Compare July 10, 2025 20:09
@renovate renovate bot changed the title fix(deps): update rust crate sysinfo to 0.35.0 fix(deps): update rust crate sysinfo to 0.36.0 Jul 10, 2025
@renovate renovate bot force-pushed the renovate/sysinfo-0.x branch 2 times, most recently from d66856a to 5027533 Compare August 10, 2025 22:11
@renovate renovate bot changed the title fix(deps): update rust crate sysinfo to 0.36.0 fix(deps): update rust crate sysinfo to 0.37.0 Aug 10, 2025
@renovate renovate bot force-pushed the renovate/sysinfo-0.x branch from 5027533 to 96fe27d Compare September 25, 2025 15:16
@renovate renovate bot force-pushed the renovate/sysinfo-0.x branch from 96fe27d to 940565d Compare December 10, 2025 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants