mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-28 03:42:09 +00:00
Merge pull request #11106 from stevenhorsman/rust-workspace-settings
agent: Inherit rust workspace settings
This commit is contained in:
commit
ad68cb9afa
107
src/agent/Cargo.lock
generated
107
src/agent/Cargo.lock
generated
@ -33,7 +33,7 @@ version = "0.8.4"
|
|||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "b169f7a6d4742236a0a00c541b845991d0ac43e546831af1249753ab4c3aa3a0"
|
checksum = "b169f7a6d4742236a0a00c541b845991d0ac43e546831af1249753ab4c3aa3a0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"cfg-if 1.0.0",
|
"cfg-if",
|
||||||
"cipher",
|
"cipher",
|
||||||
"cpufeatures",
|
"cpufeatures",
|
||||||
"zeroize",
|
"zeroize",
|
||||||
@ -79,7 +79,7 @@ version = "0.8.11"
|
|||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "e89da841a80418a9b391ebaea17f5c112ffaaa96f621d2c285b5174da76b9011"
|
checksum = "e89da841a80418a9b391ebaea17f5c112ffaaa96f621d2c285b5174da76b9011"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"cfg-if 1.0.0",
|
"cfg-if",
|
||||||
"getrandom 0.2.15",
|
"getrandom 0.2.15",
|
||||||
"once_cell",
|
"once_cell",
|
||||||
"serde",
|
"serde",
|
||||||
@ -325,7 +325,7 @@ checksum = "0fc5b45d93ef0529756f812ca52e44c221b35341892d3dcc34132ac02f3dd2af"
|
|||||||
dependencies = [
|
dependencies = [
|
||||||
"async-lock 2.8.0",
|
"async-lock 2.8.0",
|
||||||
"autocfg",
|
"autocfg",
|
||||||
"cfg-if 1.0.0",
|
"cfg-if",
|
||||||
"concurrent-queue",
|
"concurrent-queue",
|
||||||
"futures-lite 1.13.0",
|
"futures-lite 1.13.0",
|
||||||
"log",
|
"log",
|
||||||
@ -344,7 +344,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|||||||
checksum = "43a2b323ccce0a1d90b449fd71f2a06ca7faa7c54c2751f06c9bd851fc061059"
|
checksum = "43a2b323ccce0a1d90b449fd71f2a06ca7faa7c54c2751f06c9bd851fc061059"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"async-lock 3.4.0",
|
"async-lock 3.4.0",
|
||||||
"cfg-if 1.0.0",
|
"cfg-if",
|
||||||
"concurrent-queue",
|
"concurrent-queue",
|
||||||
"futures-io",
|
"futures-io",
|
||||||
"futures-lite 2.6.0",
|
"futures-lite 2.6.0",
|
||||||
@ -386,7 +386,7 @@ dependencies = [
|
|||||||
"async-lock 2.8.0",
|
"async-lock 2.8.0",
|
||||||
"async-signal",
|
"async-signal",
|
||||||
"blocking",
|
"blocking",
|
||||||
"cfg-if 1.0.0",
|
"cfg-if",
|
||||||
"event-listener 3.1.0",
|
"event-listener 3.1.0",
|
||||||
"futures-lite 1.13.0",
|
"futures-lite 1.13.0",
|
||||||
"rustix 0.38.44",
|
"rustix 0.38.44",
|
||||||
@ -424,7 +424,7 @@ dependencies = [
|
|||||||
"async-io 2.4.0",
|
"async-io 2.4.0",
|
||||||
"async-lock 3.4.0",
|
"async-lock 3.4.0",
|
||||||
"atomic-waker",
|
"atomic-waker",
|
||||||
"cfg-if 1.0.0",
|
"cfg-if",
|
||||||
"futures-core",
|
"futures-core",
|
||||||
"futures-io",
|
"futures-io",
|
||||||
"rustix 0.38.44",
|
"rustix 0.38.44",
|
||||||
@ -468,9 +468,9 @@ checksum = "8b75356056920673b02621b35afd0f7dda9306d03c79a30f5c56c44cf256e3de"
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "async-trait"
|
name = "async-trait"
|
||||||
version = "0.1.87"
|
version = "0.1.88"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "d556ec1359574147ec0c4fc5eb525f3f23263a592b1a9c07e0a75b427de55c97"
|
checksum = "e539d3fca749fcee5236ab05e93a52867dd549cc157c8cb7f99595f3cedffdb5"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"proc-macro2",
|
"proc-macro2",
|
||||||
"quote",
|
"quote",
|
||||||
@ -491,7 +491,7 @@ dependencies = [
|
|||||||
"anyhow",
|
"anyhow",
|
||||||
"async-trait",
|
"async-trait",
|
||||||
"base64 0.22.1",
|
"base64 0.22.1",
|
||||||
"cfg-if 1.0.0",
|
"cfg-if",
|
||||||
"hex",
|
"hex",
|
||||||
"kbs-types",
|
"kbs-types",
|
||||||
"log",
|
"log",
|
||||||
@ -533,7 +533,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|||||||
checksum = "8d82cb332cdfaed17ae235a638438ac4d4839913cc2af585c3c6746e8f8bee1a"
|
checksum = "8d82cb332cdfaed17ae235a638438ac4d4839913cc2af585c3c6746e8f8bee1a"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"addr2line",
|
"addr2line",
|
||||||
"cfg-if 1.0.0",
|
"cfg-if",
|
||||||
"libc",
|
"libc",
|
||||||
"miniz_oxide",
|
"miniz_oxide",
|
||||||
"object",
|
"object",
|
||||||
@ -854,7 +854,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|||||||
checksum = "4a6e71767585f51c2a33fed6d67147ec0343725fc3c03bf4b89fe67fede56aa5"
|
checksum = "4a6e71767585f51c2a33fed6d67147ec0343725fc3c03bf4b89fe67fede56aa5"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bitflags 1.3.2",
|
"bitflags 1.3.2",
|
||||||
"cfg-if 1.0.0",
|
"cfg-if",
|
||||||
"libc",
|
"libc",
|
||||||
]
|
]
|
||||||
|
|
||||||
@ -945,12 +945,6 @@ dependencies = [
|
|||||||
"cipher",
|
"cipher",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "cfg-if"
|
|
||||||
version = "0.1.10"
|
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
||||||
checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822"
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "cfg-if"
|
name = "cfg-if"
|
||||||
version = "1.0.0"
|
version = "1.0.0"
|
||||||
@ -1246,7 +1240,7 @@ version = "1.4.2"
|
|||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "a97769d94ddab943e4510d138150169a2758b5ef3eb191a9ee688de3e23ef7b3"
|
checksum = "a97769d94ddab943e4510d138150169a2758b5ef3eb191a9ee688de3e23ef7b3"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"cfg-if 1.0.0",
|
"cfg-if",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
@ -1393,7 +1387,7 @@ version = "4.1.3"
|
|||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "97fb8b7c4503de7d6ae7b42ab72a5a59857b4c937ec27a3d4539dba95b5ab2be"
|
checksum = "97fb8b7c4503de7d6ae7b42ab72a5a59857b4c937ec27a3d4539dba95b5ab2be"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"cfg-if 1.0.0",
|
"cfg-if",
|
||||||
"cpufeatures",
|
"cpufeatures",
|
||||||
"curve25519-dalek-derive",
|
"curve25519-dalek-derive",
|
||||||
"digest",
|
"digest",
|
||||||
@ -1646,7 +1640,7 @@ version = "2.0.0"
|
|||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "b98cf8ebf19c3d1b223e151f99a4f9f0690dca41414773390fc824184ac833e1"
|
checksum = "b98cf8ebf19c3d1b223e151f99a4f9f0690dca41414773390fc824184ac833e1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"cfg-if 1.0.0",
|
"cfg-if",
|
||||||
"dirs-sys-next",
|
"dirs-sys-next",
|
||||||
]
|
]
|
||||||
|
|
||||||
@ -1965,7 +1959,7 @@ version = "0.2.25"
|
|||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "35c0522e981e68cbfa8c3f978441a5f34b30b96e146b33cd3359176b50fe8586"
|
checksum = "35c0522e981e68cbfa8c3f978441a5f34b30b96e146b33cd3359176b50fe8586"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"cfg-if 1.0.0",
|
"cfg-if",
|
||||||
"libc",
|
"libc",
|
||||||
"libredox",
|
"libredox",
|
||||||
"windows-sys 0.59.0",
|
"windows-sys 0.59.0",
|
||||||
@ -2188,7 +2182,7 @@ version = "0.2.15"
|
|||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7"
|
checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"cfg-if 1.0.0",
|
"cfg-if",
|
||||||
"js-sys",
|
"js-sys",
|
||||||
"libc",
|
"libc",
|
||||||
"wasi 0.11.0+wasi-snapshot-preview1",
|
"wasi 0.11.0+wasi-snapshot-preview1",
|
||||||
@ -2201,7 +2195,7 @@ version = "0.3.1"
|
|||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "43a49c392881ce6d5c3b8cb70f98717b7c07aabbdff06687b9030dbfbe2725f8"
|
checksum = "43a49c392881ce6d5c3b8cb70f98717b7c07aabbdff06687b9030dbfbe2725f8"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"cfg-if 1.0.0",
|
"cfg-if",
|
||||||
"libc",
|
"libc",
|
||||||
"wasi 0.13.3+wasi-0.2.2",
|
"wasi 0.13.3+wasi-0.2.2",
|
||||||
"windows-targets 0.52.6",
|
"windows-targets 0.52.6",
|
||||||
@ -2677,7 +2671,7 @@ dependencies = [
|
|||||||
"async-compression",
|
"async-compression",
|
||||||
"async-trait",
|
"async-trait",
|
||||||
"base64 0.22.1",
|
"base64 0.22.1",
|
||||||
"cfg-if 1.0.0",
|
"cfg-if",
|
||||||
"filetime",
|
"filetime",
|
||||||
"flate2",
|
"flate2",
|
||||||
"futures",
|
"futures",
|
||||||
@ -2768,7 +2762,7 @@ version = "0.1.13"
|
|||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "e0242819d153cba4b4b05a5a8f2a7e9bbf97b6055b2a002b395c96b5ff3c0222"
|
checksum = "e0242819d153cba4b4b05a5a8f2a7e9bbf97b6055b2a002b395c96b5ff3c0222"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"cfg-if 1.0.0",
|
"cfg-if",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
@ -2863,7 +2857,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|||||||
checksum = "1a87aa2bb7d2af34197c04845522473242e1aa17c12f4935d5856491a7fb8c97"
|
checksum = "1a87aa2bb7d2af34197c04845522473242e1aa17c12f4935d5856491a7fb8c97"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"cesu8",
|
"cesu8",
|
||||||
"cfg-if 1.0.0",
|
"cfg-if",
|
||||||
"combine",
|
"combine",
|
||||||
"jni-sys",
|
"jni-sys",
|
||||||
"log",
|
"log",
|
||||||
@ -3028,7 +3022,7 @@ version = "0.13.4"
|
|||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "f6e3919bbaa2945715f0bb6d3934a173d1e9a59ac23767fbaaef277265a7411b"
|
checksum = "f6e3919bbaa2945715f0bb6d3934a173d1e9a59ac23767fbaaef277265a7411b"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"cfg-if 1.0.0",
|
"cfg-if",
|
||||||
"ecdsa",
|
"ecdsa",
|
||||||
"elliptic-curve",
|
"elliptic-curve",
|
||||||
"once_cell",
|
"once_cell",
|
||||||
@ -3046,7 +3040,7 @@ dependencies = [
|
|||||||
"async-trait",
|
"async-trait",
|
||||||
"capctl",
|
"capctl",
|
||||||
"cdi",
|
"cdi",
|
||||||
"cfg-if 1.0.0",
|
"cfg-if",
|
||||||
"cgroups-rs",
|
"cgroups-rs",
|
||||||
"clap 3.2.25",
|
"clap 3.2.25",
|
||||||
"const_format",
|
"const_format",
|
||||||
@ -3376,9 +3370,9 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "libc"
|
name = "libc"
|
||||||
version = "0.2.170"
|
version = "0.2.171"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "875b3680cb2f8f71bdcf9a30f38d48282f5d3c95cbf9b3fa57269bb5d5c06828"
|
checksum = "c19937216e9d3aa9956d9bb8dfc0b0c8beb6058fc4f7a4dc4d850edf86a237d6"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "libloading"
|
name = "libloading"
|
||||||
@ -3386,7 +3380,7 @@ version = "0.8.6"
|
|||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "fc2f4eb4bc735547cfed7c0a4922cbd04a4655978c09b54f1f7b228750664c34"
|
checksum = "fc2f4eb4bc735547cfed7c0a4922cbd04a4655978c09b54f1f7b228750664c34"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"cfg-if 1.0.0",
|
"cfg-if",
|
||||||
"windows-targets 0.52.6",
|
"windows-targets 0.52.6",
|
||||||
]
|
]
|
||||||
|
|
||||||
@ -3531,7 +3525,7 @@ version = "0.10.6"
|
|||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "d89e7ee0cfbedfc4da3340218492196241d89eefb6dab27de5df917a6d2e78cf"
|
checksum = "d89e7ee0cfbedfc4da3340218492196241d89eefb6dab27de5df917a6d2e78cf"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"cfg-if 1.0.0",
|
"cfg-if",
|
||||||
"digest",
|
"digest",
|
||||||
]
|
]
|
||||||
|
|
||||||
@ -3735,7 +3729,7 @@ checksum = "8f3790c00a0150112de0f4cd161e3d7fc4b2d8a5542ffc35f099a2562aecb35c"
|
|||||||
dependencies = [
|
dependencies = [
|
||||||
"bitflags 1.3.2",
|
"bitflags 1.3.2",
|
||||||
"cc",
|
"cc",
|
||||||
"cfg-if 1.0.0",
|
"cfg-if",
|
||||||
"libc",
|
"libc",
|
||||||
"memoffset 0.6.5",
|
"memoffset 0.6.5",
|
||||||
]
|
]
|
||||||
@ -3747,7 +3741,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|||||||
checksum = "fa52e972a9a719cecb6864fb88568781eb706bac2cd1d4f04a648542dbf78069"
|
checksum = "fa52e972a9a719cecb6864fb88568781eb706bac2cd1d4f04a648542dbf78069"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bitflags 1.3.2",
|
"bitflags 1.3.2",
|
||||||
"cfg-if 1.0.0",
|
"cfg-if",
|
||||||
"libc",
|
"libc",
|
||||||
"memoffset 0.6.5",
|
"memoffset 0.6.5",
|
||||||
]
|
]
|
||||||
@ -3760,7 +3754,7 @@ checksum = "f346ff70e7dbfd675fe90590b92d59ef2de15a8779ae305ebcbfd3f0caf59be4"
|
|||||||
dependencies = [
|
dependencies = [
|
||||||
"autocfg",
|
"autocfg",
|
||||||
"bitflags 1.3.2",
|
"bitflags 1.3.2",
|
||||||
"cfg-if 1.0.0",
|
"cfg-if",
|
||||||
"libc",
|
"libc",
|
||||||
]
|
]
|
||||||
|
|
||||||
@ -3771,7 +3765,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|||||||
checksum = "598beaf3cc6fdd9a5dfb1630c2800c7acd31df7aaf0f565796fba2b53ca1af1b"
|
checksum = "598beaf3cc6fdd9a5dfb1630c2800c7acd31df7aaf0f565796fba2b53ca1af1b"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bitflags 1.3.2",
|
"bitflags 1.3.2",
|
||||||
"cfg-if 1.0.0",
|
"cfg-if",
|
||||||
"libc",
|
"libc",
|
||||||
"memoffset 0.7.1",
|
"memoffset 0.7.1",
|
||||||
"pin-utils",
|
"pin-utils",
|
||||||
@ -3784,7 +3778,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|||||||
checksum = "2eb04e9c688eff1c89d72b407f168cf79bb9e867a9d3323ed6c01519eb9cc053"
|
checksum = "2eb04e9c688eff1c89d72b407f168cf79bb9e867a9d3323ed6c01519eb9cc053"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bitflags 2.9.0",
|
"bitflags 2.9.0",
|
||||||
"cfg-if 1.0.0",
|
"cfg-if",
|
||||||
"libc",
|
"libc",
|
||||||
]
|
]
|
||||||
|
|
||||||
@ -3795,7 +3789,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|||||||
checksum = "71e2746dc3a24dd78b3cfcb7be93368c6de9963d30f43a6a73998a9cf4b17b46"
|
checksum = "71e2746dc3a24dd78b3cfcb7be93368c6de9963d30f43a6a73998a9cf4b17b46"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bitflags 2.9.0",
|
"bitflags 2.9.0",
|
||||||
"cfg-if 1.0.0",
|
"cfg-if",
|
||||||
"cfg_aliases",
|
"cfg_aliases",
|
||||||
"libc",
|
"libc",
|
||||||
]
|
]
|
||||||
@ -4063,7 +4057,7 @@ dependencies = [
|
|||||||
"async-trait",
|
"async-trait",
|
||||||
"base64 0.22.1",
|
"base64 0.22.1",
|
||||||
"base64-serde",
|
"base64-serde",
|
||||||
"cfg-if 1.0.0",
|
"cfg-if",
|
||||||
"ctr",
|
"ctr",
|
||||||
"hmac",
|
"hmac",
|
||||||
"kbc",
|
"kbc",
|
||||||
@ -4223,7 +4217,7 @@ version = "0.8.6"
|
|||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "60a2cfe6f0ad2bfc16aefa463b497d5c7a5ecd44a23efa72aa342d90177356dc"
|
checksum = "60a2cfe6f0ad2bfc16aefa463b497d5c7a5ecd44a23efa72aa342d90177356dc"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"cfg-if 1.0.0",
|
"cfg-if",
|
||||||
"instant",
|
"instant",
|
||||||
"libc",
|
"libc",
|
||||||
"redox_syscall 0.2.16",
|
"redox_syscall 0.2.16",
|
||||||
@ -4237,7 +4231,7 @@ version = "0.9.10"
|
|||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8"
|
checksum = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"cfg-if 1.0.0",
|
"cfg-if",
|
||||||
"libc",
|
"libc",
|
||||||
"redox_syscall 0.5.10",
|
"redox_syscall 0.5.10",
|
||||||
"smallvec",
|
"smallvec",
|
||||||
@ -4451,7 +4445,7 @@ checksum = "4b2d323e8ca7996b3e23126511a523f7e62924d93ecd5ae73b333815b0eb3dce"
|
|||||||
dependencies = [
|
dependencies = [
|
||||||
"autocfg",
|
"autocfg",
|
||||||
"bitflags 1.3.2",
|
"bitflags 1.3.2",
|
||||||
"cfg-if 1.0.0",
|
"cfg-if",
|
||||||
"concurrent-queue",
|
"concurrent-queue",
|
||||||
"libc",
|
"libc",
|
||||||
"log",
|
"log",
|
||||||
@ -4465,7 +4459,7 @@ version = "3.7.4"
|
|||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "a604568c3202727d1507653cb121dbd627a58684eb09a820fd746bee38b4442f"
|
checksum = "a604568c3202727d1507653cb121dbd627a58684eb09a820fd746bee38b4442f"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"cfg-if 1.0.0",
|
"cfg-if",
|
||||||
"concurrent-queue",
|
"concurrent-queue",
|
||||||
"hermit-abi 0.4.0",
|
"hermit-abi 0.4.0",
|
||||||
"pin-project-lite",
|
"pin-project-lite",
|
||||||
@ -4491,7 +4485,7 @@ version = "0.6.2"
|
|||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "9d1fe60d06143b2430aa532c94cfe9e29783047f06c0d7fd359a9a51b729fa25"
|
checksum = "9d1fe60d06143b2430aa532c94cfe9e29783047f06c0d7fd359a9a51b729fa25"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"cfg-if 1.0.0",
|
"cfg-if",
|
||||||
"cpufeatures",
|
"cpufeatures",
|
||||||
"opaque-debug",
|
"opaque-debug",
|
||||||
"universal-hash",
|
"universal-hash",
|
||||||
@ -4651,7 +4645,7 @@ version = "0.13.4"
|
|||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "3d33c28a30771f7f96db69893f78b857f7450d7e0237e9c8fc6427a81bae7ed1"
|
checksum = "3d33c28a30771f7f96db69893f78b857f7450d7e0237e9c8fc6427a81bae7ed1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"cfg-if 1.0.0",
|
"cfg-if",
|
||||||
"fnv",
|
"fnv",
|
||||||
"lazy_static",
|
"lazy_static",
|
||||||
"libc",
|
"libc",
|
||||||
@ -5155,7 +5149,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|||||||
checksum = "70ac5d832aa16abd7d1def883a8545280c20a60f523a370aa3a9617c2b8550ee"
|
checksum = "70ac5d832aa16abd7d1def883a8545280c20a60f523a370aa3a9617c2b8550ee"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"cc",
|
"cc",
|
||||||
"cfg-if 1.0.0",
|
"cfg-if",
|
||||||
"getrandom 0.2.15",
|
"getrandom 0.2.15",
|
||||||
"libc",
|
"libc",
|
||||||
"untrusted",
|
"untrusted",
|
||||||
@ -5248,7 +5242,7 @@ version = "0.18.2"
|
|||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "d428f8247852f894ee1be110b375111b586d4fa431f6c46e64ba5a0dcccbe605"
|
checksum = "d428f8247852f894ee1be110b375111b586d4fa431f6c46e64ba5a0dcccbe605"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"cfg-if 1.0.0",
|
"cfg-if",
|
||||||
"glob",
|
"glob",
|
||||||
"proc-macro2",
|
"proc-macro2",
|
||||||
"quote",
|
"quote",
|
||||||
@ -5380,7 +5374,7 @@ dependencies = [
|
|||||||
"bit-vec",
|
"bit-vec",
|
||||||
"capctl",
|
"capctl",
|
||||||
"caps",
|
"caps",
|
||||||
"cfg-if 0.1.10",
|
"cfg-if",
|
||||||
"cgroups-rs",
|
"cgroups-rs",
|
||||||
"futures",
|
"futures",
|
||||||
"inotify",
|
"inotify",
|
||||||
@ -5399,7 +5393,6 @@ dependencies = [
|
|||||||
"scan_fmt",
|
"scan_fmt",
|
||||||
"scopeguard",
|
"scopeguard",
|
||||||
"serde",
|
"serde",
|
||||||
"serde_derive",
|
|
||||||
"serde_json",
|
"serde_json",
|
||||||
"serial_test",
|
"serial_test",
|
||||||
"slog",
|
"slog",
|
||||||
@ -5822,7 +5815,7 @@ version = "0.10.6"
|
|||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "e3bf829a2d51ab4a5ddf1352d8470c140cadc8301b2ae1789db023f01cedd6ba"
|
checksum = "e3bf829a2d51ab4a5ddf1352d8470c140cadc8301b2ae1789db023f01cedd6ba"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"cfg-if 1.0.0",
|
"cfg-if",
|
||||||
"cpufeatures",
|
"cpufeatures",
|
||||||
"digest",
|
"digest",
|
||||||
]
|
]
|
||||||
@ -5844,7 +5837,7 @@ version = "0.10.8"
|
|||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "793db75ad2bcafc3ffa7c68b215fee268f537982cd901d132f89c6343f3a3dc8"
|
checksum = "793db75ad2bcafc3ffa7c68b215fee268f537982cd901d132f89c6343f3a3dc8"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"cfg-if 1.0.0",
|
"cfg-if",
|
||||||
"cpufeatures",
|
"cpufeatures",
|
||||||
"digest",
|
"digest",
|
||||||
]
|
]
|
||||||
@ -5890,7 +5883,7 @@ source = "git+https://github.com/sigstore/sigstore-rs.git?rev=c39c519#c39c519dd9
|
|||||||
dependencies = [
|
dependencies = [
|
||||||
"async-trait",
|
"async-trait",
|
||||||
"base64 0.22.1",
|
"base64 0.22.1",
|
||||||
"cfg-if 1.0.0",
|
"cfg-if",
|
||||||
"chrono",
|
"chrono",
|
||||||
"const-oid",
|
"const-oid",
|
||||||
"crypto_secretbox",
|
"crypto_secretbox",
|
||||||
@ -6225,7 +6218,7 @@ version = "0.30.13"
|
|||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "0a5b4ddaee55fb2bea2bf0e5000747e5f5c0de765e5a5ff87f4cd106439f4bb3"
|
checksum = "0a5b4ddaee55fb2bea2bf0e5000747e5f5c0de765e5a5ff87f4cd106439f4bb3"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"cfg-if 1.0.0",
|
"cfg-if",
|
||||||
"core-foundation-sys",
|
"core-foundation-sys",
|
||||||
"libc",
|
"libc",
|
||||||
"ntapi",
|
"ntapi",
|
||||||
@ -6252,7 +6245,7 @@ version = "3.18.0"
|
|||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "2c317e0a526ee6120d8dabad239c8dadca62b24b6f168914bbbc8e2fb1f0e567"
|
checksum = "2c317e0a526ee6120d8dabad239c8dadca62b24b6f168914bbbc8e2fb1f0e567"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"cfg-if 1.0.0",
|
"cfg-if",
|
||||||
"fastrand 2.3.0",
|
"fastrand 2.3.0",
|
||||||
"getrandom 0.3.1",
|
"getrandom 0.3.1",
|
||||||
"once_cell",
|
"once_cell",
|
||||||
@ -6339,7 +6332,7 @@ version = "1.1.8"
|
|||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "8b9ef9bad013ada3808854ceac7b46812a6465ba368859a37e2100283d2d719c"
|
checksum = "8b9ef9bad013ada3808854ceac7b46812a6465ba368859a37e2100283d2d719c"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"cfg-if 1.0.0",
|
"cfg-if",
|
||||||
"once_cell",
|
"once_cell",
|
||||||
]
|
]
|
||||||
|
|
||||||
@ -6993,7 +6986,7 @@ version = "0.2.100"
|
|||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "1edc8929d7499fc4e8f0be2262a241556cfc54a0bea223790e71446f2aab1ef5"
|
checksum = "1edc8929d7499fc4e8f0be2262a241556cfc54a0bea223790e71446f2aab1ef5"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"cfg-if 1.0.0",
|
"cfg-if",
|
||||||
"once_cell",
|
"once_cell",
|
||||||
"rustversion",
|
"rustversion",
|
||||||
"wasm-bindgen-macro",
|
"wasm-bindgen-macro",
|
||||||
@ -7019,7 +7012,7 @@ version = "0.4.50"
|
|||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "555d470ec0bc3bb57890405e5d4322cc9ea83cebb085523ced7be4144dac1e61"
|
checksum = "555d470ec0bc3bb57890405e5d4322cc9ea83cebb085523ced7be4144dac1e61"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"cfg-if 1.0.0",
|
"cfg-if",
|
||||||
"js-sys",
|
"js-sys",
|
||||||
"once_cell",
|
"once_cell",
|
||||||
"wasm-bindgen",
|
"wasm-bindgen",
|
||||||
|
@ -1,37 +1,31 @@
|
|||||||
[package]
|
[workspace]
|
||||||
name = "kata-agent"
|
members = ["rustjail", "policy", "vsock-exporter"]
|
||||||
version = "0.1.0"
|
|
||||||
|
[workspace.package]
|
||||||
authors = ["The Kata Containers community <kata-dev@lists.katacontainers.io>"]
|
authors = ["The Kata Containers community <kata-dev@lists.katacontainers.io>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
license = "Apache-2.0"
|
license = "Apache-2.0"
|
||||||
|
rust-version = "1.80.0"
|
||||||
|
|
||||||
[dependencies]
|
[workspace.dependencies]
|
||||||
runtime-spec = { path = "../libs/runtime-spec" }
|
|
||||||
mem-agent = { path = "../mem-agent" }
|
|
||||||
oci-spec = { version = "0.6.8", features = ["runtime"] }
|
oci-spec = { version = "0.6.8", features = ["runtime"] }
|
||||||
rustjail = { path = "rustjail" }
|
|
||||||
protocols = { path = "../libs/protocols", features = ["async", "with-serde"] }
|
|
||||||
lazy_static = "1.3.0"
|
lazy_static = "1.3.0"
|
||||||
ttrpc = { version = "0.8.4", features = ["async"], default-features = false }
|
ttrpc = { version = "0.8.4", features = ["async"], default-features = false }
|
||||||
protobuf = "=3.7.1"
|
protobuf = "=3.7.1"
|
||||||
libc = "0.2.58"
|
libc = "0.2.94"
|
||||||
nix = "0.24.2"
|
nix = "0.24.2"
|
||||||
capctl = "0.2.0"
|
capctl = "0.2.0"
|
||||||
serde_json = "1.0.39"
|
scan_fmt = "0.2.6"
|
||||||
scan_fmt = "0.2.3"
|
|
||||||
scopeguard = "1.0.0"
|
scopeguard = "1.0.0"
|
||||||
thiserror = "1.0.26"
|
thiserror = "1.0.26"
|
||||||
regex = "1.10.5"
|
regex = "1.10.5"
|
||||||
serial_test = "0.5.1"
|
serial_test = "0.5.1"
|
||||||
url = "2.5.0"
|
url = "2.5.0"
|
||||||
derivative = "2.2.0"
|
derivative = "2.2.0"
|
||||||
kata-sys-util = { path = "../libs/kata-sys-util" }
|
|
||||||
kata-types = { path = "../libs/kata-types" }
|
|
||||||
safe-path = { path = "../libs/safe-path" }
|
|
||||||
const_format = "0.2.30"
|
const_format = "0.2.30"
|
||||||
|
|
||||||
# Async helpers
|
# Async helpers
|
||||||
async-trait = "0.1.42"
|
async-trait = "0.1.50"
|
||||||
async-recursion = "0.3.2"
|
async-recursion = "0.3.2"
|
||||||
futures = "0.3.30"
|
futures = "0.3.30"
|
||||||
|
|
||||||
@ -45,9 +39,7 @@ netlink-packet-route = "0.19.0"
|
|||||||
netlink-packet-core = "0.7.0"
|
netlink-packet-core = "0.7.0"
|
||||||
ipnetwork = "0.17.0"
|
ipnetwork = "0.17.0"
|
||||||
|
|
||||||
# Note: this crate sets the slog 'max_*' features which allows the log level
|
|
||||||
# to be modified at runtime.
|
|
||||||
logging = { path = "../libs/logging" }
|
|
||||||
slog = "2.5.2"
|
slog = "2.5.2"
|
||||||
slog-scope = "4.1.2"
|
slog-scope = "4.1.2"
|
||||||
slog-term = "2.9.0"
|
slog-term = "2.9.0"
|
||||||
@ -69,31 +61,134 @@ tracing = "0.1.26"
|
|||||||
tracing-subscriber = "0.2.18"
|
tracing-subscriber = "0.2.18"
|
||||||
tracing-opentelemetry = "0.13.0"
|
tracing-opentelemetry = "0.13.0"
|
||||||
opentelemetry = { version = "0.14.0", features = ["rt-tokio-current-thread"] }
|
opentelemetry = { version = "0.14.0", features = ["rt-tokio-current-thread"] }
|
||||||
vsock-exporter = { path = "vsock-exporter" }
|
|
||||||
|
|
||||||
# Configuration
|
# Configuration
|
||||||
serde = { version = "1.0.129", features = ["derive"] }
|
serde = { version = "1.0.129", features = ["derive"] }
|
||||||
|
serde_json = "1.0.39"
|
||||||
toml = "0.5.8"
|
toml = "0.5.8"
|
||||||
clap = { version = "3.0.1", features = ["derive"] }
|
clap = { version = "3.0.1", features = ["derive"] }
|
||||||
strum = "0.26.2"
|
strum = "0.26.2"
|
||||||
strum_macros = "0.26.2"
|
strum_macros = "0.26.2"
|
||||||
|
|
||||||
|
tempfile = "3.1.0"
|
||||||
|
which = "4.3.0"
|
||||||
|
rstest = "0.18.0"
|
||||||
|
async-std = { version = "1.12.0", features = ["attributes"] }
|
||||||
|
|
||||||
|
# Local dependencies
|
||||||
|
kata-agent-policy = { path = "policy" }
|
||||||
|
rustjail = { path = "rustjail" }
|
||||||
|
vsock-exporter = { path = "vsock-exporter" }
|
||||||
|
|
||||||
|
mem-agent = { path = "../mem-agent" }
|
||||||
|
|
||||||
|
kata-sys-util = { path = "../libs/kata-sys-util" }
|
||||||
|
kata-types = { path = "../libs/kata-types" }
|
||||||
|
# Note: this crate sets the slog 'max_*' features which allows the log level
|
||||||
|
# to be modified at runtime.
|
||||||
|
logging = { path = "../libs/logging" }
|
||||||
|
protocols = { path = "../libs/protocols" }
|
||||||
|
runtime-spec = { path = "../libs/runtime-spec" }
|
||||||
|
safe-path = { path = "../libs/safe-path" }
|
||||||
|
test-utils = { path = "../libs/test-utils" }
|
||||||
|
|
||||||
|
|
||||||
|
[package]
|
||||||
|
name = "kata-agent"
|
||||||
|
version = "0.1.0"
|
||||||
|
authors.workspace = true
|
||||||
|
edition.workspace = true
|
||||||
|
license.workspace = true
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
|
oci-spec.workspace = true
|
||||||
|
lazy_static.workspace = true
|
||||||
|
ttrpc.workspace = true
|
||||||
|
protobuf.workspace = true
|
||||||
|
libc.workspace = true
|
||||||
|
nix.workspace = true
|
||||||
|
capctl.workspace = true
|
||||||
|
serde_json.workspace = true
|
||||||
|
scan_fmt.workspace = true
|
||||||
|
scopeguard.workspace = true
|
||||||
|
thiserror.workspace = true
|
||||||
|
regex.workspace = true
|
||||||
|
serial_test.workspace = true
|
||||||
|
url.workspace = true
|
||||||
|
derivative.workspace = true
|
||||||
|
const_format.workspace = true
|
||||||
|
|
||||||
|
# Async helpers
|
||||||
|
async-trait.workspace = true
|
||||||
|
async-recursion.workspace = true
|
||||||
|
futures.workspace = true
|
||||||
|
|
||||||
|
# Async runtime
|
||||||
|
tokio.workspace = true
|
||||||
|
tokio-vsock.workspace = true
|
||||||
|
|
||||||
|
netlink-sys.workspace = true
|
||||||
|
rtnetlink.workspace = true
|
||||||
|
netlink-packet-route.workspace = true
|
||||||
|
netlink-packet-core.workspace = true
|
||||||
|
ipnetwork.workspace = true
|
||||||
|
|
||||||
|
slog.workspace = true
|
||||||
|
slog-scope.workspace = true
|
||||||
|
slog-term.workspace = true
|
||||||
|
|
||||||
|
# Redirect ttrpc log calls
|
||||||
|
slog-stdlog.workspace = true
|
||||||
|
log.workspace = true
|
||||||
|
|
||||||
|
cfg-if.workspace = true
|
||||||
|
prometheus.workspace = true
|
||||||
|
procfs.workspace = true
|
||||||
|
|
||||||
|
anyhow.workspace = true
|
||||||
|
|
||||||
|
cgroups.workspace = true
|
||||||
|
|
||||||
|
# Tracing
|
||||||
|
tracing.workspace = true
|
||||||
|
tracing-subscriber.workspace = true
|
||||||
|
tracing-opentelemetry.workspace = true
|
||||||
|
opentelemetry.workspace = true
|
||||||
|
|
||||||
|
# Configuration
|
||||||
|
serde.workspace = true
|
||||||
|
toml.workspace = true
|
||||||
|
clap.workspace = true
|
||||||
|
strum.workspace = true
|
||||||
|
strum_macros.workspace = true
|
||||||
|
|
||||||
# Image pull/decrypt
|
# Image pull/decrypt
|
||||||
image-rs = { git = "https://github.com/confidential-containers/guest-components", rev = "1191f8257eb65f42892ab0328cec02e58d40de84", default-features = false, optional = true }
|
image-rs = { git = "https://github.com/confidential-containers/guest-components", rev = "1191f8257eb65f42892ab0328cec02e58d40de84", default-features = false, optional = true }
|
||||||
|
|
||||||
# Agent Policy
|
# Agent Policy
|
||||||
cdi = { git = "https://github.com/cncf-tags/container-device-interface-rs", rev = "fba5677a8e7cc962fc6e495fcec98d7d765e332a" }
|
cdi = { git = "https://github.com/cncf-tags/container-device-interface-rs", rev = "fba5677a8e7cc962fc6e495fcec98d7d765e332a" }
|
||||||
kata-agent-policy = { path = "policy", optional = true }
|
|
||||||
|
# Local dependencies
|
||||||
|
kata-agent-policy = { workspace = true, optional = true }
|
||||||
|
mem-agent.workspace = true
|
||||||
|
rustjail.workspace = true
|
||||||
|
protocols = { workspace = true, features = ["async", "with-serde"] }
|
||||||
|
kata-sys-util.workspace = true
|
||||||
|
kata-types.workspace = true
|
||||||
|
runtime-spec.workspace = true
|
||||||
|
safe-path.workspace = true
|
||||||
|
# Note: this crate sets the slog 'max_*' features which allows the log level
|
||||||
|
# to be modified at runtime.
|
||||||
|
logging.workspace = true
|
||||||
|
vsock-exporter.workspace = true
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
tempfile = "3.1.0"
|
tempfile.workspace = true
|
||||||
test-utils = { path = "../libs/test-utils" }
|
which.workspace = true
|
||||||
which = "4.3.0"
|
rstest.workspace = true
|
||||||
rstest = "0.18.0"
|
async-std.workspace = true
|
||||||
async-std = { version = "1.12.0", features = ["attributes"] }
|
|
||||||
|
|
||||||
[workspace]
|
test-utils.workspace = true
|
||||||
members = ["rustjail", "policy"]
|
|
||||||
|
|
||||||
[profile.release]
|
[profile.release]
|
||||||
lto = true
|
lto = true
|
||||||
@ -103,7 +198,7 @@ lto = true
|
|||||||
default-pull = []
|
default-pull = []
|
||||||
seccomp = ["rustjail/seccomp"]
|
seccomp = ["rustjail/seccomp"]
|
||||||
standard-oci-runtime = ["rustjail/standard-oci-runtime"]
|
standard-oci-runtime = ["rustjail/standard-oci-runtime"]
|
||||||
agent-policy = [ "kata-agent-policy" ]
|
agent-policy = ["kata-agent-policy"]
|
||||||
guest-pull = ["image-rs/kata-cc-rustls-tls"]
|
guest-pull = ["image-rs/kata-cc-rustls-tls"]
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
@ -1,20 +1,19 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "kata-agent-policy"
|
name = "kata-agent-policy"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
authors = ["The Kata Containers community <kata-dev@lists.katacontainers.io>"]
|
authors.workspace = true
|
||||||
edition = "2018"
|
edition.workspace = true
|
||||||
license = "Apache-2.0"
|
license.workspace = true
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
# Async runtime
|
# Async runtime
|
||||||
tokio = { version = "1.39.0", features = ["full"] }
|
tokio.workspace = true
|
||||||
tokio-vsock = "0.3.4"
|
|
||||||
|
|
||||||
anyhow = "1"
|
anyhow.workspace = true
|
||||||
|
|
||||||
# Configuration
|
# Configuration
|
||||||
serde = { version = "1.0.129", features = ["derive"] }
|
serde.workspace = true
|
||||||
serde_json = "1.0.39"
|
serde_json.workspace = true
|
||||||
|
|
||||||
# Agent Policy
|
# Agent Policy
|
||||||
regorus = { version = "0.2.8", default-features = false, features = [
|
regorus = { version = "0.2.8", default-features = false, features = [
|
||||||
@ -27,7 +26,5 @@ json-patch = "2.0.0"
|
|||||||
|
|
||||||
# Note: this crate sets the slog 'max_*' features which allows the log level
|
# Note: this crate sets the slog 'max_*' features which allows the log level
|
||||||
# to be modified at runtime.
|
# to be modified at runtime.
|
||||||
logging = { path = "../../libs/logging" }
|
slog.workspace = true
|
||||||
slog = "2.5.2"
|
slog-scope.workspace = true
|
||||||
slog-scope = "4.1.2"
|
|
||||||
slog-term = "2.9.0"
|
|
||||||
|
@ -1,51 +1,62 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "rustjail"
|
name = "rustjail"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
authors = ["The Kata Containers community <kata-dev@lists.katacontainers.io>"]
|
authors.workspace = true
|
||||||
edition = "2018"
|
edition.workspace = true
|
||||||
license = "Apache-2.0"
|
license.workspace = true
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
awaitgroup = "0.6.0"
|
awaitgroup = "0.6.0"
|
||||||
serde = "1.0.91"
|
serde.workspace = true
|
||||||
serde_json = "1.0.39"
|
serde_json.workspace = true
|
||||||
serde_derive = "1.0.91"
|
|
||||||
runtime-spec = { path = "../../libs/runtime-spec" }
|
oci-spec.workspace = true
|
||||||
oci-spec = { version = "0.6.8", features = ["runtime"] }
|
|
||||||
protocols = { path ="../../libs/protocols" }
|
|
||||||
kata-sys-util = { path = "../../libs/kata-sys-util" }
|
|
||||||
caps = "0.5.0"
|
caps = "0.5.0"
|
||||||
nix = "0.24.2"
|
nix.workspace = true
|
||||||
scopeguard = "1.0.0"
|
scopeguard.workspace = true
|
||||||
capctl = "0.2.0"
|
capctl.workspace = true
|
||||||
lazy_static = "1.3.0"
|
lazy_static.workspace = true
|
||||||
libc = "0.2.58"
|
libc.workspace = true
|
||||||
protobuf = "=3.7.1"
|
protobuf.workspace = true
|
||||||
slog = "2.5.2"
|
slog.workspace = true
|
||||||
slog-scope = "4.1.2"
|
slog-scope.workspace = true
|
||||||
scan_fmt = "0.2.6"
|
scan_fmt.workspace = true
|
||||||
regex = "1.5.6"
|
regex.workspace = true
|
||||||
path-absolutize = "1.2.0"
|
path-absolutize = "1.2.0"
|
||||||
anyhow = "1.0.32"
|
anyhow = "1.0.32"
|
||||||
cgroups = { package = "cgroups-rs", version = "0.3.3" }
|
cgroups.workspace = true
|
||||||
rlimit = "0.5.3"
|
rlimit = "0.5.3"
|
||||||
cfg-if = "0.1.0"
|
cfg-if.workspace = true
|
||||||
|
|
||||||
tokio = { version = "1.38.0", features = ["sync", "io-util", "process", "time", "macros", "rt", "fs"] }
|
tokio = { workspace = true, features = [
|
||||||
tokio-vsock = "0.3.4"
|
"sync",
|
||||||
futures = "0.3.17"
|
"io-util",
|
||||||
async-trait = "0.1.31"
|
"process",
|
||||||
|
"time",
|
||||||
|
"macros",
|
||||||
|
"rt",
|
||||||
|
"fs",
|
||||||
|
] }
|
||||||
|
tokio-vsock.workspace = true
|
||||||
|
futures.workspace = true
|
||||||
|
async-trait.workspace = true
|
||||||
inotify = "0.9.2"
|
inotify = "0.9.2"
|
||||||
libseccomp = { version = "0.3.0", optional = true }
|
libseccomp = { version = "0.3.0", optional = true }
|
||||||
zbus = "3.12.0"
|
zbus = "3.12.0"
|
||||||
bit-vec= "0.6.3"
|
bit-vec = "0.6.3"
|
||||||
xattr = "0.2.3"
|
xattr = "0.2.3"
|
||||||
|
|
||||||
|
# Local dependencies
|
||||||
|
protocols.workspace = true
|
||||||
|
kata-sys-util.workspace = true
|
||||||
|
runtime-spec.workspace = true
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
serial_test = "0.5.0"
|
serial_test.workspace = true
|
||||||
tempfile = "3.1.0"
|
tempfile.workspace = true
|
||||||
test-utils = { path = "../../libs/test-utils" }
|
|
||||||
protocols = { path ="../../libs/protocols" }
|
# Local dependencies
|
||||||
|
test-utils.workspace = true
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
seccomp = ["libseccomp"]
|
seccomp = ["libseccomp"]
|
||||||
|
@ -33,6 +33,7 @@ use protocols::agent::{
|
|||||||
BlkioStats, BlkioStatsEntry, CgroupStats, CpuStats, CpuUsage, HugetlbStats, MemoryData,
|
BlkioStats, BlkioStatsEntry, CgroupStats, CpuStats, CpuUsage, HugetlbStats, MemoryData,
|
||||||
MemoryStats, PidsStats, ThrottlingData,
|
MemoryStats, PidsStats, ThrottlingData,
|
||||||
};
|
};
|
||||||
|
use serde::{Deserialize, Serialize};
|
||||||
use std::any::Any;
|
use std::any::Any;
|
||||||
use std::collections::HashMap;
|
use std::collections::HashMap;
|
||||||
use std::fs;
|
use std::fs;
|
||||||
|
@ -12,6 +12,7 @@ use cgroups::freezer::FreezerState;
|
|||||||
use libc::{self, pid_t};
|
use libc::{self, pid_t};
|
||||||
use oci::{LinuxResources, Spec};
|
use oci::{LinuxResources, Spec};
|
||||||
use oci_spec::runtime as oci;
|
use oci_spec::runtime as oci;
|
||||||
|
use serde::{Deserialize, Serialize};
|
||||||
use std::any::Any;
|
use std::any::Any;
|
||||||
use std::collections::HashMap;
|
use std::collections::HashMap;
|
||||||
use std::string::String;
|
use std::string::String;
|
||||||
|
@ -6,6 +6,7 @@
|
|||||||
use anyhow::{anyhow, Result};
|
use anyhow::{anyhow, Result};
|
||||||
|
|
||||||
use super::common::{DEFAULT_SLICE, SCOPE_SUFFIX, SLICE_SUFFIX};
|
use super::common::{DEFAULT_SLICE, SCOPE_SUFFIX, SLICE_SUFFIX};
|
||||||
|
use serde::{Deserialize, Serialize};
|
||||||
use std::string::String;
|
use std::string::String;
|
||||||
|
|
||||||
#[derive(Serialize, Deserialize, Debug, Clone)]
|
#[derive(Serialize, Deserialize, Debug, Clone)]
|
||||||
|
@ -3,6 +3,8 @@
|
|||||||
// SPDX-License-Identifier: Apache-2.0
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
//
|
//
|
||||||
|
|
||||||
|
use serde::{Deserialize, Serialize};
|
||||||
|
|
||||||
pub const DEFAULT_SLICE: &str = "system.slice";
|
pub const DEFAULT_SLICE: &str = "system.slice";
|
||||||
pub const SLICE_SUFFIX: &str = ".slice";
|
pub const SLICE_SUFFIX: &str = ".slice";
|
||||||
pub const SCOPE_SUFFIX: &str = ".scope";
|
pub const SCOPE_SUFFIX: &str = ".scope";
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
// SPDX-License-Identifier: Apache-2.0
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
//
|
//
|
||||||
|
|
||||||
|
use serde::{Deserialize, Serialize};
|
||||||
use std::vec;
|
use std::vec;
|
||||||
|
|
||||||
use super::common::{
|
use super::common::{
|
||||||
|
@ -10,6 +10,7 @@ use cgroups::freezer::FreezerState;
|
|||||||
use libc::{self, pid_t};
|
use libc::{self, pid_t};
|
||||||
use oci::LinuxResources;
|
use oci::LinuxResources;
|
||||||
use oci_spec::runtime as oci;
|
use oci_spec::runtime as oci;
|
||||||
|
use serde::{Deserialize, Serialize};
|
||||||
use std::any::Any;
|
use std::any::Any;
|
||||||
use std::collections::HashMap;
|
use std::collections::HashMap;
|
||||||
use std::convert::TryInto;
|
use std::convert::TryInto;
|
||||||
|
@ -8,6 +8,7 @@ use libc::pid_t;
|
|||||||
use oci::{Linux, LinuxDevice, LinuxIdMapping, LinuxNamespace, LinuxResources, Spec};
|
use oci::{Linux, LinuxDevice, LinuxIdMapping, LinuxNamespace, LinuxResources, Spec};
|
||||||
use oci_spec::runtime as oci;
|
use oci_spec::runtime as oci;
|
||||||
use runtime_spec as spec;
|
use runtime_spec as spec;
|
||||||
|
use serde::{Deserialize, Serialize};
|
||||||
use spec::{ContainerState, State as OCIState};
|
use spec::{ContainerState, State as OCIState};
|
||||||
use std::clone::Clone;
|
use std::clone::Clone;
|
||||||
use std::ffi::CString;
|
use std::ffi::CString;
|
||||||
|
@ -7,12 +7,10 @@
|
|||||||
#[macro_use]
|
#[macro_use]
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
extern crate serial_test;
|
extern crate serial_test;
|
||||||
extern crate serde;
|
|
||||||
extern crate serde_json;
|
|
||||||
#[macro_use]
|
|
||||||
extern crate serde_derive;
|
|
||||||
extern crate caps;
|
extern crate caps;
|
||||||
extern crate protocols;
|
extern crate protocols;
|
||||||
|
extern crate serde;
|
||||||
|
extern crate serde_json;
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
extern crate scopeguard;
|
extern crate scopeguard;
|
||||||
extern crate capctl;
|
extern crate capctl;
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
//
|
//
|
||||||
|
|
||||||
use oci_spec::runtime::Spec;
|
use oci_spec::runtime::Spec;
|
||||||
|
use serde::{Deserialize, Serialize};
|
||||||
|
|
||||||
#[derive(Serialize, Deserialize, Debug, Default, Clone)]
|
#[derive(Serialize, Deserialize, Debug, Default, Clone)]
|
||||||
pub struct CreateOpts {
|
pub struct CreateOpts {
|
||||||
|
@ -2,20 +2,20 @@
|
|||||||
name = "vsock-exporter"
|
name = "vsock-exporter"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
authors = ["James O. D. Hunt <james.o.hunt@intel.com>"]
|
authors = ["James O. D. Hunt <james.o.hunt@intel.com>"]
|
||||||
edition = "2018"
|
edition.workspace = true
|
||||||
license = "Apache-2.0"
|
license.workspace = true
|
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
nix = "0.24.2"
|
libc.workspace = true
|
||||||
libc = "0.2.94"
|
thiserror.workspace = true
|
||||||
thiserror = "1.0.26"
|
opentelemetry = { workspace = true, features = ["serialize"] }
|
||||||
opentelemetry = { version = "0.14.0", features=["serialize"] }
|
tokio-vsock.workspace = true
|
||||||
serde = { version = "1.0.126", features = ["derive"] }
|
|
||||||
tokio-vsock = "0.3.1"
|
|
||||||
bincode = "1.3.3"
|
bincode = "1.3.3"
|
||||||
byteorder = "1.4.3"
|
byteorder = "1.4.3"
|
||||||
slog = { version = "2.5.2", features = ["dynamic-keys", "max_level_trace", "release_max_level_debug"] }
|
slog = { workspace = true, features = [
|
||||||
async-trait = "0.1.50"
|
"dynamic-keys",
|
||||||
tokio = "1.28.1"
|
"max_level_trace",
|
||||||
|
"release_max_level_debug",
|
||||||
|
] }
|
||||||
|
async-trait.workspace = true
|
||||||
|
tokio.workspace = true
|
||||||
|
Loading…
Reference in New Issue
Block a user