diff --git a/.gitignore b/.gitignore index 771d4bc..17b163a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ **/target -**/.vscode \ No newline at end of file +**/.vscode +*.swp +*.swo diff --git a/component-model/examples/example-host/Cargo.lock b/component-model/examples/example-host/Cargo.lock index d1fc416..4b35fab 100644 --- a/component-model/examples/example-host/Cargo.lock +++ b/component-model/examples/example-host/Cargo.lock @@ -4,9 +4,9 @@ version = 3 [[package]] name = "addr2line" -version = "0.20.0" +version = "0.21.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4fa78e18c64fce05e902adecd7a5eed15a5e0a3439f7b0e169f0252214865e3" +checksum = "8a30b2e23b9e17a9f90641c7ab1549cd9b44f296d3ccbf309d2863cfe398a0cb" dependencies = [ "gimli", ] @@ -28,15 +28,6 @@ dependencies = [ "version_check", ] -[[package]] -name = "aho-corasick" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6748e8def348ed4d14996fa801f4122cd763fff530258cdc03f64b25f89d3a5a" -dependencies = [ - "memchr", -] - [[package]] name = "ambient-authority" version = "0.0.2" @@ -45,24 +36,23 @@ checksum = "e9d4ee0d472d1cd2e28c97dfa124b3d8d992e10eb0a035f33f5d12e3a177ba3b" [[package]] name = "anstream" -version = "0.3.2" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ca84f3628370c59db74ee214b3263d58f9aadd9b4fe7e711fd87dc452b7f163" +checksum = "b1f58811cfac344940f1a400b6e6231ce35171f614f26439e80f8c1465c5cc0c" dependencies = [ "anstyle", "anstyle-parse", "anstyle-query", "anstyle-wincon", "colorchoice", - "is-terminal", "utf8parse", ] [[package]] name = "anstyle" -version = "1.0.1" +version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3a30da5c5f2d5e72842e00bcb57657162cdabef0931f40e2deb9b4140440cecd" +checksum = "b84bf0a05bbb2a83e5eb6fa36bb6e87baa08193c35ff52bbf6b38d8af2890e46" [[package]] name = "anstyle-parse" @@ -84,9 +74,9 @@ dependencies = [ [[package]] name = "anstyle-wincon" -version = "1.0.2" +version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c677ab05e09154296dd37acecd46420c17b9713e8366facafa8fc0885167cf4c" +checksum = "58f54d10c6dfa51283a066ceab3ec1ab78d13fae00aa49243a45e4571fb79dfd" dependencies = [ "anstyle", "windows-sys", @@ -94,9 +84,9 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.74" +version = "1.0.75" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c6f84b74db2535ebae81eede2f39b947dcbf01d093ae5f791e5dd414a1bf289" +checksum = "a4668cab20f66d8d020e1fbc0ebe47217433c1b6c8f2040faf858554e394ace6" [[package]] name = "arbitrary" @@ -127,14 +117,14 @@ dependencies = [ [[package]] name = "async-executor" -version = "1.5.1" +version = "1.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6fa3dc5f2a8564f07759c008b9109dc0d39de92a88d5588b8a5036d286383afb" +checksum = "78f2db9467baa66a700abce2a18c5ad793f6f83310aca1284796fc3921d113fd" dependencies = [ "async-lock", "async-task", "concurrent-queue", - "fastrand", + "fastrand 2.0.1", "futures-lite", "slab", ] @@ -212,9 +202,9 @@ dependencies = [ [[package]] name = "async-task" -version = "4.4.0" +version = "4.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ecc7ab41815b3c653ccd2978ec3255c81349336702dfdf62ee6f7069b12a3aae" +checksum = "b9441c6b2fe128a7c2bf680a44c34d0df31ce09e5b7e401fcca3faa483dbc921" [[package]] name = "async-trait" @@ -224,14 +214,14 @@ checksum = "bc00ceb34980c03614e35a3a4e218276a0a824e911d07651cd0d858a51e8c0f0" dependencies = [ "proc-macro2", "quote", - "syn 2.0.28", + "syn 2.0.37", ] [[package]] name = "atomic-waker" -version = "1.1.1" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1181e1e0d1fce796a03db1ae795d67167da795f9cf4a39c37589e85ef57f26d3" +checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" [[package]] name = "autocfg" @@ -241,9 +231,9 @@ checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" [[package]] name = "backtrace" -version = "0.3.68" +version = "0.3.69" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4319208da049c43661739c5fade2ba182f09d1dc2299b32298d3a31692b17e12" +checksum = "2089b7e3f35b9dd2d0ed921ead4f6d318c27680d4a5bd167b3ee120edb105837" dependencies = [ "addr2line", "cc", @@ -256,9 +246,9 @@ dependencies = [ [[package]] name = "base64" -version = "0.21.2" +version = "0.21.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "604178f6c5c21f02dc555784810edfb88d34ac2c73b2eae109655649ee73ce3d" +checksum = "9ba43ea6f343b788c8764558649e08df62f86c6ef251fdaeb1ffd010a9ae50a2" [[package]] name = "bincode" @@ -292,24 +282,25 @@ dependencies = [ [[package]] name = "blocking" -version = "1.3.1" +version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77231a1c8f801696fc0123ec6150ce92cffb8e164a02afb9c8ddee0e9b65ad65" +checksum = "94c4ef1f913d78636d78d538eec1f18de81e481f44b1be0a81060090530846e1" dependencies = [ "async-channel", "async-lock", "async-task", - "atomic-waker", - "fastrand", + "fastrand 2.0.1", + "futures-io", "futures-lite", - "log", + "piper", + "tracing", ] [[package]] name = "bumpalo" -version = "3.13.0" +version = "3.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3e2c3daef883ecc1b5d58c15adae93470a91d425f3532ba1695849656af3fc1" +checksum = "7f30e7476521f6f8af1a1c4c0b8cc94f0bee37d91763d0ca2665f299b6cd8aec" [[package]] name = "byteorder" @@ -319,9 +310,9 @@ checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610" [[package]] name = "bytes" -version = "1.4.0" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89b2fd2a0dcf38d7971e2194b6b6eebab45ae01067456a7fd93d5547a61b70be" +checksum = "a2bd12c1caf447e69cd4528f47f94d203fd2582878ecb9e9465484c4148a8223" [[package]] name = "cap-fs-ext" @@ -335,6 +326,18 @@ dependencies = [ "windows-sys", ] +[[package]] +name = "cap-net-ext" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ffc30dee200c20b4dcb80572226f42658e1d9c4b668656d7cc59c33d50e396e" +dependencies = [ + "cap-primitives", + "cap-std", + "rustix 0.38.14", + "smallvec", +] + [[package]] name = "cap-primitives" version = "2.0.0" @@ -347,7 +350,7 @@ dependencies = [ "io-lifetimes 2.0.2", "ipnet", "maybe-owned", - "rustix 0.38.8", + "rustix 0.38.14", "windows-sys", "winx", ] @@ -371,7 +374,7 @@ dependencies = [ "cap-primitives", "io-extras", "io-lifetimes 2.0.2", - "rustix 0.38.8", + "rustix 0.38.14", ] [[package]] @@ -382,15 +385,15 @@ checksum = "f8f52b3c8f4abfe3252fd0a071f3004aaa3b18936ec97bdbd8763ce03aff6247" dependencies = [ "cap-primitives", "once_cell", - "rustix 0.38.8", + "rustix 0.38.14", "winx", ] [[package]] name = "cc" -version = "1.0.82" +version = "1.0.83" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "305fe645edc1442a0fa8b6726ba61d422798d37a52e12eaecf4b022ebbb88f01" +checksum = "f1174fb0b6ec23863f8b971027804a42614e347eafb0a95bf0b12cdae21fc4d0" dependencies = [ "jobserver", "libc", @@ -404,20 +407,19 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "clap" -version = "4.3.21" +version = "4.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c27cdf28c0f604ba3f512b0c9a409f8de8513e4816705deb0498b627e7c3a3fd" +checksum = "824956d0dca8334758a5b7f7e50518d66ea319330cbceedcf76905c2f6ab30e3" dependencies = [ "clap_builder", "clap_derive", - "once_cell", ] [[package]] name = "clap_builder" -version = "4.3.21" +version = "4.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08a9f1ab5e9f01a9b81f202e8562eb9a10de70abf9eaeac1be465c28b75aa4aa" +checksum = "122ec64120a49b4563ccaedcbea7818d069ed8e9aa6d829b82d8a4128936b2ab" dependencies = [ "anstream", "anstyle", @@ -427,21 +429,21 @@ dependencies = [ [[package]] name = "clap_derive" -version = "4.3.12" +version = "4.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "54a9bb5758fc5dfe728d1019941681eccaf0cf8a4189b692a0ee2f2ecf90a050" +checksum = "0862016ff20d69b84ef8247369fabf5c008a7417002411897d40ee1f4532b873" dependencies = [ "heck", "proc-macro2", "quote", - "syn 2.0.28", + "syn 2.0.37", ] [[package]] name = "clap_lex" -version = "0.5.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2da6da31387c7e4ef160ffab6d5e7f00c42626fe39aea70a7b0f1773f7dd6c1b" +checksum = "cd7cc57abe963c6d3b9d8be5b06ba7c8957a930305ca90304f24ef040aa6f961" [[package]] name = "colorchoice" @@ -451,9 +453,9 @@ checksum = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7" [[package]] name = "concurrent-queue" -version = "2.2.0" +version = "2.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62ec6771ecfa0762d24683ee5a32ad78487a3d3afdc0fb8cae19d2c5deb50b7c" +checksum = "f057a694a54f12365049b0958a1685bb52d567f5593b355fbf685838e873d400" dependencies = [ "crossbeam-utils", ] @@ -478,16 +480,16 @@ dependencies = [ [[package]] name = "cranelift-bforest" -version = "0.99.0" -source = "git+https://github.com/bytecodealliance/wasmtime?rev=7b9189b#7b9189babd6f9a82b05f365cc71f0ab81f10d3ed" +version = "0.100.0" +source = "git+https://github.com/bytecodealliance/wasmtime?rev=aec4b25#aec4b25b8f62f409175a3cc6c4a4ed18b446d3ae" dependencies = [ "cranelift-entity", ] [[package]] name = "cranelift-codegen" -version = "0.99.0" -source = "git+https://github.com/bytecodealliance/wasmtime?rev=7b9189b#7b9189babd6f9a82b05f365cc71f0ab81f10d3ed" +version = "0.100.0" +source = "git+https://github.com/bytecodealliance/wasmtime?rev=aec4b25#aec4b25b8f62f409175a3cc6c4a4ed18b446d3ae" dependencies = [ "bumpalo", "cranelift-bforest", @@ -497,7 +499,7 @@ dependencies = [ "cranelift-entity", "cranelift-isle", "gimli", - "hashbrown 0.13.2", + "hashbrown 0.14.0", "log", "regalloc2", "smallvec", @@ -506,37 +508,38 @@ dependencies = [ [[package]] name = "cranelift-codegen-meta" -version = "0.99.0" -source = "git+https://github.com/bytecodealliance/wasmtime?rev=7b9189b#7b9189babd6f9a82b05f365cc71f0ab81f10d3ed" +version = "0.100.0" +source = "git+https://github.com/bytecodealliance/wasmtime?rev=aec4b25#aec4b25b8f62f409175a3cc6c4a4ed18b446d3ae" dependencies = [ "cranelift-codegen-shared", ] [[package]] name = "cranelift-codegen-shared" -version = "0.99.0" -source = "git+https://github.com/bytecodealliance/wasmtime?rev=7b9189b#7b9189babd6f9a82b05f365cc71f0ab81f10d3ed" +version = "0.100.0" +source = "git+https://github.com/bytecodealliance/wasmtime?rev=aec4b25#aec4b25b8f62f409175a3cc6c4a4ed18b446d3ae" [[package]] name = "cranelift-control" -version = "0.99.0" -source = "git+https://github.com/bytecodealliance/wasmtime?rev=7b9189b#7b9189babd6f9a82b05f365cc71f0ab81f10d3ed" +version = "0.100.0" +source = "git+https://github.com/bytecodealliance/wasmtime?rev=aec4b25#aec4b25b8f62f409175a3cc6c4a4ed18b446d3ae" dependencies = [ "arbitrary", ] [[package]] name = "cranelift-entity" -version = "0.99.0" -source = "git+https://github.com/bytecodealliance/wasmtime?rev=7b9189b#7b9189babd6f9a82b05f365cc71f0ab81f10d3ed" +version = "0.100.0" +source = "git+https://github.com/bytecodealliance/wasmtime?rev=aec4b25#aec4b25b8f62f409175a3cc6c4a4ed18b446d3ae" dependencies = [ "serde", + "serde_derive", ] [[package]] name = "cranelift-frontend" -version = "0.99.0" -source = "git+https://github.com/bytecodealliance/wasmtime?rev=7b9189b#7b9189babd6f9a82b05f365cc71f0ab81f10d3ed" +version = "0.100.0" +source = "git+https://github.com/bytecodealliance/wasmtime?rev=aec4b25#aec4b25b8f62f409175a3cc6c4a4ed18b446d3ae" dependencies = [ "cranelift-codegen", "log", @@ -546,13 +549,13 @@ dependencies = [ [[package]] name = "cranelift-isle" -version = "0.99.0" -source = "git+https://github.com/bytecodealliance/wasmtime?rev=7b9189b#7b9189babd6f9a82b05f365cc71f0ab81f10d3ed" +version = "0.100.0" +source = "git+https://github.com/bytecodealliance/wasmtime?rev=aec4b25#aec4b25b8f62f409175a3cc6c4a4ed18b446d3ae" [[package]] name = "cranelift-native" -version = "0.99.0" -source = "git+https://github.com/bytecodealliance/wasmtime?rev=7b9189b#7b9189babd6f9a82b05f365cc71f0ab81f10d3ed" +version = "0.100.0" +source = "git+https://github.com/bytecodealliance/wasmtime?rev=aec4b25#aec4b25b8f62f409175a3cc6c4a4ed18b446d3ae" dependencies = [ "cranelift-codegen", "libc", @@ -561,8 +564,8 @@ dependencies = [ [[package]] name = "cranelift-wasm" -version = "0.99.0" -source = "git+https://github.com/bytecodealliance/wasmtime?rev=7b9189b#7b9189babd6f9a82b05f365cc71f0ab81f10d3ed" +version = "0.100.0" +source = "git+https://github.com/bytecodealliance/wasmtime?rev=aec4b25#aec4b25b8f62f409175a3cc6c4a4ed18b446d3ae" dependencies = [ "cranelift-codegen", "cranelift-entity", @@ -570,7 +573,7 @@ dependencies = [ "itertools", "log", "smallvec", - "wasmparser", + "wasmparser 0.112.0", "wasmtime-types", ] @@ -583,16 +586,6 @@ dependencies = [ "cfg-if", ] -[[package]] -name = "crossbeam-channel" -version = "0.5.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a33c2bf77f2df06183c3aa30d1e96c0695a313d4f9c453cc3762a6db39f99200" -dependencies = [ - "cfg-if", - "crossbeam-utils", -] - [[package]] name = "crossbeam-deque" version = "0.8.3" @@ -704,26 +697,13 @@ checksum = "a26ae43d7bcc3b814de94796a5e736d4029efb0ee900c12e2d54c993ad1a1e07" [[package]] name = "encoding_rs" -version = "0.8.32" +version = "0.8.33" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "071a31f4ee85403370b58aca746f01041ede6f0da2730960ad001edc2b71b394" +checksum = "7268b386296a025e474d5140678f75d6de9493ae55a5d709eeb9dd08149945e1" dependencies = [ "cfg-if", ] -[[package]] -name = "env_logger" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85cdab6a89accf66733ad5a1693a4dcced6aeff64602b634530dd73c1f3ee9f0" -dependencies = [ - "humantime", - "is-terminal", - "log", - "regex", - "termcolor", -] - [[package]] name = "equivalent" version = "1.0.1" @@ -732,9 +712,9 @@ checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" [[package]] name = "errno" -version = "0.3.2" +version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b30f669a7961ef1631673d2766cc92f52d64f7ef354d4fe0ddfd30ed52f0f4f" +checksum = "136526188508e25c6fef639d7927dfb3e0e3084488bf202267829cf7fc23dbdd" dependencies = [ "errno-dragonfly", "libc", @@ -771,9 +751,9 @@ dependencies = [ [[package]] name = "fallible-iterator" -version = "0.2.0" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4443176a9f2c162692bd3d352d745ef9413eec5782a80d8fd6f8a1ac692a07f7" +checksum = "2acce4a10f12dc2fb14a218589d4f1f62ef011b2d0cc4b3cb1bba8e94da14649" [[package]] name = "fastrand" @@ -784,6 +764,12 @@ dependencies = [ "instant", ] +[[package]] +name = "fastrand" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "25cbce373ec4653f1a01a31e8a5e5ec0c622dc27ff9c4e6606eefef5cbbed4a5" + [[package]] name = "fd-lock" version = "4.0.0" @@ -791,20 +777,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0b0377f1edc77dbd1118507bc7a66e4ab64d2b90c66f90726dc801e73a8c68f9" dependencies = [ "cfg-if", - "rustix 0.38.8", + "rustix 0.38.14", "windows-sys", ] -[[package]] -name = "file-per-thread-logger" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a3cc21c33af89af0930c8cae4ade5e6fdc17b5d2c97b3d2e2edb67a1cf683f3" -dependencies = [ - "env_logger", - "log", -] - [[package]] name = "form_urlencoded" version = "1.2.0" @@ -821,7 +797,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dd738b84894214045e8414eaded76359b4a5773f0a0a56b16575110739cdcf39" dependencies = [ "io-lifetimes 2.0.2", - "rustix 0.38.8", + "rustix 0.38.14", "windows-sys", ] @@ -867,7 +843,7 @@ version = "1.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "49a9d51ce47660b1e808d3c990b4709f2f415d928835a17dfd16991515c46bce" dependencies = [ - "fastrand", + "fastrand 1.9.0", "futures-core", "futures-io", "memchr", @@ -946,12 +922,12 @@ dependencies = [ [[package]] name = "gimli" -version = "0.27.3" +version = "0.28.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6c80984affa11d98d1b88b66ac8853f143217b399d3c74116778ff8fdb4ed2e" +checksum = "6fb8d784f27acf97159b40fc4db5ecd8aa23b9ad5ef69cdd136d3bc80665f0c0" dependencies = [ "fallible-iterator", - "indexmap 1.9.3", + "indexmap", "stable_deref_trait", ] @@ -967,12 +943,6 @@ dependencies = [ "wasm-bindgen", ] -[[package]] -name = "hashbrown" -version = "0.12.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" - [[package]] name = "hashbrown" version = "0.13.2" @@ -987,6 +957,9 @@ name = "hashbrown" version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2c6201b9ff9fd90a5a3bac2e56a830d0caa509576f0e503818ee82c181b3437a" +dependencies = [ + "ahash", +] [[package]] name = "heck" @@ -996,15 +969,9 @@ checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" [[package]] name = "hermit-abi" -version = "0.3.2" +version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "443144c8cdadd93ebf52ddb4056d257f5b52c04d3c804e657d19eb73fc33668b" - -[[package]] -name = "humantime" -version = "2.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" +checksum = "d77f7ec81a6d05a3abb01ab6eb7590f6083d08449fe5a1c8b1e620283546ccb7" [[package]] name = "id-arena" @@ -1022,16 +989,6 @@ dependencies = [ "unicode-normalization", ] -[[package]] -name = "indexmap" -version = "1.9.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99" -dependencies = [ - "autocfg", - "hashbrown 0.12.3", -] - [[package]] name = "indexmap" version = "2.0.0" @@ -1092,7 +1049,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cb0889898416213fab133e1d33a0e5858a48177452750691bde3666d0fdbaf8b" dependencies = [ "hermit-abi", - "rustix 0.38.8", + "rustix 0.38.14", "windows-sys", ] @@ -1166,9 +1123,9 @@ checksum = "884e2677b40cc8c339eaefcb701c32ef1fd2493d71118dc0ca4b6a736c93bd67" [[package]] name = "libc" -version = "0.2.147" +version = "0.2.148" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4668fb0ea861c1df094127ac5f1da3409a82116a4ba74fca2e58ef927159bb3" +checksum = "9cdc71e17332e86d2e1d38c1f99edcb6288ee11b815fb1a4b049eaa2114d369b" [[package]] name = "linux-raw-sys" @@ -1178,9 +1135,9 @@ checksum = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519" [[package]] name = "linux-raw-sys" -version = "0.4.5" +version = "0.4.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57bcfdad1b858c2db7c38303a6d2ad4dfaf5eb53dfeb0910128b2c26d6158503" +checksum = "1a9bad9f94746442c783ca431b22403b519cd7fbeed0533fdd6328b2f2212128" [[package]] name = "log" @@ -1208,17 +1165,17 @@ checksum = "4facc753ae494aeb6e3c22f839b158aebd4f9270f55cd3c79906c45476c47ab4" [[package]] name = "memchr" -version = "2.5.0" +version = "2.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d" +checksum = "8f232d6ef707e1956a43342693d2a31e72989554d58299d7a88738cc95b0d35c" [[package]] name = "memfd" -version = "0.6.3" +version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ffc89ccdc6e10d6907450f753537ebc5c5d3460d2e4e62ea74bd571db62c0f9e" +checksum = "b2cffa4ad52c6f791f4f8b15f0c05f9824b2ced1160e88cc393d64fff9a8ac64" dependencies = [ - "rustix 0.37.23", + "rustix 0.38.14", ] [[package]] @@ -1262,13 +1219,13 @@ dependencies = [ [[package]] name = "object" -version = "0.31.1" +version = "0.32.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8bda667d9f2b5051b8833f59f3bf748b28ef54f850f4fcb389a252aa383866d1" +checksum = "9cf5f9dd3933bd50a9e1f149ec995f39ae2c496d31fd772c1fd45ebc27e902b0" dependencies = [ "crc32fast", - "hashbrown 0.13.2", - "indexmap 1.9.3", + "hashbrown 0.14.0", + "indexmap", "memchr", ] @@ -1280,9 +1237,9 @@ checksum = "dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d" [[package]] name = "parking" -version = "2.1.0" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "14f2252c834a40ed9bb5422029649578e63aa341ac401f74e719dd1afda8394e" +checksum = "e52c774a4c39359c1d1c52e43f73dd91a75a614652c825408eec30c95a9b2067" [[package]] name = "paste" @@ -1298,9 +1255,9 @@ checksum = "9b2a4787296e9989611394c33f193f676704af1686e70b8f8033ab5ba9a35a94" [[package]] name = "pin-project-lite" -version = "0.2.12" +version = "0.2.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "12cc1b0bf1727a77a54b6654e7b5f1af8604923edc8b81885f8ec92f9e3f0a05" +checksum = "8afb450f006bf6385ca15ef45d71d2288452bc3683ce2e2cacc0d18e4be60b58" [[package]] name = "pin-utils" @@ -1308,6 +1265,17 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" +[[package]] +name = "piper" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "668d31b1c4eba19242f2088b2bf3316b82ca31082a8335764db4e083db7485d4" +dependencies = [ + "atomic-waker", + "fastrand 2.0.1", + "futures-io", +] + [[package]] name = "pkg-config" version = "0.3.27" @@ -1338,9 +1306,9 @@ checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" [[package]] name = "proc-macro2" -version = "1.0.66" +version = "1.0.67" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "18fb31db3f9bddb2ea821cde30a9f70117e3f119938b5ee630b7403aa6e2ead9" +checksum = "3d433d9f1a3e8c1263d9456598b16fec66f4acc9a74dacffd35c7bb09b3a1328" dependencies = [ "unicode-ident", ] @@ -1367,9 +1335,9 @@ dependencies = [ [[package]] name = "quote" -version = "1.0.32" +version = "1.0.33" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50f3b39ccfb720540debaa0164757101c08ecb8d326b15358ce76a62c7e85965" +checksum = "5267fca4496028628a95160fc423a33e8b2e6af8a5302579e322e4b520293cae" dependencies = [ "proc-macro2", ] @@ -1406,9 +1374,9 @@ dependencies = [ [[package]] name = "rayon" -version = "1.7.0" +version = "1.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d2df5196e37bcc87abebc0053e20787d73847bb33134a69841207dd0a47f03b" +checksum = "9c27db03db7734835b3f53954b534c91069375ce6ccaa2e065441e07d9b6cdb1" dependencies = [ "either", "rayon-core", @@ -1416,14 +1384,12 @@ dependencies = [ [[package]] name = "rayon-core" -version = "1.11.0" +version = "1.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b8f95bd6966f5c87776639160a66bd8ab9895d9d4ab01ddba9fc60661aebe8d" +checksum = "5ce3fb6ad83f861aac485e76e1985cd109d9a3713802152be56c3b1f0e0658ed" dependencies = [ - "crossbeam-channel", "crossbeam-deque", "crossbeam-utils", - "num_cpus", ] [[package]] @@ -1459,35 +1425,6 @@ dependencies = [ "smallvec", ] -[[package]] -name = "regex" -version = "1.9.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81bc1d4caf89fac26a70747fe603c130093b53c773888797a6329091246d651a" -dependencies = [ - "aho-corasick", - "memchr", - "regex-automata", - "regex-syntax", -] - -[[package]] -name = "regex-automata" -version = "0.3.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fed1ceff11a1dddaee50c9dc8e4938bd106e9d89ae372f192311e7da498e3b69" -dependencies = [ - "aho-corasick", - "memchr", - "regex-syntax", -] - -[[package]] -name = "regex-syntax" -version = "0.7.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5ea92a5b6195c6ef2a0295ea818b312502c6fc94dde986c5553242e18fd4ce2" - [[package]] name = "rustc-demangle" version = "0.1.23" @@ -1516,15 +1453,15 @@ dependencies = [ [[package]] name = "rustix" -version = "0.38.8" +version = "0.38.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19ed4fa021d81c8392ce04db050a3da9a60299050b7ae1cf482d862b54a7218f" +checksum = "747c788e9ce8e92b12cd485c49ddf90723550b654b32508f979b71a7b1ecda4f" dependencies = [ "bitflags 2.4.0", "errno", "itoa", "libc", - "linux-raw-sys 0.4.5", + "linux-raw-sys 0.4.7", "once_cell", "windows-sys", ] @@ -1543,35 +1480,35 @@ checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" [[package]] name = "semver" -version = "1.0.18" +version = "1.0.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b0293b4b29daaf487284529cc2f5675b8e57c61f70167ba415a463651fd6a918" +checksum = "ad977052201c6de01a8ef2aa3378c4bd23217a056337d1d6da40468d267a4fb0" [[package]] name = "serde" -version = "1.0.183" +version = "1.0.188" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32ac8da02677876d532745a130fc9d8e6edfa81a269b107c5b00829b91d8eb3c" +checksum = "cf9e0fcba69a370eed61bcf2b728575f726b50b55cba78064753d708ddc7549e" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.183" +version = "1.0.188" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aafe972d60b0b9bee71a91b92fee2d4fb3c9d7e8f6b179aa99f27203d99a4816" +checksum = "4eca7ac642d82aa35b60049a6eccb4be6be75e599bd2e9adb5f875a737654af2" dependencies = [ "proc-macro2", "quote", - "syn 2.0.28", + "syn 2.0.37", ] [[package]] name = "serde_json" -version = "1.0.105" +version = "1.0.107" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "693151e1ac27563d6dbcec9dee9fbd5da8539b20fa14ad3752b2e6d363ace360" +checksum = "6b420ce6e3d8bd882e9b243c6eed35dbc9a6110c9769e74b584e0d68d1f20c65" dependencies = [ "itoa", "ryu", @@ -1600,9 +1537,9 @@ dependencies = [ [[package]] name = "slab" -version = "0.4.8" +version = "0.4.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6528351c9bc8ab22353f9d776db39a20288e8d6c37ef8cfe3317cf875eecfc2d" +checksum = "8f92a496fb766b417c996b9c5e57daf2f7ad3b0bebe1ccfca4856390e3d3bb67" dependencies = [ "autocfg", ] @@ -1615,9 +1552,9 @@ checksum = "826167069c09b99d56f31e9ae5c99049e932a98c9dc2dac47645b08dbbf76ba7" [[package]] name = "smallvec" -version = "1.11.0" +version = "1.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62bb4feee49fdd9f707ef802e22365a35de4b7b299de4763d44bfea899442ff9" +checksum = "942b4a808e05215192e39f4ab80813e599068285906cc91aa64f923db842bd5a" [[package]] name = "socket2" @@ -1631,9 +1568,9 @@ dependencies = [ [[package]] name = "socket2" -version = "0.5.3" +version = "0.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2538b18701741680e0322a2302176d3253a35388e2e62f172f64f4f16605f877" +checksum = "4031e820eb552adee9295814c0ced9e5cf38ddf1e8b7d566d6de8e2538ea989e" dependencies = [ "libc", "windows-sys", @@ -1670,9 +1607,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.28" +version = "2.0.37" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "04361975b3f5e348b2189d8dc55bc942f278b2d482a6a0365de5bdd62d351567" +checksum = "7303ef2c05cd654186cb250d29049a24840ca25d2747c25c0381c8d9e2f582e8" dependencies = [ "proc-macro2", "quote", @@ -1690,7 +1627,7 @@ dependencies = [ "cap-std", "fd-lock", "io-lifetimes 2.0.2", - "rustix 0.38.8", + "rustix 0.38.14", "windows-sys", "winx", ] @@ -1701,33 +1638,24 @@ version = "0.12.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9d0e916b1148c8e263850e1ebcbd046f333e0683c724876bb0da63ea4373dc8a" -[[package]] -name = "termcolor" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be55cf8942feac5c765c2c993422806843c9a9a45d4d5c407ad6dd2ea95eb9b6" -dependencies = [ - "winapi-util", -] - [[package]] name = "thiserror" -version = "1.0.46" +version = "1.0.48" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9207952ae1a003f42d3d5e892dac3c6ba42aa6ac0c79a6a91a2b5cb4253e75c" +checksum = "9d6d7a740b8a666a7e828dd00da9c0dc290dff53154ea77ac109281de90589b7" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.46" +version = "1.0.48" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1728216d3244de4f14f14f8c15c79be1a7c67867d28d69b719690e2a19fb445" +checksum = "49922ecae66cc8a249b77e68d1d0623c1b2c514f0060c27cdc68bd62a1219d35" dependencies = [ "proc-macro2", "quote", - "syn 2.0.28", + "syn 2.0.37", ] [[package]] @@ -1747,9 +1675,9 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.31.0" +version = "1.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "40de3a2ba249dcb097e01be5e67a5ff53cf250397715a071a81543e8a832a920" +checksum = "17ed6077ed6cd6c74735e21f37eb16dc3935f96878b1fe961074089cc80893f9" dependencies = [ "backtrace", "bytes", @@ -1757,7 +1685,7 @@ dependencies = [ "mio", "num_cpus", "pin-project-lite", - "socket2 0.5.3", + "socket2 0.5.4", "windows-sys", ] @@ -1791,7 +1719,7 @@ checksum = "5f4f31f56159e98206da9efd823404b79b6ef3143b4a7ab76e67b1751b25a4ab" dependencies = [ "proc-macro2", "quote", - "syn 2.0.28", + "syn 2.0.37", ] [[package]] @@ -1805,15 +1733,15 @@ dependencies = [ [[package]] name = "typenum" -version = "1.16.0" +version = "1.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "497961ef93d974e23eb6f433eb5fe1b7930b659f06d12dec6fc44a8f554c0bba" +checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825" [[package]] name = "unicase" -version = "2.6.0" +version = "2.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50f37be617794602aabbeee0be4f259dc1778fabe05e2d67ee8f79326d5cb4f6" +checksum = "f7d2d4dafb69621809a81864c9c1b864479e1235c0dd4e199924b9742439ed89" dependencies = [ "version_check", ] @@ -1826,9 +1754,9 @@ checksum = "92888ba5573ff080736b3648696b70cafad7d250551175acbaa4e0385b3e1460" [[package]] name = "unicode-ident" -version = "1.0.11" +version = "1.0.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "301abaae475aa91687eb82514b328ab47a211a533026cb25fc3e519b86adfc3c" +checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" [[package]] name = "unicode-normalization" @@ -1841,9 +1769,9 @@ dependencies = [ [[package]] name = "unicode-width" -version = "0.1.10" +version = "0.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0edd1e5b14653f783770bce4a4dabb4a5108a5370a5f5d8cfe8710c361f6c8b" +checksum = "e51733f11c9c4f72aa0c160008246859e340b00807569a0da0e7a1079b27ba85" [[package]] name = "unicode-xid" @@ -1853,9 +1781,9 @@ checksum = "f962df74c8c05a667b5ee8bcf162993134c104e96440b663c8daa176dc772d8c" [[package]] name = "url" -version = "2.4.0" +version = "2.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50bff7831e19200a85b17131d085c25d7811bc4e186efdaf54bbd132994a88cb" +checksum = "143b538f18257fac9cad154828a57c6bf5157e1aa604d4816b5995bf6de87ae5" dependencies = [ "form_urlencoded", "idna", @@ -1888,9 +1816,9 @@ checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" [[package]] name = "waker-fn" -version = "1.1.0" +version = "1.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d5b2c62b4012a3e1eca5a7e077d13b3bf498c4073e33ccd58626607748ceeca" +checksum = "f3c4517f54858c779bbcbf228f4fca63d121bf85fbecb2dc578cdf4a39395690" [[package]] name = "wasi" @@ -1900,8 +1828,8 @@ checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" [[package]] name = "wasi-cap-std-sync" -version = "12.0.0" -source = "git+https://github.com/bytecodealliance/wasmtime?rev=7b9189b#7b9189babd6f9a82b05f365cc71f0ab81f10d3ed" +version = "13.0.0" +source = "git+https://github.com/bytecodealliance/wasmtime?rev=aec4b25#aec4b25b8f62f409175a3cc6c4a4ed18b446d3ae" dependencies = [ "anyhow", "async-trait", @@ -1914,7 +1842,7 @@ dependencies = [ "io-lifetimes 2.0.2", "is-terminal", "once_cell", - "rustix 0.38.8", + "rustix 0.38.14", "system-interface", "tracing", "wasi-common", @@ -1923,8 +1851,8 @@ dependencies = [ [[package]] name = "wasi-common" -version = "12.0.0" -source = "git+https://github.com/bytecodealliance/wasmtime?rev=7b9189b#7b9189babd6f9a82b05f365cc71f0ab81f10d3ed" +version = "13.0.0" +source = "git+https://github.com/bytecodealliance/wasmtime?rev=aec4b25#aec4b25b8f62f409175a3cc6c4a4ed18b446d3ae" dependencies = [ "anyhow", "bitflags 2.4.0", @@ -1932,7 +1860,7 @@ dependencies = [ "cap-std", "io-extras", "log", - "rustix 0.38.8", + "rustix 0.38.14", "thiserror", "tracing", "wasmtime", @@ -1961,7 +1889,7 @@ dependencies = [ "once_cell", "proc-macro2", "quote", - "syn 2.0.28", + "syn 2.0.37", "wasm-bindgen-shared", ] @@ -1995,7 +1923,7 @@ checksum = "54681b18a46765f095758388f2d0cf16eb8d4169b639ab575a8f5693af210c7b" dependencies = [ "proc-macro2", "quote", - "syn 2.0.28", + "syn 2.0.37", "wasm-bindgen-backend", "wasm-bindgen-shared", ] @@ -2008,37 +1936,56 @@ checksum = "ca6ad05a4870b2bf5fe995117d3728437bd27d7cd5f06f13c17443ef369775a1" [[package]] name = "wasm-encoder" -version = "0.31.1" +version = "0.32.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ba64e81215916eaeb48fee292f29401d69235d62d8b8fd92a7b2844ec5ae5f7" +dependencies = [ + "leb128", +] + +[[package]] +name = "wasm-encoder" +version = "0.33.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41763f20eafed1399fff1afb466496d3a959f58241436cfdc17e3f5ca954de16" +checksum = "b39de0723a53d3c8f54bed106cfbc0d06b3e4d945c5c5022115a61e3b29183ae" dependencies = [ "leb128", ] [[package]] name = "wasmparser" -version = "0.110.0" +version = "0.112.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e986b010f47fcce49cf8ea5d5f9e5d2737832f12b53ae8ae785bbe895d0877bf" +dependencies = [ + "indexmap", + "semver", +] + +[[package]] +name = "wasmparser" +version = "0.113.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1dfcdb72d96f01e6c85b6bf20102e7423bdbaad5c337301bab2bbf253d26413c" +checksum = "a128cea7b8516703ab41b10a0b1aa9ba18d0454cd3792341489947ddeee268db" dependencies = [ - "indexmap 2.0.0", + "indexmap", "semver", ] [[package]] name = "wasmprinter" -version = "0.2.62" +version = "0.2.66" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "42cd12ed4d96a984e4b598a17457f1126d01640cc7461afbb319642111ff9e7f" +checksum = "ab2e5e818f88cee5311e9a5df15cba0a8f772978baf3109af97004bce6e8e3c6" dependencies = [ "anyhow", - "wasmparser", + "wasmparser 0.113.1", ] [[package]] name = "wasmtime" -version = "12.0.0" -source = "git+https://github.com/bytecodealliance/wasmtime?rev=7b9189b#7b9189babd6f9a82b05f365cc71f0ab81f10d3ed" +version = "13.0.0" +source = "git+https://github.com/bytecodealliance/wasmtime?rev=aec4b25#aec4b25b8f62f409175a3cc6c4a4ed18b446d3ae" dependencies = [ "anyhow", "async-trait", @@ -2047,7 +1994,7 @@ dependencies = [ "cfg-if", "encoding_rs", "fxprof-processed-profile", - "indexmap 2.0.0", + "indexmap", "libc", "log", "object", @@ -2056,9 +2003,11 @@ dependencies = [ "psm", "rayon", "serde", + "serde_derive", "serde_json", "target-lexicon", - "wasmparser", + "wasm-encoder 0.32.0", + "wasmparser 0.112.0", "wasmtime-cache", "wasmtime-component-macro", "wasmtime-component-util", @@ -2074,25 +2023,25 @@ dependencies = [ [[package]] name = "wasmtime-asm-macros" -version = "12.0.0" -source = "git+https://github.com/bytecodealliance/wasmtime?rev=7b9189b#7b9189babd6f9a82b05f365cc71f0ab81f10d3ed" +version = "13.0.0" +source = "git+https://github.com/bytecodealliance/wasmtime?rev=aec4b25#aec4b25b8f62f409175a3cc6c4a4ed18b446d3ae" dependencies = [ "cfg-if", ] [[package]] name = "wasmtime-cache" -version = "12.0.0" -source = "git+https://github.com/bytecodealliance/wasmtime?rev=7b9189b#7b9189babd6f9a82b05f365cc71f0ab81f10d3ed" +version = "13.0.0" +source = "git+https://github.com/bytecodealliance/wasmtime?rev=aec4b25#aec4b25b8f62f409175a3cc6c4a4ed18b446d3ae" dependencies = [ "anyhow", "base64", "bincode", "directories-next", - "file-per-thread-logger", "log", - "rustix 0.38.8", + "rustix 0.38.14", "serde", + "serde_derive", "sha2", "toml", "windows-sys", @@ -2101,13 +2050,13 @@ dependencies = [ [[package]] name = "wasmtime-component-macro" -version = "12.0.0" -source = "git+https://github.com/bytecodealliance/wasmtime?rev=7b9189b#7b9189babd6f9a82b05f365cc71f0ab81f10d3ed" +version = "13.0.0" +source = "git+https://github.com/bytecodealliance/wasmtime?rev=aec4b25#aec4b25b8f62f409175a3cc6c4a4ed18b446d3ae" dependencies = [ "anyhow", "proc-macro2", "quote", - "syn 2.0.28", + "syn 2.0.37", "wasmtime-component-util", "wasmtime-wit-bindgen", "wit-parser", @@ -2115,15 +2064,16 @@ dependencies = [ [[package]] name = "wasmtime-component-util" -version = "12.0.0" -source = "git+https://github.com/bytecodealliance/wasmtime?rev=7b9189b#7b9189babd6f9a82b05f365cc71f0ab81f10d3ed" +version = "13.0.0" +source = "git+https://github.com/bytecodealliance/wasmtime?rev=aec4b25#aec4b25b8f62f409175a3cc6c4a4ed18b446d3ae" [[package]] name = "wasmtime-cranelift" -version = "12.0.0" -source = "git+https://github.com/bytecodealliance/wasmtime?rev=7b9189b#7b9189babd6f9a82b05f365cc71f0ab81f10d3ed" +version = "13.0.0" +source = "git+https://github.com/bytecodealliance/wasmtime?rev=aec4b25#aec4b25b8f62f409175a3cc6c4a4ed18b446d3ae" dependencies = [ "anyhow", + "cfg-if", "cranelift-codegen", "cranelift-control", "cranelift-entity", @@ -2135,7 +2085,7 @@ dependencies = [ "object", "target-lexicon", "thiserror", - "wasmparser", + "wasmparser 0.112.0", "wasmtime-cranelift-shared", "wasmtime-environ", "wasmtime-versioned-export-macros", @@ -2143,8 +2093,8 @@ dependencies = [ [[package]] name = "wasmtime-cranelift-shared" -version = "12.0.0" -source = "git+https://github.com/bytecodealliance/wasmtime?rev=7b9189b#7b9189babd6f9a82b05f365cc71f0ab81f10d3ed" +version = "13.0.0" +source = "git+https://github.com/bytecodealliance/wasmtime?rev=aec4b25#aec4b25b8f62f409175a3cc6c4a4ed18b446d3ae" dependencies = [ "anyhow", "cranelift-codegen", @@ -2158,20 +2108,21 @@ dependencies = [ [[package]] name = "wasmtime-environ" -version = "12.0.0" -source = "git+https://github.com/bytecodealliance/wasmtime?rev=7b9189b#7b9189babd6f9a82b05f365cc71f0ab81f10d3ed" +version = "13.0.0" +source = "git+https://github.com/bytecodealliance/wasmtime?rev=aec4b25#aec4b25b8f62f409175a3cc6c4a4ed18b446d3ae" dependencies = [ "anyhow", "cranelift-entity", "gimli", - "indexmap 2.0.0", + "indexmap", "log", "object", "serde", + "serde_derive", "target-lexicon", "thiserror", - "wasm-encoder", - "wasmparser", + "wasm-encoder 0.32.0", + "wasmparser 0.112.0", "wasmprinter", "wasmtime-component-util", "wasmtime-types", @@ -2179,12 +2130,12 @@ dependencies = [ [[package]] name = "wasmtime-fiber" -version = "12.0.0" -source = "git+https://github.com/bytecodealliance/wasmtime?rev=7b9189b#7b9189babd6f9a82b05f365cc71f0ab81f10d3ed" +version = "13.0.0" +source = "git+https://github.com/bytecodealliance/wasmtime?rev=aec4b25#aec4b25b8f62f409175a3cc6c4a4ed18b446d3ae" dependencies = [ "cc", "cfg-if", - "rustix 0.38.8", + "rustix 0.38.14", "wasmtime-asm-macros", "wasmtime-versioned-export-macros", "windows-sys", @@ -2192,8 +2143,8 @@ dependencies = [ [[package]] name = "wasmtime-jit" -version = "12.0.0" -source = "git+https://github.com/bytecodealliance/wasmtime?rev=7b9189b#7b9189babd6f9a82b05f365cc71f0ab81f10d3ed" +version = "13.0.0" +source = "git+https://github.com/bytecodealliance/wasmtime?rev=aec4b25#aec4b25b8f62f409175a3cc6c4a4ed18b446d3ae" dependencies = [ "addr2line", "anyhow", @@ -2205,8 +2156,9 @@ dependencies = [ "log", "object", "rustc-demangle", - "rustix 0.38.8", + "rustix 0.38.14", "serde", + "serde_derive", "target-lexicon", "wasmtime-environ", "wasmtime-jit-debug", @@ -2217,19 +2169,19 @@ dependencies = [ [[package]] name = "wasmtime-jit-debug" -version = "12.0.0" -source = "git+https://github.com/bytecodealliance/wasmtime?rev=7b9189b#7b9189babd6f9a82b05f365cc71f0ab81f10d3ed" +version = "13.0.0" +source = "git+https://github.com/bytecodealliance/wasmtime?rev=aec4b25#aec4b25b8f62f409175a3cc6c4a4ed18b446d3ae" dependencies = [ "object", "once_cell", - "rustix 0.38.8", + "rustix 0.38.14", "wasmtime-versioned-export-macros", ] [[package]] name = "wasmtime-jit-icache-coherence" -version = "12.0.0" -source = "git+https://github.com/bytecodealliance/wasmtime?rev=7b9189b#7b9189babd6f9a82b05f365cc71f0ab81f10d3ed" +version = "13.0.0" +source = "git+https://github.com/bytecodealliance/wasmtime?rev=aec4b25#aec4b25b8f62f409175a3cc6c4a4ed18b446d3ae" dependencies = [ "cfg-if", "libc", @@ -2238,14 +2190,14 @@ dependencies = [ [[package]] name = "wasmtime-runtime" -version = "12.0.0" -source = "git+https://github.com/bytecodealliance/wasmtime?rev=7b9189b#7b9189babd6f9a82b05f365cc71f0ab81f10d3ed" +version = "13.0.0" +source = "git+https://github.com/bytecodealliance/wasmtime?rev=aec4b25#aec4b25b8f62f409175a3cc6c4a4ed18b446d3ae" dependencies = [ "anyhow", "cc", "cfg-if", "encoding_rs", - "indexmap 2.0.0", + "indexmap", "libc", "log", "mach", @@ -2253,56 +2205,62 @@ dependencies = [ "memoffset", "paste", "rand", - "rustix 0.38.8", + "rustix 0.38.14", "sptr", + "wasm-encoder 0.32.0", "wasmtime-asm-macros", "wasmtime-environ", "wasmtime-fiber", "wasmtime-jit-debug", "wasmtime-versioned-export-macros", + "wasmtime-wmemcheck", "windows-sys", ] [[package]] name = "wasmtime-types" -version = "12.0.0" -source = "git+https://github.com/bytecodealliance/wasmtime?rev=7b9189b#7b9189babd6f9a82b05f365cc71f0ab81f10d3ed" +version = "13.0.0" +source = "git+https://github.com/bytecodealliance/wasmtime?rev=aec4b25#aec4b25b8f62f409175a3cc6c4a4ed18b446d3ae" dependencies = [ "cranelift-entity", "serde", + "serde_derive", "thiserror", - "wasmparser", + "wasmparser 0.112.0", ] [[package]] name = "wasmtime-versioned-export-macros" -version = "12.0.0" -source = "git+https://github.com/bytecodealliance/wasmtime?rev=7b9189b#7b9189babd6f9a82b05f365cc71f0ab81f10d3ed" +version = "13.0.0" +source = "git+https://github.com/bytecodealliance/wasmtime?rev=aec4b25#aec4b25b8f62f409175a3cc6c4a4ed18b446d3ae" dependencies = [ "proc-macro2", "quote", - "syn 2.0.28", + "syn 2.0.37", ] [[package]] name = "wasmtime-wasi" -version = "12.0.0" -source = "git+https://github.com/bytecodealliance/wasmtime?rev=7b9189b#7b9189babd6f9a82b05f365cc71f0ab81f10d3ed" +version = "13.0.0" +source = "git+https://github.com/bytecodealliance/wasmtime?rev=aec4b25#aec4b25b8f62f409175a3cc6c4a4ed18b446d3ae" dependencies = [ "anyhow", "async-trait", "bitflags 2.4.0", "bytes", "cap-fs-ext", + "cap-net-ext", "cap-rand", "cap-std", "cap-time-ext", "fs-set-times", "futures", "io-extras", + "io-lifetimes 2.0.2", + "is-terminal", "libc", "once_cell", - "rustix 0.38.8", + "rustix 0.38.14", "system-interface", "thiserror", "tokio", @@ -2316,15 +2274,15 @@ dependencies = [ [[package]] name = "wasmtime-winch" -version = "12.0.0" -source = "git+https://github.com/bytecodealliance/wasmtime?rev=7b9189b#7b9189babd6f9a82b05f365cc71f0ab81f10d3ed" +version = "13.0.0" +source = "git+https://github.com/bytecodealliance/wasmtime?rev=aec4b25#aec4b25b8f62f409175a3cc6c4a4ed18b446d3ae" dependencies = [ "anyhow", "cranelift-codegen", "gimli", "object", "target-lexicon", - "wasmparser", + "wasmparser 0.112.0", "wasmtime-cranelift-shared", "wasmtime-environ", "winch-codegen", @@ -2332,14 +2290,20 @@ dependencies = [ [[package]] name = "wasmtime-wit-bindgen" -version = "12.0.0" -source = "git+https://github.com/bytecodealliance/wasmtime?rev=7b9189b#7b9189babd6f9a82b05f365cc71f0ab81f10d3ed" +version = "13.0.0" +source = "git+https://github.com/bytecodealliance/wasmtime?rev=aec4b25#aec4b25b8f62f409175a3cc6c4a4ed18b446d3ae" dependencies = [ "anyhow", "heck", + "indexmap", "wit-parser", ] +[[package]] +name = "wasmtime-wmemcheck" +version = "13.0.0" +source = "git+https://github.com/bytecodealliance/wasmtime?rev=aec4b25#aec4b25b8f62f409175a3cc6c4a4ed18b446d3ae" + [[package]] name = "wast" version = "35.0.2" @@ -2351,23 +2315,23 @@ dependencies = [ [[package]] name = "wast" -version = "62.0.1" +version = "65.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8ae06f09dbe377b889fbd620ff8fa21e1d49d1d9d364983c0cdbf9870cb9f1f" +checksum = "5fd8c1cbadf94a0b0d1071c581d3cfea1b7ed5192c79808dd15406e508dd0afb" dependencies = [ "leb128", "memchr", "unicode-width", - "wasm-encoder", + "wasm-encoder 0.33.1", ] [[package]] name = "wat" -version = "1.0.69" +version = "1.0.73" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "842e15861d203fb4a96d314b0751cdeaf0f6f8b35e8d81d2953af2af5e44e637" +checksum = "3209e35eeaf483714f4c6be93f4a03e69aad5f304e3fa66afa7cb90fe1c8051f" dependencies = [ - "wast 62.0.1", + "wast 65.0.1", ] [[package]] @@ -2382,8 +2346,8 @@ dependencies = [ [[package]] name = "wiggle" -version = "12.0.0" -source = "git+https://github.com/bytecodealliance/wasmtime?rev=7b9189b#7b9189babd6f9a82b05f365cc71f0ab81f10d3ed" +version = "13.0.0" +source = "git+https://github.com/bytecodealliance/wasmtime?rev=aec4b25#aec4b25b8f62f409175a3cc6c4a4ed18b446d3ae" dependencies = [ "anyhow", "async-trait", @@ -2396,26 +2360,26 @@ dependencies = [ [[package]] name = "wiggle-generate" -version = "12.0.0" -source = "git+https://github.com/bytecodealliance/wasmtime?rev=7b9189b#7b9189babd6f9a82b05f365cc71f0ab81f10d3ed" +version = "13.0.0" +source = "git+https://github.com/bytecodealliance/wasmtime?rev=aec4b25#aec4b25b8f62f409175a3cc6c4a4ed18b446d3ae" dependencies = [ "anyhow", "heck", "proc-macro2", "quote", "shellexpand", - "syn 2.0.28", + "syn 2.0.37", "witx", ] [[package]] name = "wiggle-macro" -version = "12.0.0" -source = "git+https://github.com/bytecodealliance/wasmtime?rev=7b9189b#7b9189babd6f9a82b05f365cc71f0ab81f10d3ed" +version = "13.0.0" +source = "git+https://github.com/bytecodealliance/wasmtime?rev=aec4b25#aec4b25b8f62f409175a3cc6c4a4ed18b446d3ae" dependencies = [ "proc-macro2", "quote", - "syn 2.0.28", + "syn 2.0.37", "wiggle-generate", ] @@ -2435,15 +2399,6 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" -[[package]] -name = "winapi-util" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178" -dependencies = [ - "winapi", -] - [[package]] name = "winapi-x86_64-pc-windows-gnu" version = "0.4.0" @@ -2452,8 +2407,8 @@ checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" [[package]] name = "winch-codegen" -version = "0.10.0" -source = "git+https://github.com/bytecodealliance/wasmtime?rev=7b9189b#7b9189babd6f9a82b05f365cc71f0ab81f10d3ed" +version = "0.11.0" +source = "git+https://github.com/bytecodealliance/wasmtime?rev=aec4b25#aec4b25b8f62f409175a3cc6c4a4ed18b446d3ae" dependencies = [ "anyhow", "cranelift-codegen", @@ -2461,7 +2416,7 @@ dependencies = [ "regalloc2", "smallvec", "target-lexicon", - "wasmparser", + "wasmparser 0.112.0", "wasmtime-environ", ] @@ -2476,9 +2431,9 @@ dependencies = [ [[package]] name = "windows-targets" -version = "0.48.2" +version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d1eeca1c172a285ee6c2c84c341ccea837e7c01b12fbb2d0fe3c9e550ce49ec8" +checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" dependencies = [ "windows_aarch64_gnullvm", "windows_aarch64_msvc", @@ -2491,51 +2446,51 @@ dependencies = [ [[package]] name = "windows_aarch64_gnullvm" -version = "0.48.2" +version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b10d0c968ba7f6166195e13d593af609ec2e3d24f916f081690695cf5eaffb2f" +checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" [[package]] name = "windows_aarch64_msvc" -version = "0.48.2" +version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "571d8d4e62f26d4932099a9efe89660e8bd5087775a2ab5cdd8b747b811f1058" +checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" [[package]] name = "windows_i686_gnu" -version = "0.48.2" +version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2229ad223e178db5fbbc8bd8d3835e51e566b8474bfca58d2e6150c48bb723cd" +checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" [[package]] name = "windows_i686_msvc" -version = "0.48.2" +version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "600956e2d840c194eedfc5d18f8242bc2e17c7775b6684488af3a9fff6fe3287" +checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" [[package]] name = "windows_x86_64_gnu" -version = "0.48.2" +version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea99ff3f8b49fb7a8e0d305e5aec485bd068c2ba691b6e277d29eaeac945868a" +checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" [[package]] name = "windows_x86_64_gnullvm" -version = "0.48.2" +version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f1a05a1ece9a7a0d5a7ccf30ba2c33e3a61a30e042ffd247567d1de1d94120d" +checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" [[package]] name = "windows_x86_64_msvc" -version = "0.48.2" +version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d419259aba16b663966e29e6d7c6ecfa0bb8425818bb96f6f1f3c3eb71a6e7b9" +checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" [[package]] name = "winx" -version = "0.36.1" +version = "0.36.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4857cedf8371f690bb6782a3e2b065c54d1b6661be068aaf3eac8b45e813fdf8" +checksum = "357bb8e2932df531f83b052264b050b81ba0df90ee5a59b2d1d3949f344f81e5" dependencies = [ "bitflags 2.4.0", "windows-sys", @@ -2543,16 +2498,18 @@ dependencies = [ [[package]] name = "wit-parser" -version = "0.9.2" +version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "541efa2046e544de53a9da1e2f6299e63079840360c9e106f1f8275a97771318" +checksum = "1dcd022610436a1873e60bfdd9b407763f2404adf7d1cb57912c7ae4059e57a5" dependencies = [ "anyhow", "id-arena", - "indexmap 2.0.0", + "indexmap", "log", "pulldown-cmark", "semver", + "serde", + "serde_json", "unicode-xid", "url", ] @@ -2560,7 +2517,7 @@ dependencies = [ [[package]] name = "witx" version = "0.9.1" -source = "git+https://github.com/bytecodealliance/wasmtime?rev=7b9189b#7b9189babd6f9a82b05f365cc71f0ab81f10d3ed" +source = "git+https://github.com/bytecodealliance/wasmtime?rev=aec4b25#aec4b25b8f62f409175a3cc6c4a4ed18b446d3ae" dependencies = [ "anyhow", "log", diff --git a/component-model/examples/example-host/Cargo.toml b/component-model/examples/example-host/Cargo.toml index e4c6dd6..a88bd22 100644 --- a/component-model/examples/example-host/Cargo.toml +++ b/component-model/examples/example-host/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" [dependencies] async-std = { version = "1.12.0", features = ["attributes"] } clap = { version = "4.3.19", features = ["derive"] } -wasmtime = { git = "https://github.com/bytecodealliance/wasmtime", rev = "7b9189b", features = ["component-model"] } -wasmtime-wasi = { git = "https://github.com/bytecodealliance/wasmtime", rev = "7b9189b" } -wasi-cap-std-sync = { git = "https://github.com/bytecodealliance/wasmtime", rev = "7b9189b" } -anyhow = "1.0.72" \ No newline at end of file +wasmtime = { git = "https://github.com/bytecodealliance/wasmtime", rev = "aec4b25", features = ["component-model"] } +wasmtime-wasi = { git = "https://github.com/bytecodealliance/wasmtime", rev = "aec4b25" } +wasi-cap-std-sync = { git = "https://github.com/bytecodealliance/wasmtime", rev = "aec4b25" } +anyhow = "1.0.72" diff --git a/component-model/examples/tutorial/README.md b/component-model/examples/tutorial/README.md index 1141333..7bb6f7d 100644 --- a/component-model/examples/tutorial/README.md +++ b/component-model/examples/tutorial/README.md @@ -46,6 +46,6 @@ wasm-tools compose command/target/wasm32-wasi/release/command.wasm -d composed.w Now, run the component with wasmtime: ```sh -wasmtime run --wasm-features component-model command.wasm 1 2 add +wasmtime run --wasm component-model command.wasm 1 2 add 1 + 2 = 3 ``` diff --git a/component-model/src/creating-and-consuming/running.md b/component-model/src/creating-and-consuming/running.md index c0e624f..c33fdb5 100644 --- a/component-model/src/creating-and-consuming/running.md +++ b/component-model/src/creating-and-consuming/running.md @@ -11,7 +11,7 @@ You must use a recent version of `wasmtime` - currently, you must use the [`dev` To run your component, run: ``` -wasmtime run --wasm-features component-model +wasmtime run --wasm component-model ``` ## Running components with custom exports @@ -28,6 +28,6 @@ If you're writing a library-style component - that is, one that exports a custom 5. Compose your command component with your library component by running `wasm-tools compose -d -o main.wasm`. -6. Run the composed component using `wasmtime run --wasm-features component-model main.wasm` +6. Run the composed component using `wasmtime run --wasm component-model main.wasm` See [Composing Components](./composing.md) for more details. diff --git a/component-model/src/language-support/rust.md b/component-model/src/language-support/rust.md index 33f3108..4301d74 100644 --- a/component-model/src/language-support/rust.md +++ b/component-model/src/language-support/rust.md @@ -217,7 +217,7 @@ To run your command component: ``` cargo component build -wasmtime run --wasm-features component-model ./target/wasm32-wasi/debug/.wasm +wasmtime run --wasm component-model ./target/wasm32-wasi/debug/.wasm ``` > **WARNING:** If your program prints to standard out or error, you may not see the printed output! Some versions of `wasmtime` have a bug where they don't flush output streams before exiting. To work around this, add a `std::thread::sleep()` with a 10 millisecond delay before exiting `main`. @@ -274,6 +274,6 @@ fn main() { 6. Run the composed component: ```sh -$ wasmtime run --wasm-features component-model ./my-composed-command.wasm +$ wasmtime run --wasm component-model ./my-composed-command.wasm 1 + 1 = 579 # might need to go back and do some work on the calculator implementation ``` diff --git a/component-model/src/runtimes/wasmtime.md b/component-model/src/runtimes/wasmtime.md index b065289..6b30528 100644 --- a/component-model/src/runtimes/wasmtime.md +++ b/component-model/src/runtimes/wasmtime.md @@ -7,7 +7,7 @@ To run a component with wasmtime, run: ```sh -wasmtime run --wasm-features component-model +wasmtime run --wasm component-model ``` By default, Wasmtime denies the component access to all system resources. For example, the component cannot access the file system or environment variables. See the [Wasmtime guide](https://docs.wasmtime.dev/) for information on granting access, and for other Wasmtime features. diff --git a/component-model/src/tutorial.md b/component-model/src/tutorial.md index 2f0df1f..d444ad6 100644 --- a/component-model/src/tutorial.md +++ b/component-model/src/tutorial.md @@ -133,7 +133,7 @@ Now it all adds up! Run the command component with the `wasmtime` CLI, ensuring the `wasmtime` command line do not include component model support. ```sh -wasmtime run --wasm-features component-model command.wasm 1 2 add +wasmtime run --wasm component-model command.wasm 1 2 add 1 + 2 = 3 ```