agent-ctl: fix the compile error

When the version of libc is upgraded to 0.2.145, older getrandom could not adapt
to new API, and this will make agent-ctl fail to compile.

We upgrade the version of `rand`, so the low version of getrandom will no longer
need.

Fixes: #7032

Signed-off-by: Yushuo <y-shuo@linux.alibaba.com>
This commit is contained in:
Yushuo
2023-06-05 21:03:20 +08:00
parent 465f5a5ced
commit 410bc18143
7 changed files with 549 additions and 639 deletions

View File

@@ -764,7 +764,6 @@ dependencies = [
"lazy_static",
"num_cpus",
"oci",
"proc-mounts",
"regex",
"safe-path",
"serde",
@@ -1047,15 +1046,6 @@ dependencies = [
"winapi",
]
[[package]]
name = "partition-identity"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9fa925f9becb532d758b0014b472c576869910929cf4c3f8054b386f19ab9e21"
dependencies = [
"thiserror",
]
[[package]]
name = "percent-encoding"
version = "2.2.0"
@@ -1129,15 +1119,6 @@ dependencies = [
"unicode-ident",
]
[[package]]
name = "proc-mounts"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0d652f8435d0ab70bf4f3590a6a851d59604831a458086541b95238cc51ffcf2"
dependencies = [
"partition-identity",
]
[[package]]
name = "prost"
version = "0.8.0"