forked from kata-containers/kata-containers
-
Notifications
You must be signed in to change notification settings - Fork 42
Expand file tree
/
Copy pathCargo.toml
More file actions
74 lines (63 loc) · 1.83 KB
/
Cargo.toml
File metadata and controls
74 lines (63 loc) · 1.83 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
# Copyright (c) 2024 Microsoft Corporation
#
# SPDX-License-Identifier: Apache-2.0
#
[package]
name = "genpolicy"
version = "3.2.0-azl3.genpolicy3"
authors = ["The Kata Containers community <kata-dev@lists.katacontainers.io>"]
edition = "2021"
license = "Apache-2.0"
[dependencies]
# Logging.
env_logger = "0.10.0"
log = "0.4.17"
# Command line parsing.
clap = { version = "4.1.8", features = ["derive"] }
# YAML file serialization/deserialization.
base64 = "0.21.0"
serde = { version = "1.0.159", features = ["derive"] }
regex = "1.10.5"
# Newer serde_yaml versions are using unsafe-libyaml instead of yaml-rust,
# and incorrectly change on serialization:
#
# value: "yes"
#
# to:
#
# value: yes
#
# In YAML, the value yes without quotes is reserved for boolean,
# and confuses kubectl, that expects a string value.
serde_yaml = "0.8"
# Container repository.
anyhow = "1.0.32"
async-trait = "0.1.68"
docker_credential = "1.3.1"
flate2 = { version = "1.0.26", features = ["zlib-ng"], default-features = false }
libz-ng-sys = "1.1.15" # force newer version that compiles on ppc64le
oci-distribution = { version = "0.10.0" }
openssl = { version = "0.10.54", features = ["vendored"] }
serde_ignored = "0.1.7"
serde_json = "1.0.39"
serde-transcode = "1.1.1"
tokio = {version = "1.33.0", features = ["rt-multi-thread"]}
# OCI container specs.
oci = { path = "../../libs/oci" }
# dm-verity root hash support
generic-array = "0.14.6"
sha2 = "0.10.6"
tarindex = { path = "../../tardev-snapshotter/tarindex" }
tempfile = "3.5.0"
zerocopy = "0.6.1"
fs2 = "0.4.3"
k8s-cri = "0.7.0"
tonic = "0.9.2"
tower = "0.4.13"
[target.'cfg(target_os = "linux")'.dependencies]
containerd-client = "0.4.0"
kata-agent-policy = { path = "../../agent/policy" }
# Kata Agent protocol.
protocols = { path = "../../libs/protocols", features = ["with-serde"] }
[dev-dependencies]
slog = "2.5.2"