-
Notifications
You must be signed in to change notification settings - Fork 9
/
Cargo.toml
81 lines (77 loc) · 2.53 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
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
74
75
76
77
78
79
80
81
[package]
authors = [
"Flavio Castelli <[email protected]>",
"Rafael Fernández López <[email protected]>",
"Víctor Cuadrado Juan <[email protected]>",
]
edition = "2021"
name = "policy-evaluator"
version = "0.19.3"
[workspace]
members = ["crates/burrego"]
[dependencies]
anyhow = "1.0"
base64 = "0.22"
burrego = { path = "crates/burrego" }
cached = { version = "0.54", features = ["async_tokio_rt_multi_thread"] }
chrono = { version = "0.4.38", default-features = false }
dns-lookup = "2.0"
futures = "0.3"
email_address = { version = "0.2.4", features = ["serde"] }
itertools = "0.13"
json-patch = "3.0"
k8s-openapi = { version = "0.23.0", default-features = false }
kube = { version = "0.96.0", default-features = false, features = [
"client",
"rustls-tls",
"runtime",
] }
kubewarden-policy-sdk = "0.11.1"
lazy_static = "1.4"
mail-parser = { version = "0.9.3", features = ["serde"] }
picky = { version = "7.0.0-rc.8", default-features = false, features = [
"chrono_conversion",
"x509",
] }
policy-fetcher = { git = "https://github.com/kubewarden/policy-fetcher", tag = "v0.8.12" }
semver = { version = "1.0.22", features = ["serde"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
serde_yaml = "0.9"
sha2 = "0.10"
thiserror = "2.0"
time = { version = "0.3.36", features = ["serde-human-readable"] }
tokio = { version = "^1", features = ["rt", "rt-multi-thread"] }
tracing = "0.1"
url = { version = "2.2", features = ["serde"] }
validator = { version = "0.19", features = ["derive"] }
wapc = "2.0"
wasi-common = { workspace = true }
wasmparser = "0.219"
wasmtime = { workspace = true }
wasmtime-provider = { version = "2.1.0", features = ["cache"] }
wasmtime-wasi = { workspace = true }
[workspace.dependencies]
wasi-common = "26.0"
wasmtime = "26.0"
wasmtime-wasi = "26.0"
[dev-dependencies]
assert-json-diff = "2.0"
test-log = "0.2.15"
k8s-openapi = { version = "0.23.0", default-features = false, features = [
"v1_30",
] }
rstest = "0.23"
serial_test = "3.1"
test-context = "0.3"
tempfile = "3.13"
tower-test = "0.4"
hyper = { version = "1.2.0" }
# This is required to have reqwest built using the `rustls-tls-native-roots`
# feature across all the transitive dependencies of policy-fetcher
# This is required to have the integration tests use the system certificates instead of the
# ones bundled inside of rustls. This allows to pull the test policies also from
# self hosted registries (which is great at development time)
reqwest = { version = "0", default-features = false, features = [
"rustls-tls-native-roots",
] }