diff --git a/Cargo.lock b/Cargo.lock index 8cd2a054..91da8014 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -273,7 +273,7 @@ dependencies = [ "cfg-if", "libc", "miniz_oxide", - "object 0.36.1", + "object", "rustc-demangle", ] @@ -440,7 +440,7 @@ checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c" [[package]] name = "burrego" version = "0.3.4" -source = "git+https://github.com/kubewarden/policy-evaluator?tag=v0.18.0#2b2f7a8a4637071d03c40ea92c358ddfd1121167" +source = "git+https://github.com/kubewarden/policy-evaluator?tag=v0.18.1#faea40d47f9fc91728663715aac1fb3131b53f30" dependencies = [ "base64 0.22.1", "chrono", @@ -448,7 +448,7 @@ dependencies = [ "gtmpl", "gtmpl_value", "itertools 0.13.0", - "json-patch 2.0.0", + "json-patch", "lazy_static", "regex", "semver", @@ -458,7 +458,7 @@ dependencies = [ "tracing", "tracing-subscriber", "url", - "wasmtime 21.0.1", + "wasmtime", ] [[package]] @@ -481,7 +481,25 @@ checksum = "0feb64151eed3da6107fddd2d717a6ca4b9dbd74e43784c55c841d1abfe5a295" dependencies = [ "ahash 0.8.11", "async-trait", - "cached_proc_macro", + "cached_proc_macro 0.21.0", + "cached_proc_macro_types", + "futures", + "hashbrown 0.14.5", + "instant", + "once_cell", + "thiserror", + "tokio", +] + +[[package]] +name = "cached" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a8466736fe5dbcaf8b8ee24f9bbefe43c884dc3e9ff7178da70f55bffca1133c" +dependencies = [ + "ahash 0.8.11", + "async-trait", + "cached_proc_macro 0.22.0", "cached_proc_macro_types", "futures", "hashbrown 0.14.5", @@ -503,6 +521,18 @@ dependencies = [ "syn 2.0.71", ] +[[package]] +name = "cached_proc_macro" +version = "0.22.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "575f32e012222055211b70f5b0601f951f84523410a0e65c81f2744a6042450d" +dependencies = [ + "darling", + "proc-macro2", + "quote", + "syn 2.0.71", +] + [[package]] name = "cached_proc_macro_types" version = "0.1.1" @@ -772,44 +802,13 @@ dependencies = [ "libc", ] -[[package]] -name = "cranelift-bforest" -version = "0.108.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29daf137addc15da6bab6eae2c4a11e274b1d270bf2759508e62f6145e863ef6" -dependencies = [ - "cranelift-entity 0.108.1", -] - [[package]] name = "cranelift-bforest" version = "0.109.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0b6b33d7e757a887989eb18b35712b2a67d96171ec3149d1bfb657b29b7b367c" dependencies = [ - "cranelift-entity 0.109.0", -] - -[[package]] -name = "cranelift-codegen" -version = "0.108.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "de619867d5de4c644b7fd9904d6e3295269c93d8a71013df796ab338681222d4" -dependencies = [ - "bumpalo", - "cranelift-bforest 0.108.1", - "cranelift-codegen-meta 0.108.1", - "cranelift-codegen-shared 0.108.1", - "cranelift-control 0.108.1", - "cranelift-entity 0.108.1", - "cranelift-isle 0.108.1", - "gimli 0.28.1", - "hashbrown 0.14.5", - "log", - "regalloc2", - "rustc-hash", - "smallvec", - "target-lexicon", + "cranelift-entity", ] [[package]] @@ -819,12 +818,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b9acf15cb22be42d07c3b57d7856329cb228b7315d385346149df2566ad5e4aa" dependencies = [ "bumpalo", - "cranelift-bforest 0.109.0", - "cranelift-codegen-meta 0.109.0", - "cranelift-codegen-shared 0.109.0", - "cranelift-control 0.109.0", - "cranelift-entity 0.109.0", - "cranelift-isle 0.109.0", + "cranelift-bforest", + "cranelift-codegen-meta", + "cranelift-codegen-shared", + "cranelift-control", + "cranelift-entity", + "cranelift-isle", "gimli 0.28.1", "hashbrown 0.14.5", "log", @@ -834,45 +833,21 @@ dependencies = [ "target-lexicon", ] -[[package]] -name = "cranelift-codegen-meta" -version = "0.108.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29f5cf277490037d8dae9513d35e0ee8134670ae4a964a5ed5b198d4249d7c10" -dependencies = [ - "cranelift-codegen-shared 0.108.1", -] - [[package]] name = "cranelift-codegen-meta" version = "0.109.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e934d301392b73b3f8b0540391fb82465a0f179a3cee7c726482ac4727efcc97" dependencies = [ - "cranelift-codegen-shared 0.109.0", + "cranelift-codegen-shared", ] -[[package]] -name = "cranelift-codegen-shared" -version = "0.108.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c3e22ecad1123343a3c09ac6ecc532bb5c184b6fcb7888df0ea953727f79924" - [[package]] name = "cranelift-codegen-shared" version = "0.109.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8afb2a2566b3d54b854dfb288b3b187f6d3d17d6f762c92898207eba302931da" -[[package]] -name = "cranelift-control" -version = "0.108.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53ca3ec6d30bce84ccf59c81fead4d16381a3ef0ef75e8403bc1e7385980da09" -dependencies = [ - "arbitrary", -] - [[package]] name = "cranelift-control" version = "0.109.0" @@ -882,16 +857,6 @@ dependencies = [ "arbitrary", ] -[[package]] -name = "cranelift-entity" -version = "0.108.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7eabb8d36b0ca8906bec93c78ea516741cac2d7e6b266fa7b0ffddcc09004990" -dependencies = [ - "serde", - "serde_derive", -] - [[package]] name = "cranelift-entity" version = "0.109.0" @@ -902,94 +867,49 @@ dependencies = [ "serde_derive", ] -[[package]] -name = "cranelift-frontend" -version = "0.108.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44b42630229e49a8cfcae90bdc43c8c4c08f7a7aa4618b67f79265cd2f996dd2" -dependencies = [ - "cranelift-codegen 0.108.1", - "log", - "smallvec", - "target-lexicon", -] - [[package]] name = "cranelift-frontend" version = "0.109.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0f74b84f16af2e982b0c0c72233503d9d55cbfe3865dbe807ca28dc6642a28b5" dependencies = [ - "cranelift-codegen 0.109.0", + "cranelift-codegen", "log", "smallvec", "target-lexicon", ] -[[package]] -name = "cranelift-isle" -version = "0.108.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "918d1e36361805dfe0b6cdfd5a5ffdb5d03fa796170c5717d2727cbe623b93a0" - [[package]] name = "cranelift-isle" version = "0.109.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "adf306d3dde705fb94bd48082f01d38c4ededc74293a4c007805f610bf08bc6e" -[[package]] -name = "cranelift-native" -version = "0.108.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75aea85a0d7e1800b14ce9d3f53adf8ad4d1ee8a9e23b0269bdc50285e93b9b3" -dependencies = [ - "cranelift-codegen 0.108.1", - "libc", - "target-lexicon", -] - [[package]] name = "cranelift-native" version = "0.109.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1ea0ebdef7aff4a79bcbc8b6495f31315f16b3bf311152f472eaa8d679352581" dependencies = [ - "cranelift-codegen 0.109.0", + "cranelift-codegen", "libc", "target-lexicon", ] -[[package]] -name = "cranelift-wasm" -version = "0.108.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dac491fd3473944781f0cf9528c90cc899d18ad438da21961a839a3a44d57dfb" -dependencies = [ - "cranelift-codegen 0.108.1", - "cranelift-entity 0.108.1", - "cranelift-frontend 0.108.1", - "itertools 0.12.1", - "log", - "smallvec", - "wasmparser 0.207.0", - "wasmtime-types 21.0.1", -] - [[package]] name = "cranelift-wasm" version = "0.109.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d549108a1942065cdbac3bb96c2952afa0e1b9a3beff4b08c4308ac72257576d" dependencies = [ - "cranelift-codegen 0.109.0", - "cranelift-entity 0.109.0", - "cranelift-frontend 0.109.0", + "cranelift-codegen", + "cranelift-entity", + "cranelift-frontend", "itertools 0.12.1", "log", "smallvec", "wasmparser 0.209.1", - "wasmtime-types 22.0.0", + "wasmtime-types", ] [[package]] @@ -1946,6 +1866,30 @@ dependencies = [ "serde", ] +[[package]] +name = "headers" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "322106e6bd0cba2d5ead589ddb8150a13d7c4217cf80d7c4f682ca994ccc6aa9" +dependencies = [ + "base64 0.21.7", + "bytes", + "headers-core", + "http", + "httpdate", + "mime", + "sha1", +] + +[[package]] +name = "headers-core" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "54b4a22553d4242c49fddb9ba998a99962b5cc6f22cb5a3482bec22522403ce4" +dependencies = [ + "http", +] + [[package]] name = "heck" version = "0.3.3" @@ -2111,6 +2055,12 @@ version = "1.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0fcc0b4a115bf80b728eb8ea024ad5bd707b615bfed49e0665b6e0f86fd082d9" +[[package]] +name = "httpdate" +version = "1.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9" + [[package]] name = "humansize" version = "2.1.3" @@ -2140,6 +2090,26 @@ dependencies = [ "want", ] +[[package]] +name = "hyper-http-proxy" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d06dbdfbacf34d996c6fb540a71a684a7aae9056c71951163af8a8a4c07b9a4" +dependencies = [ + "bytes", + "futures-util", + "headers", + "http", + "hyper", + "hyper-rustls 0.27.2", + "hyper-util", + "pin-project-lite", + "rustls-native-certs", + "tokio", + "tokio-rustls 0.26.0", + "tower-service", +] + [[package]] name = "hyper-named-pipe" version = "0.1.0" @@ -2485,17 +2455,6 @@ dependencies = [ "smallvec", ] -[[package]] -name = "json-patch" -version = "1.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec9ad60d674508f3ca8f380a928cfe7b096bc729c4e2dbfe3852bc45da3ab30b" -dependencies = [ - "serde", - "serde_json", - "thiserror", -] - [[package]] name = "json-patch" version = "2.0.0" @@ -2592,8 +2551,9 @@ dependencies = [ [[package]] name = "kube" -version = "0.91.0" -source = "git+https://github.com/fabriziosestito/kube?branch=fix/reduce-buffering-between-watcher-and-store#31a41109c0435cc1f1bbe079214bb531af2b2182" +version = "0.92.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "231c5a5392d9e2a9b0d923199760d3f1dd73b95288f2871d16c7c90ba4954506" dependencies = [ "k8s-openapi", "kube-client", @@ -2603,8 +2563,9 @@ dependencies = [ [[package]] name = "kube-client" -version = "0.91.0" -source = "git+https://github.com/fabriziosestito/kube?branch=fix/reduce-buffering-between-watcher-and-store#31a41109c0435cc1f1bbe079214bb531af2b2182" +version = "0.92.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f4bf54135062ff60e2a0dfb3e7a9c8e931fc4a535b4d6bd561e0a1371321c61" dependencies = [ "base64 0.22.1", "bytes", @@ -2616,6 +2577,7 @@ dependencies = [ "http-body", "http-body-util", "hyper", + "hyper-http-proxy", "hyper-rustls 0.27.2", "hyper-timeout", "hyper-util", @@ -2639,13 +2601,14 @@ dependencies = [ [[package]] name = "kube-core" -version = "0.91.0" -source = "git+https://github.com/fabriziosestito/kube?branch=fix/reduce-buffering-between-watcher-and-store#31a41109c0435cc1f1bbe079214bb531af2b2182" +version = "0.92.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "40fb9bd8141cbc0fe6b0d9112d371679b4cb607b45c31dd68d92e40864a12975" dependencies = [ "chrono", "form_urlencoded", "http", - "json-patch 1.4.0", + "json-patch", "k8s-openapi", "serde", "serde_json", @@ -2654,8 +2617,9 @@ dependencies = [ [[package]] name = "kube-runtime" -version = "0.91.0" -source = "git+https://github.com/fabriziosestito/kube?branch=fix/reduce-buffering-between-watcher-and-store#31a41109c0435cc1f1bbe079214bb531af2b2182" +version = "0.92.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b7eb2fb986f81770eb55ec7f857e197019b31b38768d2410f6c1046ffac34225" dependencies = [ "ahash 0.8.11", "async-broadcast", @@ -2665,14 +2629,14 @@ dependencies = [ "derivative", "futures", "hashbrown 0.14.5", - "json-patch 1.4.0", + "json-patch", + "jsonptr", "k8s-openapi", "kube-client", "parking_lot", "pin-project", "serde", "serde_json", - "smallvec", "thiserror", "tokio", "tokio-util", @@ -2681,9 +2645,9 @@ dependencies = [ [[package]] name = "kubewarden-policy-sdk" -version = "0.10.1" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "daff4e5ae782161ae99181f8a93507540c48d4d74cd10929052d0bc4a622543d" +checksum = "a781889d9edf4575b0efb187cf16158973af14ff31b460a8abeeb593c815f817" dependencies = [ "anyhow", "cfg-if", @@ -3199,18 +3163,6 @@ dependencies = [ "objc2", ] -[[package]] -name = "object" -version = "0.33.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d8dd6c0cdf9429bce006e1362bfce61fa1bfd8c898a643ed8d2b471934701d3d" -dependencies = [ - "crc32fast", - "hashbrown 0.14.5", - "indexmap 2.2.6", - "memchr", -] - [[package]] name = "object" version = "0.36.1" @@ -3745,19 +3697,19 @@ dependencies = [ [[package]] name = "policy-evaluator" -version = "0.18.0" -source = "git+https://github.com/kubewarden/policy-evaluator?tag=v0.18.0#2b2f7a8a4637071d03c40ea92c358ddfd1121167" +version = "0.18.1" +source = "git+https://github.com/kubewarden/policy-evaluator?tag=v0.18.1#faea40d47f9fc91728663715aac1fb3131b53f30" dependencies = [ "anyhow", "base64 0.22.1", "burrego", - "cached", + "cached 0.52.0", "chrono", "dns-lookup", "email_address", "futures", "itertools 0.13.0", - "json-patch 2.0.0", + "json-patch", "k8s-openapi", "kube", "kubewarden-policy-sdk", @@ -3777,11 +3729,11 @@ dependencies = [ "url", "validator", "wapc", - "wasi-common 21.0.1", - "wasmparser 0.211.1", - "wasmtime 21.0.1", + "wasi-common", + "wasmparser 0.213.0", + "wasmtime", "wasmtime-provider", - "wasmtime-wasi 21.0.1", + "wasmtime-wasi", ] [[package]] @@ -4864,7 +4816,7 @@ source = "git+https://github.com/flavio/sigstore-rs.git?branch=kubewarden#2872ba dependencies = [ "async-trait", "base64 0.22.1", - "cached", + "cached 0.51.4", "cfg-if", "chrono", "const-oid", @@ -5890,32 +5842,6 @@ version = "0.11.0+wasi-snapshot-preview1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" -[[package]] -name = "wasi-common" -version = "21.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f1ff7fb4a1ce516d349598c62cc95e077b7016a2cc6471548ab066cc3849078" -dependencies = [ - "anyhow", - "bitflags 2.6.0", - "cap-fs-ext", - "cap-rand", - "cap-std", - "cap-time-ext", - "fs-set-times", - "io-extras", - "io-lifetimes", - "log", - "once_cell", - "rustix", - "system-interface", - "thiserror", - "tracing", - "wasmtime 21.0.1", - "wiggle 21.0.1", - "windows-sys 0.52.0", -] - [[package]] name = "wasi-common" version = "22.0.0" @@ -5937,8 +5863,8 @@ dependencies = [ "system-interface", "thiserror", "tracing", - "wasmtime 22.0.0", - "wiggle 22.0.0", + "wasmtime", + "wiggle", "windows-sys 0.52.0", ] @@ -6008,15 +5934,6 @@ version = "0.2.92" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "af190c94f2773fdb3729c55b007a722abb5384da03bc0986df4c289bf5567e96" -[[package]] -name = "wasm-encoder" -version = "0.207.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d996306fb3aeaee0d9157adbe2f670df0236caf19f6728b221e92d0f27b3fe17" -dependencies = [ - "leb128", -] - [[package]] name = "wasm-encoder" version = "0.209.1" @@ -6057,19 +5974,6 @@ dependencies = [ "web-sys", ] -[[package]] -name = "wasmparser" -version = "0.207.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e19bb9f8ab07616da582ef8adb24c54f1424c7ec876720b7da9db8ec0626c92c" -dependencies = [ - "ahash 0.8.11", - "bitflags 2.6.0", - "hashbrown 0.14.5", - "indexmap 2.2.6", - "semver", -] - [[package]] name = "wasmparser" version = "0.209.1" @@ -6084,20 +5988,6 @@ dependencies = [ "serde", ] -[[package]] -name = "wasmparser" -version = "0.211.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3189cc8a91f547390e2f043ca3b3e3fe0892f7d581767fd4e4b7f3dc3fe8e561" -dependencies = [ - "ahash 0.8.11", - "bitflags 2.6.0", - "hashbrown 0.14.5", - "indexmap 2.2.6", - "semver", - "serde", -] - [[package]] name = "wasmparser" version = "0.212.0" @@ -6126,16 +6016,6 @@ dependencies = [ "serde", ] -[[package]] -name = "wasmprinter" -version = "0.207.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c2d8a7b4dabb460208e6b4334d9db5766e84505038b2529e69c3d07ac619115" -dependencies = [ - "anyhow", - "wasmparser 0.207.0", -] - [[package]] name = "wasmprinter" version = "0.209.1" @@ -6146,62 +6026,6 @@ dependencies = [ "wasmparser 0.209.1", ] -[[package]] -name = "wasmtime" -version = "21.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f92a1370c66a0022e6d92dcc277e2c84f5dece19569670b8ce7db8162560d8b6" -dependencies = [ - "addr2line 0.21.0", - "anyhow", - "async-trait", - "bumpalo", - "cc", - "cfg-if", - "encoding_rs", - "fxprof-processed-profile", - "gimli 0.28.1", - "hashbrown 0.14.5", - "indexmap 2.2.6", - "ittapi", - "libc", - "libm", - "log", - "mach2", - "memfd", - "memoffset", - "object 0.33.0", - "once_cell", - "paste", - "postcard", - "psm", - "rayon", - "rustix", - "semver", - "serde", - "serde_derive", - "serde_json", - "smallvec", - "sptr", - "target-lexicon", - "wasm-encoder 0.207.0", - "wasmparser 0.207.0", - "wasmtime-asm-macros 21.0.1", - "wasmtime-cache 21.0.1", - "wasmtime-component-macro 21.0.1", - "wasmtime-component-util 21.0.1", - "wasmtime-cranelift 21.0.1", - "wasmtime-environ 21.0.1", - "wasmtime-fiber 21.0.1", - "wasmtime-jit-debug 21.0.1", - "wasmtime-jit-icache-coherence 21.0.1", - "wasmtime-slab 21.0.1", - "wasmtime-versioned-export-macros 21.0.1", - "wasmtime-winch 21.0.1", - "wat", - "windows-sys 0.52.0", -] - [[package]] name = "wasmtime" version = "22.0.0" @@ -6226,7 +6050,7 @@ dependencies = [ "mach2", "memfd", "memoffset", - "object 0.36.1", + "object", "once_cell", "paste", "postcard", @@ -6242,31 +6066,22 @@ dependencies = [ "target-lexicon", "wasm-encoder 0.209.1", "wasmparser 0.209.1", - "wasmtime-asm-macros 22.0.0", - "wasmtime-cache 22.0.0", - "wasmtime-component-macro 22.0.0", - "wasmtime-component-util 22.0.0", - "wasmtime-cranelift 22.0.0", - "wasmtime-environ 22.0.0", - "wasmtime-fiber 22.0.0", - "wasmtime-jit-debug 22.0.0", - "wasmtime-jit-icache-coherence 22.0.0", - "wasmtime-slab 22.0.0", - "wasmtime-versioned-export-macros 22.0.0", - "wasmtime-winch 22.0.0", + "wasmtime-asm-macros", + "wasmtime-cache", + "wasmtime-component-macro", + "wasmtime-component-util", + "wasmtime-cranelift", + "wasmtime-environ", + "wasmtime-fiber", + "wasmtime-jit-debug", + "wasmtime-jit-icache-coherence", + "wasmtime-slab", + "wasmtime-versioned-export-macros", + "wasmtime-winch", "wat", "windows-sys 0.52.0", ] -[[package]] -name = "wasmtime-asm-macros" -version = "21.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6dee8679c974a7f258c03d60d3c747c426ed219945b6d08cbc77fd2eab15b2d1" -dependencies = [ - "cfg-if", -] - [[package]] name = "wasmtime-asm-macros" version = "22.0.0" @@ -6276,26 +6091,6 @@ dependencies = [ "cfg-if", ] -[[package]] -name = "wasmtime-cache" -version = "21.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b00103ffaf7ee980f4e750fe272b6ada79d9901659892e457c7ca316b16df9ec" -dependencies = [ - "anyhow", - "base64 0.21.7", - "directories-next", - "log", - "postcard", - "rustix", - "serde", - "serde_derive", - "sha2", - "toml", - "windows-sys 0.52.0", - "zstd", -] - [[package]] name = "wasmtime-cache" version = "22.0.0" @@ -6316,21 +6111,6 @@ dependencies = [ "zstd", ] -[[package]] -name = "wasmtime-component-macro" -version = "21.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32cae30035f1cf97dcc6657c979cf39f99ce6be93583675eddf4aeaa5548509c" -dependencies = [ - "anyhow", - "proc-macro2", - "quote", - "syn 2.0.71", - "wasmtime-component-util 21.0.1", - "wasmtime-wit-bindgen 21.0.1", - "wit-parser 0.207.0", -] - [[package]] name = "wasmtime-component-macro" version = "22.0.0" @@ -6341,47 +6121,17 @@ dependencies = [ "proc-macro2", "quote", "syn 2.0.71", - "wasmtime-component-util 22.0.0", - "wasmtime-wit-bindgen 22.0.0", - "wit-parser 0.209.1", + "wasmtime-component-util", + "wasmtime-wit-bindgen", + "wit-parser", ] -[[package]] -name = "wasmtime-component-util" -version = "21.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7ae611f08cea620c67330925be28a96115bf01f8f393a6cbdf4856a86087134" - [[package]] name = "wasmtime-component-util" version = "22.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f9d2912c53d9054984b380dfbd7579f9c3681b2a73b903a56bd71a1c4f175f1e" -[[package]] -name = "wasmtime-cranelift" -version = "21.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2909406a6007e28be964067167890bca4574bd48a9ff18f1fa9f4856d89ea40" -dependencies = [ - "anyhow", - "cfg-if", - "cranelift-codegen 0.108.1", - "cranelift-control 0.108.1", - "cranelift-entity 0.108.1", - "cranelift-frontend 0.108.1", - "cranelift-native 0.108.1", - "cranelift-wasm 0.108.1", - "gimli 0.28.1", - "log", - "object 0.33.0", - "target-lexicon", - "thiserror", - "wasmparser 0.207.0", - "wasmtime-environ 21.0.1", - "wasmtime-versioned-export-macros 21.0.1", -] - [[package]] name = "wasmtime-cranelift" version = "22.0.0" @@ -6390,45 +6140,20 @@ checksum = "a3975deafea000457ba84355c7c0fce0372937204f77026510b7b454f28a3a65" dependencies = [ "anyhow", "cfg-if", - "cranelift-codegen 0.109.0", - "cranelift-control 0.109.0", - "cranelift-entity 0.109.0", - "cranelift-frontend 0.109.0", - "cranelift-native 0.109.0", - "cranelift-wasm 0.109.0", + "cranelift-codegen", + "cranelift-control", + "cranelift-entity", + "cranelift-frontend", + "cranelift-native", + "cranelift-wasm", "gimli 0.28.1", "log", - "object 0.36.1", + "object", "target-lexicon", "thiserror", "wasmparser 0.209.1", - "wasmtime-environ 22.0.0", - "wasmtime-versioned-export-macros 22.0.0", -] - -[[package]] -name = "wasmtime-environ" -version = "21.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "40e227f9ed2f5421473723d6c0352b5986e6e6044fde5410a274a394d726108f" -dependencies = [ - "anyhow", - "cpp_demangle", - "cranelift-entity 0.108.1", - "gimli 0.28.1", - "indexmap 2.2.6", - "log", - "object 0.33.0", - "postcard", - "rustc-demangle", - "serde", - "serde_derive", - "target-lexicon", - "wasm-encoder 0.207.0", - "wasmparser 0.207.0", - "wasmprinter 0.207.0", - "wasmtime-component-util 21.0.1", - "wasmtime-types 21.0.1", + "wasmtime-environ", + "wasmtime-versioned-export-macros", ] [[package]] @@ -6439,11 +6164,11 @@ checksum = "f444e900e848b884d8a8a2949b6f5b92af642a3e663ff8fbe78731143a55be61" dependencies = [ "anyhow", "cpp_demangle", - "cranelift-entity 0.109.0", + "cranelift-entity", "gimli 0.28.1", "indexmap 2.2.6", "log", - "object 0.36.1", + "object", "postcard", "rustc-demangle", "serde", @@ -6451,24 +6176,9 @@ dependencies = [ "target-lexicon", "wasm-encoder 0.209.1", "wasmparser 0.209.1", - "wasmprinter 0.209.1", - "wasmtime-component-util 22.0.0", - "wasmtime-types 22.0.0", -] - -[[package]] -name = "wasmtime-fiber" -version = "21.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "42edb392586d07038c1638e854382db916b6ca7845a2e6a7f8dc49e08907acdd" -dependencies = [ - "anyhow", - "cc", - "cfg-if", - "rustix", - "wasmtime-asm-macros 21.0.1", - "wasmtime-versioned-export-macros 21.0.1", - "windows-sys 0.52.0", + "wasmprinter", + "wasmtime-component-util", + "wasmtime-types", ] [[package]] @@ -6481,45 +6191,21 @@ dependencies = [ "cc", "cfg-if", "rustix", - "wasmtime-asm-macros 22.0.0", - "wasmtime-versioned-export-macros 22.0.0", + "wasmtime-asm-macros", + "wasmtime-versioned-export-macros", "windows-sys 0.52.0", ] -[[package]] -name = "wasmtime-jit-debug" -version = "21.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95b26ef7914af0c0e3ca811bdc32f5f66fbba0fd21e1f8563350e8a7951e3598" -dependencies = [ - "object 0.33.0", - "once_cell", - "rustix", - "wasmtime-versioned-export-macros 21.0.1", -] - [[package]] name = "wasmtime-jit-debug" version = "22.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9bc54198c6720f098210a85efb3ba8c078d1de4d373cdb6778850a66ae088d11" dependencies = [ - "object 0.36.1", + "object", "once_cell", "rustix", - "wasmtime-versioned-export-macros 22.0.0", -] - -[[package]] -name = "wasmtime-jit-icache-coherence" -version = "21.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "afe088f9b56bb353adaf837bf7e10f1c2e1676719dd5be4cac8e37f2ba1ee5bc" -dependencies = [ - "anyhow", - "cfg-if", - "libc", - "windows-sys 0.52.0", + "wasmtime-versioned-export-macros", ] [[package]] @@ -6547,60 +6233,30 @@ dependencies = [ "serde", "thiserror", "wapc", - "wasi-common 22.0.0", - "wasmtime 22.0.0", - "wasmtime-wasi 22.0.0", + "wasi-common", + "wasmtime", + "wasmtime-wasi", ] -[[package]] -name = "wasmtime-slab" -version = "21.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ff75cafffe47b04b036385ce3710f209153525b0ed19d57b0cf44a22d446460" - [[package]] name = "wasmtime-slab" version = "22.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0a7de1f2bec5bbb35d532e61c85c049dc84ae671df60492f90b954ecf21169e7" -[[package]] -name = "wasmtime-types" -version = "21.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f2fa462bfea3220711c84e2b549f147e4df89eeb49b8a2a3d89148f6cc4a8b1" -dependencies = [ - "cranelift-entity 0.108.1", - "serde", - "serde_derive", - "smallvec", - "wasmparser 0.207.0", -] - [[package]] name = "wasmtime-types" version = "22.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "412463e9000e14cf6856be48628d2213c20c153e29ffc22b036980c892ea6964" dependencies = [ - "cranelift-entity 0.109.0", + "cranelift-entity", "serde", "serde_derive", "smallvec", "wasmparser 0.209.1", ] -[[package]] -name = "wasmtime-versioned-export-macros" -version = "21.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4cedc5bfef3db2a85522ee38564b47ef3b7fc7c92e94cacbce99808e63cdd47" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.71", -] - [[package]] name = "wasmtime-versioned-export-macros" version = "22.0.0" @@ -6612,37 +6268,6 @@ dependencies = [ "syn 2.0.71", ] -[[package]] -name = "wasmtime-wasi" -version = "21.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bdbbe94245904d4c96c7c5f7b55bad896cc27908644efd9442063c0748b631fc" -dependencies = [ - "anyhow", - "async-trait", - "bitflags 2.6.0", - "bytes", - "cap-fs-ext", - "cap-net-ext", - "cap-rand", - "cap-std", - "cap-time-ext", - "fs-set-times", - "futures", - "io-extras", - "io-lifetimes", - "once_cell", - "rustix", - "system-interface", - "thiserror", - "tokio", - "tracing", - "url", - "wasmtime 21.0.1", - "wiggle 21.0.1", - "windows-sys 0.52.0", -] - [[package]] name = "wasmtime-wasi" version = "22.0.0" @@ -6669,28 +6294,11 @@ dependencies = [ "tokio", "tracing", "url", - "wasmtime 22.0.0", - "wiggle 22.0.0", + "wasmtime", + "wiggle", "windows-sys 0.52.0", ] -[[package]] -name = "wasmtime-winch" -version = "21.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97b27054fed6be4f3800aba5766f7ef435d4220ce290788f021a08d4fa573108" -dependencies = [ - "anyhow", - "cranelift-codegen 0.108.1", - "gimli 0.28.1", - "object 0.33.0", - "target-lexicon", - "wasmparser 0.207.0", - "wasmtime-cranelift 21.0.1", - "wasmtime-environ 21.0.1", - "winch-codegen 0.19.1", -] - [[package]] name = "wasmtime-winch" version = "22.0.0" @@ -6698,26 +6306,14 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ed4db238a0241df2d15f79ad17b3a37a27f2ea6cb885894d81b42ae107544466" dependencies = [ "anyhow", - "cranelift-codegen 0.109.0", + "cranelift-codegen", "gimli 0.28.1", - "object 0.36.1", + "object", "target-lexicon", "wasmparser 0.209.1", - "wasmtime-cranelift 22.0.0", - "wasmtime-environ 22.0.0", - "winch-codegen 0.20.0", -] - -[[package]] -name = "wasmtime-wit-bindgen" -version = "21.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c936a52ce69c28de2aa3b5fb4f2dbbb2966df304f04cccb7aca4ba56d915fda0" -dependencies = [ - "anyhow", - "heck 0.4.1", - "indexmap 2.2.6", - "wit-parser 0.207.0", + "wasmtime-cranelift", + "wasmtime-environ", + "winch-codegen", ] [[package]] @@ -6729,7 +6325,7 @@ dependencies = [ "anyhow", "heck 0.4.1", "indexmap 2.2.6", - "wit-parser 0.209.1", + "wit-parser", ] [[package]] @@ -6818,21 +6414,6 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7219d36b6eac893fa81e84ebe06485e7dcbb616177469b142df14f1f4deb1311" -[[package]] -name = "wiggle" -version = "21.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a89ea6f74ece6d1cfbd089783006b8eb69a0219ca83cad22068f0d9fa9df3f91" -dependencies = [ - "anyhow", - "async-trait", - "bitflags 2.6.0", - "thiserror", - "tracing", - "wasmtime 21.0.1", - "wiggle-macro 21.0.1", -] - [[package]] name = "wiggle" version = "22.0.0" @@ -6844,23 +6425,8 @@ dependencies = [ "bitflags 2.6.0", "thiserror", "tracing", - "wasmtime 22.0.0", - "wiggle-macro 22.0.0", -] - -[[package]] -name = "wiggle-generate" -version = "21.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "36beda94813296ecaf0d91b7ada9da073fd41865ba339bdd3b7764e2e785b8e9" -dependencies = [ - "anyhow", - "heck 0.4.1", - "proc-macro2", - "quote", - "shellexpand", - "syn 2.0.71", - "witx", + "wasmtime", + "wiggle-macro", ] [[package]] @@ -6878,18 +6444,6 @@ dependencies = [ "witx", ] -[[package]] -name = "wiggle-macro" -version = "21.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b47d2b4442ce93106dba5d1a9c59d5f85b5732878bb3d0598d3c93c0d01b16b" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.71", - "wiggle-generate 21.0.1", -] - [[package]] name = "wiggle-macro" version = "22.0.0" @@ -6899,7 +6453,7 @@ dependencies = [ "proc-macro2", "quote", "syn 2.0.71", - "wiggle-generate 22.0.0", + "wiggle-generate", ] [[package]] @@ -6933,23 +6487,6 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" -[[package]] -name = "winch-codegen" -version = "0.19.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1dc69899ccb2da7daa4df31426dcfd284b104d1a85e1dae35806df0c46187f87" -dependencies = [ - "anyhow", - "cranelift-codegen 0.108.1", - "gimli 0.28.1", - "regalloc2", - "smallvec", - "target-lexicon", - "wasmparser 0.207.0", - "wasmtime-cranelift 21.0.1", - "wasmtime-environ 21.0.1", -] - [[package]] name = "winch-codegen" version = "0.20.0" @@ -6957,14 +6494,14 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "85c6915884e731b2db0d8cf08cb64474cb69221a161675fd3c135f91febc3daa" dependencies = [ "anyhow", - "cranelift-codegen 0.109.0", + "cranelift-codegen", "gimli 0.28.1", "regalloc2", "smallvec", "target-lexicon", "wasmparser 0.209.1", - "wasmtime-cranelift 22.0.0", - "wasmtime-environ 22.0.0", + "wasmtime-cranelift", + "wasmtime-environ", ] [[package]] @@ -7235,24 +6772,6 @@ dependencies = [ "windows-sys 0.52.0", ] -[[package]] -name = "wit-parser" -version = "0.207.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78c83dab33a9618d86cfe3563cc864deffd08c17efc5db31a3b7cd1edeffe6e1" -dependencies = [ - "anyhow", - "id-arena", - "indexmap 2.2.6", - "log", - "semver", - "serde", - "serde_derive", - "serde_json", - "unicode-xid", - "wasmparser 0.207.0", -] - [[package]] name = "wit-parser" version = "0.209.1" diff --git a/Cargo.toml b/Cargo.toml index e71ccb34..7a20c15f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -23,7 +23,7 @@ pem = "3" pulldown-cmark-mdcat = { version = "2.2.0", default-features = false, features = [ "regex-fancy", ] } -policy-evaluator = { git = "https://github.com/kubewarden/policy-evaluator", tag = "v0.18.0" } +policy-evaluator = { git = "https://github.com/kubewarden/policy-evaluator", tag = "v0.18.1" } rustls-pki-types = { version = "1", features = ["alloc"] } prettytable-rs = "^0.10" pulldown-cmark = { version = "0.9.3", default-features = false }