runtime-rs: change safe-path dependency from crates.io to workspace

`safe-path` is resolved from the local workspace in all other workspace
member crates. This commit changes the dependency to a local one for
runtime-rs as well.

Signed-off-by: Charlotte Hartmann Paludo <git@charlotteharludo.com>
Co-authored-by: Markus Rudy <mr@edgeless.systems>
This commit is contained in:
Charlotte Hartmann Paludo
2026-06-17 10:37:57 +02:00
parent 0ddb2ee1f1
commit b4be5fdcca
2 changed files with 7 additions and 16 deletions

21
Cargo.lock generated
View File

@@ -2946,7 +2946,7 @@ dependencies = [
"rand 0.10.1",
"regex",
"rust-ini",
"safe-path 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
"safe-path",
"seccompiler",
"serde",
"serde_json",
@@ -3504,7 +3504,7 @@ dependencies = [
"runtime-spec",
"rustjail",
"s390_pv_core",
"safe-path 0.1.0",
"safe-path",
"scan_fmt",
"scopeguard",
"serde",
@@ -3552,7 +3552,7 @@ dependencies = [
"protobuf",
"protocols",
"rand 0.10.1",
"safe-path 0.1.0",
"safe-path",
"serde",
"serde_json",
"slog",
@@ -3731,7 +3731,7 @@ dependencies = [
"oci-spec 0.8.4",
"regex",
"rstest 0.18.2",
"safe-path 0.1.0",
"safe-path",
"scopeguard",
"serde",
"serde-enum-str",
@@ -5180,7 +5180,7 @@ dependencies = [
"async-trait",
"kata-sys-util",
"kata-types",
"safe-path 0.1.0",
"safe-path",
"serde",
"serde_json",
]
@@ -6699,7 +6699,7 @@ dependencies = [
"regex",
"rlimit 0.5.4",
"runtime-spec",
"safe-path 0.1.0",
"safe-path",
"scan_fmt",
"scopeguard",
"serde",
@@ -6826,15 +6826,6 @@ dependencies = [
"tempfile",
]
[[package]]
name = "safe-path"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "980abdd3220aa19b67ca3ea07b173ca36383f18ae48cde696d90c8af39447ffb"
dependencies = [
"libc",
]
[[package]]
name = "same-file"
version = "1.0.6"

View File

@@ -29,7 +29,6 @@ lazy_static = { workspace = true }
tracing = { workspace = true }
ttrpc = { workspace = true, features = ["async"] }
futures = "0.3.25"
safe-path = "0.1.0"
crossbeam-channel = "0.5.6"
qapi = { version = "0.15", features = ["qmp", "async-tokio-all"] }
qapi-spec = "0.3.2"
@@ -44,6 +43,7 @@ logging = { workspace = true }
protocols = { workspace = true, features = ["async"] }
persist = { workspace = true }
ch-config = { workspace = true, optional = true }
safe-path = { workspace = true }
tests_utils = { workspace = true }
# Dependencies that only exist to support hypervisors which upstream only