Merge pull request #3355 from lifupan/main

move the oci and protocols crates from agent to upper libs
This commit is contained in:
Bin Liu 2022-01-05 20:19:59 +08:00 committed by GitHub
commit 59ec112337
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
19 changed files with 6 additions and 10 deletions

2
src/agent/Cargo.lock generated
View File

@ -1104,8 +1104,6 @@ version = "0.1.0"
dependencies = [ dependencies = [
"async-trait", "async-trait",
"protobuf", "protobuf",
"serde",
"serde_json",
"ttrpc", "ttrpc",
"ttrpc-codegen", "ttrpc-codegen",
] ]

View File

@ -5,9 +5,9 @@ authors = ["The Kata Containers community <kata-dev@lists.katacontainers.io>"]
edition = "2018" edition = "2018"
[dependencies] [dependencies]
oci = { path = "oci" } oci = { path = "../libs/oci" }
rustjail = { path = "rustjail" } rustjail = { path = "rustjail" }
protocols = { path = "protocols" } protocols = { path = "../libs/protocols" }
lazy_static = "1.3.0" lazy_static = "1.3.0"
ttrpc = { version = "0.5.0", features = ["async", "protobuf-codec"], default-features = false } ttrpc = { version = "0.5.0", features = ["async", "protobuf-codec"], default-features = false }
protobuf = "=2.14.0" protobuf = "=2.14.0"
@ -66,8 +66,6 @@ tempfile = "3.1.0"
[workspace] [workspace]
members = [ members = [
"oci",
"protocols",
"rustjail", "rustjail",
] ]

View File

@ -8,8 +8,8 @@ edition = "2018"
serde = "1.0.91" serde = "1.0.91"
serde_json = "1.0.39" serde_json = "1.0.39"
serde_derive = "1.0.91" serde_derive = "1.0.91"
oci = { path = "../oci" } oci = { path = "../../libs/oci" }
protocols = { path ="../protocols" } protocols = { path ="../../libs/protocols" }
caps = "0.5.0" caps = "0.5.0"
nix = "0.23.0" nix = "0.23.0"
scopeguard = "1.0.0" scopeguard = "1.0.0"

View File

@ -10,9 +10,9 @@ authors = ["The Kata Containers community <kata-dev@lists.katacontainers.io>"]
edition = "2018" edition = "2018"
[dependencies] [dependencies]
protocols = { path = "../../agent/protocols", features = ["with-serde"] } protocols = { path = "../../libs/protocols", features = ["with-serde"] }
rustjail = { path = "../../agent/rustjail" } rustjail = { path = "../../agent/rustjail" }
oci = { path = "../../agent/oci" } oci = { path = "../../libs/oci" }
clap = "2.33.0" clap = "2.33.0"
lazy_static = "1.4.0" lazy_static = "1.4.0"