diff options
author | Clement Tsang <34804052+ClementTsang@users.noreply.github.com> | 2021-05-13 20:41:43 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-13 23:41:43 -0400 |
commit | ee6228c2b61c0d20e32df610765838634e1a6361 (patch) | |
tree | 1a47a59c3d628bd4dbc203aa31a2ffbe18f3ce5f /Cargo.lock | |
parent | 1e7668fcaa990d57529bebb321f71aba0263a483 (diff) |
refactor: switch to procfs library (#479)
Switch the Linux proc parts to the procfs library: https://crates.io/crates/procfs.
Diffstat (limited to 'Cargo.lock')
-rw-r--r-- | Cargo.lock | 43 |
1 files changed, 43 insertions, 0 deletions
@@ -259,6 +259,7 @@ dependencies = [ "log", "once_cell", "predicates", + "procfs", "regex", "serde", "sysinfo", @@ -400,6 +401,15 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ea221b5284a47e40033bf9b66f35f984ec0ea2931eb03505246cd27a963f981b" [[package]] +name = "crc32fast" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "81156fece84ab6a9f2afdb109ce3ae577e42b1228441eded99bd77f627953b1a" +dependencies = [ + "cfg-if 1.0.0", +] + +[[package]] name = "crossbeam-channel" version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -544,6 +554,18 @@ dependencies = [ ] [[package]] +name = "flate2" +version = "1.0.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd3aec53de10fe96d7d8c565eb17f2c687bb5518a2ec453b5b1252964526abe0" +dependencies = [ + "cfg-if 1.0.0", + "crc32fast", + "libc", + "miniz_oxide", +] + +[[package]] name = "float-cmp" version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -836,6 +858,12 @@ dependencies = [ ] [[package]] +name = "hex" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" + +[[package]] name = "indexmap" version = "1.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -1176,6 +1204,21 @@ dependencies = [ ] [[package]] +name = "procfs" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ab8809e0c18450a2db0f236d2a44ec0b4c1412d0eb936233579f0990faa5d5cd" +dependencies = [ + "bitflags", + "byteorder", + "chrono", + "flate2", + "hex", + "lazy_static", + "libc", +] + +[[package]] name = "quote" version = "1.0.7" source = "registry+https://github.com/rust-lang/crates.io-index" |