diff --git a/Cargo.lock b/Cargo.lock index 27244ca..e2f686e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -380,7 +380,16 @@ version = "0.112.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a6e376bd92bddd03dcfc443b14382611cae5d10012aa0b1628bbf18bb73f12f7" dependencies = [ - "cranelift-entity", + "cranelift-entity 0.112.1", +] + +[[package]] +name = "cranelift-bforest" +version = "0.113.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8ea5e7afe85cadb55c4c1176268a2ac046fdff8dfaeca39e18581b9dc319ca9e" +dependencies = [ + "cranelift-entity 0.113.0", ] [[package]] @@ -393,6 +402,16 @@ dependencies = [ "serde_derive", ] +[[package]] +name = "cranelift-bitset" +version = "0.113.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8ab25ef3be935a80680e393183e1f94ef507e93a24a8369494d2c6818aedb3e3" +dependencies = [ + "serde", + "serde_derive", +] + [[package]] name = "cranelift-codegen" version = "0.112.1" @@ -400,13 +419,13 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bc60913f32c1de18538c28bef74b8c87cf16de7841a1b0956fcf01b23237853a" dependencies = [ "bumpalo", - "cranelift-bforest", - "cranelift-bitset", - "cranelift-codegen-meta", - "cranelift-codegen-shared", - "cranelift-control", - "cranelift-entity", - "cranelift-isle", + "cranelift-bforest 0.112.1", + "cranelift-bitset 0.112.1", + "cranelift-codegen-meta 0.112.1", + "cranelift-codegen-shared 0.112.1", + "cranelift-control 0.112.1", + "cranelift-entity 0.112.1", + "cranelift-isle 0.112.1", "gimli 0.29.0", "hashbrown 0.14.5", "log", @@ -416,13 +435,45 @@ dependencies = [ "target-lexicon", ] +[[package]] +name = "cranelift-codegen" +version = "0.113.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "900a19b84545924f1851cbfe386962edfc4ecbc3366a254825cf1ecbcda8ba08" +dependencies = [ + "bumpalo", + "cranelift-bforest 0.113.0", + "cranelift-bitset 0.113.0", + "cranelift-codegen-meta 0.113.0", + "cranelift-codegen-shared 0.113.0", + "cranelift-control 0.113.0", + "cranelift-entity 0.113.0", + "cranelift-isle 0.113.0", + "gimli 0.31.0", + "hashbrown 0.14.5", + "log", + "regalloc2", + "rustc-hash", + "smallvec", + "target-lexicon", +] + [[package]] name = "cranelift-codegen-meta" version = "0.112.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bae009e7822f47aa55e7dcef846ccf3aa4eb102ca6b4bcb8a44b36f3f49aa85c" dependencies = [ - "cranelift-codegen-shared", + "cranelift-codegen-shared 0.112.1", +] + +[[package]] +name = "cranelift-codegen-meta" +version = "0.113.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "08c73b2395ffe9e7b4fdf7e2ebc052e7e27af13f68a964985346be4da477a5fc" +dependencies = [ + "cranelift-codegen-shared 0.113.0", ] [[package]] @@ -431,6 +482,12 @@ version = "0.112.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0c78f01a852536c68e34444450f845ed6e0782a1f047f85397fe460b8fbce8f1" +[[package]] +name = "cranelift-codegen-shared" +version = "0.113.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7d9ed0854e96a4ff0879bff39d078de8dea7f002721c9494c1fdb4e1baa86ccc" + [[package]] name = "cranelift-control" version = "0.112.1" @@ -440,13 +497,33 @@ dependencies = [ "arbitrary", ] +[[package]] +name = "cranelift-control" +version = "0.113.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b4aca921dd422e781409de0129c255768fec5dec1dae83239b497fb9138abb89" +dependencies = [ + "arbitrary", +] + [[package]] name = "cranelift-entity" version = "0.112.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "95e2b261a3e74ae42f4e606906d5ffa44ee2684e8b1ae23bdf75d21908dc9233" dependencies = [ - "cranelift-bitset", + "cranelift-bitset 0.112.1", + "serde", + "serde_derive", +] + +[[package]] +name = "cranelift-entity" +version = "0.113.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e2d770e6605eccee15b49decdd82cd26f2b6404767802471459ea49c57379a98" +dependencies = [ + "cranelift-bitset 0.113.0", "serde", "serde_derive", ] @@ -457,7 +534,19 @@ version = "0.112.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fe14abba0e6bab42aca0f9ce757f96880f9187e88bc6cb975ed6acd8a42f7770" dependencies = [ - "cranelift-codegen", + "cranelift-codegen 0.112.1", + "log", + "smallvec", + "target-lexicon", +] + +[[package]] +name = "cranelift-frontend" +version = "0.113.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "29268711cb889cb39215b10faf88b9087d4c9e1d2633581e4f722a2bf4bb4ef9" +dependencies = [ + "cranelift-codegen 0.113.0", "log", "smallvec", "target-lexicon", @@ -469,13 +558,30 @@ version = "0.112.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "311d91ae72b37d4262b51217baf8c9e01f1afd5148931468da1fdb7e9d011347" +[[package]] +name = "cranelift-isle" +version = "0.113.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc65156f010aed1985767ad1bff0eb8d186743b7b03e23d0c17604a253e3f356" + [[package]] name = "cranelift-native" version = "0.112.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2a3f84c75e578189ff7a716c24ad83740b553bf583f2510b323bfe4c1a74bb93" dependencies = [ - "cranelift-codegen", + "cranelift-codegen 0.112.1", + "libc", + "target-lexicon", +] + +[[package]] +name = "cranelift-native" +version = "0.113.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d8bf9b361eaf5a7627647270fabf1dc910d993edbeaf272a652c107861ebe9c2" +dependencies = [ + "cranelift-codegen 0.113.0", "libc", "target-lexicon", ] @@ -486,9 +592,9 @@ version = "0.112.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f56b7b2476c47b2091eee5a20bc54a80fbb29ca5313ae2bd0dea52621abcfca1" dependencies = [ - "cranelift-codegen", - "cranelift-entity", - "cranelift-frontend", + "cranelift-codegen 0.112.1", + "cranelift-entity 0.112.1", + "cranelift-frontend 0.112.1", "itertools", "log", "smallvec", @@ -906,6 +1012,11 @@ name = "gimli" version = "0.31.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "32085ea23f3234fc7846555e85283ba4de91e21016dc0455a16286d87a292d64" +dependencies = [ + "fallible-iterator 0.3.0", + "indexmap 2.5.0", + "stable_deref_trait", +] [[package]] name = "hashbrown" @@ -1303,6 +1414,17 @@ dependencies = [ "cc", ] +[[package]] +name = "pulley-interpreter" +version = "26.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d68c610ff29655a42eeef41a5b5346e714586971a7d927739477e552fe7e23e3" +dependencies = [ + "cranelift-bitset 0.113.0", + "log", + "sptr", +] + [[package]] name = "quote" version = "1.0.37" @@ -1943,11 +2065,11 @@ dependencies = [ "wasm-metadata", "wasm-opt", "wasmparser 0.218.0", - "wasmtime", + "wasmtime 25.0.1", "wasmtime-wasi", "wasmtime-wasi-runtime-config", "wit-component", - "wit-parser", + "wit-parser 0.217.0", ] [[package]] @@ -2164,6 +2286,17 @@ dependencies = [ "wasmparser 0.217.0", ] +[[package]] +name = "wasmprinter" +version = "0.218.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0ace089155491837b75f474bf47c99073246d1b737393fe722d6dee311595ddc" +dependencies = [ + "anyhow", + "termcolor", + "wasmparser 0.218.0", +] + [[package]] name = "wasmtime" version = "25.0.1" @@ -2204,22 +2337,67 @@ dependencies = [ "target-lexicon", "wasm-encoder 0.217.0", "wasmparser 0.217.0", - "wasmtime-asm-macros", + "wasmtime-asm-macros 25.0.1", "wasmtime-cache", - "wasmtime-component-macro", - "wasmtime-component-util", - "wasmtime-cranelift", - "wasmtime-environ", + "wasmtime-component-macro 25.0.1", + "wasmtime-component-util 25.0.1", + "wasmtime-cranelift 25.0.1", + "wasmtime-environ 25.0.1", "wasmtime-fiber", "wasmtime-jit-debug", - "wasmtime-jit-icache-coherence", - "wasmtime-slab", - "wasmtime-versioned-export-macros", - "wasmtime-winch", + "wasmtime-jit-icache-coherence 25.0.1", + "wasmtime-slab 25.0.1", + "wasmtime-versioned-export-macros 25.0.1", + "wasmtime-winch 25.0.1", "wat", "windows-sys 0.52.0", ] +[[package]] +name = "wasmtime" +version = "26.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5ffa3230b9ba1ab6568d116df21bf4ca55ed2bfac87723d910471d30d9656ea1" +dependencies = [ + "anyhow", + "bitflags", + "bumpalo", + "cc", + "cfg-if", + "encoding_rs", + "hashbrown 0.14.5", + "indexmap 2.5.0", + "libc", + "libm", + "log", + "mach2", + "memfd", + "object", + "once_cell", + "paste", + "postcard", + "psm", + "pulley-interpreter", + "rustix", + "semver", + "serde", + "serde_derive", + "smallvec", + "sptr", + "target-lexicon", + "wasmparser 0.218.0", + "wasmtime-asm-macros 26.0.0", + "wasmtime-component-macro 26.0.0", + "wasmtime-component-util 26.0.0", + "wasmtime-cranelift 26.0.0", + "wasmtime-environ 26.0.0", + "wasmtime-jit-icache-coherence 26.0.0", + "wasmtime-slab 26.0.0", + "wasmtime-versioned-export-macros 26.0.0", + "wasmtime-winch 26.0.0", + "windows-sys 0.59.0", +] + [[package]] name = "wasmtime-asm-macros" version = "25.0.1" @@ -2229,6 +2407,15 @@ dependencies = [ "cfg-if", ] +[[package]] +name = "wasmtime-asm-macros" +version = "26.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef15fad08bbaa0e5c5539b76fa5965ca25e24f17a584f83a40b43ba9a2b36f44" +dependencies = [ + "cfg-if", +] + [[package]] name = "wasmtime-cache" version = "25.0.1" @@ -2259,9 +2446,24 @@ dependencies = [ "proc-macro2", "quote", "syn 2.0.77", - "wasmtime-component-util", - "wasmtime-wit-bindgen", - "wit-parser", + "wasmtime-component-util 25.0.1", + "wasmtime-wit-bindgen 25.0.1", + "wit-parser 0.217.0", +] + +[[package]] +name = "wasmtime-component-macro" +version = "26.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23fb4e179f424260d0739c09d3bc83d34347a55d291d10dcb5244686a75c7733" +dependencies = [ + "anyhow", + "proc-macro2", + "quote", + "syn 2.0.77", + "wasmtime-component-util 26.0.0", + "wasmtime-wit-bindgen 26.0.0", + "wit-parser 0.218.0", ] [[package]] @@ -2270,6 +2472,12 @@ version = "25.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6b1b24db4aa3dc7c0d3181d1833b4fe9ec0cd3f08780b746415c84c0a9ec9011" +[[package]] +name = "wasmtime-component-util" +version = "26.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cfe3c27d64af5f584014db9381c081223d27a57e1dce2f6280bbafea37575619" + [[package]] name = "wasmtime-cranelift" version = "25.0.1" @@ -2278,11 +2486,11 @@ checksum = "c737bef9ea94aab874e29ac6a8688b89ceb43c7b51f047079c43387972c07ee3" dependencies = [ "anyhow", "cfg-if", - "cranelift-codegen", - "cranelift-control", - "cranelift-entity", - "cranelift-frontend", - "cranelift-native", + "cranelift-codegen 0.112.1", + "cranelift-control 0.112.1", + "cranelift-entity 0.112.1", + "cranelift-frontend 0.112.1", + "cranelift-native 0.112.1", "cranelift-wasm", "gimli 0.29.0", "log", @@ -2291,8 +2499,33 @@ dependencies = [ "target-lexicon", "thiserror", "wasmparser 0.217.0", - "wasmtime-environ", - "wasmtime-versioned-export-macros", + "wasmtime-environ 25.0.1", + "wasmtime-versioned-export-macros 25.0.1", +] + +[[package]] +name = "wasmtime-cranelift" +version = "26.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eb56d9ee4a093509624bd0861888cd111f6530e16969a68bb12dc7dd7a2be27f" +dependencies = [ + "anyhow", + "cfg-if", + "cranelift-codegen 0.113.0", + "cranelift-control 0.113.0", + "cranelift-entity 0.113.0", + "cranelift-frontend 0.113.0", + "cranelift-native 0.113.0", + "gimli 0.31.0", + "itertools", + "log", + "object", + "smallvec", + "target-lexicon", + "thiserror", + "wasmparser 0.218.0", + "wasmtime-environ 26.0.0", + "wasmtime-versioned-export-macros 26.0.0", ] [[package]] @@ -2303,8 +2536,8 @@ checksum = "817bfa9ea878ec37aa24f85fd6912844e8d87d321662824cf920d561b698cdfd" dependencies = [ "anyhow", "cpp_demangle", - "cranelift-bitset", - "cranelift-entity", + "cranelift-bitset 0.112.1", + "cranelift-entity 0.112.1", "gimli 0.29.0", "indexmap 2.5.0", "log", @@ -2317,11 +2550,36 @@ dependencies = [ "target-lexicon", "wasm-encoder 0.217.0", "wasmparser 0.217.0", - "wasmprinter", - "wasmtime-component-util", + "wasmprinter 0.217.0", + "wasmtime-component-util 25.0.1", "wasmtime-types", ] +[[package]] +name = "wasmtime-environ" +version = "26.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f3444c1759d5b906ff76a3cab073dd92135bdd06e5d1f46635ec40a58207d314" +dependencies = [ + "anyhow", + "cranelift-bitset 0.113.0", + "cranelift-entity 0.113.0", + "gimli 0.31.0", + "indexmap 2.5.0", + "log", + "object", + "postcard", + "semver", + "serde", + "serde_derive", + "smallvec", + "target-lexicon", + "wasm-encoder 0.218.0", + "wasmparser 0.218.0", + "wasmprinter 0.218.0", + "wasmtime-component-util 26.0.0", +] + [[package]] name = "wasmtime-fiber" version = "25.0.1" @@ -2332,8 +2590,8 @@ dependencies = [ "cc", "cfg-if", "rustix", - "wasmtime-asm-macros", - "wasmtime-versioned-export-macros", + "wasmtime-asm-macros 25.0.1", + "wasmtime-versioned-export-macros 25.0.1", "windows-sys 0.52.0", ] @@ -2346,7 +2604,7 @@ dependencies = [ "object", "once_cell", "rustix", - "wasmtime-versioned-export-macros", + "wasmtime-versioned-export-macros 25.0.1", ] [[package]] @@ -2361,12 +2619,30 @@ dependencies = [ "windows-sys 0.52.0", ] +[[package]] +name = "wasmtime-jit-icache-coherence" +version = "26.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6e458e6a1a010a53f86ac8d75837c0c6b2ce3e54b7503b2f1dc5629a4a541f5a" +dependencies = [ + "anyhow", + "cfg-if", + "libc", + "windows-sys 0.59.0", +] + [[package]] name = "wasmtime-slab" version = "25.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d9858a22e656ae8574631221b474b8bebf63f1367fcac3f179873833eabc2ced" +[[package]] +name = "wasmtime-slab" +version = "26.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "339c9a2a62b989a3184baff31be3a5b5256ad52629634eb432f9ccf0ab251f83" + [[package]] name = "wasmtime-types" version = "25.0.1" @@ -2374,7 +2650,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4d14b8a9206fe94485a03edb1654cd530dbd2a859a85a43502cb4e99653a568c" dependencies = [ "anyhow", - "cranelift-entity", + "cranelift-entity 0.112.1", "serde", "serde_derive", "smallvec", @@ -2392,6 +2668,17 @@ dependencies = [ "syn 2.0.77", ] +[[package]] +name = "wasmtime-versioned-export-macros" +version = "26.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "abe01058e422966659e1af00af833147d54658b07c7e74606d73ca9af3f1690a" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.77", +] + [[package]] name = "wasmtime-wasi" version = "25.0.1" @@ -2418,19 +2705,19 @@ dependencies = [ "tokio", "tracing", "url", - "wasmtime", + "wasmtime 25.0.1", "wiggle", "windows-sys 0.52.0", ] [[package]] name = "wasmtime-wasi-runtime-config" -version = "25.0.1" +version = "26.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a7963fe5405a594ca8cc730b0ac5da6b2a4a60f422f0debbb5ee8b69b267232d" +checksum = "90ec0cef53aed028268165ed80076abbbc19677fab3cbd5d185516a891f60267" dependencies = [ "anyhow", - "wasmtime", + "wasmtime 26.0.0", ] [[package]] @@ -2440,14 +2727,31 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b238eeaf55652df0e63a6829d1ca9ef726d63517f56194faa0f6b9941f8d9151" dependencies = [ "anyhow", - "cranelift-codegen", + "cranelift-codegen 0.112.1", "gimli 0.29.0", "object", "target-lexicon", "wasmparser 0.217.0", - "wasmtime-cranelift", - "wasmtime-environ", - "winch-codegen", + "wasmtime-cranelift 25.0.1", + "wasmtime-environ 25.0.1", + "winch-codegen 0.23.1", +] + +[[package]] +name = "wasmtime-winch" +version = "26.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3b65e7d7676280ff58e417053ef8435fd7d0b5c5c4372428d13d47aee00a26bf" +dependencies = [ + "anyhow", + "cranelift-codegen 0.113.0", + "gimli 0.31.0", + "object", + "target-lexicon", + "wasmparser 0.218.0", + "wasmtime-cranelift 26.0.0", + "wasmtime-environ 26.0.0", + "winch-codegen 26.0.0", ] [[package]] @@ -2459,7 +2763,19 @@ dependencies = [ "anyhow", "heck 0.4.1", "indexmap 2.5.0", - "wit-parser", + "wit-parser 0.217.0", +] + +[[package]] +name = "wasmtime-wit-bindgen" +version = "26.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1c9e85935a1199e96b73e7fcd27a127035d2082265720a67d59268a24892d567" +dependencies = [ + "anyhow", + "heck 0.5.0", + "indexmap 2.5.0", + "wit-parser 0.218.0", ] [[package]] @@ -2504,7 +2820,7 @@ dependencies = [ "bitflags", "thiserror", "tracing", - "wasmtime", + "wasmtime 25.0.1", "wiggle-macro", ] @@ -2573,14 +2889,31 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4ac790aaeff15764481c731239a45346df3f0af966839ac1575f49989fdbb542" dependencies = [ "anyhow", - "cranelift-codegen", + "cranelift-codegen 0.112.1", "gimli 0.29.0", "regalloc2", "smallvec", "target-lexicon", "wasmparser 0.217.0", - "wasmtime-cranelift", - "wasmtime-environ", + "wasmtime-cranelift 25.0.1", + "wasmtime-environ 25.0.1", +] + +[[package]] +name = "winch-codegen" +version = "26.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d24d6742c41dcde6860c4b83569264b9cd4549d440a4d2488fed0eace33b92fc" +dependencies = [ + "anyhow", + "cranelift-codegen 0.113.0", + "gimli 0.31.0", + "regalloc2", + "smallvec", + "target-lexicon", + "wasmparser 0.218.0", + "wasmtime-cranelift 26.0.0", + "wasmtime-environ 26.0.0", ] [[package]] @@ -2711,7 +3044,7 @@ checksum = "fc9cfd3f1b4e29e9a90fe04157764f24ae396cfb8530dae5753de140e73f9e56" dependencies = [ "anyhow", "heck 0.5.0", - "wit-parser", + "wit-parser 0.217.0", ] [[package]] @@ -2770,7 +3103,7 @@ dependencies = [ "wasm-encoder 0.217.0", "wasm-metadata", "wasmparser 0.217.0", - "wit-parser", + "wit-parser 0.217.0", ] [[package]] @@ -2791,6 +3124,24 @@ dependencies = [ "wasmparser 0.217.0", ] +[[package]] +name = "wit-parser" +version = "0.218.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d3d1066ab761b115f97fef2b191090faabcb0f37b555b758d3caf42d4ed9e55" +dependencies = [ + "anyhow", + "id-arena", + "indexmap 2.5.0", + "log", + "semver", + "serde", + "serde_derive", + "serde_json", + "unicode-xid", + "wasmparser 0.218.0", +] + [[package]] name = "witx" version = "0.9.1" diff --git a/Cargo.toml b/Cargo.toml index b7b980c..7d65547 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -48,7 +48,7 @@ heck = { version = "0.5" } tokio = { version = "1.40", features = ["macros"] } wasmtime = { version = "25", features = ["component-model"] } wasmtime-wasi = "25" -wasmtime-wasi-runtime-config = "25" +wasmtime-wasi-runtime-config = "26" wasmparser = "0.218" [workspace.dependencies]