mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-05-02 05:34:46 +00:00
agent: move the dependency tempfile to the dev-dependencies section
The tempfile is only used by tests. Fixes: #1827 Signed-off-by: Tim Zhang <tim@hyper.sh>
This commit is contained in:
parent
70e1d44262
commit
ce7a5ba22e
@ -40,13 +40,14 @@ slog-scope = "4.1.2"
|
|||||||
slog-stdlog = "4.0.0"
|
slog-stdlog = "4.0.0"
|
||||||
log = "0.4.11"
|
log = "0.4.11"
|
||||||
|
|
||||||
# for testing
|
|
||||||
tempfile = "3.1.0"
|
|
||||||
prometheus = { version = "0.9.0", features = ["process"] }
|
prometheus = { version = "0.9.0", features = ["process"] }
|
||||||
procfs = "0.7.9"
|
procfs = "0.7.9"
|
||||||
anyhow = "1.0.32"
|
anyhow = "1.0.32"
|
||||||
cgroups = { package = "cgroups-rs", version = "0.2.5" }
|
cgroups = { package = "cgroups-rs", version = "0.2.5" }
|
||||||
|
|
||||||
|
[dev-dependencies]
|
||||||
|
tempfile = "3.1.0"
|
||||||
|
|
||||||
[workspace]
|
[workspace]
|
||||||
members = [
|
members = [
|
||||||
"oci",
|
"oci",
|
||||||
|
@ -24,7 +24,6 @@ regex = "1.1"
|
|||||||
path-absolutize = "1.2.0"
|
path-absolutize = "1.2.0"
|
||||||
anyhow = "1.0.32"
|
anyhow = "1.0.32"
|
||||||
cgroups = { package = "cgroups-rs", version = "0.2.5" }
|
cgroups = { package = "cgroups-rs", version = "0.2.5" }
|
||||||
tempfile = "3.1.0"
|
|
||||||
rlimit = "0.5.3"
|
rlimit = "0.5.3"
|
||||||
|
|
||||||
tokio = { version = "1.2.0", features = ["sync", "io-util", "process", "time", "macros"] }
|
tokio = { version = "1.2.0", features = ["sync", "io-util", "process", "time", "macros"] }
|
||||||
@ -34,3 +33,4 @@ inotify = "0.9.2"
|
|||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
serial_test = "0.5.0"
|
serial_test = "0.5.0"
|
||||||
|
tempfile = "3.1.0"
|
||||||
|
Loading…
Reference in New Issue
Block a user