Skip to content

fix(deps): update rust crate sysinfo to 0.39.0#1306

Open
renovate[bot] wants to merge 1 commit into
stagingfrom
renovate/sysinfo-0.x
Open

fix(deps): update rust crate sysinfo to 0.39.0#1306
renovate[bot] wants to merge 1 commit into
stagingfrom
renovate/sysinfo-0.x

Conversation

@renovate

@renovate renovate Bot commented Mar 28, 2025

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
sysinfo dependencies minor 0.33.00.39.0

Release Notes

GuillaumeGomez/sysinfo (sysinfo)

v0.39.0

Compare Source

  • Update minimum supported rust version to 1.95.
  • Add new NetworkData::operational_state API.
  • Add new Process::cgroup_limits API (only returning data on Linux).
  • All supported systems other than Windows: Improve performance of Networks::refresh*.
  • All supported systems other than Windows: Fix soundness issue when retrieving users.
  • Linux: Take into account parent cgroup memory limits.
  • Linux: Fix panic when retrieving process information on ESXi.
  • FreeBSD: Use the name of dataset as name for zfs disks.

v0.38.4

Compare Source

  • macOS: Unpin objc2-* crates version.
  • Linux: Fix computation of disk size.

v0.38.3

Compare Source

  • macOS: Improve accuracy of System::available_memory and System::used_memory.
  • Documentation: add missing unit for CPU::frequency returned value.

v0.38.2

Compare Source

  • Implement Error trait for MacAddrFromStrError, IpNetworkFromStrError and KillError types.

v0.38.1

Compare Source

  • macOS: Put back support for versions below macOS 12.

v0.38.0

Compare Source

  • Add NetBSD support.
  • Windows: Fix unsoundness for a function used in Motherboard and Product.
  • Linux: Improve CPU info parsing.
  • Fix serde serialization of MacAddr and of Disk::file_system.

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.

Configuration

📅 Schedule: (in timezone America/New_York)

  • Branch creation
    • "after 10pm every weekday,every weekend,before 5am every weekday"
  • 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 added dependencies Updates or issues related to external code dependencies renovate Related to renovate bot for updating dependencies labels Mar 28, 2025
@renovate renovate Bot requested a review from NorkzYT as a code owner March 28, 2025 02:49
@renovate renovate Bot force-pushed the renovate/sysinfo-0.x branch 20 times, most recently from e66b687 to 88b446e Compare April 4, 2025 02:34
@renovate renovate Bot force-pushed the renovate/sysinfo-0.x branch 7 times, most recently from 197a63a to a6b3811 Compare April 5, 2025 06:27
@renovate renovate Bot force-pushed the renovate/sysinfo-0.x branch 17 times, most recently from d5ca6a8 to 4950399 Compare April 19, 2025 14:37
@renovate renovate Bot force-pushed the renovate/sysinfo-0.x branch 11 times, most recently from ae7cab6 to 444a3b9 Compare April 26, 2025 13:25
@renovate renovate Bot force-pushed the renovate/sysinfo-0.x branch from 444a3b9 to 91bbb83 Compare April 26, 2025 19:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Updates or issues related to external code dependencies renovate Related to renovate bot for updating dependencies

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants