diff --git a/Cargo.lock b/Cargo.lock index 4d98be21..2471ee64 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -172,25 +172,6 @@ dependencies = [ "event-listener", ] -[[package]] -name = "async-mutex" -version = "1.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "479db852db25d9dbf6204e6cb6253698f175c15726470f78af0d918e99d6156e" -dependencies = [ - "event-listener", -] - -[[package]] -name = "async-rwlock" -version = "1.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "261803dcc39ba9e72760ba6e16d0199b1eef9fc44e81bffabbebb9f5aea3906c" -dependencies = [ - "async-mutex", - "event-listener", -] - [[package]] name = "async-std" version = "1.12.0" @@ -411,13 +392,12 @@ checksum = "37ccbd214614c6783386c1af30caf03192f17891059cecc394b4fb119e363de3" [[package]] name = "burrego" version = "0.1.3" -source = "git+https://github.com/kubewarden/policy-evaluator?tag=v0.3.7#fd60b4e9c53c3f3298e765ca7e3e09592af61c2e" +source = "git+https://github.com/kubewarden/policy-evaluator?tag=v0.4.0#fb9ec06c63d59b407973920666b336e337f3997b" dependencies = [ "anyhow", "base64", "chrono", "chrono-tz", - "clap", "gtmpl", "gtmpl_value", "itertools", @@ -464,22 +444,6 @@ version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c1db59621ec70f09c5e9b597b220c7a2b43611f4710dc03ceb8748637775692c" -[[package]] -name = "cached" -version = "0.30.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af4dfac631a8e77b2f327f7852bb6172771f5279c4512efe79fad6067b37be3d" -dependencies = [ - "async-mutex", - "async-rwlock", - "async-trait", - "cached_proc_macro 0.9.0", - "cached_proc_macro_types", - "futures", - "hashbrown 0.11.2", - "once_cell", -] - [[package]] name = "cached" version = "0.34.1" @@ -488,28 +452,16 @@ checksum = "12f5cd208ba696f870238022d81ca1d80ed9d696fd62341c747f2d8f6ecdd9fe" dependencies = [ "async-trait", "async_once", - "cached_proc_macro 0.12.0", + "cached_proc_macro", "cached_proc_macro_types", "futures", - "hashbrown 0.12.1", + "hashbrown", "lazy_static", "once_cell", "thiserror", "tokio", ] -[[package]] -name = "cached_proc_macro" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "725f434d6da2814b989bd905c62ca28a9383feff7440210dc279665fbbbc9511" -dependencies = [ - "cached_proc_macro_types", - "darling", - "quote", - "syn", -] - [[package]] name = "cached_proc_macro" version = "0.12.0" @@ -1597,12 +1549,6 @@ version = "1.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "eabb4a44450da02c90444cf74558da904edde8fb4e9035a9a6a4e15445af0bd7" -[[package]] -name = "hashbrown" -version = "0.11.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab5ef0d4909ef3724cc8cce6ccc8572c5c817592e9285f5464f8e86f8bd3726e" - [[package]] name = "hashbrown" version = "0.12.1" @@ -1838,7 +1784,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6c6392766afd7964e2531940894cffe4bd8d7d17dbc3c1c4857040fd4b33bdb3" dependencies = [ "autocfg", - "hashbrown 0.12.1", + "hashbrown", "serde", ] @@ -2068,9 +2014,9 @@ dependencies = [ [[package]] name = "kubewarden-policy-sdk" -version = "0.5.1" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "391ab0fe021e36e6cd59f3ebd5b4ab1889f587d602f840d933c0df1ca3f287b6" +checksum = "5df1e1d27c3191d89e483ddb7010d4aba1e159ba36307591ff8e4c0018ce1452" dependencies = [ "anyhow", "k8s-openapi", @@ -2986,13 +2932,13 @@ dependencies = [ [[package]] name = "policy-evaluator" -version = "0.3.7" -source = "git+https://github.com/kubewarden/policy-evaluator?tag=v0.3.7#fd60b4e9c53c3f3298e765ca7e3e09592af61c2e" +version = "0.4.0" +source = "git+https://github.com/kubewarden/policy-evaluator?tag=v0.4.0#fb9ec06c63d59b407973920666b336e337f3997b" dependencies = [ "anyhow", "base64", "burrego", - "cached 0.30.0", + "cached", "dns-lookup", "hyper", "json-patch", @@ -3008,7 +2954,7 @@ dependencies = [ "tracing-futures", "validator", "wapc", - "wasmparser 0.85.0", + "wasmparser 0.86.0", "wasmtime", "wasmtime-provider", ] @@ -3756,7 +3702,7 @@ source = "git+https://github.com/sigstore/sigstore-rs?rev=v0.3.1#eb418d41b6188bb dependencies = [ "async-trait", "base64", - "cached 0.34.1", + "cached", "lazy_static", "oci-distribution", "olpc-cjson", @@ -4750,15 +4696,6 @@ version = "0.82.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0559cc0f1779240d6f894933498877ea94f693d84f3ee39c9a9932c6c312bd70" -[[package]] -name = "wasmparser" -version = "0.85.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "570460c58b21e9150d2df0eaaedbb7816c34bcec009ae0dcc976e40ba81463e7" -dependencies = [ - "indexmap", -] - [[package]] name = "wasmparser" version = "0.86.0" diff --git a/Cargo.toml b/Cargo.toml index b5ff41a3..8db16cde 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,7 +18,7 @@ itertools = "0.10.3" k8s-openapi = { version = "0.15.0", default-features = false, features = ["v1_24"] } lazy_static = "1.4.0" mdcat = "0.27.1" -policy-evaluator = { git = "https://github.com/kubewarden/policy-evaluator", tag = "v0.3.7" } +policy-evaluator = { git = "https://github.com/kubewarden/policy-evaluator", tag = "v0.4.0" } pretty-bytes = "0.2.2" prettytable-rs = "^0.8" pulldown-cmark = { version = "0.9.1", default-features = false }