mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-01-18 22:04:22 +01:00
move the protocols to upper libs thus it can be shared between agent and other rust runtime. Depends-on: github.com/kata-containers/tests#4306 Fixes: #3348 Signed-off-by: Fupan Li <fupan.lfp@antgroup.com>
20 lines
531 B
TOML
20 lines
531 B
TOML
[package]
|
|
name = "protocols"
|
|
version = "0.1.0"
|
|
authors = ["The Kata Containers community <kata-dev@lists.katacontainers.io>"]
|
|
edition = "2018"
|
|
|
|
[features]
|
|
default = []
|
|
with-serde = [ "serde", "serde_json" ]
|
|
|
|
[dependencies]
|
|
ttrpc = { version = "0.5.0", features = ["async"] }
|
|
async-trait = "0.1.42"
|
|
protobuf = { version = "=2.14.0", features = ["with-serde"] }
|
|
serde = { version = "1.0.130", features = ["derive"], optional = true }
|
|
serde_json = { version = "1.0.68", optional = true }
|
|
|
|
[build-dependencies]
|
|
ttrpc-codegen = "0.2.0"
|