diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index b355016..d20304a 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -42,7 +42,7 @@ jobs: - name: Install Rust uses: dtolnay/rust-toolchain@stable with: - toolchain: 1.90 + toolchain: 1.91 targets: ${{ matrix.config.target }} - name: Install Spin uses: rajatjindal/setup-actions/spin@main diff --git a/Cargo.lock b/Cargo.lock index cd7aae3..04cc685 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4,9 +4,9 @@ version = 4 [[package]] name = "addr2line" -version = "0.25.1" +version = "0.26.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b5d307320b3181d6d7954e663bd7c774a838b8220fe0593c86d9fb09f498b4b" +checksum = "59317f77929f0e679d39364702289274de2f0f0b22cbf50b2b8cff2169a0b27a" dependencies = [ "gimli", ] @@ -1252,46 +1252,47 @@ dependencies = [ [[package]] name = "cranelift-assembler-x64" -version = "0.128.4" +version = "0.129.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50a04121a197fde2fe896f8e7cac9812fc41ed6ee9c63e1906090f9f497845f6" +checksum = "4b242b4c3675139f52f0b55624fb92571551a344305c5998f55ad20fa527bc55" dependencies = [ "cranelift-assembler-x64-meta", ] [[package]] name = "cranelift-assembler-x64-meta" -version = "0.128.4" +version = "0.129.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a09e699a94f477303820fb2167024f091543d6240783a2d3b01a3f21c42bc744" +checksum = "499715f19799219f32641b14f2a162f91e50bc1b61c2d2184c2be971716f5c56" dependencies = [ "cranelift-srcgen", ] [[package]] name = "cranelift-bforest" -version = "0.128.4" +version = "0.129.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f07732c662a9755529e332d86f8c5842171f6e98ba4d5976a178043dad838654" +checksum = "1ebca2ea7c62c56feb88a5b23ec380460fe6d7c18134520f6ddf4bfa35cbea68" dependencies = [ "cranelift-entity", ] [[package]] name = "cranelift-bitset" -version = "0.128.4" +version = "0.129.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "18391da761cf362a06def7a7cf11474d79e55801dd34c2e9ba105b33dc0aef88" +checksum = "fe11f154b62d7421d909503a746e89995393b1b71926e6f12b08a2076396d7fb" dependencies = [ "serde", "serde_derive", + "wasmtime-internal-core", ] [[package]] name = "cranelift-codegen" -version = "0.128.4" +version = "0.129.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b3a09b3042c69810d255aef59ddc3b3e4c0644d1d90ecfd6e3837798cc88a3c" +checksum = "1f2d0da3d51979dc0183fac3076a535477eab794716b063143ecb16632408664" dependencies = [ "bumpalo", "cranelift-assembler-x64", @@ -1304,6 +1305,7 @@ dependencies = [ "cranelift-isle", "gimli", "hashbrown 0.15.5", + "libm", "log", "pulley-interpreter", "regalloc2", @@ -1311,14 +1313,14 @@ dependencies = [ "serde", "smallvec", "target-lexicon", - "wasmtime-internal-math", + "wasmtime-internal-core", ] [[package]] name = "cranelift-codegen-meta" -version = "0.128.4" +version = "0.129.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75817926ec812241889208d1b190cadb7fedded4592a4bb01b8524babb9e4849" +checksum = "483b2c94a1b7f6fba0714387ba34ca56d114b2214a80be018acbb2ed40e09a1e" dependencies = [ "cranelift-assembler-x64-meta", "cranelift-codegen-shared", @@ -1329,35 +1331,36 @@ dependencies = [ [[package]] name = "cranelift-codegen-shared" -version = "0.128.4" +version = "0.129.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "859158f87a59476476eda3884d883c32e08a143cf3d315095533b362a3250a63" +checksum = "c4aae718c336a52d90d4ebe9a2d8c3cf0906a4bee78f0e6867e777eebbe554fe" [[package]] name = "cranelift-control" -version = "0.128.4" +version = "0.129.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03b65a9aec442d715cbf54d14548b8f395476c09cef7abe03e104a378291ab88" +checksum = "a18e94519070dc56cddb71906a08cea6a28a1d7c58ed501b88f273fa6b45fa07" dependencies = [ "arbitrary", ] [[package]] name = "cranelift-entity" -version = "0.128.4" +version = "0.129.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8334c99a7e86060c24028732efd23bac84585770dcb752329c69f135d64f2fc1" +checksum = "e0ab4e0eff1045ff2f5ddd8195bf3c97d7b5ef9b780cb044e0cce76e4d352057" dependencies = [ "cranelift-bitset", "serde", "serde_derive", + "wasmtime-internal-core", ] [[package]] name = "cranelift-frontend" -version = "0.128.4" +version = "0.129.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43ac6c095aa5b3e845d7ca3461e67e2b65249eb5401477a5ff9100369b745111" +checksum = "e7645a236e1ec49e660f09ec9fa979a1c5d0b612c419db7610573d4d58a03b7c" dependencies = [ "cranelift-codegen", "log", @@ -1367,15 +1370,15 @@ dependencies = [ [[package]] name = "cranelift-isle" -version = "0.128.4" +version = "0.129.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "69d3d992870ed4f0f2e82e2175275cb3a123a46e9660c6558c46417b822c91fa" +checksum = "57e0b4a1a0ea01cc19084ff01aaeb640dfe22905d47d83037a419b81ba587ed0" [[package]] name = "cranelift-native" -version = "0.128.4" +version = "0.129.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee32e36beaf80f309edb535274cfe0349e1c5cf5799ba2d9f42e828285c6b52e" +checksum = "7bdec40b396eb630ecfb0e7a81766d7287f464a7631b9eb5862f7711f1020012" dependencies = [ "cranelift-codegen", "libc", @@ -1384,9 +1387,9 @@ dependencies = [ [[package]] name = "cranelift-srcgen" -version = "0.128.4" +version = "0.129.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "903adeaf4938e60209a97b53a2e4326cd2d356aab9764a1934630204bae381c9" +checksum = "4a1a001a9dc4557d9e2be324bc932621c0aa9bf33b74dfefa2338f0bf8913329" [[package]] name = "crc32fast" @@ -2085,11 +2088,12 @@ dependencies = [ [[package]] name = "gimli" -version = "0.32.3" +version = "0.33.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e629b9b98ef3dd8afe6ca2bd0f89306cec16d43d907889945bc5d6687f2f13c7" +checksum = "19e16c5073773ccf057c282be832a59ee53ef5ff98db3aeff7f8314f52ffc196" dependencies = [ - "fallible-iterator 0.3.0", + "fnv", + "hashbrown 0.16.1", "indexmap 2.13.0", "stable_deref_trait", ] @@ -3819,21 +3823,21 @@ dependencies = [ [[package]] name = "pulley-interpreter" -version = "41.0.4" +version = "42.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e9812652c1feb63cf39f8780cecac154a32b22b3665806c733cd4072547233a4" +checksum = "1e59a11b64c166a6e1e990303f46a255a52fb4e84d175dbd5e5ca0428e8c02ce" dependencies = [ "cranelift-bitset", "log", "pulley-macros", - "wasmtime-internal-math", + "wasmtime-internal-core", ] [[package]] name = "pulley-macros" -version = "41.0.4" +version = "42.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56000349b6896e3d44286eb9c330891237f40b27fd43c1ccc84547d0b463cb40" +checksum = "823a9d8da391be21a5f4d5e11c39d15f45b011076c6825fc2323f7e4753f09ce" dependencies = [ "proc-macro2", "quote", @@ -4896,8 +4900,8 @@ dependencies = [ [[package]] name = "spin-app" -version = "3.6.2" -source = "git+https://github.com/spinframework/spin?tag=v3.6.2#c0fc970098cdd4961d474581bbfbda0076989bf5" +version = "3.6.3" +source = "git+https://github.com/spinframework/spin?tag=v3.6.3#88d51cf1dafa23c4177f5fbf122b3beca46d1941" dependencies = [ "anyhow", "serde", @@ -4907,8 +4911,8 @@ dependencies = [ [[package]] name = "spin-common" -version = "3.6.2" -source = "git+https://github.com/spinframework/spin?tag=v3.6.2#c0fc970098cdd4961d474581bbfbda0076989bf5" +version = "3.6.3" +source = "git+https://github.com/spinframework/spin?tag=v3.6.3#88d51cf1dafa23c4177f5fbf122b3beca46d1941" dependencies = [ "anyhow", "dirs", @@ -4920,8 +4924,8 @@ dependencies = [ [[package]] name = "spin-componentize" -version = "3.6.2" -source = "git+https://github.com/spinframework/spin?tag=v3.6.2#c0fc970098cdd4961d474581bbfbda0076989bf5" +version = "3.6.3" +source = "git+https://github.com/spinframework/spin?tag=v3.6.3#88d51cf1dafa23c4177f5fbf122b3beca46d1941" dependencies = [ "anyhow", "tracing", @@ -4929,13 +4933,13 @@ dependencies = [ "wasm-metadata 0.244.0", "wasmparser 0.244.0", "wit-component", - "wit-parser 0.244.0", + "wit-parser", ] [[package]] name = "spin-compose" -version = "3.6.2" -source = "git+https://github.com/spinframework/spin?tag=v3.6.2#c0fc970098cdd4961d474581bbfbda0076989bf5" +version = "3.6.3" +source = "git+https://github.com/spinframework/spin?tag=v3.6.3#88d51cf1dafa23c4177f5fbf122b3beca46d1941" dependencies = [ "anyhow", "async-trait", @@ -4952,8 +4956,8 @@ dependencies = [ [[package]] name = "spin-core" -version = "3.6.2" -source = "git+https://github.com/spinframework/spin?tag=v3.6.2#c0fc970098cdd4961d474581bbfbda0076989bf5" +version = "3.6.3" +source = "git+https://github.com/spinframework/spin?tag=v3.6.3#88d51cf1dafa23c4177f5fbf122b3beca46d1941" dependencies = [ "anyhow", "async-trait", @@ -4963,7 +4967,7 @@ dependencies = [ [[package]] name = "spin-cron-macro" -version = "0.4.1" +version = "0.4.2" dependencies = [ "proc-macro2", "quote", @@ -4972,7 +4976,7 @@ dependencies = [ [[package]] name = "spin-cron-sdk" -version = "0.4.1" +version = "0.4.2" dependencies = [ "spin-cron-macro", "spin-executor", @@ -4992,8 +4996,8 @@ dependencies = [ [[package]] name = "spin-expressions" -version = "3.6.2" -source = "git+https://github.com/spinframework/spin?tag=v3.6.2#c0fc970098cdd4961d474581bbfbda0076989bf5" +version = "3.6.3" +source = "git+https://github.com/spinframework/spin?tag=v3.6.3#88d51cf1dafa23c4177f5fbf122b3beca46d1941" dependencies = [ "anyhow", "async-trait", @@ -5004,8 +5008,8 @@ dependencies = [ [[package]] name = "spin-factor-key-value" -version = "3.6.2" -source = "git+https://github.com/spinframework/spin?tag=v3.6.2#c0fc970098cdd4961d474581bbfbda0076989bf5" +version = "3.6.3" +source = "git+https://github.com/spinframework/spin?tag=v3.6.3#88d51cf1dafa23c4177f5fbf122b3beca46d1941" dependencies = [ "anyhow", "serde", @@ -5020,12 +5024,13 @@ dependencies = [ "tokio", "toml 0.8.23", "tracing", + "wasmtime", ] [[package]] name = "spin-factor-llm" -version = "3.6.2" -source = "git+https://github.com/spinframework/spin?tag=v3.6.2#c0fc970098cdd4961d474581bbfbda0076989bf5" +version = "3.6.3" +source = "git+https://github.com/spinframework/spin?tag=v3.6.3#88d51cf1dafa23c4177f5fbf122b3beca46d1941" dependencies = [ "anyhow", "async-trait", @@ -5040,12 +5045,13 @@ dependencies = [ "toml 0.8.23", "tracing", "url", + "wasmtime", ] [[package]] name = "spin-factor-otel" -version = "3.6.2" -source = "git+https://github.com/spinframework/spin?tag=v3.6.2#c0fc970098cdd4961d474581bbfbda0076989bf5" +version = "3.6.3" +source = "git+https://github.com/spinframework/spin?tag=v3.6.3#88d51cf1dafa23c4177f5fbf122b3beca46d1941" dependencies = [ "anyhow", "indexmap 2.13.0", @@ -5059,12 +5065,13 @@ dependencies = [ "spin-world", "tracing", "tracing-opentelemetry", + "wasmtime", ] [[package]] name = "spin-factor-outbound-http" -version = "3.6.2" -source = "git+https://github.com/spinframework/spin?tag=v3.6.2#c0fc970098cdd4961d474581bbfbda0076989bf5" +version = "3.6.3" +source = "git+https://github.com/spinframework/spin?tag=v3.6.3#88d51cf1dafa23c4177f5fbf122b3beca46d1941" dependencies = [ "anyhow", "bytes", @@ -5094,8 +5101,8 @@ dependencies = [ [[package]] name = "spin-factor-outbound-mqtt" -version = "3.6.2" -source = "git+https://github.com/spinframework/spin?tag=v3.6.2#c0fc970098cdd4961d474581bbfbda0076989bf5" +version = "3.6.3" +source = "git+https://github.com/spinframework/spin?tag=v3.6.3#88d51cf1dafa23c4177f5fbf122b3beca46d1941" dependencies = [ "anyhow", "rumqttc", @@ -5107,12 +5114,13 @@ dependencies = [ "spin-world", "tokio", "tracing", + "wasmtime", ] [[package]] name = "spin-factor-outbound-mysql" -version = "3.6.2" -source = "git+https://github.com/spinframework/spin?tag=v3.6.2#c0fc970098cdd4961d474581bbfbda0076989bf5" +version = "3.6.3" +source = "git+https://github.com/spinframework/spin?tag=v3.6.3#88d51cf1dafa23c4177f5fbf122b3beca46d1941" dependencies = [ "anyhow", "futures", @@ -5126,12 +5134,13 @@ dependencies = [ "tokio", "tracing", "url", + "wasmtime", ] [[package]] name = "spin-factor-outbound-networking" -version = "3.6.2" -source = "git+https://github.com/spinframework/spin?tag=v3.6.2#c0fc970098cdd4961d474581bbfbda0076989bf5" +version = "3.6.3" +source = "git+https://github.com/spinframework/spin?tag=v3.6.3#88d51cf1dafa23c4177f5fbf122b3beca46d1941" dependencies = [ "anyhow", "futures-util", @@ -5154,8 +5163,8 @@ dependencies = [ [[package]] name = "spin-factor-outbound-pg" -version = "3.6.2" -source = "git+https://github.com/spinframework/spin?tag=v3.6.2#c0fc970098cdd4961d474581bbfbda0076989bf5" +version = "3.6.3" +source = "git+https://github.com/spinframework/spin?tag=v3.6.3#88d51cf1dafa23c4177f5fbf122b3beca46d1941" dependencies = [ "anyhow", "bytes", @@ -5178,12 +5187,13 @@ dependencies = [ "tokio-postgres", "tracing", "uuid", + "wasmtime", ] [[package]] name = "spin-factor-outbound-redis" -version = "3.6.2" -source = "git+https://github.com/spinframework/spin?tag=v3.6.2#c0fc970098cdd4961d474581bbfbda0076989bf5" +version = "3.6.3" +source = "git+https://github.com/spinframework/spin?tag=v3.6.3#88d51cf1dafa23c4177f5fbf122b3beca46d1941" dependencies = [ "anyhow", "redis", @@ -5195,12 +5205,13 @@ dependencies = [ "spin-world", "tokio", "tracing", + "wasmtime", ] [[package]] name = "spin-factor-sqlite" -version = "3.6.2" -source = "git+https://github.com/spinframework/spin?tag=v3.6.2#c0fc970098cdd4961d474581bbfbda0076989bf5" +version = "3.6.3" +source = "git+https://github.com/spinframework/spin?tag=v3.6.3#88d51cf1dafa23c4177f5fbf122b3beca46d1941" dependencies = [ "async-trait", "spin-factor-otel", @@ -5210,12 +5221,13 @@ dependencies = [ "spin-world", "tokio", "tracing", + "wasmtime", ] [[package]] name = "spin-factor-variables" -version = "3.6.2" -source = "git+https://github.com/spinframework/spin?tag=v3.6.2#c0fc970098cdd4961d474581bbfbda0076989bf5" +version = "3.6.3" +source = "git+https://github.com/spinframework/spin?tag=v3.6.3#88d51cf1dafa23c4177f5fbf122b3beca46d1941" dependencies = [ "spin-expressions", "spin-factor-otel", @@ -5223,12 +5235,13 @@ dependencies = [ "spin-telemetry", "spin-world", "tracing", + "wasmtime", ] [[package]] name = "spin-factor-wasi" -version = "3.6.2" -source = "git+https://github.com/spinframework/spin?tag=v3.6.2#c0fc970098cdd4961d474581bbfbda0076989bf5" +version = "3.6.3" +source = "git+https://github.com/spinframework/spin?tag=v3.6.3#88d51cf1dafa23c4177f5fbf122b3beca46d1941" dependencies = [ "async-trait", "bytes", @@ -5241,8 +5254,8 @@ dependencies = [ [[package]] name = "spin-factors" -version = "3.6.2" -source = "git+https://github.com/spinframework/spin?tag=v3.6.2#c0fc970098cdd4961d474581bbfbda0076989bf5" +version = "3.6.3" +source = "git+https://github.com/spinframework/spin?tag=v3.6.3#88d51cf1dafa23c4177f5fbf122b3beca46d1941" dependencies = [ "anyhow", "serde", @@ -5255,8 +5268,8 @@ dependencies = [ [[package]] name = "spin-factors-derive" -version = "3.6.2" -source = "git+https://github.com/spinframework/spin?tag=v3.6.2#c0fc970098cdd4961d474581bbfbda0076989bf5" +version = "3.6.3" +source = "git+https://github.com/spinframework/spin?tag=v3.6.3#88d51cf1dafa23c4177f5fbf122b3beca46d1941" dependencies = [ "proc-macro2", "quote", @@ -5265,8 +5278,8 @@ dependencies = [ [[package]] name = "spin-factors-executor" -version = "3.6.2" -source = "git+https://github.com/spinframework/spin?tag=v3.6.2#c0fc970098cdd4961d474581bbfbda0076989bf5" +version = "3.6.3" +source = "git+https://github.com/spinframework/spin?tag=v3.6.3#88d51cf1dafa23c4177f5fbf122b3beca46d1941" dependencies = [ "anyhow", "spin-app", @@ -5274,12 +5287,13 @@ dependencies = [ "spin-factors", "spin-telemetry", "tracing", + "wasmtime", ] [[package]] name = "spin-key-value-aws" -version = "3.6.2" -source = "git+https://github.com/spinframework/spin?tag=v3.6.2#c0fc970098cdd4961d474581bbfbda0076989bf5" +version = "3.6.3" +source = "git+https://github.com/spinframework/spin?tag=v3.6.3#88d51cf1dafa23c4177f5fbf122b3beca46d1941" dependencies = [ "anyhow", "async-once-cell", @@ -5293,8 +5307,8 @@ dependencies = [ [[package]] name = "spin-key-value-azure" -version = "3.6.2" -source = "git+https://github.com/spinframework/spin?tag=v3.6.2#c0fc970098cdd4961d474581bbfbda0076989bf5" +version = "3.6.3" +source = "git+https://github.com/spinframework/spin?tag=v3.6.3#88d51cf1dafa23c4177f5fbf122b3beca46d1941" dependencies = [ "anyhow", "async-trait", @@ -5309,8 +5323,8 @@ dependencies = [ [[package]] name = "spin-key-value-redis" -version = "3.6.2" -source = "git+https://github.com/spinframework/spin?tag=v3.6.2#c0fc970098cdd4961d474581bbfbda0076989bf5" +version = "3.6.3" +source = "git+https://github.com/spinframework/spin?tag=v3.6.3#88d51cf1dafa23c4177f5fbf122b3beca46d1941" dependencies = [ "anyhow", "redis", @@ -5323,8 +5337,8 @@ dependencies = [ [[package]] name = "spin-key-value-spin" -version = "3.6.2" -source = "git+https://github.com/spinframework/spin?tag=v3.6.2#c0fc970098cdd4961d474581bbfbda0076989bf5" +version = "3.6.3" +source = "git+https://github.com/spinframework/spin?tag=v3.6.3#88d51cf1dafa23c4177f5fbf122b3beca46d1941" dependencies = [ "anyhow", "rusqlite", @@ -5337,8 +5351,8 @@ dependencies = [ [[package]] name = "spin-llm-remote-http" -version = "3.6.2" -source = "git+https://github.com/spinframework/spin?tag=v3.6.2#c0fc970098cdd4961d474581bbfbda0076989bf5" +version = "3.6.3" +source = "git+https://github.com/spinframework/spin?tag=v3.6.3#88d51cf1dafa23c4177f5fbf122b3beca46d1941" dependencies = [ "anyhow", "futures", @@ -5352,8 +5366,8 @@ dependencies = [ [[package]] name = "spin-locked-app" -version = "3.6.2" -source = "git+https://github.com/spinframework/spin?tag=v3.6.2#c0fc970098cdd4961d474581bbfbda0076989bf5" +version = "3.6.3" +source = "git+https://github.com/spinframework/spin?tag=v3.6.3#88d51cf1dafa23c4177f5fbf122b3beca46d1941" dependencies = [ "anyhow", "async-trait", @@ -5366,8 +5380,8 @@ dependencies = [ [[package]] name = "spin-manifest" -version = "3.6.2" -source = "git+https://github.com/spinframework/spin?tag=v3.6.2#c0fc970098cdd4961d474581bbfbda0076989bf5" +version = "3.6.3" +source = "git+https://github.com/spinframework/spin?tag=v3.6.3#88d51cf1dafa23c4177f5fbf122b3beca46d1941" dependencies = [ "anyhow", "indexmap 2.13.0", @@ -5384,8 +5398,8 @@ dependencies = [ [[package]] name = "spin-outbound-networking-config" -version = "3.6.2" -source = "git+https://github.com/spinframework/spin?tag=v3.6.2#c0fc970098cdd4961d474581bbfbda0076989bf5" +version = "3.6.3" +source = "git+https://github.com/spinframework/spin?tag=v3.6.3#88d51cf1dafa23c4177f5fbf122b3beca46d1941" dependencies = [ "anyhow", "futures-util", @@ -5400,13 +5414,13 @@ dependencies = [ [[package]] name = "spin-resource-table" -version = "3.6.2" -source = "git+https://github.com/spinframework/spin?tag=v3.6.2#c0fc970098cdd4961d474581bbfbda0076989bf5" +version = "3.6.3" +source = "git+https://github.com/spinframework/spin?tag=v3.6.3#88d51cf1dafa23c4177f5fbf122b3beca46d1941" [[package]] name = "spin-runtime-config" -version = "3.6.2" -source = "git+https://github.com/spinframework/spin?tag=v3.6.2#c0fc970098cdd4961d474581bbfbda0076989bf5" +version = "3.6.3" +source = "git+https://github.com/spinframework/spin?tag=v3.6.3#88d51cf1dafa23c4177f5fbf122b3beca46d1941" dependencies = [ "anyhow", "serde", @@ -5440,8 +5454,8 @@ dependencies = [ [[package]] name = "spin-runtime-factors" -version = "3.6.2" -source = "git+https://github.com/spinframework/spin?tag=v3.6.2#c0fc970098cdd4961d474581bbfbda0076989bf5" +version = "3.6.3" +source = "git+https://github.com/spinframework/spin?tag=v3.6.3#88d51cf1dafa23c4177f5fbf122b3beca46d1941" dependencies = [ "anyhow", "clap", @@ -5469,8 +5483,8 @@ dependencies = [ [[package]] name = "spin-serde" -version = "3.6.2" -source = "git+https://github.com/spinframework/spin?tag=v3.6.2#c0fc970098cdd4961d474581bbfbda0076989bf5" +version = "3.6.3" +source = "git+https://github.com/spinframework/spin?tag=v3.6.3#88d51cf1dafa23c4177f5fbf122b3beca46d1941" dependencies = [ "anyhow", "base64 0.22.1", @@ -5482,8 +5496,8 @@ dependencies = [ [[package]] name = "spin-sqlite" -version = "3.6.2" -source = "git+https://github.com/spinframework/spin?tag=v3.6.2#c0fc970098cdd4961d474581bbfbda0076989bf5" +version = "3.6.3" +source = "git+https://github.com/spinframework/spin?tag=v3.6.3#88d51cf1dafa23c4177f5fbf122b3beca46d1941" dependencies = [ "serde", "spin-factor-sqlite", @@ -5495,8 +5509,8 @@ dependencies = [ [[package]] name = "spin-sqlite-inproc" -version = "3.6.2" -source = "git+https://github.com/spinframework/spin?tag=v3.6.2#c0fc970098cdd4961d474581bbfbda0076989bf5" +version = "3.6.3" +source = "git+https://github.com/spinframework/spin?tag=v3.6.3#88d51cf1dafa23c4177f5fbf122b3beca46d1941" dependencies = [ "anyhow", "async-trait", @@ -5508,8 +5522,8 @@ dependencies = [ [[package]] name = "spin-sqlite-libsql" -version = "3.6.2" -source = "git+https://github.com/spinframework/spin?tag=v3.6.2#c0fc970098cdd4961d474581bbfbda0076989bf5" +version = "3.6.3" +source = "git+https://github.com/spinframework/spin?tag=v3.6.3#88d51cf1dafa23c4177f5fbf122b3beca46d1941" dependencies = [ "anyhow", "async-trait", @@ -5521,8 +5535,8 @@ dependencies = [ [[package]] name = "spin-telemetry" -version = "3.6.2" -source = "git+https://github.com/spinframework/spin?tag=v3.6.2#c0fc970098cdd4961d474581bbfbda0076989bf5" +version = "3.6.3" +source = "git+https://github.com/spinframework/spin?tag=v3.6.3#88d51cf1dafa23c4177f5fbf122b3beca46d1941" dependencies = [ "anyhow", "http 0.2.12", @@ -5539,8 +5553,8 @@ dependencies = [ [[package]] name = "spin-trigger" -version = "3.6.2" -source = "git+https://github.com/spinframework/spin?tag=v3.6.2#c0fc970098cdd4961d474581bbfbda0076989bf5" +version = "3.6.3" +source = "git+https://github.com/spinframework/spin?tag=v3.6.3#88d51cf1dafa23c4177f5fbf122b3beca46d1941" dependencies = [ "anyhow", "clap", @@ -5567,8 +5581,8 @@ dependencies = [ [[package]] name = "spin-variables-azure" -version = "3.6.2" -source = "git+https://github.com/spinframework/spin?tag=v3.6.2#c0fc970098cdd4961d474581bbfbda0076989bf5" +version = "3.6.3" +source = "git+https://github.com/spinframework/spin?tag=v3.6.3#88d51cf1dafa23c4177f5fbf122b3beca46d1941" dependencies = [ "azure_core 0.20.0", "azure_identity 0.20.0", @@ -5582,8 +5596,8 @@ dependencies = [ [[package]] name = "spin-variables-env" -version = "3.6.2" -source = "git+https://github.com/spinframework/spin?tag=v3.6.2#c0fc970098cdd4961d474581bbfbda0076989bf5" +version = "3.6.3" +source = "git+https://github.com/spinframework/spin?tag=v3.6.3#88d51cf1dafa23c4177f5fbf122b3beca46d1941" dependencies = [ "dotenvy", "serde", @@ -5596,8 +5610,8 @@ dependencies = [ [[package]] name = "spin-variables-static" -version = "3.6.2" -source = "git+https://github.com/spinframework/spin?tag=v3.6.2#c0fc970098cdd4961d474581bbfbda0076989bf5" +version = "3.6.3" +source = "git+https://github.com/spinframework/spin?tag=v3.6.3#88d51cf1dafa23c4177f5fbf122b3beca46d1941" dependencies = [ "serde", "serde_json", @@ -5609,8 +5623,8 @@ dependencies = [ [[package]] name = "spin-variables-vault" -version = "3.6.2" -source = "git+https://github.com/spinframework/spin?tag=v3.6.2#c0fc970098cdd4961d474581bbfbda0076989bf5" +version = "3.6.3" +source = "git+https://github.com/spinframework/spin?tag=v3.6.3#88d51cf1dafa23c4177f5fbf122b3beca46d1941" dependencies = [ "serde", "spin-expressions", @@ -5621,8 +5635,8 @@ dependencies = [ [[package]] name = "spin-world" -version = "3.6.2" -source = "git+https://github.com/spinframework/spin?tag=v3.6.2#c0fc970098cdd4961d474581bbfbda0076989bf5" +version = "3.6.3" +source = "git+https://github.com/spinframework/spin?tag=v3.6.3#88d51cf1dafa23c4177f5fbf122b3beca46d1941" dependencies = [ "anyhow", "async-trait", @@ -5806,8 +5820,8 @@ dependencies = [ [[package]] name = "terminal" -version = "3.6.2" -source = "git+https://github.com/spinframework/spin?tag=v3.6.2#c0fc970098cdd4961d474581bbfbda0076989bf5" +version = "3.6.3" +source = "git+https://github.com/spinframework/spin?tag=v3.6.3#88d51cf1dafa23c4177f5fbf122b3beca46d1941" dependencies = [ "termcolor", ] @@ -6353,7 +6367,7 @@ dependencies = [ [[package]] name = "trigger-cron" -version = "0.4.1" +version = "0.4.2" dependencies = [ "anyhow", "async-trait", @@ -6703,9 +6717,9 @@ dependencies = [ [[package]] name = "wasm-compose" -version = "0.243.0" +version = "0.244.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af801b6f36459023eaec63fdbaedad2fd5a4ab7dc74ecc110a8b5d375c5775e4" +checksum = "92cda9c76ca8dcac01a8b497860c2cb15cd6f216dc07060517df5abbe82512ac" dependencies = [ "anyhow", "heck 0.5.0", @@ -6717,8 +6731,8 @@ dependencies = [ "serde_derive", "serde_yaml", "smallvec", - "wasm-encoder 0.243.0", - "wasmparser 0.243.0", + "wasm-encoder 0.244.0", + "wasmparser 0.244.0", "wat", ] @@ -6732,16 +6746,6 @@ dependencies = [ "wasmparser 0.239.0", ] -[[package]] -name = "wasm-encoder" -version = "0.243.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c55db9c896d70bd9fa535ce83cd4e1f2ec3726b0edd2142079f594fc3be1cb35" -dependencies = [ - "leb128fmt", - "wasmparser 0.243.0", -] - [[package]] name = "wasm-encoder" version = "0.244.0" @@ -6843,19 +6847,6 @@ dependencies = [ "serde", ] -[[package]] -name = "wasmparser" -version = "0.243.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6d8db401b0528ec316dfbe579e6ab4152d61739cfe076706d2009127970159d" -dependencies = [ - "bitflags 2.10.0", - "hashbrown 0.15.5", - "indexmap 2.13.0", - "semver", - "serde", -] - [[package]] name = "wasmparser" version = "0.244.0" @@ -6882,23 +6873,22 @@ dependencies = [ [[package]] name = "wasmprinter" -version = "0.243.0" +version = "0.244.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb2b6035559e146114c29a909a3232928ee488d6507a1504d8934e8607b36d7b" +checksum = "09390d7b2bd7b938e563e4bff10aa345ef2e27a3bc99135697514ef54495e68f" dependencies = [ "anyhow", "termcolor", - "wasmparser 0.243.0", + "wasmparser 0.244.0", ] [[package]] name = "wasmtime" -version = "41.0.4" +version = "42.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2a83182bf04af87571b4c642300479501684f26bab5597f68f68cded5b098fd" +checksum = "66806cf6094768e227f74d209eb017cc967276c94fea478e62a0dffede2b3d0d" dependencies = [ "addr2line", - "anyhow", "async-trait", "bitflags 2.10.0", "bumpalo", @@ -6909,8 +6899,6 @@ dependencies = [ "futures", "fxprof-processed-profile", "gimli", - "hashbrown 0.15.5", - "indexmap 2.13.0", "ittapi", "libc", "log", @@ -6930,18 +6918,17 @@ dependencies = [ "target-lexicon", "tempfile", "wasm-compose", - "wasm-encoder 0.243.0", - "wasmparser 0.243.0", + "wasm-encoder 0.244.0", + "wasmparser 0.244.0", "wasmtime-environ", "wasmtime-internal-cache", "wasmtime-internal-component-macro", "wasmtime-internal-component-util", + "wasmtime-internal-core", "wasmtime-internal-cranelift", "wasmtime-internal-fiber", "wasmtime-internal-jit-debug", "wasmtime-internal-jit-icache-coherence", - "wasmtime-internal-math", - "wasmtime-internal-slab", "wasmtime-internal-unwinder", "wasmtime-internal-versioned-export-macros", "wasmtime-internal-winch", @@ -6951,15 +6938,16 @@ dependencies = [ [[package]] name = "wasmtime-environ" -version = "41.0.4" +version = "42.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb201c41aa23a3642365cfb2e4a183573d85127a3c9d528f56b9997c984541ab" +checksum = "90d3611be7991cba09f14dbb99fe7a0fbaca9eb995ab5c548456eeda44afe20e" dependencies = [ "anyhow", "cpp_demangle", "cranelift-bitset", "cranelift-entity", "gimli", + "hashbrown 0.15.5", "indexmap 2.13.0", "log", "object", @@ -6970,17 +6958,18 @@ dependencies = [ "serde_derive", "smallvec", "target-lexicon", - "wasm-encoder 0.243.0", - "wasmparser 0.243.0", + "wasm-encoder 0.244.0", + "wasmparser 0.244.0", "wasmprinter", "wasmtime-internal-component-util", + "wasmtime-internal-core", ] [[package]] name = "wasmtime-internal-cache" -version = "41.0.4" +version = "42.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb5b3069d1a67ba5969d0eb1ccd7e141367d4e713f4649aa90356c98e8f19bea" +checksum = "2407af12566ff8d537b1a978eccaa087cc4c6d1f13fa57d21114a8def8bfe8a3" dependencies = [ "base64 0.22.1", "directories-next", @@ -6998,9 +6987,9 @@ dependencies = [ [[package]] name = "wasmtime-internal-component-macro" -version = "41.0.4" +version = "42.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c924400db7b6ca996fef1b23beb0f41d5c809836b1ec60fc25b4057e2d25d9b" +checksum = "3616cebe594e6c4b573ddb908d2703d13b53b2abdaeb73acd1ca8b5a911bc256" dependencies = [ "anyhow", "proc-macro2", @@ -7008,20 +6997,30 @@ dependencies = [ "syn 2.0.114", "wasmtime-internal-component-util", "wasmtime-internal-wit-bindgen", - "wit-parser 0.243.0", + "wit-parser", ] [[package]] name = "wasmtime-internal-component-util" -version = "41.0.4" +version = "42.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "61571112f9cbf9798e48f3bd6ba5161588a08b99158585153784e3f46f955053" + +[[package]] +name = "wasmtime-internal-core" +version = "42.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d3f65daf4bf3d74ca2fbbe20af0589c42e2b398a073486451425d94fd4afef4" +checksum = "be7c68311d6220c20cefdf334e0c8021e16a050383c67edc5be42e5661ddf265" +dependencies = [ + "anyhow", + "libm", +] [[package]] name = "wasmtime-internal-cranelift" -version = "41.0.4" +version = "42.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "633e889cdae76829738db0114ab3b02fce51ea4a1cd9675a67a65fce92e8b418" +checksum = "c5fd90a9113379260508193bab9f4e870d34078fdd181f9fc8dd053b0f7a958c" dependencies = [ "cfg-if", "cranelift-codegen", @@ -7037,18 +7036,18 @@ dependencies = [ "smallvec", "target-lexicon", "thiserror 2.0.18", - "wasmparser 0.243.0", + "wasmparser 0.244.0", "wasmtime-environ", - "wasmtime-internal-math", + "wasmtime-internal-core", "wasmtime-internal-unwinder", "wasmtime-internal-versioned-export-macros", ] [[package]] name = "wasmtime-internal-fiber" -version = "41.0.4" +version = "42.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "deb126adc5d0c72695cfb77260b357f1b81705a0f8fa30b3944e7c2219c17341" +checksum = "cbd95ecd37e62eaae686256ca9773902b73c0398c2eb8cfbca49fbf950609c22" dependencies = [ "cc", "cfg-if", @@ -7061,9 +7060,9 @@ dependencies = [ [[package]] name = "wasmtime-internal-jit-debug" -version = "41.0.4" +version = "42.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e66ff7f90a8002187691ff6237ffd09f954a0ebb9de8b2ff7f5c62632134120" +checksum = "b875a7727c043a308c81f2de5ce7260b7513cb5baaa2af32937646b8c9019a3f" dependencies = [ "cc", "object", @@ -7073,36 +7072,21 @@ dependencies = [ [[package]] name = "wasmtime-internal-jit-icache-coherence" -version = "41.0.4" +version = "42.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b96df23179ae16d54fb3a420f84ffe4383ec9dd06fad3e5bc782f85f66e8e08" +checksum = "f52c0779e711777b915d017b3f54049e658057a77df99e0e7958406b3c5d7d07" dependencies = [ - "anyhow", "cfg-if", "libc", + "wasmtime-internal-core", "windows-sys 0.61.2", ] -[[package]] -name = "wasmtime-internal-math" -version = "41.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "86d1380926682b44c383e9a67f47e7a95e60c6d3fa8c072294dab2c7de6168a0" -dependencies = [ - "libm", -] - -[[package]] -name = "wasmtime-internal-slab" -version = "41.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b63cbea1c0192c7feb7c0dfb35f47166988a3742f29f46b585ef57246c65764" - [[package]] name = "wasmtime-internal-unwinder" -version = "41.0.4" +version = "42.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f25c392c7e5fb891a7416e3c34cfbd148849271e8c58744fda875dde4bec4d6a" +checksum = "3acb031b1e9700667b3f818235b2846e3babeb30bc340c8233d3fad4c44d80ff" dependencies = [ "cfg-if", "cranelift-codegen", @@ -7113,9 +7097,9 @@ dependencies = [ [[package]] name = "wasmtime-internal-versioned-export-macros" -version = "41.0.4" +version = "42.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70f8b9796a3f0451a7b702508b303d654de640271ac80287176de222f187a237" +checksum = "cbfbbfdb0cfd638145b0de4d3e309901ccc4e29965a33ca1eb18ab6f37057350" dependencies = [ "proc-macro2", "quote", @@ -7124,16 +7108,16 @@ dependencies = [ [[package]] name = "wasmtime-internal-winch" -version = "41.0.4" +version = "42.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0063e61f1d0b2c20e9cfc58361a6513d074a23c80b417aac3033724f51648a0" +checksum = "5f4853af4a25f98c039cc27c7238e40df9ec783fc7981b879a813153d1d3211a" dependencies = [ "cranelift-codegen", "gimli", "log", "object", "target-lexicon", - "wasmparser 0.243.0", + "wasmparser 0.244.0", "wasmtime-environ", "wasmtime-internal-cranelift", "winch-codegen", @@ -7141,24 +7125,23 @@ dependencies = [ [[package]] name = "wasmtime-internal-wit-bindgen" -version = "41.0.4" +version = "42.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "587699ca7cae16b4a234ffcc834f37e75675933d533809919b52975f5609e2ef" +checksum = "0de1c8eaa54b17e3a64b6c0cfabd065bdbdfd06f5d7c685272b7309117377be0" dependencies = [ "anyhow", "bitflags 2.10.0", "heck 0.5.0", "indexmap 2.13.0", - "wit-parser 0.243.0", + "wit-parser", ] [[package]] name = "wasmtime-wasi" -version = "41.0.3" +version = "42.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9a1bdb4948463ed22559a640e687fed0df50b66353144aa6a9496c041ecd927" +checksum = "3e144a12c39adabd2ce1f7b52bd12a60286d3010044ed0d1c2ae52e35fd6f5ce" dependencies = [ - "anyhow", "async-trait", "bitflags 2.10.0", "bytes", @@ -7185,11 +7168,10 @@ dependencies = [ [[package]] name = "wasmtime-wasi-http" -version = "41.0.3" +version = "42.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2cbf108a4775209cd199416b5431fcca2d475e12a02e84aa4ca72edcb1a449c" +checksum = "d74f0851af401e7b57f3b5af9352dfef2be04b1f2c3b6c5c92b4636c6503c88e" dependencies = [ - "anyhow", "async-trait", "bytes", "futures", @@ -7210,14 +7192,14 @@ dependencies = [ [[package]] name = "wasmtime-wasi-io" -version = "41.0.3" +version = "42.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d7873d8b990d3cf1105ef491abf2b3cf1e19ff6722d24d5ca662026ea082cdff" +checksum = "609666ef67a53449ea6c1c529541a8af24f3b109d9f627255c0b848c58b824b0" dependencies = [ - "anyhow", "async-trait", "bytes", "futures", + "tracing", "wasmtime", ] @@ -7305,37 +7287,37 @@ dependencies = [ [[package]] name = "wiggle" -version = "41.0.3" +version = "42.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f05d2a9932ca235984248dc98471ae83d1985e095682d049af4c296f54f0fb4" +checksum = "b0bbdfe34fac0937e887fd0b3b9266b775c1fff8cd2e3f80ffa5d67b35bfa7cb" dependencies = [ - "anyhow", "bitflags 2.10.0", "thiserror 2.0.18", "tracing", "wasmtime", + "wasmtime-environ", "wiggle-macro", ] [[package]] name = "wiggle-generate" -version = "41.0.3" +version = "42.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57f773d51c1696bd7d028aa35c884d9fc58f48d79a1176dfbad6c908de314235" +checksum = "bf7316746ac77a917a33ccc0cee6794bd72e300f2f533c28b8d5738f1f5fa29f" dependencies = [ - "anyhow", "heck 0.5.0", "proc-macro2", "quote", "syn 2.0.114", + "wasmtime-environ", "witx", ] [[package]] name = "wiggle-macro" -version = "41.0.3" +version = "42.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e976fe0cecd60041f66b15ad45ebc997952af13da9bf9d90261c7b025057edc" +checksum = "b8f625d05adeddad85c8d5fbcd765a8ecf1b22260840a0a193125dc4ab06ac9d" dependencies = [ "proc-macro2", "quote", @@ -7376,11 +7358,10 @@ checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" [[package]] name = "winch-codegen" -version = "41.0.4" +version = "42.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c55de3ac5b8bd71e5f6c87a9e511dd3ceb194bdb58183c6a7bf21cd8c0e46fbc" +checksum = "2d1bc7cbb9103e6847042f0514f911126263173f6e9a18e5cfa257d3b5711c09" dependencies = [ - "anyhow", "cranelift-assembler-x64", "cranelift-codegen", "gimli", @@ -7388,10 +7369,10 @@ dependencies = [ "smallvec", "target-lexicon", "thiserror 2.0.18", - "wasmparser 0.243.0", + "wasmparser 0.244.0", "wasmtime-environ", + "wasmtime-internal-core", "wasmtime-internal-cranelift", - "wasmtime-internal-math", ] [[package]] @@ -7666,7 +7647,7 @@ checksum = "ea61de684c3ea68cb082b7a88508a8b27fcc8b797d738bfc99a82facf1d752dc" dependencies = [ "anyhow", "heck 0.5.0", - "wit-parser 0.244.0", + "wit-parser", ] [[package]] @@ -7725,25 +7706,7 @@ dependencies = [ "wasm-encoder 0.244.0", "wasm-metadata 0.244.0", "wasmparser 0.244.0", - "wit-parser 0.244.0", -] - -[[package]] -name = "wit-parser" -version = "0.243.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "df983a8608e513d8997f435bb74207bf0933d0e49ca97aa9d8a6157164b9b7fc" -dependencies = [ - "anyhow", - "id-arena", - "indexmap 2.13.0", - "log", - "semver", - "serde", - "serde_derive", - "serde_json", - "unicode-xid", - "wasmparser 0.243.0", + "wit-parser", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index 5e93ffe..e126fd4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,10 +6,10 @@ edition = { workspace = true } rust-version = { workspace = true } [workspace.package] -version = "0.4.1" +version = "0.4.2" authors = ["The Spin authors"] edition = "2021" -rust-version = "1.90" +rust-version = "1.91" [workspace] members = ["sdk", "sdk/macro"] @@ -19,14 +19,14 @@ anyhow = "1.0.75" async-trait = "0.1" clap = { version = "3.1.15", features = ["derive", "env"] } serde = "1.0" -spin-factors = { git = "https://github.com/spinframework/spin", tag = "v3.6.2" } -spin-runtime-factors = { git = "https://github.com/spinframework/spin", tag = "v3.6.2" } -spin-trigger = { git = "https://github.com/spinframework/spin", tag = "v3.6.2" } +spin-factors = { git = "https://github.com/spinframework/spin", tag = "v3.6.3" } +spin-runtime-factors = { git = "https://github.com/spinframework/spin", tag = "v3.6.3" } +spin-trigger = { git = "https://github.com/spinframework/spin", tag = "v3.6.3" } tokio = { version = "1.37", features = ["full"] } tokio-cron-scheduler = "0.13" tracing = { version = "0.1", features = ["log"] } tracing-subscriber = { version = "0.3.7", features = ["env-filter"] } -wasmtime = { version = "41.0.4" } +wasmtime = { version = "42.0.2" } [target.'cfg(target_os = "linux")'.dependencies] # This needs to be an explicit dependency to enable diff --git a/spin-pluginify.toml b/spin-pluginify.toml index 9dfa4bb..f9be1e1 100644 --- a/spin-pluginify.toml +++ b/spin-pluginify.toml @@ -1,6 +1,6 @@ name = "trigger-cron" description = "A Spin trigger for Cron events" -version = "0.4.1" +version = "0.4.2" spin_compatibility = ">=3.0" license = "Apache-2.0" package = "./target/release/trigger-cron" diff --git a/src/lib.rs b/src/lib.rs index e17c402..9a58b97 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,4 +1,3 @@ -use anyhow::{anyhow, Context, Result}; use serde::{Deserialize, Serialize}; use spin_factors::RuntimeFactors; use spin_trigger::{cli::NoCliArgs, App, Trigger, TriggerApp}; @@ -8,6 +7,7 @@ use std::{ }; use tokio::signal; use tokio_cron_scheduler::{Job, JobScheduler}; +use wasmtime::error::Context; wasmtime::component::bindgen!({ world: "spin-cron", @@ -135,7 +135,7 @@ impl CronEventProcessor { .context("cron handler trapped")?; res.map_err(|e| { tracing::error!("Component {} failed: {e}", self.component.id); - anyhow!("Component {} failed: {e}", self.component.id) + anyhow::anyhow!("Component {} failed: {e}", self.component.id) }) } }