diff --git a/.github/actions/spin-ci-dependencies/action.yml b/.github/actions/spin-ci-dependencies/action.yml index 298857af4d..808cc36aac 100644 --- a/.github/actions/spin-ci-dependencies/action.yml +++ b/.github/actions/spin-ci-dependencies/action.yml @@ -8,7 +8,7 @@ inputs: type: bool rust-version: description: 'Rust version to setup' - default: '1.95' + default: '1.96' required: false type: string diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index eaa6a6a614..02ebf1ee84 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,7 +17,7 @@ concurrency: env: CARGO_TERM_COLOR: always - RUST_VERSION: '1.95' + RUST_VERSION: '1.96' jobs: dependency-review: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 16874364c8..40b4841fe6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,7 +11,7 @@ on: concurrency: ${{ github.workflow }}-${{ github.ref }} env: - RUST_VERSION: '1.95' + RUST_VERSION: '1.96' jobs: build-and-sign: diff --git a/Cargo.lock b/Cargo.lock index eff1c06295..259e4808ba 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1446,18 +1446,6 @@ dependencies = [ "tracing", ] -[[package]] -name = "cap-fs-ext" -version = "4.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56ff379b70af8e08307a8f65e7040c7301cb4a572538ade16b4984f0da77847f" -dependencies = [ - "cap-primitives 4.0.3", - "cap-std 4.0.3", - "io-lifetimes 3.0.1", - "windows-sys 0.61.2", -] - [[package]] name = "cap-primitives" version = "3.4.6" @@ -1506,18 +1494,6 @@ dependencies = [ "rustix", ] -[[package]] -name = "cap-std" -version = "4.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c1ec78e242cfa2cfe276807ac2ecc00315a6c97786977414bcd1c3963b6c91b8" -dependencies = [ - "cap-primitives 4.0.3", - "io-extras 0.19.0", - "io-lifetimes 3.0.1", - "rustix", -] - [[package]] name = "cargo-platform" version = "0.1.9" @@ -2022,27 +1998,24 @@ dependencies = [ [[package]] name = "cranelift-assembler-x64" -version = "0.135.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4a59ddc4abd9c5560f4742864b2cd8c19e73c7263f0c866b2c45c2d31587adc" +version = "0.136.0-rc.1" +source = "git+https://github.com/bytecodealliance/wasmtime?branch=release-49.0.0#9847e1b8ed9871ee9def60b53f63518006a2ba1b" dependencies = [ "cranelift-assembler-x64-meta", ] [[package]] name = "cranelift-assembler-x64-meta" -version = "0.135.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a8c361cd22fd0fdd8e61af6bfd86ad9c0c62f78b2b1caa2b9e4e97cd8f605fe" +version = "0.136.0-rc.1" +source = "git+https://github.com/bytecodealliance/wasmtime?branch=release-49.0.0#9847e1b8ed9871ee9def60b53f63518006a2ba1b" dependencies = [ "cranelift-srcgen", ] [[package]] name = "cranelift-bforest" -version = "0.135.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b86c34ae183cf2410318f899648fe1ef6ab9148486e7b938d7b4d814e61dafc9" +version = "0.136.0-rc.1" +source = "git+https://github.com/bytecodealliance/wasmtime?branch=release-49.0.0#9847e1b8ed9871ee9def60b53f63518006a2ba1b" dependencies = [ "cranelift-entity", "wasmtime-internal-core", @@ -2050,9 +2023,8 @@ dependencies = [ [[package]] name = "cranelift-bitset" -version = "0.135.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "415f1a12668869e16ac3b66a729fb8cce8bbe6e50e68d1fa0142acd0c9c05f0c" +version = "0.136.0-rc.1" +source = "git+https://github.com/bytecodealliance/wasmtime?branch=release-49.0.0#9847e1b8ed9871ee9def60b53f63518006a2ba1b" dependencies = [ "serde", "serde_derive", @@ -2061,9 +2033,8 @@ dependencies = [ [[package]] name = "cranelift-codegen" -version = "0.135.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "73eecedc85ffca4f34dbe197c6545c8ade6579a61352457936f53c3bffa6353b" +version = "0.136.0-rc.1" +source = "git+https://github.com/bytecodealliance/wasmtime?branch=release-49.0.0#9847e1b8ed9871ee9def60b53f63518006a2ba1b" dependencies = [ "bumpalo", "cranelift-assembler-x64", @@ -2092,9 +2063,8 @@ dependencies = [ [[package]] name = "cranelift-codegen-meta" -version = "0.135.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "66834005198c3e9e3d89cd69cf1541419402ab75250afbeaa3128db6d5254025" +version = "0.136.0-rc.1" +source = "git+https://github.com/bytecodealliance/wasmtime?branch=release-49.0.0#9847e1b8ed9871ee9def60b53f63518006a2ba1b" dependencies = [ "cranelift-assembler-x64-meta", "cranelift-codegen-shared", @@ -2105,24 +2075,21 @@ dependencies = [ [[package]] name = "cranelift-codegen-shared" -version = "0.135.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e6efaf74077091a2ff41317cc8eb2779264dae4b8a16d955835f3fcda338f52" +version = "0.136.0-rc.1" +source = "git+https://github.com/bytecodealliance/wasmtime?branch=release-49.0.0#9847e1b8ed9871ee9def60b53f63518006a2ba1b" [[package]] name = "cranelift-control" -version = "0.135.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4258d4ed6ad4e698fe1fec4277b1fcbea6f2a17cb5ec3f04bddfb38ca83d93e" +version = "0.136.0-rc.1" +source = "git+https://github.com/bytecodealliance/wasmtime?branch=release-49.0.0#9847e1b8ed9871ee9def60b53f63518006a2ba1b" dependencies = [ "arbitrary", ] [[package]] name = "cranelift-entity" -version = "0.135.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4f016b6f87b1a46a3f5df59b82d88bb352bf2fa6d7868875dfc4d6b65de5242d" +version = "0.136.0-rc.1" +source = "git+https://github.com/bytecodealliance/wasmtime?branch=release-49.0.0#9847e1b8ed9871ee9def60b53f63518006a2ba1b" dependencies = [ "cranelift-bitset", "serde", @@ -2132,9 +2099,8 @@ dependencies = [ [[package]] name = "cranelift-frontend" -version = "0.135.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b16f2b149dae6ea3886bee931445196d86d8e71b66f7c3b21abe434f77189be8" +version = "0.136.0-rc.1" +source = "git+https://github.com/bytecodealliance/wasmtime?branch=release-49.0.0#9847e1b8ed9871ee9def60b53f63518006a2ba1b" dependencies = [ "cranelift-codegen", "hashbrown 0.17.1", @@ -2145,15 +2111,13 @@ dependencies = [ [[package]] name = "cranelift-isle" -version = "0.135.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f00258ff3d37f52ed731df679205e66175c728846dbde186ee20e93973d12ee7" +version = "0.136.0-rc.1" +source = "git+https://github.com/bytecodealliance/wasmtime?branch=release-49.0.0#9847e1b8ed9871ee9def60b53f63518006a2ba1b" [[package]] name = "cranelift-native" -version = "0.135.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4f31eb7e08f31e5bc9c167c35718b0325efa3d4e234e2e9342316e01b18a4b51" +version = "0.136.0-rc.1" +source = "git+https://github.com/bytecodealliance/wasmtime?branch=release-49.0.0#9847e1b8ed9871ee9def60b53f63518006a2ba1b" dependencies = [ "cranelift-codegen", "libc", @@ -2162,9 +2126,8 @@ dependencies = [ [[package]] name = "cranelift-srcgen" -version = "0.135.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e0b67d313f510520f40c1496c3446af0d6b30219d1ba9a4c09c77ec288a561b" +version = "0.136.0-rc.1" +source = "git+https://github.com/bytecodealliance/wasmtime?branch=release-49.0.0#9847e1b8ed9871ee9def60b53f63518006a2ba1b" [[package]] name = "crc32fast" @@ -4595,7 +4558,7 @@ dependencies = [ "libc", "percent-encoding", "pin-project-lite", - "socket2 0.6.5", + "socket2 0.5.10", "system-configuration", "tokio", "tower-service", @@ -6236,9 +6199,9 @@ dependencies = [ [[package]] name = "object" -version = "0.39.1" +version = "0.40.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e5a6c098c7a3b6547378093f5cc30bc54fd361ce711e05293a5cc589562739b" +checksum = "dd229a0361b9d0d4396176e02d65897f487eebeab7caa6d443855ee152ca0b9c" dependencies = [ "crc32fast", "hashbrown 0.17.1", @@ -7199,7 +7162,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "22505a5c94da8e3b7c2996394d1c933236c4d743e81a410bcca4e6989fc066a4" dependencies = [ "bytes", - "heck 0.5.0", + "heck 0.4.1", "itertools 0.12.1", "log", "multimap", @@ -7233,7 +7196,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8a56d757972c98b346a9b766e3f02746cde6dd1cd1d1d563472929fdd74bec4d" dependencies = [ "anyhow", - "itertools 0.14.0", + "itertools 0.11.0", "proc-macro2", "quote", "syn 2.0.119", @@ -7325,9 +7288,8 @@ dependencies = [ [[package]] name = "pulley-interpreter" -version = "48.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c455b90365c6c8fc95da08bfdb50090dc0ce5c77ce2585025d12370dbb2a7b14" +version = "49.0.0-rc.1" +source = "git+https://github.com/bytecodealliance/wasmtime?branch=release-49.0.0#9847e1b8ed9871ee9def60b53f63518006a2ba1b" dependencies = [ "cranelift-bitset", "log", @@ -7337,9 +7299,8 @@ dependencies = [ [[package]] name = "pulley-macros" -version = "48.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "92e6c1756d5b8ce2a6353593fc15a21ffbfbc7c030f0ea02eb53d61aa4121c07" +version = "49.0.0-rc.1" +source = "git+https://github.com/bytecodealliance/wasmtime?branch=release-49.0.0#9847e1b8ed9871ee9def60b53f63518006a2ba1b" dependencies = [ "proc-macro2", "quote", @@ -7385,7 +7346,7 @@ dependencies = [ "quinn-udp", "rustc-hash", "rustls 0.23.43", - "socket2 0.6.5", + "socket2 0.5.10", "thiserror 2.0.20", "tokio", "tracing", @@ -7423,7 +7384,7 @@ dependencies = [ "cfg_aliases", "libc", "once_cell", - "socket2 0.6.5", + "socket2 0.5.10", "tracing", "windows-sys 0.61.2", ] @@ -9120,7 +9081,7 @@ version = "4.2.0-pre0" dependencies = [ "anyhow", "async-trait", - "cap-std 3.4.6", + "cap-std", "rand 0.10.2", "rand_chacha 0.10.0", "rand_core 0.10.1", @@ -10936,6 +10897,21 @@ dependencies = [ "winnow 0.7.15", ] +[[package]] +name = "toml" +version = "1.1.5+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "12c0ba9680044b4ce98d391a62094047eada0d64860b80166c39f4a6b5640785" +dependencies = [ + "indexmap 2.14.0", + "serde_core", + "serde_spanned 1.1.1", + "toml_datetime 1.1.1+spec-1.1.0", + "toml_parser", + "toml_writer", + "winnow 1.0.4", +] + [[package]] name = "toml_datetime" version = "0.6.11" @@ -11825,9 +11801,9 @@ dependencies = [ [[package]] name = "wasm-compose" -version = "0.254.0" +version = "0.258.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8fd717357bff09b5f1ea49aea8ed1cd149b0c521823a1cc70bc2ac16b90b651a" +checksum = "7dd08e5283f98238f2f16f5f978188a33af9901b81186bb549faad306a7b5388" dependencies = [ "anyhow", "heck 0.5.0", @@ -11835,8 +11811,8 @@ dependencies = [ "log", "petgraph", "smallvec", - "wasm-encoder 0.254.0", - "wasmparser 0.254.0", + "wasm-encoder 0.258.0", + "wasmparser 0.258.0", "wat", ] @@ -11890,26 +11866,6 @@ dependencies = [ "wasmparser 0.247.0", ] -[[package]] -name = "wasm-encoder" -version = "0.254.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09480d646178e5fdd12bb06e812d0af9a3a191dbc9cd697fdc86687beade7393" -dependencies = [ - "leb128fmt", - "wasmparser 0.254.0", -] - -[[package]] -name = "wasm-encoder" -version = "0.257.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d8ad9f0a39050867bda22e6486c316e2e52d20a42154d5bc433934bf738d085" -dependencies = [ - "leb128fmt", - "wasmparser 0.257.1", -] - [[package]] name = "wasm-encoder" version = "0.258.0" @@ -11987,18 +11943,6 @@ dependencies = [ "wasmparser 0.247.0", ] -[[package]] -name = "wasm-metadata" -version = "0.254.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b01df5f3b4ca7881e843f3bc0fb8a3905d79c68692250dcb8e33e698705ccdb6" -dependencies = [ - "anyhow", - "indexmap 2.14.0", - "wasm-encoder 0.254.0", - "wasmparser 0.254.0", -] - [[package]] name = "wasm-metadata" version = "0.258.0" @@ -12159,30 +12103,6 @@ dependencies = [ "serde", ] -[[package]] -name = "wasmparser" -version = "0.254.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d5769a29f799fbab136aaf65b4fe5384cd7d93fe6fc9ba0dcb6c8382a1f16e27" -dependencies = [ - "bitflags 2.13.1", - "hashbrown 0.17.1", - "indexmap 2.14.0", - "semver", - "serde", -] - -[[package]] -name = "wasmparser" -version = "0.257.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d92fc335fb6d48f46bda1d8b26b69e28320c15ac3272208333833d6e217e2b4a" -dependencies = [ - "bitflags 2.13.1", - "indexmap 2.14.0", - "semver", -] - [[package]] name = "wasmparser" version = "0.258.0" @@ -12208,20 +12128,19 @@ dependencies = [ [[package]] name = "wasmprinter" -version = "0.254.0" +version = "0.258.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "64e3ba11e024f504698f87b629b2b66c22a1231758de7607754963f7d198be39" +checksum = "3a65e30fb2cd3cc5cb7761a6064787b2abf017e6566d8d0dedf2bb7f55ad5383" dependencies = [ "anyhow", "termcolor", - "wasmparser 0.254.0", + "wasmparser 0.258.0", ] [[package]] name = "wasmtime" -version = "48.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f12115b509def01c338ec8ee9b52c4cefb27f7b8db57279c5c7cfe2e9eaf9900" +version = "49.0.0-rc.1" +source = "git+https://github.com/bytecodealliance/wasmtime?branch=release-49.0.0#9847e1b8ed9871ee9def60b53f63518006a2ba1b" dependencies = [ "addr2line", "async-trait", @@ -12251,9 +12170,9 @@ dependencies = [ "smallvec", "target-lexicon", "tempfile", - "wasm-compose 0.254.0", - "wasm-encoder 0.254.0", - "wasmparser 0.254.0", + "wasm-compose 0.258.0", + "wasm-encoder 0.258.0", + "wasmparser 0.258.0", "wasmtime-environ", "wasmtime-internal-cache", "wasmtime-internal-component-macro", @@ -12267,14 +12186,13 @@ dependencies = [ "wasmtime-internal-versioned-export-macros", "wat", "windows-sys 0.61.2", - "wit-parser 0.254.0", + "wit-parser 0.258.0", ] [[package]] name = "wasmtime-environ" -version = "48.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "13b153945550fe9f370f611b33a2b6398cb9b6be333e3bc49e4cbe5219ef44b9" +version = "49.0.0-rc.1" +source = "git+https://github.com/bytecodealliance/wasmtime?branch=release-49.0.0#9847e1b8ed9871ee9def60b53f63518006a2ba1b" dependencies = [ "anyhow", "cpp_demangle", @@ -12294,18 +12212,17 @@ dependencies = [ "sha2 0.10.9", "smallvec", "target-lexicon", - "wasm-encoder 0.254.0", - "wasmparser 0.254.0", - "wasmprinter 0.254.0", + "wasm-encoder 0.258.0", + "wasmparser 0.258.0", + "wasmprinter 0.258.0", "wasmtime-internal-component-util", "wasmtime-internal-core", ] [[package]] name = "wasmtime-internal-cache" -version = "48.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e1464c6a7ece16f1aeeab9a62d4a821581d143d6dfd462a99b66b04d31431da" +version = "49.0.0-rc.1" +source = "git+https://github.com/bytecodealliance/wasmtime?branch=release-49.0.0#9847e1b8ed9871ee9def60b53f63518006a2ba1b" dependencies = [ "base64 0.22.1", "directories-next", @@ -12315,7 +12232,7 @@ dependencies = [ "serde", "serde_derive", "sha2 0.10.9", - "toml 0.9.12+spec-1.1.0", + "toml 1.1.5+spec-1.1.0", "wasmtime-environ", "windows-sys 0.61.2", "zstd", @@ -12323,9 +12240,8 @@ dependencies = [ [[package]] name = "wasmtime-internal-component-macro" -version = "48.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3791d98e7fa804e2a3ac13e1436b73c742bf358448ed6dc269872bf770061292" +version = "49.0.0-rc.1" +source = "git+https://github.com/bytecodealliance/wasmtime?branch=release-49.0.0#9847e1b8ed9871ee9def60b53f63518006a2ba1b" dependencies = [ "anyhow", "proc-macro2", @@ -12333,20 +12249,18 @@ dependencies = [ "syn 2.0.119", "wasmtime-internal-component-util", "wasmtime-internal-wit-bindgen", - "wit-parser 0.254.0", + "wit-parser 0.258.0", ] [[package]] name = "wasmtime-internal-component-util" -version = "48.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d20fde8e4a894972646b183622e49212105960daa0a16621da41622464c9fc1" +version = "49.0.0-rc.1" +source = "git+https://github.com/bytecodealliance/wasmtime?branch=release-49.0.0#9847e1b8ed9871ee9def60b53f63518006a2ba1b" [[package]] name = "wasmtime-internal-core" -version = "48.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c01c81d781512e17b38c3a76ca9aa2564bc3f9fd8ff6ffc77ba3e1c290d488a" +version = "49.0.0-rc.1" +source = "git+https://github.com/bytecodealliance/wasmtime?branch=release-49.0.0#9847e1b8ed9871ee9def60b53f63518006a2ba1b" dependencies = [ "anyhow", "hashbrown 0.17.1", @@ -12356,9 +12270,8 @@ dependencies = [ [[package]] name = "wasmtime-internal-cranelift" -version = "48.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a83f10fbd4bcacec9bcf7be49932a738356ec027816230f9d6f053433b3de97f" +version = "49.0.0-rc.1" +source = "git+https://github.com/bytecodealliance/wasmtime?branch=release-49.0.0#9847e1b8ed9871ee9def60b53f63518006a2ba1b" dependencies = [ "cranelift-codegen", "cranelift-control", @@ -12373,7 +12286,7 @@ dependencies = [ "smallvec", "target-lexicon", "thiserror 2.0.20", - "wasmparser 0.254.0", + "wasmparser 0.258.0", "wasmtime-environ", "wasmtime-internal-core", "wasmtime-internal-unwinder", @@ -12382,9 +12295,8 @@ dependencies = [ [[package]] name = "wasmtime-internal-fiber" -version = "48.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d327512b9aaf18d41c8de650e1bbd9d8cbedc101fb0a9774a70c0e63a94e1bc" +version = "49.0.0-rc.1" +source = "git+https://github.com/bytecodealliance/wasmtime?branch=release-49.0.0#9847e1b8ed9871ee9def60b53f63518006a2ba1b" dependencies = [ "cc", "libc", @@ -12396,9 +12308,8 @@ dependencies = [ [[package]] name = "wasmtime-internal-jit-debug" -version = "48.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7fdc7614412bf6cfc99c90367e580940db2f75513bef1455d667e25ba37eb21f" +version = "49.0.0-rc.1" +source = "git+https://github.com/bytecodealliance/wasmtime?branch=release-49.0.0#9847e1b8ed9871ee9def60b53f63518006a2ba1b" dependencies = [ "cc", "object", @@ -12408,9 +12319,8 @@ dependencies = [ [[package]] name = "wasmtime-internal-jit-icache-coherence" -version = "48.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a09abde04346919af1136a28f344e200685509e28815aef4c39dc08977cc1d8" +version = "49.0.0-rc.1" +source = "git+https://github.com/bytecodealliance/wasmtime?branch=release-49.0.0#9847e1b8ed9871ee9def60b53f63518006a2ba1b" dependencies = [ "libc", "wasmtime-internal-core", @@ -12419,9 +12329,8 @@ dependencies = [ [[package]] name = "wasmtime-internal-unwinder" -version = "48.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cc0221393863c248fcb3d02afb7d83b4e690f0878fb095173ccfb9ea24456c28" +version = "49.0.0-rc.1" +source = "git+https://github.com/bytecodealliance/wasmtime?branch=release-49.0.0#9847e1b8ed9871ee9def60b53f63518006a2ba1b" dependencies = [ "cranelift-codegen", "log", @@ -12431,9 +12340,8 @@ dependencies = [ [[package]] name = "wasmtime-internal-versioned-export-macros" -version = "48.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb0941017d1ae98c02bc7ab1935d6ccb037481fe6d3dad49cb43de19781ffa42" +version = "49.0.0-rc.1" +source = "git+https://github.com/bytecodealliance/wasmtime?branch=release-49.0.0#9847e1b8ed9871ee9def60b53f63518006a2ba1b" dependencies = [ "proc-macro2", "quote", @@ -12442,32 +12350,30 @@ dependencies = [ [[package]] name = "wasmtime-internal-wit-bindgen" -version = "48.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e34575ad64da80c2b075262905624f222ea33793519cd877c8fe051d2f54a520" +version = "49.0.0-rc.1" +source = "git+https://github.com/bytecodealliance/wasmtime?branch=release-49.0.0#9847e1b8ed9871ee9def60b53f63518006a2ba1b" dependencies = [ "anyhow", "bitflags 2.13.1", "heck 0.5.0", "indexmap 2.14.0", - "wit-component 0.254.0", - "wit-parser 0.254.0", + "wit-component 0.258.0", + "wit-parser 0.258.0", ] [[package]] name = "wasmtime-wasi" -version = "48.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "506031bd0149c5ce550cac51a83b8b30f5bb564f6e7f6b05534eed97fd60357b" +version = "49.0.0-rc.1" +source = "git+https://github.com/bytecodealliance/wasmtime?branch=release-49.0.0#9847e1b8ed9871ee9def60b53f63518006a2ba1b" dependencies = [ "async-trait", "bitflags 2.13.1", "bytes", - "cap-fs-ext", "cap-primitives 4.0.3", "futures", "rand 0.10.2", "rustix", + "rustix-linux-procfs", "thiserror 2.0.20", "tokio", "tracing", @@ -12476,13 +12382,13 @@ dependencies = [ "wasmtime-wasi-io", "wiggle", "windows-sys 0.61.2", + "winx", ] [[package]] name = "wasmtime-wasi-http" -version = "48.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c12ec9f35825fac7de32b03b962d637679b65201ae23da518bed190a6a08831" +version = "49.0.0-rc.1" +source = "git+https://github.com/bytecodealliance/wasmtime?branch=release-49.0.0#9847e1b8ed9871ee9def60b53f63518006a2ba1b" dependencies = [ "async-trait", "bytes", @@ -12505,9 +12411,8 @@ dependencies = [ [[package]] name = "wasmtime-wasi-io" -version = "48.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "73bc54df469cdfd9fa82d80bf69253c4d23cb90ee4c1ca8b009cad59713ba794" +version = "49.0.0-rc.1" +source = "git+https://github.com/bytecodealliance/wasmtime?branch=release-49.0.0#9847e1b8ed9871ee9def60b53f63518006a2ba1b" dependencies = [ "async-trait", "bytes", @@ -12527,24 +12432,24 @@ dependencies = [ [[package]] name = "wast" -version = "257.0.1" +version = "258.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c416ee8044cf88c5280e3d87c322b009525eb25142cf7428f0a90ea88febc3b" +checksum = "97f7defc7ecca8b19ac7f824598eadd0c53985ee00c74060d65051e9da5b58a1" dependencies = [ "bumpalo", "leb128fmt", "memchr", "unicode-width 0.2.2", - "wasm-encoder 0.257.1", + "wasm-encoder 0.258.0", ] [[package]] name = "wat" -version = "1.257.1" +version = "1.258.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "672e5495f00c5fc6c6b502205bae4708aa4dd13d969754438743afe0a8af0f1d" +checksum = "7555c008cca87f2ac58d9f83ccda7e7b44611093ce28eb28f052e7c78024b9bf" dependencies = [ - "wast 257.0.1", + "wast 258.0.0", ] [[package]] @@ -12704,9 +12609,8 @@ dependencies = [ [[package]] name = "wiggle" -version = "48.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bfe256c1d97c59cd5e1cd3364c64f88cdd64432afcc9d153fd7353b75a67b45b" +version = "49.0.0-rc.1" +source = "git+https://github.com/bytecodealliance/wasmtime?branch=release-49.0.0#9847e1b8ed9871ee9def60b53f63518006a2ba1b" dependencies = [ "bitflags 2.13.1", "thiserror 2.0.20", @@ -12718,9 +12622,8 @@ dependencies = [ [[package]] name = "wiggle-generate" -version = "48.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "46a1a1e72102163f98f79d5619c1a61136bbf4b1c4be06051e4a7e730c0c4986" +version = "49.0.0-rc.1" +source = "git+https://github.com/bytecodealliance/wasmtime?branch=release-49.0.0#9847e1b8ed9871ee9def60b53f63518006a2ba1b" dependencies = [ "heck 0.5.0", "proc-macro2", @@ -12732,9 +12635,8 @@ dependencies = [ [[package]] name = "wiggle-macro" -version = "48.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c31d70e43e2cc7c981d77b52240c880f9a00d5a33f94c5bf878827d92f2be862" +version = "49.0.0-rc.1" +source = "git+https://github.com/bytecodealliance/wasmtime?branch=release-49.0.0#9847e1b8ed9871ee9def60b53f63518006a2ba1b" dependencies = [ "proc-macro2", "quote", @@ -13304,9 +13206,9 @@ dependencies = [ [[package]] name = "wit-component" -version = "0.254.0" +version = "0.258.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b0e65bb94c369b3c4741ce3d1d2704b1fec93db7c540df0e521a097e7ceeb5be" +checksum = "481b5c47b2ecce0389b5e08a05557d6a190c9cd761773b8880a8017ee04dc7ef" dependencies = [ "anyhow", "bitflags 2.13.1", @@ -13315,10 +13217,10 @@ dependencies = [ "serde", "serde_derive", "serde_json", - "wasm-encoder 0.254.0", - "wasm-metadata 0.254.0", - "wasmparser 0.254.0", - "wit-parser 0.254.0", + "wasm-encoder 0.258.0", + "wasm-metadata 0.258.0", + "wasmparser 0.258.0", + "wit-parser 0.258.0", ] [[package]] @@ -13409,9 +13311,9 @@ dependencies = [ [[package]] name = "wit-parser" -version = "0.254.0" +version = "0.258.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1655131e4f7d3f0cb141f6eca71315ca40eff0f3d4de7cff0a82bacedd8c89b4" +checksum = "ff4daaa3cd97ae49ecd0a99dc009d453f93e0f083dd3be38c0f24a83a93e37ac" dependencies = [ "anyhow", "hashbrown 0.17.1", @@ -13423,7 +13325,7 @@ dependencies = [ "serde_derive", "serde_json", "unicode-ident", - "wasmparser 0.254.0", + "wasmparser 0.258.0", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index 3a81a6423f..d6cdb839ab 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,7 +12,7 @@ edition = "2024" license = "Apache-2.0 WITH LLVM-exception" homepage = "https://spinframework.dev" repository = "https://github.com/spinframework/spin" -rust-version = "1.95" +rust-version = "1.96" [dependencies] anyhow = { workspace = true } @@ -204,9 +204,9 @@ wasm-metadata = "0.247.0" wasm-pkg-client = "0.11" wasm-pkg-common = "0.11" wasmparser = "0.247.0" -wasmtime = "48.0.0" -wasmtime-wasi = { version = "48.0.0", features = ["p3"] } -wasmtime-wasi-http = { version = "48.0.0", features = ["p3", "component-model-async"] } +wasmtime = { git = "https://github.com/bytecodealliance/wasmtime", branch = "release-49.0.0" } +wasmtime-wasi = { git = "https://github.com/bytecodealliance/wasmtime", branch = "release-49.0.0", features = ["p3"] } +wasmtime-wasi-http = { git = "https://github.com/bytecodealliance/wasmtime", branch = "release-49.0.0", features = ["p3", "component-model-async"] } wit-component = "0.247.0" wit-parser = "0.247.0" diff --git a/crates/factor-wasi/src/sockets.rs b/crates/factor-wasi/src/sockets.rs index f0299bc78f..0e014196bc 100644 --- a/crates/factor-wasi/src/sockets.rs +++ b/crates/factor-wasi/src/sockets.rs @@ -491,8 +491,11 @@ impl p2_udp::HostIncomingDatagramStream for SpinSocketsView<'_, T> { p2_udp::HostIncomingDatagramStream::subscribe(&mut self.inner, this) } - fn drop(&mut self, this: Resource) -> wasmtime::Result<()> { - p2_udp::HostIncomingDatagramStream::drop(&mut self.inner, this) + async fn drop( + &mut self, + this: Resource, + ) -> wasmtime::Result<()> { + p2_udp::HostIncomingDatagramStream::drop(&mut self.inner, this).await } } diff --git a/crates/factor-wasi/src/wasi_2023_10_18.rs b/crates/factor-wasi/src/wasi_2023_10_18.rs index f0904a01d4..5390e3bf2f 100644 --- a/crates/factor-wasi/src/wasi_2023_10_18.rs +++ b/crates/factor-wasi/src/wasi_2023_10_18.rs @@ -66,6 +66,7 @@ mod bindings { "wasi:io/streams.[method]output-stream.blocking-write-zeroes-and-flush": async | trappable, "wasi:io/poll.poll-list": async | trappable, "wasi:io/poll.poll-one": async | trappable, + "wasi:sockets/ip-name-lookup.[drop]resolve-address-stream": async | trappable, "wasi:sockets/tcp.[method]tcp-socket.start-bind": async | trappable, "wasi:sockets/tcp.[method]tcp-socket.start-connect": async | trappable, "wasi:sockets/tcp.[method]tcp-socket.start-listen": async | trappable, @@ -1494,7 +1495,8 @@ impl wasi::sockets::udp::HostUdpSocket for SpinSocketsView<'_, T> { incoming, outgoing, } => { - latest::sockets::udp::HostIncomingDatagramStream::drop(&mut self.inner, incoming)?; + latest::sockets::udp::HostIncomingDatagramStream::drop(&mut self.inner, incoming) + .await?; latest::sockets::udp::HostOutgoingDatagramStream::drop(&mut self.inner, outgoing) .await?; socket @@ -1587,8 +1589,8 @@ impl wasi::sockets::ip_name_lookup::HostResolveAddressStream for SpinSocketsV latest::sockets::ip_name_lookup::HostResolveAddressStream::subscribe(&mut self.inner, self_) } - fn drop(&mut self, rep: Resource) -> wasmtime::Result<()> { - latest::sockets::ip_name_lookup::HostResolveAddressStream::drop(&mut self.inner, rep) + async fn drop(&mut self, rep: Resource) -> wasmtime::Result<()> { + latest::sockets::ip_name_lookup::HostResolveAddressStream::drop(&mut self.inner, rep).await } } diff --git a/crates/factor-wasi/src/wasi_2023_11_10.rs b/crates/factor-wasi/src/wasi_2023_11_10.rs index 58a8f1bd4b..15283cc121 100644 --- a/crates/factor-wasi/src/wasi_2023_11_10.rs +++ b/crates/factor-wasi/src/wasi_2023_11_10.rs @@ -55,6 +55,7 @@ mod bindings { "wasi:io/poll.[method]pollable.ready": async | trappable, "wasi:io/poll.poll": async | trappable, + "wasi:sockets/ip-name-lookup.[drop]resolve-address-stream": async | trappable, "wasi:sockets/tcp.[method]tcp-socket.start-bind": async | trappable, "wasi:sockets/tcp.[method]tcp-socket.start-connect": async | trappable, "wasi:sockets/tcp.[method]tcp-socket.start-listen": async | trappable, @@ -62,6 +63,7 @@ mod bindings { "wasi:sockets/udp.[method]udp-socket.start-bind": async | trappable, "wasi:sockets/udp.[method]udp-socket.stream": async | trappable, "wasi:sockets/udp.[method]outgoing-datagram-stream.send": async | trappable, + "wasi:sockets/udp.[drop]incoming-datagram-stream": async | trappable, "wasi:sockets/udp.[drop]outgoing-datagram-stream": async | trappable, default: trappable, }, @@ -1345,8 +1347,8 @@ impl wasi::sockets::udp::HostIncomingDatagramStream for SpinSocketsView<'_, T latest::sockets::udp::HostIncomingDatagramStream::subscribe(self, self_) } - fn drop(&mut self, rep: Resource) -> wasmtime::Result<()> { - latest::sockets::udp::HostIncomingDatagramStream::drop(self, rep) + async fn drop(&mut self, rep: Resource) -> wasmtime::Result<()> { + latest::sockets::udp::HostIncomingDatagramStream::drop(self, rep).await } } @@ -1414,8 +1416,8 @@ impl wasi::sockets::ip_name_lookup::HostResolveAddressStream for SpinSocketsV latest::sockets::ip_name_lookup::HostResolveAddressStream::subscribe(&mut self.inner, self_) } - fn drop(&mut self, rep: Resource) -> wasmtime::Result<()> { - latest::sockets::ip_name_lookup::HostResolveAddressStream::drop(&mut self.inner, rep) + async fn drop(&mut self, rep: Resource) -> wasmtime::Result<()> { + latest::sockets::ip_name_lookup::HostResolveAddressStream::drop(&mut self.inner, rep).await } } diff --git a/examples/open-ai-rust/Cargo.toml b/examples/open-ai-rust/Cargo.toml index fdf703b4e4..a5ac81eae4 100644 --- a/examples/open-ai-rust/Cargo.toml +++ b/examples/open-ai-rust/Cargo.toml @@ -3,7 +3,7 @@ name = "open-ai-rust" authors = ["Spin Framework Contributors"] description = "Example showing using openAI with Spin" version = "0.1.0" -rust-version = "1.95" +rust-version = "1.96" edition = "2024" [lib] diff --git a/examples/spin-timer/Cargo.lock b/examples/spin-timer/Cargo.lock index 11510ac248..e4f03353c7 100644 --- a/examples/spin-timer/Cargo.lock +++ b/examples/spin-timer/Cargo.lock @@ -1018,18 +1018,6 @@ dependencies = [ "either", ] -[[package]] -name = "cap-fs-ext" -version = "4.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56ff379b70af8e08307a8f65e7040c7301cb4a572538ade16b4984f0da77847f" -dependencies = [ - "cap-primitives", - "cap-std", - "io-lifetimes 3.0.1", - "windows-sys 0.61.2", -] - [[package]] name = "cap-primitives" version = "4.0.3" @@ -1048,18 +1036,6 @@ dependencies = [ "winx", ] -[[package]] -name = "cap-std" -version = "4.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c1ec78e242cfa2cfe276807ac2ecc00315a6c97786977414bcd1c3963b6c91b8" -dependencies = [ - "cap-primitives", - "io-extras", - "io-lifetimes 3.0.1", - "rustix", -] - [[package]] name = "cc" version = "1.4.3" @@ -1293,27 +1269,24 @@ dependencies = [ [[package]] name = "cranelift-assembler-x64" -version = "0.135.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4a59ddc4abd9c5560f4742864b2cd8c19e73c7263f0c866b2c45c2d31587adc" +version = "0.136.0-rc.1" +source = "git+https://github.com/bytecodealliance/wasmtime?branch=release-49.0.0#9847e1b8ed9871ee9def60b53f63518006a2ba1b" dependencies = [ "cranelift-assembler-x64-meta", ] [[package]] name = "cranelift-assembler-x64-meta" -version = "0.135.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a8c361cd22fd0fdd8e61af6bfd86ad9c0c62f78b2b1caa2b9e4e97cd8f605fe" +version = "0.136.0-rc.1" +source = "git+https://github.com/bytecodealliance/wasmtime?branch=release-49.0.0#9847e1b8ed9871ee9def60b53f63518006a2ba1b" dependencies = [ "cranelift-srcgen", ] [[package]] name = "cranelift-bforest" -version = "0.135.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b86c34ae183cf2410318f899648fe1ef6ab9148486e7b938d7b4d814e61dafc9" +version = "0.136.0-rc.1" +source = "git+https://github.com/bytecodealliance/wasmtime?branch=release-49.0.0#9847e1b8ed9871ee9def60b53f63518006a2ba1b" dependencies = [ "cranelift-entity", "wasmtime-internal-core", @@ -1321,9 +1294,8 @@ dependencies = [ [[package]] name = "cranelift-bitset" -version = "0.135.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "415f1a12668869e16ac3b66a729fb8cce8bbe6e50e68d1fa0142acd0c9c05f0c" +version = "0.136.0-rc.1" +source = "git+https://github.com/bytecodealliance/wasmtime?branch=release-49.0.0#9847e1b8ed9871ee9def60b53f63518006a2ba1b" dependencies = [ "serde", "serde_derive", @@ -1332,9 +1304,8 @@ dependencies = [ [[package]] name = "cranelift-codegen" -version = "0.135.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "73eecedc85ffca4f34dbe197c6545c8ade6579a61352457936f53c3bffa6353b" +version = "0.136.0-rc.1" +source = "git+https://github.com/bytecodealliance/wasmtime?branch=release-49.0.0#9847e1b8ed9871ee9def60b53f63518006a2ba1b" dependencies = [ "bumpalo", "cranelift-assembler-x64", @@ -1363,9 +1334,8 @@ dependencies = [ [[package]] name = "cranelift-codegen-meta" -version = "0.135.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "66834005198c3e9e3d89cd69cf1541419402ab75250afbeaa3128db6d5254025" +version = "0.136.0-rc.1" +source = "git+https://github.com/bytecodealliance/wasmtime?branch=release-49.0.0#9847e1b8ed9871ee9def60b53f63518006a2ba1b" dependencies = [ "cranelift-assembler-x64-meta", "cranelift-codegen-shared", @@ -1376,24 +1346,21 @@ dependencies = [ [[package]] name = "cranelift-codegen-shared" -version = "0.135.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e6efaf74077091a2ff41317cc8eb2779264dae4b8a16d955835f3fcda338f52" +version = "0.136.0-rc.1" +source = "git+https://github.com/bytecodealliance/wasmtime?branch=release-49.0.0#9847e1b8ed9871ee9def60b53f63518006a2ba1b" [[package]] name = "cranelift-control" -version = "0.135.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4258d4ed6ad4e698fe1fec4277b1fcbea6f2a17cb5ec3f04bddfb38ca83d93e" +version = "0.136.0-rc.1" +source = "git+https://github.com/bytecodealliance/wasmtime?branch=release-49.0.0#9847e1b8ed9871ee9def60b53f63518006a2ba1b" dependencies = [ "arbitrary", ] [[package]] name = "cranelift-entity" -version = "0.135.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4f016b6f87b1a46a3f5df59b82d88bb352bf2fa6d7868875dfc4d6b65de5242d" +version = "0.136.0-rc.1" +source = "git+https://github.com/bytecodealliance/wasmtime?branch=release-49.0.0#9847e1b8ed9871ee9def60b53f63518006a2ba1b" dependencies = [ "cranelift-bitset", "serde", @@ -1403,9 +1370,8 @@ dependencies = [ [[package]] name = "cranelift-frontend" -version = "0.135.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b16f2b149dae6ea3886bee931445196d86d8e71b66f7c3b21abe434f77189be8" +version = "0.136.0-rc.1" +source = "git+https://github.com/bytecodealliance/wasmtime?branch=release-49.0.0#9847e1b8ed9871ee9def60b53f63518006a2ba1b" dependencies = [ "cranelift-codegen", "hashbrown 0.17.1", @@ -1416,15 +1382,13 @@ dependencies = [ [[package]] name = "cranelift-isle" -version = "0.135.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f00258ff3d37f52ed731df679205e66175c728846dbde186ee20e93973d12ee7" +version = "0.136.0-rc.1" +source = "git+https://github.com/bytecodealliance/wasmtime?branch=release-49.0.0#9847e1b8ed9871ee9def60b53f63518006a2ba1b" [[package]] name = "cranelift-native" -version = "0.135.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4f31eb7e08f31e5bc9c167c35718b0325efa3d4e234e2e9342316e01b18a4b51" +version = "0.136.0-rc.1" +source = "git+https://github.com/bytecodealliance/wasmtime?branch=release-49.0.0#9847e1b8ed9871ee9def60b53f63518006a2ba1b" dependencies = [ "cranelift-codegen", "libc", @@ -1433,9 +1397,8 @@ dependencies = [ [[package]] name = "cranelift-srcgen" -version = "0.135.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e0b67d313f510520f40c1496c3446af0d6b30219d1ba9a4c09c77ec288a561b" +version = "0.136.0-rc.1" +source = "git+https://github.com/bytecodealliance/wasmtime?branch=release-49.0.0#9847e1b8ed9871ee9def60b53f63518006a2ba1b" [[package]] name = "crc32fast" @@ -2526,7 +2489,7 @@ dependencies = [ "libc", "percent-encoding", "pin-project-lite", - "socket2 0.6.5", + "socket2 0.5.10", "system-configuration", "tokio", "tower-service", @@ -3340,9 +3303,9 @@ dependencies = [ [[package]] name = "object" -version = "0.39.1" +version = "0.40.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e5a6c098c7a3b6547378093f5cc30bc54fd361ce711e05293a5cc589562739b" +checksum = "dd229a0361b9d0d4396176e02d65897f487eebeab7caa6d443855ee152ca0b9c" dependencies = [ "crc32fast", "hashbrown 0.17.1", @@ -3857,7 +3820,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8a56d757972c98b346a9b766e3f02746cde6dd1cd1d1d563472929fdd74bec4d" dependencies = [ "anyhow", - "itertools 0.14.0", + "itertools 0.12.1", "proc-macro2", "quote", "syn 2.0.119", @@ -3885,9 +3848,8 @@ dependencies = [ [[package]] name = "pulley-interpreter" -version = "48.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c455b90365c6c8fc95da08bfdb50090dc0ce5c77ce2585025d12370dbb2a7b14" +version = "49.0.0-rc.1" +source = "git+https://github.com/bytecodealliance/wasmtime?branch=release-49.0.0#9847e1b8ed9871ee9def60b53f63518006a2ba1b" dependencies = [ "cranelift-bitset", "log", @@ -3897,9 +3859,8 @@ dependencies = [ [[package]] name = "pulley-macros" -version = "48.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "92e6c1756d5b8ce2a6353593fc15a21ffbfbc7c030f0ea02eb53d61aa4121c07" +version = "49.0.0-rc.1" +source = "git+https://github.com/bytecodealliance/wasmtime?branch=release-49.0.0#9847e1b8ed9871ee9def60b53f63518006a2ba1b" dependencies = [ "proc-macro2", "quote", @@ -3919,7 +3880,7 @@ dependencies = [ "quinn-udp", "rustc-hash", "rustls 0.23.43", - "socket2 0.6.5", + "socket2 0.5.10", "thiserror 2.0.20", "tokio", "tracing", @@ -3957,7 +3918,7 @@ dependencies = [ "cfg_aliases", "libc", "once_cell", - "socket2 0.6.5", + "socket2 0.5.10", "tracing", "windows-sys 0.61.2", ] @@ -6213,17 +6174,17 @@ dependencies = [ [[package]] name = "toml" -version = "0.9.12+spec-1.1.0" +version = "1.1.5+spec-1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf92845e79fc2e2def6a5d828f0801e29a2f8acc037becc5ab08595c7d5e9863" +checksum = "12c0ba9680044b4ce98d391a62094047eada0d64860b80166c39f4a6b5640785" dependencies = [ "indexmap 2.14.0", "serde_core", "serde_spanned 1.1.1", - "toml_datetime 0.7.5+spec-1.1.0", + "toml_datetime 1.1.1+spec-1.1.0", "toml_parser", "toml_writer", - "winnow 0.7.15", + "winnow 1.0.4", ] [[package]] @@ -6235,15 +6196,6 @@ dependencies = [ "serde", ] -[[package]] -name = "toml_datetime" -version = "0.7.5+spec-1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "92e1cfed4a3038bc5a127e35a2d360f145e1f4b971b551a2ba5fd7aedf7e1347" -dependencies = [ - "serde_core", -] - [[package]] name = "toml_datetime" version = "1.1.1+spec-1.1.0" @@ -6819,9 +6771,9 @@ dependencies = [ [[package]] name = "wasm-compose" -version = "0.254.0" +version = "0.258.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8fd717357bff09b5f1ea49aea8ed1cd149b0c521823a1cc70bc2ac16b90b651a" +checksum = "7dd08e5283f98238f2f16f5f978188a33af9901b81186bb549faad306a7b5388" dependencies = [ "anyhow", "heck", @@ -6829,8 +6781,8 @@ dependencies = [ "log", "petgraph", "smallvec", - "wasm-encoder 0.254.0", - "wasmparser 0.254.0", + "wasm-encoder 0.258.0", + "wasmparser 0.258.0", "wat", ] @@ -6846,22 +6798,12 @@ dependencies = [ [[package]] name = "wasm-encoder" -version = "0.254.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09480d646178e5fdd12bb06e812d0af9a3a191dbc9cd697fdc86687beade7393" -dependencies = [ - "leb128fmt", - "wasmparser 0.254.0", -] - -[[package]] -name = "wasm-encoder" -version = "0.257.1" +version = "0.258.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d8ad9f0a39050867bda22e6486c316e2e52d20a42154d5bc433934bf738d085" +checksum = "e974fe6821a8cf64575d51ea2194e2c8f77e7b66e9afe7419ce8a97f9ee0d251" dependencies = [ "leb128fmt", - "wasmparser 0.257.1", + "wasmparser 0.258.0", ] [[package]] @@ -6885,14 +6827,14 @@ dependencies = [ [[package]] name = "wasm-metadata" -version = "0.254.0" +version = "0.258.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b01df5f3b4ca7881e843f3bc0fb8a3905d79c68692250dcb8e33e698705ccdb6" +checksum = "18a11585adb92fe9b55ad1d760e8d8fb5d87e0d2e303cb8eed57f078d54293a2" dependencies = [ "anyhow", "indexmap 2.14.0", - "wasm-encoder 0.254.0", - "wasmparser 0.254.0", + "wasm-encoder 0.258.0", + "wasmparser 0.258.0", ] [[package]] @@ -6940,9 +6882,9 @@ dependencies = [ [[package]] name = "wasmparser" -version = "0.254.0" +version = "0.258.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d5769a29f799fbab136aaf65b4fe5384cd7d93fe6fc9ba0dcb6c8382a1f16e27" +checksum = "d9a61719f93a87b16d325921e251800c4833f8fab50fa21c7de73aed50086313" dependencies = [ "bitflags", "hashbrown 0.17.1", @@ -6951,33 +6893,21 @@ dependencies = [ "serde", ] -[[package]] -name = "wasmparser" -version = "0.257.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d92fc335fb6d48f46bda1d8b26b69e28320c15ac3272208333833d6e217e2b4a" -dependencies = [ - "bitflags", - "indexmap 2.14.0", - "semver", -] - [[package]] name = "wasmprinter" -version = "0.254.0" +version = "0.258.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "64e3ba11e024f504698f87b629b2b66c22a1231758de7607754963f7d198be39" +checksum = "3a65e30fb2cd3cc5cb7761a6064787b2abf017e6566d8d0dedf2bb7f55ad5383" dependencies = [ "anyhow", "termcolor", - "wasmparser 0.254.0", + "wasmparser 0.258.0", ] [[package]] name = "wasmtime" -version = "48.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f12115b509def01c338ec8ee9b52c4cefb27f7b8db57279c5c7cfe2e9eaf9900" +version = "49.0.0-rc.1" +source = "git+https://github.com/bytecodealliance/wasmtime?branch=release-49.0.0#9847e1b8ed9871ee9def60b53f63518006a2ba1b" dependencies = [ "addr2line", "async-trait", @@ -7008,8 +6938,8 @@ dependencies = [ "target-lexicon", "tempfile", "wasm-compose", - "wasm-encoder 0.254.0", - "wasmparser 0.254.0", + "wasm-encoder 0.258.0", + "wasmparser 0.258.0", "wasmtime-environ", "wasmtime-internal-cache", "wasmtime-internal-component-macro", @@ -7023,14 +6953,13 @@ dependencies = [ "wasmtime-internal-versioned-export-macros", "wat", "windows-sys 0.61.2", - "wit-parser 0.254.0", + "wit-parser 0.258.0", ] [[package]] name = "wasmtime-environ" -version = "48.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "13b153945550fe9f370f611b33a2b6398cb9b6be333e3bc49e4cbe5219ef44b9" +version = "49.0.0-rc.1" +source = "git+https://github.com/bytecodealliance/wasmtime?branch=release-49.0.0#9847e1b8ed9871ee9def60b53f63518006a2ba1b" dependencies = [ "anyhow", "cpp_demangle", @@ -7050,8 +6979,8 @@ dependencies = [ "sha2 0.10.9", "smallvec", "target-lexicon", - "wasm-encoder 0.254.0", - "wasmparser 0.254.0", + "wasm-encoder 0.258.0", + "wasmparser 0.258.0", "wasmprinter", "wasmtime-internal-component-util", "wasmtime-internal-core", @@ -7059,9 +6988,8 @@ dependencies = [ [[package]] name = "wasmtime-internal-cache" -version = "48.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e1464c6a7ece16f1aeeab9a62d4a821581d143d6dfd462a99b66b04d31431da" +version = "49.0.0-rc.1" +source = "git+https://github.com/bytecodealliance/wasmtime?branch=release-49.0.0#9847e1b8ed9871ee9def60b53f63518006a2ba1b" dependencies = [ "base64 0.22.1", "directories-next", @@ -7071,7 +6999,7 @@ dependencies = [ "serde", "serde_derive", "sha2 0.10.9", - "toml 0.9.12+spec-1.1.0", + "toml 1.1.5+spec-1.1.0", "wasmtime-environ", "windows-sys 0.61.2", "zstd", @@ -7079,9 +7007,8 @@ dependencies = [ [[package]] name = "wasmtime-internal-component-macro" -version = "48.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3791d98e7fa804e2a3ac13e1436b73c742bf358448ed6dc269872bf770061292" +version = "49.0.0-rc.1" +source = "git+https://github.com/bytecodealliance/wasmtime?branch=release-49.0.0#9847e1b8ed9871ee9def60b53f63518006a2ba1b" dependencies = [ "anyhow", "proc-macro2", @@ -7089,20 +7016,18 @@ dependencies = [ "syn 2.0.119", "wasmtime-internal-component-util", "wasmtime-internal-wit-bindgen", - "wit-parser 0.254.0", + "wit-parser 0.258.0", ] [[package]] name = "wasmtime-internal-component-util" -version = "48.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d20fde8e4a894972646b183622e49212105960daa0a16621da41622464c9fc1" +version = "49.0.0-rc.1" +source = "git+https://github.com/bytecodealliance/wasmtime?branch=release-49.0.0#9847e1b8ed9871ee9def60b53f63518006a2ba1b" [[package]] name = "wasmtime-internal-core" -version = "48.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c01c81d781512e17b38c3a76ca9aa2564bc3f9fd8ff6ffc77ba3e1c290d488a" +version = "49.0.0-rc.1" +source = "git+https://github.com/bytecodealliance/wasmtime?branch=release-49.0.0#9847e1b8ed9871ee9def60b53f63518006a2ba1b" dependencies = [ "anyhow", "hashbrown 0.17.1", @@ -7112,9 +7037,8 @@ dependencies = [ [[package]] name = "wasmtime-internal-cranelift" -version = "48.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a83f10fbd4bcacec9bcf7be49932a738356ec027816230f9d6f053433b3de97f" +version = "49.0.0-rc.1" +source = "git+https://github.com/bytecodealliance/wasmtime?branch=release-49.0.0#9847e1b8ed9871ee9def60b53f63518006a2ba1b" dependencies = [ "cranelift-codegen", "cranelift-control", @@ -7129,7 +7053,7 @@ dependencies = [ "smallvec", "target-lexicon", "thiserror 2.0.20", - "wasmparser 0.254.0", + "wasmparser 0.258.0", "wasmtime-environ", "wasmtime-internal-core", "wasmtime-internal-unwinder", @@ -7138,9 +7062,8 @@ dependencies = [ [[package]] name = "wasmtime-internal-fiber" -version = "48.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d327512b9aaf18d41c8de650e1bbd9d8cbedc101fb0a9774a70c0e63a94e1bc" +version = "49.0.0-rc.1" +source = "git+https://github.com/bytecodealliance/wasmtime?branch=release-49.0.0#9847e1b8ed9871ee9def60b53f63518006a2ba1b" dependencies = [ "cc", "libc", @@ -7152,9 +7075,8 @@ dependencies = [ [[package]] name = "wasmtime-internal-jit-debug" -version = "48.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7fdc7614412bf6cfc99c90367e580940db2f75513bef1455d667e25ba37eb21f" +version = "49.0.0-rc.1" +source = "git+https://github.com/bytecodealliance/wasmtime?branch=release-49.0.0#9847e1b8ed9871ee9def60b53f63518006a2ba1b" dependencies = [ "cc", "object", @@ -7164,9 +7086,8 @@ dependencies = [ [[package]] name = "wasmtime-internal-jit-icache-coherence" -version = "48.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a09abde04346919af1136a28f344e200685509e28815aef4c39dc08977cc1d8" +version = "49.0.0-rc.1" +source = "git+https://github.com/bytecodealliance/wasmtime?branch=release-49.0.0#9847e1b8ed9871ee9def60b53f63518006a2ba1b" dependencies = [ "libc", "wasmtime-internal-core", @@ -7175,9 +7096,8 @@ dependencies = [ [[package]] name = "wasmtime-internal-unwinder" -version = "48.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cc0221393863c248fcb3d02afb7d83b4e690f0878fb095173ccfb9ea24456c28" +version = "49.0.0-rc.1" +source = "git+https://github.com/bytecodealliance/wasmtime?branch=release-49.0.0#9847e1b8ed9871ee9def60b53f63518006a2ba1b" dependencies = [ "cranelift-codegen", "log", @@ -7187,9 +7107,8 @@ dependencies = [ [[package]] name = "wasmtime-internal-versioned-export-macros" -version = "48.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb0941017d1ae98c02bc7ab1935d6ccb037481fe6d3dad49cb43de19781ffa42" +version = "49.0.0-rc.1" +source = "git+https://github.com/bytecodealliance/wasmtime?branch=release-49.0.0#9847e1b8ed9871ee9def60b53f63518006a2ba1b" dependencies = [ "proc-macro2", "quote", @@ -7198,32 +7117,30 @@ dependencies = [ [[package]] name = "wasmtime-internal-wit-bindgen" -version = "48.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e34575ad64da80c2b075262905624f222ea33793519cd877c8fe051d2f54a520" +version = "49.0.0-rc.1" +source = "git+https://github.com/bytecodealliance/wasmtime?branch=release-49.0.0#9847e1b8ed9871ee9def60b53f63518006a2ba1b" dependencies = [ "anyhow", "bitflags", "heck", "indexmap 2.14.0", - "wit-component 0.254.0", - "wit-parser 0.254.0", + "wit-component 0.258.0", + "wit-parser 0.258.0", ] [[package]] name = "wasmtime-wasi" -version = "48.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "506031bd0149c5ce550cac51a83b8b30f5bb564f6e7f6b05534eed97fd60357b" +version = "49.0.0-rc.1" +source = "git+https://github.com/bytecodealliance/wasmtime?branch=release-49.0.0#9847e1b8ed9871ee9def60b53f63518006a2ba1b" dependencies = [ "async-trait", "bitflags", "bytes", - "cap-fs-ext", "cap-primitives", "futures", "rand 0.10.2", "rustix", + "rustix-linux-procfs", "thiserror 2.0.20", "tokio", "tracing", @@ -7232,13 +7149,13 @@ dependencies = [ "wasmtime-wasi-io", "wiggle", "windows-sys 0.61.2", + "winx", ] [[package]] name = "wasmtime-wasi-http" -version = "48.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c12ec9f35825fac7de32b03b962d637679b65201ae23da518bed190a6a08831" +version = "49.0.0-rc.1" +source = "git+https://github.com/bytecodealliance/wasmtime?branch=release-49.0.0#9847e1b8ed9871ee9def60b53f63518006a2ba1b" dependencies = [ "async-trait", "bytes", @@ -7261,9 +7178,8 @@ dependencies = [ [[package]] name = "wasmtime-wasi-io" -version = "48.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "73bc54df469cdfd9fa82d80bf69253c4d23cb90ee4c1ca8b009cad59713ba794" +version = "49.0.0-rc.1" +source = "git+https://github.com/bytecodealliance/wasmtime?branch=release-49.0.0#9847e1b8ed9871ee9def60b53f63518006a2ba1b" dependencies = [ "async-trait", "bytes", @@ -7283,24 +7199,24 @@ dependencies = [ [[package]] name = "wast" -version = "257.0.1" +version = "258.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c416ee8044cf88c5280e3d87c322b009525eb25142cf7428f0a90ea88febc3b" +checksum = "97f7defc7ecca8b19ac7f824598eadd0c53985ee00c74060d65051e9da5b58a1" dependencies = [ "bumpalo", "leb128fmt", "memchr", "unicode-width", - "wasm-encoder 0.257.1", + "wasm-encoder 0.258.0", ] [[package]] name = "wat" -version = "1.257.1" +version = "1.258.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "672e5495f00c5fc6c6b502205bae4708aa4dd13d969754438743afe0a8af0f1d" +checksum = "7555c008cca87f2ac58d9f83ccda7e7b44611093ce28eb28f052e7c78024b9bf" dependencies = [ - "wast 257.0.1", + "wast 258.0.0", ] [[package]] @@ -7365,9 +7281,8 @@ dependencies = [ [[package]] name = "wiggle" -version = "48.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bfe256c1d97c59cd5e1cd3364c64f88cdd64432afcc9d153fd7353b75a67b45b" +version = "49.0.0-rc.1" +source = "git+https://github.com/bytecodealliance/wasmtime?branch=release-49.0.0#9847e1b8ed9871ee9def60b53f63518006a2ba1b" dependencies = [ "bitflags", "thiserror 2.0.20", @@ -7379,9 +7294,8 @@ dependencies = [ [[package]] name = "wiggle-generate" -version = "48.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "46a1a1e72102163f98f79d5619c1a61136bbf4b1c4be06051e4a7e730c0c4986" +version = "49.0.0-rc.1" +source = "git+https://github.com/bytecodealliance/wasmtime?branch=release-49.0.0#9847e1b8ed9871ee9def60b53f63518006a2ba1b" dependencies = [ "heck", "proc-macro2", @@ -7393,9 +7307,8 @@ dependencies = [ [[package]] name = "wiggle-macro" -version = "48.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c31d70e43e2cc7c981d77b52240c880f9a00d5a33f94c5bf878827d92f2be862" +version = "49.0.0-rc.1" +source = "git+https://github.com/bytecodealliance/wasmtime?branch=release-49.0.0#9847e1b8ed9871ee9def60b53f63518006a2ba1b" dependencies = [ "proc-macro2", "quote", @@ -7790,9 +7703,9 @@ dependencies = [ [[package]] name = "wit-component" -version = "0.254.0" +version = "0.258.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b0e65bb94c369b3c4741ce3d1d2704b1fec93db7c540df0e521a097e7ceeb5be" +checksum = "481b5c47b2ecce0389b5e08a05557d6a190c9cd761773b8880a8017ee04dc7ef" dependencies = [ "anyhow", "bitflags", @@ -7801,10 +7714,10 @@ dependencies = [ "serde", "serde_derive", "serde_json", - "wasm-encoder 0.254.0", - "wasm-metadata 0.254.0", - "wasmparser 0.254.0", - "wit-parser 0.254.0", + "wasm-encoder 0.258.0", + "wasm-metadata 0.258.0", + "wasmparser 0.258.0", + "wit-parser 0.258.0", ] [[package]] @@ -7828,9 +7741,9 @@ dependencies = [ [[package]] name = "wit-parser" -version = "0.254.0" +version = "0.258.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1655131e4f7d3f0cb141f6eca71315ca40eff0f3d4de7cff0a82bacedd8c89b4" +checksum = "ff4daaa3cd97ae49ecd0a99dc009d453f93e0f083dd3be38c0f24a83a93e37ac" dependencies = [ "anyhow", "hashbrown 0.17.1", @@ -7842,7 +7755,7 @@ dependencies = [ "serde_derive", "serde_json", "unicode-ident", - "wasmparser 0.254.0", + "wasmparser 0.258.0", ] [[package]] diff --git a/examples/spin-timer/Cargo.toml b/examples/spin-timer/Cargo.toml index 1926d736f6..6127e59199 100644 --- a/examples/spin-timer/Cargo.toml +++ b/examples/spin-timer/Cargo.toml @@ -13,6 +13,6 @@ spin-runtime-factors = { path = "../../crates/runtime-factors" } spin-trigger = { path = "../../crates/trigger" } tokio = { version = "1", features = ["full"] } tokio-scoped = "0.2.0" -wasmtime = { version = "48.0.0" } +wasmtime = { git = "https://github.com/bytecodealliance/wasmtime", branch = "release-49.0.0" } [workspace] diff --git a/tests/manual/pg-ssl-root-certs/Cargo.toml b/tests/manual/pg-ssl-root-certs/Cargo.toml index 9d03f0a25a..b95646ebe5 100644 --- a/tests/manual/pg-ssl-root-certs/Cargo.toml +++ b/tests/manual/pg-ssl-root-certs/Cargo.toml @@ -3,7 +3,7 @@ name = "pg-app" authors = ["Kate Goldenring "] description = "" version = "0.1.0" -rust-version = "1.95" +rust-version = "1.96" edition = "2024" [lib]