-
Notifications
You must be signed in to change notification settings - Fork 16
/
Cargo.toml
45 lines (42 loc) · 1.65 KB
/
Cargo.toml
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
[package]
name = "policy-server"
version = "0.2.8"
authors = [
"Flavio Castelli <fcastelli@suse.com>",
"Rafael Fernández López <rfernandezlopez@suse.com>",
"Víctor Cuadrado Juan <vcuadradojuan@suse.de>"
]
edition = "2018"
[dependencies]
anyhow = "1.0"
async-stream = "0.3.3"
itertools = "0.10.3"
policy-evaluator = { git = "https://github.com/kubewarden/policy-evaluator", tag = "v0.2.18" }
kubewarden-policy-sdk = "0.3.2"
lazy_static = "1.4.0"
clap = { version = "3.0.15", features = [ "cargo", "env" ] }
futures-util = "0.3.21"
kube = { version = "0.71.0", default-features = false, features = ["client", "rustls-tls"] }
k8s-openapi = { version = "0.14.0", default-features = false, features = ["v1_22"] }
hyper = { version = "0.14", features = ["full"] }
num_cpus = "1.13.1"
opentelemetry = { version = "0.17", default-features = false, features = ["metrics", "trace", "rt-tokio", "serialize"] }
opentelemetry-otlp = { version = "0.10.0", features = ["metrics", "tonic"] }
rustls = "0.20.4"
rustls-pemfile = "0.3.0"
serde_json = "1.0"
serde = { version = "1.0", features = ["derive"] }
serde_yaml = "0.8.23"
tokio = { version = "^1", features = ["full"] }
tokio-rustls = "0.23.3"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["fmt", "json"] }
tracing-futures = "0.2"
tracing-opentelemetry = "0.17.2"
[dev-dependencies]
tempfile = "3.3.0"
[patch.crates-io]
# Forcing base64ct to version 1.1.1 given that version 1.2.0 has been
# bumped to use Rust 2021 edition. When we see is time, we can bump as
# well, but for now, pin to 1.1.1 that is bound to edition 2018.
base64ct = { git = "https://github.com/RustCrypto/formats.git", tag = "base64ct/v1.1.1" }