diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 484b4a0..44748dc 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.86 + toolchain: 1.87 targets: ${{ matrix.config.target }} - name: Install Spin uses: rajatjindal/setup-actions/spin@main diff --git a/Cargo.lock b/Cargo.lock index 8fd2732..2d9dfd8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,6 +1,6 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. -version = 3 +version = 4 [[package]] name = "addr2line" @@ -786,9 +786,9 @@ dependencies = [ [[package]] name = "backon" -version = "1.4.1" +version = "1.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "970d91570c01a8a5959b36ad7dd1c30642df24b6b3068710066f6809f7033bb7" +checksum = "cffb0e931875b666fc4fcb20fee52e9bbd1ef836fd9e9e04ec21555f9f85f7ef" dependencies = [ "fastrand 2.0.1", ] @@ -1205,36 +1205,36 @@ dependencies = [ [[package]] name = "cranelift-assembler-x64" -version = "0.123.2" +version = "0.124.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0920ef6863433fa28ece7e53925be4cd39a913adba2dc3738f4edd182f76d168" +checksum = "f6e2df3d5caad11e71bb0b70115a5210c3af4a0bcb2893f78ee9311b1b266b05" dependencies = [ "cranelift-assembler-x64-meta", ] [[package]] name = "cranelift-assembler-x64-meta" -version = "0.123.2" +version = "0.124.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8990a217e2529a378af1daf4f8afa889f928f07ebbde6ae2f058ae60e40e2c20" +checksum = "b63e87985fc9166a2541b05fd5f913a398cff9aec6b13ebca865253cdee15806" dependencies = [ "cranelift-srcgen", ] [[package]] name = "cranelift-bforest" -version = "0.123.2" +version = "0.124.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62225596b687f69a42c038485a28369badc186cb7c74bd9436eeec9f539011b1" +checksum = "3b5364dfe182d4b89af2f4bd0dafc8f6c590bbf0216ee8ce60bfd8893c3d14a6" dependencies = [ "cranelift-entity", ] [[package]] name = "cranelift-bitset" -version = "0.123.2" +version = "0.124.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c23914fc4062558650a6f0d8c1846c97b541215a291fdeabc85f68bdc9bbcca3" +checksum = "3067ca8c10796434497a5faac73d949b5ac0008ed572013debe88694bfef426e" dependencies = [ "serde", "serde_derive", @@ -1242,9 +1242,9 @@ dependencies = [ [[package]] name = "cranelift-codegen" -version = "0.123.2" +version = "0.124.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41a238b2f7e7ec077eb170145fa15fd8b3d0f36cc83d8e354e29ca550f339ca7" +checksum = "8eb420cc46d7f0956e2e3d9e6389036c612ada3542a29edc6f5deedf86d568ba" dependencies = [ "bumpalo", "cranelift-assembler-x64", @@ -1269,9 +1269,9 @@ dependencies = [ [[package]] name = "cranelift-codegen-meta" -version = "0.123.2" +version = "0.124.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9315ddcc2512513a9d66455ec89bb70ae5498cb472f5ed990230536f4cd5c011" +checksum = "440d31dd36e477fb6292821b593da65df60328bca1046ea5881f424aa5a44b5d" dependencies = [ "cranelift-assembler-x64-meta", "cranelift-codegen-shared", @@ -1282,24 +1282,24 @@ dependencies = [ [[package]] name = "cranelift-codegen-shared" -version = "0.123.2" +version = "0.124.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc6acea40ef860f28cb36eaad479e26556c1e538b0a66fc44598cf1b1689393d" +checksum = "f0b342ef4835787577f6e7553747cdd902797509eb5af733cd89e5ce97cea0f0" [[package]] name = "cranelift-control" -version = "0.123.2" +version = "0.124.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b2af895da90761cfda4a4445960554fcec971e637882eda5a87337d993fe1b9" +checksum = "b34de54534b61c3f3e475558cf19c90b2a7a758c7018e557e5d1a47b9a1fbb03" dependencies = [ "arbitrary", ] [[package]] name = "cranelift-entity" -version = "0.123.2" +version = "0.124.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e8c542c856feb50d504e4fc0526b3db3a514f882a9f68f956164531517828ab" +checksum = "b3d7bf1aae1800d053aa965381dcb01054404d0bcd8ea5ffe65bb855b8e3f654" dependencies = [ "cranelift-bitset", "serde", @@ -1308,9 +1308,9 @@ dependencies = [ [[package]] name = "cranelift-frontend" -version = "0.123.2" +version = "0.124.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9996dd9c20929c03360fe0c4edf3594c0cbb94525bdbfa04b6bb639ec14573c7" +checksum = "36158c03d70e1f443cc2d6d9adc838fc0a031b166f3861534e9cb77742380e2a" dependencies = [ "cranelift-codegen", "log", @@ -1320,15 +1320,15 @@ dependencies = [ [[package]] name = "cranelift-isle" -version = "0.123.2" +version = "0.124.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "928b8dccad51b9e0ffe54accbd617da900239439b13d48f0f122ab61105ca6ad" +checksum = "4fa194bbc189c965454f3a94c1acb6c89d63d5d0b183e60edc17db758bfbe519" [[package]] name = "cranelift-native" -version = "0.123.2" +version = "0.124.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f75ef0a6a2efed3a2a14812318e28dc82c214eab5399c13d70878e2f88947b5" +checksum = "1c469bb98ffe9f38a1a5ada0427ab096f0f1b9a22a30149fc705205c56cf8985" dependencies = [ "cranelift-codegen", "libc", @@ -1337,9 +1337,9 @@ dependencies = [ [[package]] name = "cranelift-srcgen" -version = "0.123.2" +version = "0.124.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "673bd6d1c83cb41d60afb140a1474ef6caf1a3e02f3820fc522aefbc93ac67d6" +checksum = "12d694cd4c6b28fb8a4d0cf5b58d532b6b3b6e4afb2b65603e2ab8dc35bf18bd" [[package]] name = "crc32fast" @@ -2256,7 +2256,7 @@ dependencies = [ "httpdate", "itoa", "pin-project-lite", - "socket2", + "socket2 0.5.9", "tokio", "tower-service", "tracing", @@ -2378,7 +2378,7 @@ dependencies = [ "hyper 1.6.0", "libc", "pin-project-lite", - "socket2", + "socket2 0.5.9", "tokio", "tower-service", "tracing", @@ -2601,9 +2601,9 @@ checksum = "09edd9e8b54e49e587e4f6295a7d29c3ea94d469cb40ab8ca70b288248a81db2" [[package]] name = "libc" -version = "0.2.171" +version = "0.2.177" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c19937216e9d3aa9956d9bb8dfc0b0c8beb6058fc4f7a4dc4d850edf86a237d6" +checksum = "2874a2af47a2325c2001a6e6fad9b16a53b802102b528163885171cf92b15976" [[package]] name = "libm" @@ -2881,7 +2881,7 @@ dependencies = [ "rand 0.8.5", "serde", "serde_json", - "socket2", + "socket2 0.5.9", "thiserror 2.0.16", "tokio", "tokio-native-tls", @@ -3600,9 +3600,9 @@ dependencies = [ [[package]] name = "pulley-interpreter" -version = "36.0.2" +version = "37.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e4e2d31146038fd9e62bfa331db057aca325d5ca10451a9fe341356cead7da53" +checksum = "6cff3cc2c3a933419d4989b9dcdee724ebc9ee4cdc1f175dbaeef71d3b963336" dependencies = [ "cranelift-bitset", "log", @@ -3612,9 +3612,9 @@ dependencies = [ [[package]] name = "pulley-macros" -version = "36.0.2" +version = "37.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "efb9fdafaca625f9ea8cfa793364ea1bdd32d306cff18f166b00ddaa61ecbb27" +checksum = "a56fca4a86a359a71f35f188de13bdfa9dc5b56a36d236fa98cb0db601ef4d21" dependencies = [ "proc-macro2", "quote", @@ -3765,36 +3765,14 @@ dependencies = [ [[package]] name = "redis" -version = "0.25.4" +version = "0.32.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e0d7a6955c7511f60f3ba9e86c6d02b3c3f144f8c24b288d1f4e18074ab8bbec" -dependencies = [ - "async-trait", - "bytes", - "combine", - "futures-util", - "itoa", - "native-tls", - "percent-encoding", - "pin-project-lite", - "ryu", - "sha1_smol", - "socket2", - "tokio", - "tokio-native-tls", - "tokio-util", - "url", -] - -[[package]] -name = "redis" -version = "0.29.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1bc42f3a12fd4408ce64d8efef67048a924e543bd35c6591c0447fda9054695f" +checksum = "014cc767fefab6a3e798ca45112bccad9c6e0e218fbd49720042716c73cfef44" dependencies = [ "arc-swap", "backon", "bytes", + "cfg-if", "combine", "futures-channel", "futures-util", @@ -3805,7 +3783,7 @@ dependencies = [ "pin-project-lite", "ryu", "sha1_smol", - "socket2", + "socket2 0.6.1", "tokio", "tokio-native-tls", "tokio-util", @@ -3854,9 +3832,9 @@ dependencies = [ [[package]] name = "regalloc2" -version = "0.12.2" +version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5216b1837de2149f8bc8e6d5f88a9326b63b8c836ed58ce4a0a29ec736a59734" +checksum = "efd8138ce7c3d7c13be4f61893154b5d711bd798d2d7be3ecb8dcc7e7a06ca98" dependencies = [ "allocator-api2", "bumpalo", @@ -4585,6 +4563,16 @@ dependencies = [ "windows-sys 0.52.0", ] +[[package]] +name = "socket2" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "17129e116933cf371d018bb80ae557e889637989d8638274fb25622827b03881" +dependencies = [ + "libc", + "windows-sys 0.60.2", +] + [[package]] name = "spdx" version = "0.10.2" @@ -4605,8 +4593,8 @@ dependencies = [ [[package]] name = "spin-app" -version = "3.4.1" -source = "git+https://github.com/spinframework/spin?tag=v3.4.1#3ab5404bcb573ba1ea2e1c366e2ff63a90d307b2" +version = "3.5.0" +source = "git+https://github.com/spinframework/spin?tag=v3.5.0#0ca21ceaa8c1eeef00bd8ccf3cc4359e777f818e" dependencies = [ "anyhow", "serde", @@ -4616,8 +4604,8 @@ dependencies = [ [[package]] name = "spin-common" -version = "3.4.1" -source = "git+https://github.com/spinframework/spin?tag=v3.4.1#3ab5404bcb573ba1ea2e1c366e2ff63a90d307b2" +version = "3.5.0" +source = "git+https://github.com/spinframework/spin?tag=v3.5.0#0ca21ceaa8c1eeef00bd8ccf3cc4359e777f818e" dependencies = [ "anyhow", "dirs", @@ -4629,22 +4617,22 @@ dependencies = [ [[package]] name = "spin-componentize" -version = "3.4.1" -source = "git+https://github.com/spinframework/spin?tag=v3.4.1#3ab5404bcb573ba1ea2e1c366e2ff63a90d307b2" +version = "3.5.0" +source = "git+https://github.com/spinframework/spin?tag=v3.5.0#0ca21ceaa8c1eeef00bd8ccf3cc4359e777f818e" dependencies = [ "anyhow", "tracing", - "wasm-encoder 0.236.1", - "wasm-metadata 0.236.1", - "wasmparser 0.236.1", - "wit-component 0.236.1", - "wit-parser 0.236.1", + "wasm-encoder 0.239.0", + "wasm-metadata 0.239.0", + "wasmparser 0.239.0", + "wit-component 0.239.0", + "wit-parser 0.239.0", ] [[package]] name = "spin-compose" -version = "3.4.1" -source = "git+https://github.com/spinframework/spin?tag=v3.4.1#3ab5404bcb573ba1ea2e1c366e2ff63a90d307b2" +version = "3.5.0" +source = "git+https://github.com/spinframework/spin?tag=v3.5.0#0ca21ceaa8c1eeef00bd8ccf3cc4359e777f818e" dependencies = [ "anyhow", "async-trait", @@ -4661,8 +4649,8 @@ dependencies = [ [[package]] name = "spin-core" -version = "3.4.1" -source = "git+https://github.com/spinframework/spin?tag=v3.4.1#3ab5404bcb573ba1ea2e1c366e2ff63a90d307b2" +version = "3.5.0" +source = "git+https://github.com/spinframework/spin?tag=v3.5.0#0ca21ceaa8c1eeef00bd8ccf3cc4359e777f818e" dependencies = [ "anyhow", "async-trait", @@ -4672,7 +4660,7 @@ dependencies = [ [[package]] name = "spin-cron-macro" -version = "0.1.0" +version = "0.3.0" dependencies = [ "proc-macro2", "quote", @@ -4681,7 +4669,7 @@ dependencies = [ [[package]] name = "spin-cron-sdk" -version = "0.2.0" +version = "0.3.0" dependencies = [ "spin-cron-macro", "spin-executor", @@ -4690,9 +4678,9 @@ dependencies = [ [[package]] name = "spin-executor" -version = "5.0.0" +version = "5.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cde323c004c7d9d68fbccd1dd6caee6330aaefbcb40562587fc0356bd0ea8e5f" +checksum = "9fa74c56ad71afb64fff0566d7cb313567d0469ba2a75b0af58c323f59b74280" dependencies = [ "futures", "once_cell", @@ -4701,8 +4689,8 @@ dependencies = [ [[package]] name = "spin-expressions" -version = "3.4.1" -source = "git+https://github.com/spinframework/spin?tag=v3.4.1#3ab5404bcb573ba1ea2e1c366e2ff63a90d307b2" +version = "3.5.0" +source = "git+https://github.com/spinframework/spin?tag=v3.5.0#0ca21ceaa8c1eeef00bd8ccf3cc4359e777f818e" dependencies = [ "anyhow", "async-trait", @@ -4713,8 +4701,8 @@ dependencies = [ [[package]] name = "spin-factor-key-value" -version = "3.4.1" -source = "git+https://github.com/spinframework/spin?tag=v3.4.1#3ab5404bcb573ba1ea2e1c366e2ff63a90d307b2" +version = "3.5.0" +source = "git+https://github.com/spinframework/spin?tag=v3.5.0#0ca21ceaa8c1eeef00bd8ccf3cc4359e777f818e" dependencies = [ "anyhow", "serde", @@ -4732,8 +4720,8 @@ dependencies = [ [[package]] name = "spin-factor-llm" -version = "3.4.1" -source = "git+https://github.com/spinframework/spin?tag=v3.4.1#3ab5404bcb573ba1ea2e1c366e2ff63a90d307b2" +version = "3.5.0" +source = "git+https://github.com/spinframework/spin?tag=v3.5.0#0ca21ceaa8c1eeef00bd8ccf3cc4359e777f818e" dependencies = [ "anyhow", "async-trait", @@ -4751,15 +4739,17 @@ dependencies = [ [[package]] name = "spin-factor-outbound-http" -version = "3.4.1" -source = "git+https://github.com/spinframework/spin?tag=v3.4.1#3ab5404bcb573ba1ea2e1c366e2ff63a90d307b2" +version = "3.5.0" +source = "git+https://github.com/spinframework/spin?tag=v3.5.0#0ca21ceaa8c1eeef00bd8ccf3cc4359e777f818e" dependencies = [ "anyhow", "bytes", "http 1.1.0", + "http-body 1.0.0", "http-body-util", "hyper 1.6.0", "hyper-util", + "pin-project-lite", "reqwest", "rustls 0.23.25", "serde", @@ -4778,8 +4768,8 @@ dependencies = [ [[package]] name = "spin-factor-outbound-mqtt" -version = "3.4.1" -source = "git+https://github.com/spinframework/spin?tag=v3.4.1#3ab5404bcb573ba1ea2e1c366e2ff63a90d307b2" +version = "3.5.0" +source = "git+https://github.com/spinframework/spin?tag=v3.5.0#0ca21ceaa8c1eeef00bd8ccf3cc4359e777f818e" dependencies = [ "anyhow", "rumqttc", @@ -4794,8 +4784,8 @@ dependencies = [ [[package]] name = "spin-factor-outbound-mysql" -version = "3.4.1" -source = "git+https://github.com/spinframework/spin?tag=v3.4.1#3ab5404bcb573ba1ea2e1c366e2ff63a90d307b2" +version = "3.5.0" +source = "git+https://github.com/spinframework/spin?tag=v3.5.0#0ca21ceaa8c1eeef00bd8ccf3cc4359e777f818e" dependencies = [ "anyhow", "mysql_async", @@ -4811,8 +4801,8 @@ dependencies = [ [[package]] name = "spin-factor-outbound-networking" -version = "3.4.1" -source = "git+https://github.com/spinframework/spin?tag=v3.4.1#3ab5404bcb573ba1ea2e1c366e2ff63a90d307b2" +version = "3.5.0" +source = "git+https://github.com/spinframework/spin?tag=v3.5.0#0ca21ceaa8c1eeef00bd8ccf3cc4359e777f818e" dependencies = [ "anyhow", "futures-util", @@ -4835,8 +4825,8 @@ dependencies = [ [[package]] name = "spin-factor-outbound-pg" -version = "3.4.1" -source = "git+https://github.com/spinframework/spin?tag=v3.4.1#3ab5404bcb573ba1ea2e1c366e2ff63a90d307b2" +version = "3.5.0" +source = "git+https://github.com/spinframework/spin?tag=v3.5.0#0ca21ceaa8c1eeef00bd8ccf3cc4359e777f818e" dependencies = [ "anyhow", "bytes", @@ -4861,23 +4851,24 @@ dependencies = [ [[package]] name = "spin-factor-outbound-redis" -version = "3.4.1" -source = "git+https://github.com/spinframework/spin?tag=v3.4.1#3ab5404bcb573ba1ea2e1c366e2ff63a90d307b2" +version = "3.5.0" +source = "git+https://github.com/spinframework/spin?tag=v3.5.0#0ca21ceaa8c1eeef00bd8ccf3cc4359e777f818e" dependencies = [ "anyhow", - "redis 0.25.4", + "redis", "spin-core", "spin-factor-outbound-networking", "spin-factors", "spin-resource-table", "spin-world", + "tokio", "tracing", ] [[package]] name = "spin-factor-sqlite" -version = "3.4.1" -source = "git+https://github.com/spinframework/spin?tag=v3.4.1#3ab5404bcb573ba1ea2e1c366e2ff63a90d307b2" +version = "3.5.0" +source = "git+https://github.com/spinframework/spin?tag=v3.5.0#0ca21ceaa8c1eeef00bd8ccf3cc4359e777f818e" dependencies = [ "async-trait", "spin-factors", @@ -4890,8 +4881,8 @@ dependencies = [ [[package]] name = "spin-factor-variables" -version = "3.4.1" -source = "git+https://github.com/spinframework/spin?tag=v3.4.1#3ab5404bcb573ba1ea2e1c366e2ff63a90d307b2" +version = "3.5.0" +source = "git+https://github.com/spinframework/spin?tag=v3.5.0#0ca21ceaa8c1eeef00bd8ccf3cc4359e777f818e" dependencies = [ "spin-expressions", "spin-factors", @@ -4902,8 +4893,8 @@ dependencies = [ [[package]] name = "spin-factor-wasi" -version = "3.4.1" -source = "git+https://github.com/spinframework/spin?tag=v3.4.1#3ab5404bcb573ba1ea2e1c366e2ff63a90d307b2" +version = "3.5.0" +source = "git+https://github.com/spinframework/spin?tag=v3.5.0#0ca21ceaa8c1eeef00bd8ccf3cc4359e777f818e" dependencies = [ "async-trait", "bytes", @@ -4916,8 +4907,8 @@ dependencies = [ [[package]] name = "spin-factors" -version = "3.4.1" -source = "git+https://github.com/spinframework/spin?tag=v3.4.1#3ab5404bcb573ba1ea2e1c366e2ff63a90d307b2" +version = "3.5.0" +source = "git+https://github.com/spinframework/spin?tag=v3.5.0#0ca21ceaa8c1eeef00bd8ccf3cc4359e777f818e" dependencies = [ "anyhow", "serde", @@ -4930,8 +4921,8 @@ dependencies = [ [[package]] name = "spin-factors-derive" -version = "3.4.1" -source = "git+https://github.com/spinframework/spin?tag=v3.4.1#3ab5404bcb573ba1ea2e1c366e2ff63a90d307b2" +version = "3.5.0" +source = "git+https://github.com/spinframework/spin?tag=v3.5.0#0ca21ceaa8c1eeef00bd8ccf3cc4359e777f818e" dependencies = [ "proc-macro2", "quote", @@ -4940,8 +4931,8 @@ dependencies = [ [[package]] name = "spin-factors-executor" -version = "3.4.1" -source = "git+https://github.com/spinframework/spin?tag=v3.4.1#3ab5404bcb573ba1ea2e1c366e2ff63a90d307b2" +version = "3.5.0" +source = "git+https://github.com/spinframework/spin?tag=v3.5.0#0ca21ceaa8c1eeef00bd8ccf3cc4359e777f818e" dependencies = [ "anyhow", "spin-app", @@ -4951,8 +4942,8 @@ dependencies = [ [[package]] name = "spin-key-value-aws" -version = "3.4.1" -source = "git+https://github.com/spinframework/spin?tag=v3.4.1#3ab5404bcb573ba1ea2e1c366e2ff63a90d307b2" +version = "3.5.0" +source = "git+https://github.com/spinframework/spin?tag=v3.5.0#0ca21ceaa8c1eeef00bd8ccf3cc4359e777f818e" dependencies = [ "anyhow", "async-once-cell", @@ -4966,8 +4957,8 @@ dependencies = [ [[package]] name = "spin-key-value-azure" -version = "3.4.1" -source = "git+https://github.com/spinframework/spin?tag=v3.4.1#3ab5404bcb573ba1ea2e1c366e2ff63a90d307b2" +version = "3.5.0" +source = "git+https://github.com/spinframework/spin?tag=v3.5.0#0ca21ceaa8c1eeef00bd8ccf3cc4359e777f818e" dependencies = [ "anyhow", "async-trait", @@ -4982,11 +4973,11 @@ dependencies = [ [[package]] name = "spin-key-value-redis" -version = "3.4.1" -source = "git+https://github.com/spinframework/spin?tag=v3.4.1#3ab5404bcb573ba1ea2e1c366e2ff63a90d307b2" +version = "3.5.0" +source = "git+https://github.com/spinframework/spin?tag=v3.5.0#0ca21ceaa8c1eeef00bd8ccf3cc4359e777f818e" dependencies = [ "anyhow", - "redis 0.29.5", + "redis", "serde", "spin-core", "spin-factor-key-value", @@ -4996,8 +4987,8 @@ dependencies = [ [[package]] name = "spin-key-value-spin" -version = "3.4.1" -source = "git+https://github.com/spinframework/spin?tag=v3.4.1#3ab5404bcb573ba1ea2e1c366e2ff63a90d307b2" +version = "3.5.0" +source = "git+https://github.com/spinframework/spin?tag=v3.5.0#0ca21ceaa8c1eeef00bd8ccf3cc4359e777f818e" dependencies = [ "anyhow", "rusqlite", @@ -5010,8 +5001,8 @@ dependencies = [ [[package]] name = "spin-llm-remote-http" -version = "3.4.1" -source = "git+https://github.com/spinframework/spin?tag=v3.4.1#3ab5404bcb573ba1ea2e1c366e2ff63a90d307b2" +version = "3.5.0" +source = "git+https://github.com/spinframework/spin?tag=v3.5.0#0ca21ceaa8c1eeef00bd8ccf3cc4359e777f818e" dependencies = [ "anyhow", "reqwest", @@ -5024,8 +5015,8 @@ dependencies = [ [[package]] name = "spin-locked-app" -version = "3.4.1" -source = "git+https://github.com/spinframework/spin?tag=v3.4.1#3ab5404bcb573ba1ea2e1c366e2ff63a90d307b2" +version = "3.5.0" +source = "git+https://github.com/spinframework/spin?tag=v3.5.0#0ca21ceaa8c1eeef00bd8ccf3cc4359e777f818e" dependencies = [ "anyhow", "async-trait", @@ -5038,8 +5029,8 @@ dependencies = [ [[package]] name = "spin-manifest" -version = "3.4.1" -source = "git+https://github.com/spinframework/spin?tag=v3.4.1#3ab5404bcb573ba1ea2e1c366e2ff63a90d307b2" +version = "3.5.0" +source = "git+https://github.com/spinframework/spin?tag=v3.5.0#0ca21ceaa8c1eeef00bd8ccf3cc4359e777f818e" dependencies = [ "anyhow", "indexmap 2.9.0", @@ -5056,8 +5047,8 @@ dependencies = [ [[package]] name = "spin-outbound-networking-config" -version = "3.4.1" -source = "git+https://github.com/spinframework/spin?tag=v3.4.1#3ab5404bcb573ba1ea2e1c366e2ff63a90d307b2" +version = "3.5.0" +source = "git+https://github.com/spinframework/spin?tag=v3.5.0#0ca21ceaa8c1eeef00bd8ccf3cc4359e777f818e" dependencies = [ "anyhow", "futures-util", @@ -5072,13 +5063,13 @@ dependencies = [ [[package]] name = "spin-resource-table" -version = "3.4.1" -source = "git+https://github.com/spinframework/spin?tag=v3.4.1#3ab5404bcb573ba1ea2e1c366e2ff63a90d307b2" +version = "3.5.0" +source = "git+https://github.com/spinframework/spin?tag=v3.5.0#0ca21ceaa8c1eeef00bd8ccf3cc4359e777f818e" [[package]] name = "spin-runtime-config" -version = "3.4.1" -source = "git+https://github.com/spinframework/spin?tag=v3.4.1#3ab5404bcb573ba1ea2e1c366e2ff63a90d307b2" +version = "3.5.0" +source = "git+https://github.com/spinframework/spin?tag=v3.5.0#0ca21ceaa8c1eeef00bd8ccf3cc4359e777f818e" dependencies = [ "anyhow", "serde", @@ -5111,8 +5102,8 @@ dependencies = [ [[package]] name = "spin-runtime-factors" -version = "3.4.1" -source = "git+https://github.com/spinframework/spin?tag=v3.4.1#3ab5404bcb573ba1ea2e1c366e2ff63a90d307b2" +version = "3.5.0" +source = "git+https://github.com/spinframework/spin?tag=v3.5.0#0ca21ceaa8c1eeef00bd8ccf3cc4359e777f818e" dependencies = [ "anyhow", "clap", @@ -5139,8 +5130,8 @@ dependencies = [ [[package]] name = "spin-serde" -version = "3.4.1" -source = "git+https://github.com/spinframework/spin?tag=v3.4.1#3ab5404bcb573ba1ea2e1c366e2ff63a90d307b2" +version = "3.5.0" +source = "git+https://github.com/spinframework/spin?tag=v3.5.0#0ca21ceaa8c1eeef00bd8ccf3cc4359e777f818e" dependencies = [ "anyhow", "base64 0.22.1", @@ -5152,8 +5143,8 @@ dependencies = [ [[package]] name = "spin-sqlite" -version = "3.4.1" -source = "git+https://github.com/spinframework/spin?tag=v3.4.1#3ab5404bcb573ba1ea2e1c366e2ff63a90d307b2" +version = "3.5.0" +source = "git+https://github.com/spinframework/spin?tag=v3.5.0#0ca21ceaa8c1eeef00bd8ccf3cc4359e777f818e" dependencies = [ "serde", "spin-factor-sqlite", @@ -5165,8 +5156,8 @@ dependencies = [ [[package]] name = "spin-sqlite-inproc" -version = "3.4.1" -source = "git+https://github.com/spinframework/spin?tag=v3.4.1#3ab5404bcb573ba1ea2e1c366e2ff63a90d307b2" +version = "3.5.0" +source = "git+https://github.com/spinframework/spin?tag=v3.5.0#0ca21ceaa8c1eeef00bd8ccf3cc4359e777f818e" dependencies = [ "anyhow", "async-trait", @@ -5178,8 +5169,8 @@ dependencies = [ [[package]] name = "spin-sqlite-libsql" -version = "3.4.1" -source = "git+https://github.com/spinframework/spin?tag=v3.4.1#3ab5404bcb573ba1ea2e1c366e2ff63a90d307b2" +version = "3.5.0" +source = "git+https://github.com/spinframework/spin?tag=v3.5.0#0ca21ceaa8c1eeef00bd8ccf3cc4359e777f818e" dependencies = [ "anyhow", "async-trait", @@ -5191,8 +5182,8 @@ dependencies = [ [[package]] name = "spin-telemetry" -version = "3.4.1" -source = "git+https://github.com/spinframework/spin?tag=v3.4.1#3ab5404bcb573ba1ea2e1c366e2ff63a90d307b2" +version = "3.5.0" +source = "git+https://github.com/spinframework/spin?tag=v3.5.0#0ca21ceaa8c1eeef00bd8ccf3cc4359e777f818e" dependencies = [ "anyhow", "http 0.2.11", @@ -5209,8 +5200,8 @@ dependencies = [ [[package]] name = "spin-trigger" -version = "3.4.1" -source = "git+https://github.com/spinframework/spin?tag=v3.4.1#3ab5404bcb573ba1ea2e1c366e2ff63a90d307b2" +version = "3.5.0" +source = "git+https://github.com/spinframework/spin?tag=v3.5.0#0ca21ceaa8c1eeef00bd8ccf3cc4359e777f818e" dependencies = [ "anyhow", "clap", @@ -5225,6 +5216,7 @@ dependencies = [ "spin-core", "spin-factor-key-value", "spin-factor-sqlite", + "spin-factor-variables", "spin-factor-wasi", "spin-factors", "spin-factors-executor", @@ -5235,8 +5227,8 @@ dependencies = [ [[package]] name = "spin-variables-azure" -version = "3.4.1" -source = "git+https://github.com/spinframework/spin?tag=v3.4.1#3ab5404bcb573ba1ea2e1c366e2ff63a90d307b2" +version = "3.5.0" +source = "git+https://github.com/spinframework/spin?tag=v3.5.0#0ca21ceaa8c1eeef00bd8ccf3cc4359e777f818e" dependencies = [ "azure_core 0.20.0", "azure_identity 0.20.0", @@ -5250,8 +5242,8 @@ dependencies = [ [[package]] name = "spin-variables-env" -version = "3.4.1" -source = "git+https://github.com/spinframework/spin?tag=v3.4.1#3ab5404bcb573ba1ea2e1c366e2ff63a90d307b2" +version = "3.5.0" +source = "git+https://github.com/spinframework/spin?tag=v3.5.0#0ca21ceaa8c1eeef00bd8ccf3cc4359e777f818e" dependencies = [ "dotenvy", "serde", @@ -5264,8 +5256,8 @@ dependencies = [ [[package]] name = "spin-variables-static" -version = "3.4.1" -source = "git+https://github.com/spinframework/spin?tag=v3.4.1#3ab5404bcb573ba1ea2e1c366e2ff63a90d307b2" +version = "3.5.0" +source = "git+https://github.com/spinframework/spin?tag=v3.5.0#0ca21ceaa8c1eeef00bd8ccf3cc4359e777f818e" dependencies = [ "serde", "serde_json", @@ -5277,8 +5269,8 @@ dependencies = [ [[package]] name = "spin-variables-vault" -version = "3.4.1" -source = "git+https://github.com/spinframework/spin?tag=v3.4.1#3ab5404bcb573ba1ea2e1c366e2ff63a90d307b2" +version = "3.5.0" +source = "git+https://github.com/spinframework/spin?tag=v3.5.0#0ca21ceaa8c1eeef00bd8ccf3cc4359e777f818e" dependencies = [ "serde", "spin-expressions", @@ -5289,8 +5281,8 @@ dependencies = [ [[package]] name = "spin-world" -version = "3.4.1" -source = "git+https://github.com/spinframework/spin?tag=v3.4.1#3ab5404bcb573ba1ea2e1c366e2ff63a90d307b2" +version = "3.5.0" +source = "git+https://github.com/spinframework/spin?tag=v3.5.0#0ca21ceaa8c1eeef00bd8ccf3cc4359e777f818e" dependencies = [ "async-trait", "wasmtime", @@ -5460,8 +5452,8 @@ dependencies = [ [[package]] name = "terminal" -version = "3.4.1" -source = "git+https://github.com/spinframework/spin?tag=v3.4.1#3ab5404bcb573ba1ea2e1c366e2ff63a90d307b2" +version = "3.5.0" +source = "git+https://github.com/spinframework/spin?tag=v3.5.0#0ca21ceaa8c1eeef00bd8ccf3cc4359e777f818e" dependencies = [ "termcolor", ] @@ -5584,7 +5576,7 @@ dependencies = [ "parking_lot", "pin-project-lite", "signal-hook-registry", - "socket2", + "socket2 0.5.9", "tokio-macros", "windows-sys 0.52.0", ] @@ -5645,7 +5637,7 @@ dependencies = [ "postgres-protocol", "postgres-types", "rand 0.9.0", - "socket2", + "socket2 0.5.9", "tokio", "tokio-util", "whoami", @@ -5763,7 +5755,7 @@ dependencies = [ "percent-encoding", "pin-project", "prost 0.13.5", - "socket2", + "socket2 0.5.9", "tokio", "tokio-stream", "tower", @@ -5904,7 +5896,7 @@ dependencies = [ [[package]] name = "trigger-cron" -version = "0.2.0" +version = "0.3.0" dependencies = [ "anyhow", "async-trait", @@ -6235,22 +6227,22 @@ dependencies = [ [[package]] name = "wasm-encoder" -version = "0.236.1" +version = "0.239.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "724fccfd4f3c24b7e589d333fc0429c68042897a7e8a5f8694f31792471841e7" +checksum = "5be00faa2b4950c76fe618c409d2c3ea5a3c9422013e079482d78544bb2d184c" dependencies = [ "leb128fmt", - "wasmparser 0.236.1", + "wasmparser 0.239.0", ] [[package]] name = "wasm-encoder" -version = "0.238.0" +version = "0.240.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50143b010bdc3adbd16275710f9085cc80d9c12cb869309a51a98ce2ff96558e" +checksum = "06d642d8c5ecc083aafe9ceb32809276a304547a3a6eeecceb5d8152598bc71f" dependencies = [ "leb128fmt", - "wasmparser 0.238.0", + "wasmparser 0.240.0", ] [[package]] @@ -6274,9 +6266,9 @@ dependencies = [ [[package]] name = "wasm-metadata" -version = "0.236.1" +version = "0.239.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c909f94a49a8de3365f3c0344f064818f1e369ff1740c5b04f455f85d454768e" +checksum = "20b3ec880a9ac69ccd92fbdbcf46ee833071cf09f82bb005b2327c7ae6025ae2" dependencies = [ "anyhow", "auditable-serde", @@ -6287,8 +6279,8 @@ dependencies = [ "serde_json", "spdx", "url", - "wasm-encoder 0.236.1", - "wasmparser 0.236.1", + "wasm-encoder 0.239.0", + "wasmparser 0.239.0", ] [[package]] @@ -6336,9 +6328,9 @@ dependencies = [ [[package]] name = "wasmparser" -version = "0.236.1" +version = "0.239.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9b1e81f3eb254cf7404a82cee6926a4a3ccc5aad80cc3d43608a070c67aa1d7" +checksum = "8c9d90bb93e764f6beabf1d02028c70a2156a6583e63ac4218dd07ef733368b0" dependencies = [ "bitflags 2.9.0", "hashbrown 0.15.2", @@ -6349,9 +6341,9 @@ dependencies = [ [[package]] name = "wasmparser" -version = "0.238.0" +version = "0.240.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0ad4ca2ecb86b79ea410cd970985665de1d05774b7107b214bc5852b1bcbad7" +checksum = "b722dcf61e0ea47440b53ff83ccb5df8efec57a69d150e4f24882e4eba7e24a4" dependencies = [ "bitflags 2.9.0", "indexmap 2.9.0", @@ -6360,29 +6352,31 @@ dependencies = [ [[package]] name = "wasmprinter" -version = "0.236.1" +version = "0.239.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2df225df06a6df15b46e3f73ca066ff92c2e023670969f7d50ce7d5e695abbb1" +checksum = "b3981f3d51f39f24f5fc90f93049a90f08dbbca8deba602cd46bb8ca67a94718" dependencies = [ "anyhow", "termcolor", - "wasmparser 0.236.1", + "wasmparser 0.239.0", ] [[package]] name = "wasmtime" -version = "36.0.2" +version = "37.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b3e1fab634681494213138ea3a18e958e5ea99da13a4a01a4b870d51a41680b" +checksum = "1092d79769b1f888940a572ed881eec18f837cb96201985eb5928226759ebc3e" dependencies = [ "addr2line 0.25.0", "anyhow", "async-trait", "bitflags 2.9.0", "bumpalo", + "bytes", "cc", "cfg-if", "encoding_rs", + "futures", "fxprof-processed-profile", "gimli 0.32.2", "hashbrown 0.15.2", @@ -6404,8 +6398,8 @@ dependencies = [ "serde_json", "smallvec", "target-lexicon", - "wasm-encoder 0.236.1", - "wasmparser 0.236.1", + "wasm-encoder 0.239.0", + "wasmparser 0.239.0", "wasmtime-environ", "wasmtime-internal-asm-macros", "wasmtime-internal-cache", @@ -6426,9 +6420,9 @@ dependencies = [ [[package]] name = "wasmtime-environ" -version = "36.0.2" +version = "37.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6750e519977953a018fe994aada7e02510aea4babb03310aa5f5b4145b6e6577" +checksum = "484db5c4dd06e96559217b60893b5dbb9fe3cd28489c83a4257b277c9ead959c" dependencies = [ "anyhow", "cpp_demangle", @@ -6445,26 +6439,26 @@ dependencies = [ "serde_derive", "smallvec", "target-lexicon", - "wasm-encoder 0.236.1", - "wasmparser 0.236.1", + "wasm-encoder 0.239.0", + "wasmparser 0.239.0", "wasmprinter", "wasmtime-internal-component-util", ] [[package]] name = "wasmtime-internal-asm-macros" -version = "36.0.2" +version = "37.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bdbf38adac6e81d5c0326e8fd25f80450e3038f2fc103afd3c5cc8b83d5dd78b" +checksum = "60d3903b8db592bb4f5e847bd6dc38f485791d4d9ebc9e2df167d3c7f072115c" dependencies = [ "cfg-if", ] [[package]] name = "wasmtime-internal-cache" -version = "36.0.2" +version = "37.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0c9085d8c04cc294612d743e2f355382b39250de4bd20bf4b0b0b7c0ae7067a" +checksum = "5ab11f58f3b24a4a47d7d99b45ca22635c33cf26acdda1fe77612180e7285e2f" dependencies = [ "anyhow", "base64 0.22.1", @@ -6482,9 +6476,9 @@ dependencies = [ [[package]] name = "wasmtime-internal-component-macro" -version = "36.0.2" +version = "37.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26a578a474e3b7ddce063cd169ced292b5185013341457522891b10e989aa42a" +checksum = "73c7d26d0c0d6da9f35dd56e3651a84bc4741646803e78886a3144aaf15c941e" dependencies = [ "anyhow", "proc-macro2", @@ -6492,20 +6486,20 @@ dependencies = [ "syn 2.0.106", "wasmtime-internal-component-util", "wasmtime-internal-wit-bindgen", - "wit-parser 0.236.1", + "wit-parser 0.239.0", ] [[package]] name = "wasmtime-internal-component-util" -version = "36.0.2" +version = "37.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "edc23d46ec1b1cd42b6f73205eb80498ed94b47098ec53456c0b18299405b158" +checksum = "bb62647125f7a0833cefb9a8862bc7886d206fe4e7131201bddd8d3979abbb02" [[package]] name = "wasmtime-internal-cranelift" -version = "36.0.2" +version = "37.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d85b8ba128525bff91b89ac8a97755136a4fb0fb59df5ffb7539dd646455d441" +checksum = "d802c0a214c82fbf3e60ead87bf4d5dff7fc957c9a4449ceeae74bd89283ee57" dependencies = [ "anyhow", "cfg-if", @@ -6522,17 +6516,18 @@ dependencies = [ "smallvec", "target-lexicon", "thiserror 2.0.16", - "wasmparser 0.236.1", + "wasmparser 0.239.0", "wasmtime-environ", "wasmtime-internal-math", + "wasmtime-internal-unwinder", "wasmtime-internal-versioned-export-macros", ] [[package]] name = "wasmtime-internal-fiber" -version = "36.0.2" +version = "37.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c566f5137de1f55339df8a236a5ec89698b466a3d33f9cc07823a58a3f85e16" +checksum = "43fdeb4c50dbbb3ebf01f7e6d270ba4239c8db5ff1e68725386abad2e5250be4" dependencies = [ "anyhow", "cc", @@ -6546,9 +6541,9 @@ dependencies = [ [[package]] name = "wasmtime-internal-jit-debug" -version = "36.0.2" +version = "37.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e03f0b11f8fe4d456feac11e7e9dc6f02ddb34d4f6a1912775dbc63c5bdd5670" +checksum = "4fe059ecd3f572ec2f616f036e5f31a88649a5f16e4838147cb3af6c3b5cedd5" dependencies = [ "cc", "object 0.37.3", @@ -6558,9 +6553,9 @@ dependencies = [ [[package]] name = "wasmtime-internal-jit-icache-coherence" -version = "36.0.2" +version = "37.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "71aeb74f9b3fd9225319c723e59832a77a674b0c899ba9795f9b2130a6d1b167" +checksum = "4a03f55a9dbfa30f2ed269fa9735c2994b8423461d45c3ca08aa7a103daeff20" dependencies = [ "anyhow", "cfg-if", @@ -6570,24 +6565,24 @@ dependencies = [ [[package]] name = "wasmtime-internal-math" -version = "36.0.2" +version = "37.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "31d5dad8a609c6cc47a5f265f13b52e347e893450a69641af082b8a276043fa7" +checksum = "ed7f491d2c7f1be3f6e5485ab5a26f26f177860c8b5c16d3ab87df4b24f28e40" dependencies = [ "libm", ] [[package]] name = "wasmtime-internal-slab" -version = "36.0.2" +version = "37.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d152a7b875d62e395bfe0ae7d12e7b47cd332eb380353cce3eb831f9843731d" +checksum = "ce79a933dd9c5fdcc1ce1f6b46e89e72ccb6767619557f0468d97fbfb0475db6" [[package]] name = "wasmtime-internal-unwinder" -version = "36.0.2" +version = "37.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2aaacc0fea00293f7af7e6c25cef74b7d213ebbe7560c86305eec15fc318fab8" +checksum = "b0e12be7ff91e956c6e7cee17654982669493c4aaa861e3536f7b1c22999519d" dependencies = [ "anyhow", "cfg-if", @@ -6598,9 +6593,9 @@ dependencies = [ [[package]] name = "wasmtime-internal-versioned-export-macros" -version = "36.0.2" +version = "37.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c61c7f75326434944cc5f3b75409a063fa37e537f6247f00f0f733679f0be406" +checksum = "67d114c747409b6f76ddf86deb2c5976f809baed3eea8fdca493063ea182246b" dependencies = [ "proc-macro2", "quote", @@ -6609,16 +6604,17 @@ dependencies = [ [[package]] name = "wasmtime-internal-winch" -version = "36.0.2" +version = "37.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6cfbaa87e1ac4972bb096c9cb1800fedc113e36332cc4bc2c96a2ef1d7c5e750" +checksum = "0dc9d9e984025efce72ec4b90b95790e857f2fef7601c317abedf61226e21585" dependencies = [ "anyhow", "cranelift-codegen", "gimli 0.32.2", + "log", "object 0.37.3", "target-lexicon", - "wasmparser 0.236.1", + "wasmparser 0.239.0", "wasmtime-environ", "wasmtime-internal-cranelift", "winch-codegen", @@ -6626,22 +6622,22 @@ dependencies = [ [[package]] name = "wasmtime-internal-wit-bindgen" -version = "36.0.2" +version = "37.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "169042d58002f16da149ab7d608b71164411abd1fc5140f48f4c200b44bb5565" +checksum = "2fb054d6661ef694d1d90e1c01233cb8ef0d7f84b73980709d3facef1373e189" dependencies = [ "anyhow", "bitflags 2.9.0", "heck 0.5.0", "indexmap 2.9.0", - "wit-parser 0.236.1", + "wit-parser 0.239.0", ] [[package]] name = "wasmtime-wasi" -version = "36.0.2" +version = "37.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9049a5fedcd24fa0f665ba7c17c4445c1a547536a9560d960e15bee2d8428d0" +checksum = "da6617d09fda0be82e11227418e5561c67a8469709215d7c05a9d9f4d2192dc7" dependencies = [ "anyhow", "async-trait", @@ -6670,9 +6666,9 @@ dependencies = [ [[package]] name = "wasmtime-wasi-http" -version = "36.0.2" +version = "37.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c1eea0b00539f0a3defce68bddb746736debea787e2f3a67cb562df977eb65a7" +checksum = "3822921e191aa0b6aaf7015f12dad4703e54dad0a9b41b68d846c79ea19e7d21" dependencies = [ "anyhow", "async-trait", @@ -6685,6 +6681,7 @@ dependencies = [ "rustls 0.22.4", "tokio", "tokio-rustls 0.25.0", + "tokio-util", "tracing", "wasmtime", "wasmtime-wasi", @@ -6694,9 +6691,9 @@ dependencies = [ [[package]] name = "wasmtime-wasi-io" -version = "36.0.2" +version = "37.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d62156d8695d80df8e85baeb56379b3ba6b6bf5996671594724c24d40b67825f" +checksum = "fdca5f5ac3e7814f184f44e49add8e99a3e92bc1ceb45c05ba013b2822b7b705" dependencies = [ "anyhow", "async-trait", @@ -6716,24 +6713,24 @@ dependencies = [ [[package]] name = "wast" -version = "238.0.0" +version = "240.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c671ea796336ebaa49b963adb14cf13cb98de4e64d69ed4a16ace8c7b4db87b" +checksum = "b0efe1c93db4ac562b9733e3dca19ed7fc878dba29aef22245acf84f13da4a19" dependencies = [ "bumpalo", "leb128fmt", "memchr", "unicode-width", - "wasm-encoder 0.238.0", + "wasm-encoder 0.240.0", ] [[package]] name = "wat" -version = "1.238.0" +version = "1.240.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8de04a6a9c93aaae4de7bec6323bf11f810457b479f9f877e80d212fd77ffdbc" +checksum = "4ec9b6eab7ecd4d639d78515e9ea491c9bacf494aa5eda10823bd35992cf8c1e" dependencies = [ - "wast 238.0.0", + "wast 240.0.0", ] [[package]] @@ -6778,9 +6775,9 @@ dependencies = [ [[package]] name = "wiggle" -version = "36.0.2" +version = "37.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e233166bc0ef02371ebe2c630aba51dd3f015bcaf616d32b4171efab84d09137" +checksum = "7e45c8d34846d01d20157c00cd61e207e4f4d8889cfc69b45d43e5114834e71e" dependencies = [ "anyhow", "async-trait", @@ -6793,9 +6790,9 @@ dependencies = [ [[package]] name = "wiggle-generate" -version = "36.0.2" +version = "37.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93048543902e61c65b75d8a9ea0e78d5a8723e5db6e11ff93870165807c4463d" +checksum = "772a63dfce3a1bce1cc019720e43603633c5a2cb84291bec77f438ec38b55bf2" dependencies = [ "anyhow", "heck 0.5.0", @@ -6807,9 +6804,9 @@ dependencies = [ [[package]] name = "wiggle-macro" -version = "36.0.2" +version = "37.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fd7e511edbcaa045079dea564486c4ff7946ae491002227c41d74ea62a59d329" +checksum = "3636c0c0352f54b28f45d1327784176e134009db4230024be6509966c88adf74" dependencies = [ "proc-macro2", "quote", @@ -6850,9 +6847,9 @@ checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" [[package]] name = "winch-codegen" -version = "36.0.2" +version = "37.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e615fe205d7d4c9aa62217862f2e0969d00b9b0843af0b1b8181adaea3cfef3" +checksum = "61aeea98b13a9d2f537b9aec71a168397aefd5a3faebdc6b3d96ff7df4592e59" dependencies = [ "anyhow", "cranelift-assembler-x64", @@ -6862,7 +6859,7 @@ dependencies = [ "smallvec", "target-lexicon", "thiserror 2.0.16", - "wasmparser 0.236.1", + "wasmparser 0.239.0", "wasmtime-environ", "wasmtime-internal-cranelift", "wasmtime-internal-math", @@ -7341,9 +7338,9 @@ dependencies = [ [[package]] name = "wit-component" -version = "0.236.1" +version = "0.239.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3622959ed7ed6341c38e5aa35af243632534b0a36226852faa802939ce11e00f" +checksum = "88a866b19dba2c94d706ec58c92a4c62ab63e482b4c935d2a085ac94caecb136" dependencies = [ "anyhow", "bitflags 2.9.0", @@ -7352,10 +7349,10 @@ dependencies = [ "serde", "serde_derive", "serde_json", - "wasm-encoder 0.236.1", - "wasm-metadata 0.236.1", - "wasmparser 0.236.1", - "wit-parser 0.236.1", + "wasm-encoder 0.239.0", + "wasm-metadata 0.239.0", + "wasmparser 0.239.0", + "wit-parser 0.239.0", ] [[package]] @@ -7378,9 +7375,9 @@ dependencies = [ [[package]] name = "wit-parser" -version = "0.236.1" +version = "0.239.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "16e4833a20cd6e85d6abfea0e63a399472d6f88c6262957c17f546879a80ba15" +checksum = "55c92c939d667b7bf0c6bf2d1f67196529758f99a2a45a3355cc56964fd5315d" dependencies = [ "anyhow", "id-arena", @@ -7391,7 +7388,7 @@ dependencies = [ "serde_derive", "serde_json", "unicode-xid", - "wasmparser 0.236.1", + "wasmparser 0.239.0", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index 687dce0..06d757d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,32 +3,30 @@ name = "trigger-cron" version = { workspace = true } authors = { workspace = true } edition = { workspace = true } -rust-version = "1.73" +rust-version = { workspace = true } [workspace.package] -version = "0.2.0" -authors = ["Fermyon Engineering "] +version = "0.3.0" +authors = ["The Spin authors"] edition = "2021" -rust-version = "1.82" +rust-version = "1.87" [workspace] members = ["sdk", "sdk/macro"] -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html - [dependencies] 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.4.1" } -spin-runtime-factors = { git = "https://github.com/spinframework/spin", tag = "v3.4.1" } -spin-trigger = { git = "https://github.com/spinframework/spin", tag = "v3.4.1" } +spin-factors = { git = "https://github.com/spinframework/spin", tag = "v3.5.0" } +spin-runtime-factors = { git = "https://github.com/spinframework/spin", tag = "v3.5.0" } +spin-trigger = { git = "https://github.com/spinframework/spin", tag = "v3.5.0" } 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 = "36.0.2" } +wasmtime = { version = "37.0.1" } [target.'cfg(target_os = "linux")'.dependencies] # This needs to be an explicit dependency to enable diff --git a/guest-python/spin.toml b/guest-python/spin.toml index f470bbc..e8234cb 100644 --- a/guest-python/spin.toml +++ b/guest-python/spin.toml @@ -2,8 +2,7 @@ spin_manifest_version = 2 [application] name = "cron-sampl-py" -authors = ["Fermyon Engineering "] -description = "" +authors = ["The Spin authors"] version = "0.1.0" [[trigger.cron]] diff --git a/guest-rust/Cargo.lock b/guest-rust/Cargo.lock index 621c2e7..665fd0d 100644 --- a/guest-rust/Cargo.lock +++ b/guest-rust/Cargo.lock @@ -1,6 +1,6 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. -version = 3 +version = 4 [[package]] name = "android-tzdata" @@ -81,9 +81,9 @@ checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" [[package]] name = "bytes" -version = "1.5.0" +version = "1.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2bd12c1caf447e69cd4528f47f94d203fd2582878ecb9e9465484c4148a8223" +checksum = "d71b6127be86fdcfddb610f7182ac57211d4b18a3e9c82eb2d17662f2227ad6a" [[package]] name = "cc" @@ -328,9 +328,9 @@ dependencies = [ [[package]] name = "http" -version = "1.1.0" +version = "1.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21b9ddb458710bc376481b842f5da65cdf31522de232c1ca8146abce2a358258" +checksum = "f4a85d31aea989eead29a3aaf9e1115a180df8282431156e533de47660892565" dependencies = [ "bytes", "fnv", @@ -689,7 +689,7 @@ dependencies = [ [[package]] name = "spin-cron-macro" -version = "0.1.0" +version = "0.3.0" dependencies = [ "proc-macro2", "quote", @@ -698,7 +698,7 @@ dependencies = [ [[package]] name = "spin-cron-sdk" -version = "0.2.0" +version = "0.3.0" dependencies = [ "spin-cron-macro", "spin-executor", @@ -707,9 +707,9 @@ dependencies = [ [[package]] name = "spin-executor" -version = "5.0.0" +version = "5.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cde323c004c7d9d68fbccd1dd6caee6330aaefbcb40562587fc0356bd0ea8e5f" +checksum = "9fa74c56ad71afb64fff0566d7cb313567d0469ba2a75b0af58c323f59b74280" dependencies = [ "futures", "once_cell", @@ -718,9 +718,9 @@ dependencies = [ [[package]] name = "spin-macro" -version = "5.0.0" +version = "5.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c1592d94530c032aa8676c8adee71022fba49504ae6d4d8961a454029d3bac6f" +checksum = "74edf3aab0f4e24b30e765d10fcdbff69aa2d1906907f3318c5f8a8106daef34" dependencies = [ "anyhow", "bytes", @@ -731,9 +731,9 @@ dependencies = [ [[package]] name = "spin-sdk" -version = "5.0.0" +version = "5.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72e9705e63f1e7f955b3c9bef754a6f957624d734c6091990a2dc6f1e135625d" +checksum = "5374bed998dc151d3c3a45ffdba3269d9f94ea6cf19f002ff7fc744edb09a5f8" dependencies = [ "anyhow", "async-trait", @@ -803,18 +803,18 @@ dependencies = [ [[package]] name = "thiserror" -version = "1.0.50" +version = "2.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f9a7210f5c9a7156bb50aa36aed4c95afb51df0df00713949448cf9e97d382d2" +checksum = "f63587ca0f12b72a0600bcba1d40081f830876000bb46dd2337a3051618f4fc8" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.50" +version = "2.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "266b2e40bc00e5a6c09c3584011e08b06f123c00362c92b975ba9843aaaa14b8" +checksum = "3ff15c8ecd7de3849db632e14d18d2571fa09dfc5ed93479bc4485c7a517c913" dependencies = [ "proc-macro2", "quote", diff --git a/guest-rust/Cargo.toml b/guest-rust/Cargo.toml index 49bc830..1938263 100644 --- a/guest-rust/Cargo.toml +++ b/guest-rust/Cargo.toml @@ -1,15 +1,15 @@ [package] name = "guest" version = "0.1.0" -authors = ["Karthik Ganeshram "] +authors = ["The Spin authors"] edition = "2021" -rust-version = "1.71" +rust-version = "1.87" [lib] crate-type = ["cdylib"] [dependencies] -spin-sdk = "5.0.0" +spin-sdk = "5.1.0" spin-cron-sdk = { path = "../sdk" } [workspace] diff --git a/guest-rust/spin.toml b/guest-rust/spin.toml index c23e50f..2acb03e 100644 --- a/guest-rust/spin.toml +++ b/guest-rust/spin.toml @@ -2,7 +2,7 @@ spin_manifest_version = 2 [application] name = "cron-sample" -authors = ["itowlson "] +authors = ["The Spin authors"] description = "" version = "0.1.0" @@ -11,9 +11,9 @@ component = "every2seconds" cron_expression = "1/2 * * * * *" [component.every2seconds] -source = "target/wasm32-wasip2/release/guest.wasm" +source = "target/wasm32-wasip1/release/guest.wasm" [component.every2seconds.build] -command = "cargo build --target wasm32-wasip2 --release" +command = "cargo build --target wasm32-wasip1 --release" [component.every2seconds.variables] something = "2s" @@ -22,8 +22,8 @@ component = "every4seconds" cron_expression = "1/4 * * * * *" [component.every4seconds] -source = "target/wasm32-wasip2/release/guest.wasm" +source = "target/wasm32-wasip1/release/guest.wasm" [component.every4seconds.build] -command = "cargo build --target wasm32-wasip2 --release" +command = "cargo build --target wasm32-wasip1 --release" [component.every4seconds.variables] something = "4s" diff --git a/sdk/Cargo.toml b/sdk/Cargo.toml index 00175f4..0c700d4 100644 --- a/sdk/Cargo.toml +++ b/sdk/Cargo.toml @@ -3,13 +3,13 @@ name = "spin-cron-sdk" version = { workspace = true } authors = { workspace = true } edition = { workspace = true } -rust-version = "1.71" +rust-version = { workspace = true } include = ["../cron.wit"] [lib] name = "spin_cron_sdk" [dependencies] -spin-executor = "5.0.0" +spin-executor = "5.1.0" spin-cron-macro = { path = "macro" } wit-bindgen = { workspace = true } \ No newline at end of file diff --git a/sdk/macro/Cargo.toml b/sdk/macro/Cargo.toml index 3c6f2eb..7f5053a 100644 --- a/sdk/macro/Cargo.toml +++ b/sdk/macro/Cargo.toml @@ -1,8 +1,9 @@ [package] name = "spin-cron-macro" -version = "0.1.0" -edition = "2021" -rust-version = "1.71" +version = { workspace = true } +authors = { workspace = true } +edition = { workspace = true } +rust-version = { workspace = true } include = ["../../cron.wit"] [lib] diff --git a/spin-pluginify.toml b/spin-pluginify.toml index 493ec32..e003d8b 100644 --- a/spin-pluginify.toml +++ b/spin-pluginify.toml @@ -1,5 +1,5 @@ name = "trigger-cron" -version = "0.2.0" +version = "0.3.0" spin_compatibility = ">=3.0" license = "Apache-2.0" package = "./target/release/trigger-cron" diff --git a/src/lib.rs b/src/lib.rs index dcd2234..e17c402 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -34,12 +34,6 @@ struct Component { pub cron_expression: String, } -#[derive(Clone, Debug, Default, Deserialize, Serialize)] -#[serde(deny_unknown_fields)] -struct TriggerMetadata { - r#type: String, -} - impl Trigger for CronTrigger { const TYPE: &'static str = "cron"; diff --git a/templates/cron-rust/content/Cargo.toml.tmpl b/templates/cron-rust/content/Cargo.toml.tmpl index 3f4c2b7..5ae451d 100644 --- a/templates/cron-rust/content/Cargo.toml.tmpl +++ b/templates/cron-rust/content/Cargo.toml.tmpl @@ -4,13 +4,13 @@ authors = ["{{authors}}"] description = "{{project-description}}" version = "0.1.0" edition = "2021" -rust-version = "1.78" +rust-version = "1.86" [lib] crate-type = ["cdylib"] [dependencies] -spin-sdk = "5.0.0" +spin-sdk = "5.1.0" spin-cron-sdk = { git = "https://github.com/spinframework/spin-trigger-cron/" } [workspace]