Replace the procfs by libproc

This commit is contained in:
Clément Renault
2024-02-06 18:12:04 +01:00
committed by Louis Dureuil
parent d78ada07b5
commit 02dcaf07db
6 changed files with 100 additions and 90 deletions

View File

@ -19,5 +19,5 @@ byte-unit = { version = "4.0.19", default-features = false, features = [
] }
tokio = { version = "1.35.1", features = ["sync"] }
[target.'cfg(target_os = "linux")'.dependencies]
procfs = { version = "0.16.0", default-features = false }
[target.'cfg(any(target_os = "linux", target_os = "macos"))'.dependencies]
libproc = "0.14.2"