mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
deps: bump sysinfo (#12874)
This commit is contained in:
8
Cargo.lock
generated
8
Cargo.lock
generated
@ -4590,9 +4590,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "libc"
|
||||
version = "0.2.164"
|
||||
version = "0.2.165"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "433bfe06b8c75da9b2e3fbea6e5329ff87748f0b144ef75306e674c3f6f7c13f"
|
||||
checksum = "fcb4d3d38eab6c5239a362fa8bae48c03baf980a6e7079f063942d563ef3533e"
|
||||
|
||||
[[package]]
|
||||
name = "libloading"
|
||||
@ -10603,9 +10603,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "sysinfo"
|
||||
version = "0.31.4"
|
||||
version = "0.32.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "355dbe4f8799b304b05e1b0f05fc59b2a18d36645cf169607da45bde2f69a1be"
|
||||
checksum = "4c33cd241af0f2e9e3b5c32163b873b29956890b5342e6745b917ce9d490f4af"
|
||||
dependencies = [
|
||||
"core-foundation-sys",
|
||||
"libc",
|
||||
|
||||
@ -49,7 +49,7 @@ thiserror.workspace = true
|
||||
tempfile = { workspace = true, optional = true }
|
||||
derive_more.workspace = true
|
||||
rustc-hash = { workspace = true, optional = true }
|
||||
sysinfo = { version = "0.31", default-features = false, features = ["system"] }
|
||||
sysinfo = { version = "0.32", default-features = false, features = ["system"] }
|
||||
parking_lot = { workspace = true, optional = true }
|
||||
|
||||
# arbitrary utils
|
||||
|
||||
@ -110,6 +110,7 @@ impl ProcessUID {
|
||||
let pid2 = sysinfo::Pid::from(pid);
|
||||
system.refresh_processes_specifics(
|
||||
sysinfo::ProcessesToUpdate::Some(&[pid2]),
|
||||
true,
|
||||
ProcessRefreshKind::new(),
|
||||
);
|
||||
system.process(pid2).map(|process| Self { pid, start_time: process.start_time() })
|
||||
|
||||
Reference in New Issue
Block a user