diff options
author | Justin Martin <jaming@protonmail.com> | 2022-08-22 02:47:22 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-22 02:47:22 -0400 |
commit | 6e0bc960939d4c74343f83500cba2acbdac441c9 (patch) | |
tree | 66e3bd1f4c06f6d5b9aebd6a1e6b7281be05277e /Cargo.lock | |
parent | 11657aa0abfeca5de17cbfe7c349fcf12e1d189e (diff) |
feature: Add zfs feature flag for arc memory (#784)
* freebsd clippy
* add arc support
* Code Review: moved runtime cfg checks to compile time and formatting
* remove compile platform checks
* add zfs feature flag to get_arc_data
Diffstat (limited to 'Cargo.lock')
-rw-r--r-- | Cargo.lock | 34 |
1 files changed, 34 insertions, 0 deletions
@@ -236,6 +236,7 @@ dependencies = [ "serde_json", "smol", "starship-battery", + "sysctl", "sysinfo", "thiserror", "time", @@ -1359,6 +1360,15 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f3f6f92acf49d1b98f7a81226834412ada05458b7364277387724a237f062695" [[package]] +name = "same-file" +version = "1.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" +dependencies = [ + "winapi-util", +] + +[[package]] name = "scopeguard" version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -1512,6 +1522,19 @@ dependencies = [ ] [[package]] +name = "sysctl" +version = "0.4.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "225e483f02d0ad107168dc57381a8a40c3aeea6abe47f37506931f861643cfa8" +dependencies = [ + "bitflags", + "byteorder", + "libc", + "thiserror", + "walkdir", +] + +[[package]] name = "sysinfo" version = "0.23.10" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -1682,6 +1705,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9d5b2c62b4012a3e1eca5a7e077d13b3bf498c4073e33ccd58626607748ceeca" [[package]] +name = "walkdir" +version = "2.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "808cf2735cd4b6866113f648b791c6adc5714537bc222d9347bb203386ffda56" +dependencies = [ + "same-file", + "winapi", + "winapi-util", +] + +[[package]] name = "wasi" version = "0.10.2+wasi-snapshot-preview1" source = "registry+https://github.com/rust-lang/crates.io-index" |