-
Notifications
You must be signed in to change notification settings - Fork 7
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Commit 369c80c
Update Rust crate sysinfo to 0.33 (#33904)
This PR contains the following updates:
| Package | Type | Update | Change | Pending |
|---|---|---|---|---|
| [sysinfo](https://redirect.github.com/GuillaumeGomez/sysinfo) | workspace.dependencies | minor | `0.29` -> `0.33` | `0.34.1` (+1) |
---
### Release Notes
<details>
<summary>GuillaumeGomez/sysinfo (sysinfo)</summary>
### [`v0.33.1`](https://redirect.github.com/GuillaumeGomez/sysinfo/blob/HEAD/CHANGELOG.md#0331)
[Compare Source](https://redirect.github.com/GuillaumeGomez/sysinfo/compare/v0.33.0...v0.33.1)
- 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`](https://redirect.github.com/GuillaumeGomez/sysinfo/blob/HEAD/CHANGELOG.md#0330)
[Compare Source](https://redirect.github.com/GuillaumeGomez/sysinfo/compare/v0.32.1...v0.33.0)
- 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`](https://redirect.github.com/GuillaumeGomez/sysinfo/blob/HEAD/CHANGELOG.md#0321)
[Compare Source](https://redirect.github.com/GuillaumeGomez/sysinfo/compare/v0.32.0...v0.32.1)
- Fix compilation error due to `libc` update.
### [`v0.32.0`](https://redirect.github.com/GuillaumeGomez/sysinfo/blob/HEAD/CHANGELOG.md#0320)
[Compare Source](https://redirect.github.com/GuillaumeGomez/sysinfo/compare/v0.31.4...v0.32.0)
- 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`](https://redirect.github.com/GuillaumeGomez/sysinfo/blob/HEAD/CHANGELOG.md#0314)
[Compare Source](https://redirect.github.com/GuillaumeGomez/sysinfo/compare/v0.31.3...v0.31.4)
- macOS: Force memory cleanup in disk list retrieval.
### [`v0.31.3`](https://redirect.github.com/GuillaumeGomez/sysinfo/blob/HEAD/CHANGELOG.md#0313)
[Compare Source](https://redirect.github.com/GuillaumeGomez/sysinfo/compare/v0.31.2...v0.31.3)
- Raspberry Pi: Fix temperature retrieval.
### [`v0.31.2`](https://redirect.github.com/GuillaumeGomez/sysinfo/blob/HEAD/CHANGELOG.md#0312)
[Compare Source](https://redirect.github.com/GuillaumeGomez/sysinfo/compare/v0.31.1...v0.31.2)
- Remove `bstr` dependency (needed for rustc development).
### [`v0.31.1`](https://redirect.github.com/GuillaumeGomez/sysinfo/blob/HEAD/CHANGELOG.md#0311)
[Compare Source](https://redirect.github.com/GuillaumeGomez/sysinfo/compare/v0.31.0...v0.31.1)
- Downgrade version of `memchr` (needed for rustc development).
### [`v0.31.0`](https://redirect.github.com/GuillaumeGomez/sysinfo/blob/HEAD/CHANGELOG.md#0310)
[Compare Source](https://redirect.github.com/GuillaumeGomez/sysinfo/compare/v0.30.13...v0.31.0)
- 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`](https://redirect.github.com/GuillaumeGomez/sysinfo/blob/HEAD/CHANGELOG.md#03013)
- macOS: Fix segfault when calling `Components::refresh_list` multiple times.
- Windows: Fix CPU arch retrieval.
### [`v0.30.12`](https://redirect.github.com/GuillaumeGomez/sysinfo/blob/HEAD/CHANGELOG.md#03012)
- FreeBSD: Fix network interfaces retrieval (one was always missing).
### [`v0.30.11`](https://redirect.github.com/GuillaumeGomez/sysinfo/blob/HEAD/CHANGELOG.md#03011)
[Compare Source](https://redirect.github.com/GuillaumeGomez/sysinfo/compare/v0.30.10...v0.30.11)
- macOS: Fix some invalid utf8 conversions.
### [`v0.30.10`](https://redirect.github.com/GuillaumeGomez/sysinfo/blob/HEAD/CHANGELOG.md#03010)
[Compare Source](https://redirect.github.com/GuillaumeGomez/sysinfo/compare/v0.30.9...v0.30.10)
- Linux: Fix components not being listed anymore.
### [`v0.30.9`](https://redirect.github.com/GuillaumeGomez/sysinfo/blob/HEAD/CHANGELOG.md#0309)
[Compare Source](https://redirect.github.com/GuillaumeGomez/sysinfo/compare/v0.30.8...v0.30.9)
- Linux/Windows: Performance improvements.
- Linux/macOS/FreeBSD: Parent process ID is updated if changed as expected.
### [`v0.30.8`](https://redirect.github.com/GuillaumeGomez/sysinfo/blob/HEAD/CHANGELOG.md#0308)
[Compare Source](https://redirect.github.com/GuillaumeGomez/sysinfo/compare/v0.30.7...v0.30.8)
- 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`](https://redirect.github.com/GuillaumeGomez/sysinfo/blob/HEAD/CHANGELOG.md#0307)
[Compare Source](https://redirect.github.com/GuillaumeGomez/sysinfo/compare/v0.30.6...v0.30.7)
- Linux: Fix cgroup memory computation.
- FreeBSD: Fix documentation about disk usage.
### [`v0.30.6`](https://redirect.github.com/GuillaumeGomez/sysinfo/blob/HEAD/CHANGELOG.md#0306)
[Compare Source](https://redirect.github.com/GuillaumeGomez/sysinfo/compare/v0.30.5...v0.30.6)
- macOS: Fix missing update of process run time.
- Add new `Groups` API.
- Improve documentation.
### [`v0.30.5`](https://redirect.github.com/GuillaumeGomez/sysinfo/blob/HEAD/CHANGELOG.md#0305)
[Compare Source](https://redirect.github.com/GuillaumeGomez/sysinfo/compare/v0.30.4...v0.30.5)
- Windows: Correctly retrieve processes name on 32 bits platforms.
- Windows: Fix swap memory computation.
### [`v0.30.4`](https://redirect.github.com/GuillaumeGomez/sysinfo/blob/HEAD/CHANGELOG.md#0304)
[Compare Source](https://redirect.github.com/GuillaumeGomez/sysinfo/compare/v0.30.3...v0.30.4)
- Windows: Fix misaligned read.
### [`v0.30.3`](https://redirect.github.com/GuillaumeGomez/sysinfo/blob/HEAD/CHANGELOG.md#0303)
[Compare Source](https://redirect.github.com/GuillaumeGomez/sysinfo/compare/v0.30.2...v0.30.3)
- Improve dependency stack by updating the `windows` dependency.
### [`v0.30.2`](https://redirect.github.com/GuillaumeGomez/sysinfo/blob/HEAD/CHANGELOG.md#0302)
[Compare Source](https://redirect.github.com/GuillaumeGomez/sysinfo/compare/v0.30.1...v0.30.2)
- Add `ThreadKind` enum.
- Add `Process::thread_kind` method.
### [`v0.30.1`](https://redirect.github.com/GuillaumeGomez/sysinfo/blob/HEAD/CHANGELOG.md#03013)
[Compare Source](https://redirect.github.com/GuillaumeGomez/sysinfo/compare/v0.30.0...v0.30.1)
- macOS: Fix segfault when calling `Components::refresh_list` multiple times.
- Windows: Fix CPU arch retrieval.
### [`v0.30.0`](https://redirect.github.com/GuillaumeGomez/sysinfo/blob/HEAD/CHANGELOG.md#0300)
[Compare Source](https://redirect.github.com/GuillaumeGomez/sysinfo/compare/v0.29.11...v0.30.0)
- 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.
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "on the first day of the month" in timezone America/Los_Angeles, 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 has been generated by [Renovate Bot](https://redirect.github.com/renovatebot/renovate).
GitOrigin-RevId: af2dec328619b94900c75a2a5d88a19bb8f00f511 parent c83d1c1 commit 369c80cCopy full SHA for 369c80c
1 file changed
+2
-2
lines changed+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments