dev: Disable procfs default features

This commit is contained in:
Arne Beer 2022-11-21 15:06:29 +01:00
parent cc64191d40
commit bf8f213bb1
No known key found for this signature in database
GPG key ID: CC9408F679023B65
2 changed files with 1 additions and 22 deletions

21
Cargo.lock generated
View file

@ -355,15 +355,6 @@ dependencies = [
"libc",
]
[[package]]
name = "crc32fast"
version = "1.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b540bd8bc810d3885c6ea91e2018302f68baba2129ab3e88f32389ee9370880d"
dependencies = [
"cfg-if",
]
[[package]]
name = "crossbeam-channel"
version = "0.5.6"
@ -600,16 +591,6 @@ dependencies = [
"instant",
]
[[package]]
name = "flate2"
version = "1.0.24"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f82b0f4c27ad9f8bfd1f3208d882da2b09c301bc1c828fd3a00d0216d2fbbff6"
dependencies = [
"crc32fast",
"miniz_oxide",
]
[[package]]
name = "fuchsia-cprng"
version = "0.1.1"
@ -1277,8 +1258,6 @@ checksum = "2dfb6451c91904606a1abe93e83a8ec851f45827fa84273f256ade45dc095818"
dependencies = [
"bitflags",
"byteorder",
"chrono",
"flate2",
"hex",
"lazy_static",
"rustix",

View file

@ -66,7 +66,7 @@ whoami = "1"
# Linux only
[target.'cfg(target_os = "linux")'.dependencies]
procfs = "0.14.1"
procfs = { version = "0.14.1", default-features = false }
# Apple only
[target.'cfg(target_vendor = "apple")'.dependencies]