From dbe372e127198810792cf6f93649e1b1fc0d02c1 Mon Sep 17 00:00:00 2001 From: yoloyyh <1764163852@qq.com> Date: Wed, 10 Jan 2024 17:43:31 +0800 Subject: [PATCH] fix procfs compile error --- rasp/librasp/Cargo.toml | 2 +- rasp/plugin/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rasp/librasp/Cargo.toml b/rasp/librasp/Cargo.toml index a20cb52c5..958f0544b 100644 --- a/rasp/librasp/Cargo.toml +++ b/rasp/librasp/Cargo.toml @@ -8,7 +8,7 @@ version = "1.0.1" log = "0.4.0" env_logger = "0.7.1" crossbeam = "0.8.0" -procfs = { git = "https://github.com/AlkenePan/procfs.git" } +procfs = { git = "https://github.com/yoloyyh/procfs.git", tag = "v1.0"} fs_extra = "1.2.0" clap = "2.33.3" serde = {version = "1.0", features = ["derive"]} diff --git a/rasp/plugin/Cargo.toml b/rasp/plugin/Cargo.toml index b20d72db1..99296f90d 100644 --- a/rasp/plugin/Cargo.toml +++ b/rasp/plugin/Cargo.toml @@ -20,7 +20,7 @@ serde_json = "1.0.59" #signal-hook = "0.3.9" fs_extra = "1.2.0" # process -procfs = { git = "https://github.com/AlkenePan/procfs.git" } +procfs = { git = "https://github.com/yoloyyh/procfs.git", tag = "v1.0"} # static config config = "0.11" lazy_static = "1.4.0"