Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update rust crate sysinfo to 0.32.0 #171

Closed
wants to merge 651 commits into from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Jun 3, 2024

This PR contains the following updates:

Package Type Update Change
sysinfo dependencies minor 0.23.5 -> 0.32.0

Release Notes

GuillaumeGomez/sysinfo (sysinfo)

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.

v0.29.11

Compare Source

  • macOS: Fix bug when a user group doesn't have a name.

v0.29.10

Compare Source

  • Linux: Correctly handle max memory value for cgroups.

v0.29.9

Compare Source

  • Linux: Fix memory usage retrieval for cgroups.

v0.29.8

Compare Source

  • Linux: Fix overflow bug.

v0.29.7

Compare Source

  • macOS: Fix CPU frequency retrieval for M1 and M2.
  • Linux: Add support for cgroups v1/v2 for memory.
  • Windows: Fix processes name encoding issues.

v0.29.6

Compare Source

  • Update minimum rust version to 1.63.
  • Windows: Fix memory corruption when listing processes.
  • Windows: Fix name inconsistency between refresh_processes and refresh_process.
  • Cargo.lock is now included to prevent minimum rust version disruptions.

v0.29.5

Compare Source

  • Windows: Remove some undefined behaviour when listing processes.
  • <docs.rs>: Use --generate-link-to-definition option to have better source code pages.

v0.29.4

Compare Source

  • Windows: Improve code to retrieve network interfaces.
  • Improve serde documentation example.
  • Fix some clippy lints.

v0.29.3

Compare Source

  • Fix some documentation examples.

v0.29.2

Compare Source

  • <docs.rs>: Generate documentation for all supported platforms.

v0.29.1

Compare Source

  • macOS: Fix bug when a user group doesn't have a name.

v0.29.0

Compare Source

  • Add ProcessExt::effective_user_id and ProcessExt::effective_group_id.
  • Rename DiskType into DiskKind.
  • Rename DiskExt::type_ into DiskExt::kind.
  • macOS: Correctly handle ProcessStatus and remove public ThreadStatus field.
  • Windows 11: Fix CPU core usage.

v0.28.4

Compare Source

  • macOS: Improve CPU computation.
  • Strengthen a process test (needed for debian).

v0.28.3

Compare Source

  • FreeBSD/Windows: Add missing frequency for global CPU.
  • macOS: Fix used memory computation.
  • macOS: Improve available memory computation.
  • Windows: Fix potential panic when getting process data.

v0.28.2

Compare Source

  • Linux: Improve CPU usage computation.

v0.28.1

Compare Source

  • macOS: Fix overflow when computing CPU usage.

v0.28.0

Compare Source

  • Linux: Fix name and CPU usage for processes tasks.
  • unix: Keep all users, even "not real" accounts.
  • Windows: Use SID for Users ID.
  • Fix C API.
  • Disable default cdylib compilation.
  • Add serde feature to enable serialization.
  • Linux: Handle Idle state in ProcessStatus.
  • Linux: Add brand and name of ARM CPUs.

v0.27.8

Compare Source

  • macOS: Fix overflow when computing CPU usage.

v0.27.7

Compare Source

  • macOS: Fix process CPU usage computation
  • Linux: Improve ARM CPU brand and name information.
  • Windows: Fix resource leak.
  • Documentation improvements.

v0.27.6

Compare Source

  • Make MacAddr public.

v0.27.5

Compare Source

  • Linux: Improve compatibility with upcoming libc changes for musl targets.

v0.27.4

Compare Source

  • Create SystemExt::MINIMUM_CPU_UPDATE_INTERVAL constant.
  • Fix consecutive processes updates CPU usage computation.

v0.27.3

Compare Source

  • macOS: Fix free/available memory computation.
  • Fix processes_by_name* lifetimes

v0.27.2

Compare Source

  • Linux: Fix consecutive process CPU usage updates.
  • Linux: Ignore NFS disks.

v0.27.1

Compare Source

  • Unix systems: Fix network address segfault issue.

v0.27.0

Compare Source

  • Add NetworkExt::mac_address method and MacAddr type.
  • Linux: Fix truncated environment retrieval.
  • Implement TryFrom<usize> and FromStr for Gid and Uid.
  • Implement TryFrom<usize> for Pid.
  • Fix documentation of System::new about CPU list not loaded by default.

v0.26.9

Compare Source

  • (backport) Linux: Improve compatibility with upcoming libc changes for musl targets.

v0.26.8

Compare Source

  • Add ProcessExt::session_id method.
  • Linux: Ignore NFS disks.

v0.26.7

Compare Source

  • Apple: Greatly improve disk retrieval (I recommend reading the pull request first comment for more information here: #​855).
  • Remove build script.

v0.26.6

Compare Source

  • Add Process::wait.
  • Add "Good practice" entry into the crate level documentation and in the README.
  • Linux: More precise used memory computation.

v0.26.5

Compare Source

  • Windows: Fix disk information retrieval.
  • Linux: Improve Process document.
  • Linux: Fix a compilation error if the apple-sandbox feature is enabled.
  • Internal code improvements.

v0.26.4

Compare Source

  • Add SystemExt::distribution_id method.
  • Update ntapi version to 0.4.
  • Update minimum supported Rust version (MSRV) to 1.59 for ntapi 0.4.

v0.26.3

Compare Source

  • Update minimum supported Rust version (MSRV) to 1.56 to follow once_cell minor update.

v0.26.2

Compare Source

  • Linux: Fix process information retrieval.
  • Linux: Get more components temperature.
  • Linux: Fix disk name retrieval (which in turn fixed disk type retrieval).

v0.26.1

Compare Source

  • macOS M1: Fix segmentation fault crash.

v0.26.0

Compare Source

  • Switch memory unit from kilobytes to bytes.
  • Windows: Fix Windows version display on Windows 11.

v0.25.3

Compare Source

  • Add macOS M1 CI checks.
  • macOS M1: Add temperature support.
  • macOS: Fix leak in disk retrieval.

v0.25.2

Compare Source

  • Windows: Fix Process::exe information retrieval.
  • All supported platforms: Correctly handle a PID owner change (#​809).

v0.25.1

Compare Source

  • Linux: Fix potential problem on ProcessExt::exe in case /proc/<pid>/exe cannot be read.
  • Add SystemExt::sort_disks_by.

v0.25.0

Compare Source

  • Linux: CPU frequency is now retrieved on-demand as expected when CpuRefreshKind::frequency is true.
  • System::refresh_cpu behaviour changed: it only computes CPU usage and doesn't retrieve CPU frequency.

v0.24.7

Compare Source

  • Windows: Fix boot time computation.
  • macOS: Fix available memory computation.
  • Some documentation fixes.

v0.24.6

Compare Source

  • macOS: Don't compute CPU usage when elapsed time is 0.
  • macOS: Fix memory leak when retrieving disks.
  • C interface: Fix char cast when platform is using unsigned chars.

v0.24.5

Compare Source

  • Implement Hash trait on Uid and Gid types.
  • Remove dependency once_cell for targets other than linux, android and windows.

v0.24.4

Compare Source

  • Windows: Fix System::refresh_process when required higher privileges.

v0.24.3

Compare Source

  • macOS: Fix System::refresh_processes badly handling updates.
  • FreeBSD: Improve performance of System::refresh_processes.

v0.24.2

Compare Source

  • Windows: Fix CPU usage computation.
  • Windows: Enable extra feature on winapi.
  • macOS: Fix executable path retrieval.

v0.24.1

Compare Source

  • Use saturating_* function for mathematical operations to prevent overflows/underflows.

v0.24.0

Compare Source

  • Rename Processor into Cpu and ProcessorExt into CpuExt.
  • Retrieve information about a process' owner.
  • Add SystemExt::get_user_by_id.
  • Add ProcessExt::user_id.
  • Add ProcessExt::group_id.
  • Add user-related methods to ProcessRefreshKind.
  • Linux: Improve performance when creating new Process by improving retrieval of user ID and group ID.

v0.23.15

Compare Source


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 becomes conflicted, 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.

Fuwn and others added 30 commits June 9, 2021 19:25
Bumps [trim-newlines](https://github.com/sindresorhus/trim-newlines) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/sindresorhus/trim-newlines/releases)
- [Commits](https://github.com/sindresorhus/trim-newlines/commits)

---
updated-dependencies:
- dependency-name: trim-newlines
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
`flexi_logger` version `0.18.0` broke a lot of stuff, this fixes those broken things.
fix(deps): update rust crate flexi_logger to 0.18.0
Instead of being given the option to start all of the sub-servers (`whirl run` or `whirl run all`),
you are now given the option to specify a selection of sub-servers by passing a comma-seperated list
to the `run` sub-command (`whirl run distributor,hub`). Despite the changes, `whirl run` still
starts all of the available sub-servers!
fix(deps): update rust crate tokio to 1.6.2
I guess at some point I accidentally inserted a newline to the end of the `.license_template` file,
don't know how I didn't notice until now but this commit fixes the errors that rustfmt would report.
fix(deps): update rust crate tokio to 1.7.0
Issue came back, reverted commit, issue is gone...
At the moment, the `version` key is never accessed, but once Whirl's "`1.0`" release is out, the
configuration schema will need to be standardized, the `version` key will regulate that and also
ensure no one is left behind when updating.

BREAKING CHANGE: `version` key is created
fix(deps): update rust crate mimalloc to 0.1.26
@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 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
@Fuwn Fuwn closed this Oct 21, 2024
Copy link
Author

renovate bot commented Oct 21, 2024

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update (0.32.0). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate renovate bot deleted the renovate/sysinfo-0.x branch October 21, 2024 04:15
@Fuwn Fuwn restored the renovate/sysinfo-0.x branch October 21, 2024 04:23
@renovate renovate bot deleted the renovate/sysinfo-0.x branch October 21, 2024 04:23
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.

2 participants