Skip to content

Commit

Permalink
Update sysinfo requirement from 0.31.2 to 0.32.0 (#6521)
Browse files Browse the repository at this point in the history
* Update sysinfo requirement from 0.31.2 to 0.32.0

Updates the requirements on [sysinfo](https://github.com/GuillaumeGomez/sysinfo) to permit the latest version.
- [Changelog](https://github.com/GuillaumeGomez/sysinfo/blob/master/CHANGELOG.md)
- [Commits](GuillaumeGomez/sysinfo@v0.31.2...v0.32.0)

---
updated-dependencies:
- dependency-name: sysinfo
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>

* Update API use

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Andrew Lamb <[email protected]>
  • Loading branch information
dependabot[bot] and alamb authored Oct 8, 2024
1 parent 7b30881 commit 3670ca3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion parquet/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ hashbrown = { version = "0.14", default-features = false }
twox-hash = { version = "1.6", default-features = false }
paste = { version = "1.0" }
half = { version = "2.1", default-features = false, features = ["num-traits"] }
sysinfo = { version = "0.31.2", optional = true, default-features = false, features = ["system"] }
sysinfo = { version = "0.32.0", optional = true, default-features = false, features = ["system"] }
crc32fast = { version = "1.4.2", optional = true, default-features = false }

[dev-dependencies]
Expand Down
2 changes: 2 additions & 0 deletions parquet/examples/write_parquet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,10 @@ fn mem(system: &mut System) -> String {
Err(e) => return format!("Can't get process PID: {e}"),
};

let remove_dead_processes = true;
system.refresh_processes_specifics(
ProcessesToUpdate::Some(&[pid]),
remove_dead_processes,
ProcessRefreshKind::everything(),
);

Expand Down

0 comments on commit 3670ca3

Please sign in to comment.