diff --git a/runtime/wasm-bpf-rs/Cargo.lock b/runtime/wasm-bpf-rs/Cargo.lock index 08947d0..6c4fb63 100644 --- a/runtime/wasm-bpf-rs/Cargo.lock +++ b/runtime/wasm-bpf-rs/Cargo.lock @@ -37,6 +37,18 @@ dependencies = [ "version_check", ] +[[package]] +name = "ahash" +version = "0.8.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "91429305e9f0a25f6205c5b8e0d2db09e0708a7a6df0f42212bb56c32c8ac97a" +dependencies = [ + "cfg-if", + "once_cell", + "version_check", + "zerocopy", +] + [[package]] name = "aho-corasick" version = "0.7.20" @@ -77,20 +89,20 @@ dependencies = [ ] [[package]] -name = "arrayvec" -version = "0.7.2" +name = "arbitrary" +version = "1.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8da52d66c7071e2e3fa2a1e5c6d088fec47b593032b254f5e980de8ea54454d6" +checksum = "a2e1373abdaa212b704512ec2bd8b26bd0b7d5c3f70117411a5d9a451383c859" [[package]] name = "async-trait" -version = "0.1.66" +version = "0.1.74" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b84f9ebcc6c1f5b8cb160f6990096a5c127f423fcb6e1ccc46c370cbdfb75dfc" +checksum = "a66537f1bb974b254c98ed142ff995236e81b9d0fe4db0575f46612cb15eb0f9" dependencies = [ "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.38", ] [[package]] @@ -116,9 +128,9 @@ dependencies = [ [[package]] name = "base64" -version = "0.13.1" +version = "0.21.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8" +checksum = "35636a1494ede3b646cc98f74f8e62c773a38a659ebc777a2cf26b9b74171df9" [[package]] name = "bincode" @@ -135,6 +147,12 @@ version = "1.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" +[[package]] +name = "bitflags" +version = "2.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "327762f6e5a765692301e5bb513e0d9fef63be86bbc14528052b1cd3e6f03e07" + [[package]] name = "block-buffer" version = "0.10.3" @@ -180,7 +198,7 @@ dependencies = [ "io-lifetimes", "ipnet", "maybe-owned", - "rustix", + "rustix 0.36.16", "windows-sys 0.45.0", "winx", ] @@ -205,7 +223,7 @@ dependencies = [ "io-extras", "io-lifetimes", "ipnet", - "rustix", + "rustix 0.36.16", ] [[package]] @@ -216,7 +234,7 @@ checksum = "472931750f90fbf0731c886c2937521e25772942577a182e7ace5bc561d10e3b" dependencies = [ "cap-primitives", "once_cell", - "rustix", + "rustix 0.36.16", "winx", ] @@ -283,28 +301,28 @@ dependencies = [ [[package]] name = "cranelift-bforest" -version = "0.92.1" +version = "0.101.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5cb658ef043a07ea4086c65f2e3d770b5dc60b8787a9ef54cf06d792cf613d82" +checksum = "f773437307980ac0f424bf9b9a5d0cd21a0f17248c6860c9a65bec8b5975f3fe" dependencies = [ - "cranelift-entity", + "cranelift-entity 0.101.2", ] [[package]] name = "cranelift-codegen" -version = "0.92.1" +version = "0.101.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b36618d7ab9ad5da72935623292d364b5482ef42141e0145c0090bfc7f6b8dca" +checksum = "443c2ac50e97fb7de1a0f862753fce3f27215558811a6fcee508eb0c3747fa79" dependencies = [ - "arrayvec", "bumpalo", "cranelift-bforest", "cranelift-codegen-meta", "cranelift-codegen-shared", - "cranelift-entity", + "cranelift-control", + "cranelift-entity 0.101.2", "cranelift-isle", - "gimli 0.26.2", - "hashbrown", + "gimli 0.28.0", + "hashbrown 0.14.2", "log", "regalloc2", "smallvec", @@ -313,18 +331,27 @@ dependencies = [ [[package]] name = "cranelift-codegen-meta" -version = "0.92.1" +version = "0.101.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb7cab168dac35a2fc53a3591ee36d145d7fc2ebbdb5c70f1f9e35764157af5a" +checksum = "c5b174c411480c79ce0793c55042fa51bec27e486381d103a53cab3b480cb2db" dependencies = [ "cranelift-codegen-shared", ] [[package]] name = "cranelift-codegen-shared" -version = "0.92.1" +version = "0.101.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7dcbdd64e35dfb910ff709e5b2d5e1348f626837685673726d985a620b9d8de5" +checksum = "73fa0151a528066a369de6debeea4d4b23a32aba68b5add8c46d3dc8091ff434" + +[[package]] +name = "cranelift-control" +version = "0.101.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b8adf1e6398493c9bea1190e37d28a0eb0eca5fddbc80e01e506cda34db92b1f" +dependencies = [ + "arbitrary", +] [[package]] name = "cranelift-entity" @@ -335,11 +362,21 @@ dependencies = [ "serde", ] +[[package]] +name = "cranelift-entity" +version = "0.101.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4917e2ed3bb5fe87d0ed88395ca6d644018d119a034faedd1f3e1f2c33cd52b2" +dependencies = [ + "serde", + "serde_derive", +] + [[package]] name = "cranelift-frontend" -version = "0.92.1" +version = "0.101.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78d28039844e3f7817e5a10cbb3d9adbc7188ee9cc4ba43536f304219fcfc077" +checksum = "9aaadf1e7cf28886bbf046eaf7ef538997bc8a7e020e578ea4957b39da87d5a1" dependencies = [ "cranelift-codegen", "log", @@ -349,15 +386,15 @@ dependencies = [ [[package]] name = "cranelift-isle" -version = "0.92.1" +version = "0.101.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4183c68346d657c40ea06273cc0e9c3fe25f4e51e6decf534c079f34041c43c0" +checksum = "a67fda31b9d69eaa1c49a2081939454c45857596a9d45af6744680541c628b4c" [[package]] name = "cranelift-native" -version = "0.92.1" +version = "0.101.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2dbf72319054ff725a26c579b4070187928ca38e55111b964723bdbacbb1993e" +checksum = "76fb52ba71be98312f35e798d9e98e45ab2586f27584231bf7c644fa9501e8af" dependencies = [ "cranelift-codegen", "libc", @@ -366,18 +403,18 @@ dependencies = [ [[package]] name = "cranelift-wasm" -version = "0.92.1" +version = "0.101.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3632b478ca00dfad77dbef3ce284f1199930519ab744827726a8e386a6db3f5" +checksum = "f1b2f48857ec7c051af938c72b5fdf370a5eec255c8a2be87633241af3c05772" dependencies = [ "cranelift-codegen", - "cranelift-entity", + "cranelift-entity 0.101.2", "cranelift-frontend", "itertools", "log", "smallvec", - "wasmparser", - "wasmtime-types", + "wasmparser 0.115.0", + "wasmtime-types 14.0.2", ] [[package]] @@ -486,6 +523,15 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "debugid" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bef552e6f588e446098f6ba40d89ac146c8c7b64aade83c051ee00bb5d2bc18d" +dependencies = [ + "uuid", +] + [[package]] name = "digest" version = "0.10.6" @@ -544,17 +590,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7fcaabb2fef8c910e7f4c7ce9f67a1283a1715879a7c230ca9d6d1ae31f16d91" [[package]] -name = "env_logger" -version = "0.10.0" +name = "equivalent" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85cdab6a89accf66733ad5a1693a4dcced6aeff64602b634530dd73c1f3ee9f0" -dependencies = [ - "humantime", - "is-terminal", - "log", - "regex", - "termcolor", -] +checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" [[package]] name = "errno" @@ -572,6 +611,12 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4443176a9f2c162692bd3d352d745ef9413eec5782a80d8fd6f8a1ac692a07f7" +[[package]] +name = "fallible-iterator" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2acce4a10f12dc2fb14a218589d4f1f62ef011b2d0cc4b3cb1bba8e94da14649" + [[package]] name = "fd-lock" version = "3.0.10" @@ -579,20 +624,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8ef1a30ae415c3a691a4f41afddc2dbcd6d70baf338368d85ebc1e8ed92cedb9" dependencies = [ "cfg-if", - "rustix", + "rustix 0.36.16", "windows-sys 0.45.0", ] -[[package]] -name = "file-per-thread-logger" -version = "0.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84f2e425d9790201ba4af4630191feac6dcc98765b118d4d18e91d23c2353866" -dependencies = [ - "env_logger", - "log", -] - [[package]] name = "flexi_logger" version = "0.25.3" @@ -625,7 +660,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "857cf27edcb26c2a36d84b2954019573d335bb289876113aceacacdca47a4fd4" dependencies = [ "io-lifetimes", - "rustix", + "rustix 0.36.16", "windows-sys 0.45.0", ] @@ -638,6 +673,19 @@ dependencies = [ "byteorder", ] +[[package]] +name = "fxprof-processed-profile" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "27d12c0aed7f1e24276a241aadc4cb8ea9f83000f34bc062b7cc2d51e3b0fabd" +dependencies = [ + "bitflags 2.4.1", + "debugid", + "fxhash", + "serde", + "serde_json", +] + [[package]] name = "generic-array" version = "0.14.6" @@ -665,8 +713,7 @@ version = "0.26.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "22030e2c5a68ec659fde1e949a745124b48e6fa8b045b7ed5bd1fe4ccc5c4e5d" dependencies = [ - "fallible-iterator", - "indexmap", + "fallible-iterator 0.2.0", "stable_deref_trait", ] @@ -675,6 +722,11 @@ name = "gimli" version = "0.28.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6fb8d784f27acf97159b40fc4db5ecd8aa23b9ad5ef69cdd136d3bc80665f0c0" +dependencies = [ + "fallible-iterator 0.3.0", + "indexmap 2.0.2", + "stable_deref_trait", +] [[package]] name = "glob" @@ -688,7 +740,25 @@ version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" dependencies = [ - "ahash", + "ahash 0.7.6", +] + +[[package]] +name = "hashbrown" +version = "0.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e" +dependencies = [ + "ahash 0.8.6", +] + +[[package]] +name = "hashbrown" +version = "0.14.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f93e7192158dbcda357bdec5fb5788eebf8bbac027f3f33e719d29135ae84156" +dependencies = [ + "ahash 0.8.6", ] [[package]] @@ -712,12 +782,6 @@ version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fed44880c466736ef9a5c5b5facefb5ed0785676d0c02d612db14e54f0d84286" -[[package]] -name = "humantime" -version = "2.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" - [[package]] name = "iana-time-zone" version = "0.1.53" @@ -765,7 +829,18 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1885e79c1fc4b10f0e172c475f458b7f7b93061064d98c3293e98c5ba0c8b399" dependencies = [ "autocfg", - "hashbrown", + "hashbrown 0.12.3", + "serde", +] + +[[package]] +name = "indexmap" +version = "2.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8adf3ddd720272c6ea8bf59463c04e0f93d0bbf7c5439b691bca2987e0270897" +dependencies = [ + "equivalent", + "hashbrown 0.14.2", "serde", ] @@ -803,7 +878,7 @@ checksum = "21b6b32576413a8e69b90e952e4a026476040d81017b80445deda5f2d3921857" dependencies = [ "hermit-abi 0.3.1", "io-lifetimes", - "rustix", + "rustix 0.36.16", "windows-sys 0.45.0", ] @@ -824,9 +899,9 @@ checksum = "453ad9f582a441959e5f0d088b02ce04cfe8d51a8eaf077f12ac6d3e94164ca6" [[package]] name = "ittapi" -version = "0.3.3" +version = "0.3.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e648c437172ce7d3ac35ca11a068755072054826fa455a916b43524fa4a62a7" +checksum = "25a5c0b993601cad796222ea076565c5d9f337d35592f8622c753724f06d7271" dependencies = [ "anyhow", "ittapi-sys", @@ -835,9 +910,9 @@ dependencies = [ [[package]] name = "ittapi-sys" -version = "0.3.3" +version = "0.3.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9b32a4d23f72548178dde54f3c12c6b6a08598e25575c0d0fa5bd861e0dc1a5" +checksum = "cb7b5e473765060536a660eed127f758cf1a810c73e49063264959c60d1727d9" dependencies = [ "cc", ] @@ -878,7 +953,7 @@ version = "0.20.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6c1401b366ec96859ef47e68a26f6b9e7cc2f241fafd8c844eba50033bf548b3" dependencies = [ - "bitflags", + "bitflags 1.3.2", "lazy_static", "libbpf-sys", "nix", @@ -919,6 +994,12 @@ version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f051f77a7c8e6957c0696eac88f26b0117e54f52d3fc682ab19397a8812846a4" +[[package]] +name = "linux-raw-sys" +version = "0.4.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "da2479e8c062e40bf0066ffa0bc823de0a9368974af99c9f6df941d2c231e03f" + [[package]] name = "log" version = "0.4.17" @@ -955,7 +1036,7 @@ version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b20a59d985586e4a5aef64564ac77299f8586d8be6cf9106a5a40207e8908efb" dependencies = [ - "rustix", + "rustix 0.36.16", ] [[package]] @@ -985,6 +1066,15 @@ dependencies = [ "autocfg", ] +[[package]] +name = "memoffset" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a634b1c61a95585bd15607c6ab0c4e5b226e695ff2800ba0cdccddf208c406c" +dependencies = [ + "autocfg", +] + [[package]] name = "miniz_oxide" version = "0.7.1" @@ -1000,7 +1090,7 @@ version = "0.26.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "598beaf3cc6fdd9a5dfb1630c2800c7acd31df7aaf0f565796fba2b53ca1af1b" dependencies = [ - "bitflags", + "bitflags 1.3.2", "cfg-if", "libc", "memoffset 0.7.1", @@ -1073,8 +1163,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "21158b2c33aa6d4561f1c0a6ea283ca92bc54802a93b263e910746d679a7eb53" dependencies = [ "crc32fast", - "hashbrown", - "indexmap", + "hashbrown 0.12.3", + "indexmap 1.9.2", "memchr", ] @@ -1084,6 +1174,9 @@ version = "0.32.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9cf5f9dd3933bd50a9e1f149ec995f39ae2c496d31fd772c1fd45ebc27e902b0" dependencies = [ + "crc32fast", + "hashbrown 0.14.2", + "indexmap 2.0.2", "memchr", ] @@ -1211,7 +1304,7 @@ version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ffade02495f22453cd593159ea2f59827aae7f53fa8323f756799b670881dcf8" dependencies = [ - "bitflags", + "bitflags 1.3.2", "memchr", "unicase", ] @@ -1283,7 +1376,7 @@ version = "0.2.16" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a" dependencies = [ - "bitflags", + "bitflags 1.3.2", ] [[package]] @@ -1299,12 +1392,13 @@ dependencies = [ [[package]] name = "regalloc2" -version = "0.5.1" +version = "0.9.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "300d4fbfb40c1c66a78ba3ddd41c1110247cf52f97b87d0f2fc9209bd49b030c" +checksum = "ad156d539c879b7a24a363a2016d77961786e71f48f2e2fc8302a92abd2429a6" dependencies = [ - "fxhash", + "hashbrown 0.13.2", "log", + "rustc-hash", "slice-group-by", "smallvec", ] @@ -1332,28 +1426,53 @@ version = "0.1.21" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7ef03e0a2b150c7a90d01faf6254c9c48a41e95fb2a8c2ac1c6f0d2b9aefc342" +[[package]] +name = "rustc-hash" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" + [[package]] name = "rustix" version = "0.36.16" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6da3636faa25820d8648e0e31c5d519bbb01f72fdf57131f0f5f7da5fed36eab" dependencies = [ - "bitflags", + "bitflags 1.3.2", "errno", "io-lifetimes", "itoa", "libc", - "linux-raw-sys", + "linux-raw-sys 0.1.4", "once_cell", "windows-sys 0.45.0", ] +[[package]] +name = "rustix" +version = "0.38.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2b426b0506e5d50a7d8dafcf2e81471400deb602392c7dd110815afb4eaf02a3" +dependencies = [ + "bitflags 2.4.1", + "errno", + "libc", + "linux-raw-sys 0.4.10", + "windows-sys 0.48.0", +] + [[package]] name = "rustversion" version = "1.0.12" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4f3208ce4d8448b3f3e7d168a73f5e0c43a61e32930de3bceeccedb388b6bf06" +[[package]] +name = "ryu" +version = "1.0.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ad4cc8da4ef723ed60bced201181d83791ad433213d8c24efffda1eec85d741" + [[package]] name = "scopeguard" version = "1.1.0" @@ -1366,24 +1485,41 @@ version = "1.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1792db035ce95be60c3f8853017b3999209281c24e2ba5bc8e59bf97a0c590c1" +[[package]] +name = "semver" +version = "1.0.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "836fa6a3e1e547f9a2c4040802ec865b5d85f4014efe00555d7090a3dcaa1090" + [[package]] name = "serde" -version = "1.0.153" +version = "1.0.190" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3a382c72b4ba118526e187430bb4963cd6d55051ebf13d9b25574d379cc98d20" +checksum = "91d3c334ca1ee894a2c6f6ad698fe8c435b76d504b13d436f0685d648d6d96f7" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.153" +version = "1.0.190" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ef476a5790f0f6decbc66726b6e5d63680ed518283e64c7df415989d880954f" +checksum = "67c5609f394e5c2bd7fc51efda478004ea80ef42fee983d5c67a65e34f32c0e3" dependencies = [ "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.38", +] + +[[package]] +name = "serde_json" +version = "1.0.107" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6b420ce6e3d8bd882e9b243c6eed35dbc9a6110c9769e74b584e0d68d1f20c65" +dependencies = [ + "itoa", + "ryu", + "serde", ] [[package]] @@ -1418,6 +1554,12 @@ version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a507befe795404456341dfab10cef66ead4c041f62b8b11bbb92bffe5d0953e0" +[[package]] +name = "sptr" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3b9b39299b249ad65f3b7e96443bad61c02ca5cd3589f46cb6d610a0fd6c0d6a" + [[package]] name = "stable_deref_trait" version = "1.2.0" @@ -1471,12 +1613,12 @@ version = "0.25.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f355df185d945435f24c51fda9bf01bea6acb6c0b753e1241e5cc05413a659d4" dependencies = [ - "bitflags", + "bitflags 1.3.2", "cap-fs-ext", "cap-std", "fd-lock", "io-lifetimes", - "rustix", + "rustix 0.36.16", "windows-sys 0.45.0", "winx", ] @@ -1498,22 +1640,22 @@ dependencies = [ [[package]] name = "thiserror" -version = "1.0.39" +version = "1.0.50" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a5ab016db510546d856297882807df8da66a16fb8c4101cb8b30054b0d5b2d9c" +checksum = "f9a7210f5c9a7156bb50aa36aed4c95afb51df0df00713949448cf9e97d382d2" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.39" +version = "1.0.50" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5420d42e90af0c38c3290abcca25b9b3bdf379fc9f55c528f53a269d9c9a267e" +checksum = "266b2e40bc00e5a6c09c3584011e08b06f123c00362c92b975ba9843aaaa14b8" dependencies = [ "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.38", ] [[package]] @@ -1552,7 +1694,7 @@ version = "0.19.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9a1eb0622d28f4b9c90adc4ea4b2b46b47663fde9ac5fafcb14a1369d5508825" dependencies = [ - "indexmap", + "indexmap 1.9.2", "toml_datetime", "winnow", ] @@ -1649,6 +1791,12 @@ dependencies = [ "percent-encoding", ] +[[package]] +name = "uuid" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "88ad59a7560b41a70d191093a945f0b87bc1deeda46fb237479708a1d6b6cdfc" + [[package]] name = "version_check" version = "0.9.4" @@ -1688,7 +1836,7 @@ dependencies = [ "io-lifetimes", "is-terminal", "once_cell", - "rustix", + "rustix 0.36.16", "system-interface", "tracing", "wasi-common", @@ -1702,14 +1850,14 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "46604ebe82881f99d88095c171eb84ae078c6b2a13f8f8f20ec00da60c8f6faf" dependencies = [ "anyhow", - "bitflags", + "bitflags 1.3.2", "cap-rand", "cap-std", "io-extras", - "rustix", + "rustix 0.36.16", "thiserror", "tracing", - "wasmtime", + "wasmtime 5.0.1", "wiggle", "windows-sys 0.42.0", ] @@ -1780,16 +1928,16 @@ dependencies = [ "log", "ouroboros", "wasi-common", - "wasmtime", + "wasmtime 14.0.2", "wasmtime-wasi", "wiggle", ] [[package]] name = "wasm-encoder" -version = "0.25.0" +version = "0.35.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4eff853c4f09eec94d76af527eddad4e9de13b11d6286a1ef7134bc30135a2b7" +checksum = "9ca90ba1b5b0a70d3d49473c5579951f3bddc78d47b59256d2f9d4922b150aca" dependencies = [ "leb128", ] @@ -1800,10 +1948,20 @@ version = "0.96.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "adde01ade41ab9a5d10ec8ed0bb954238cf8625b5cd5a13093d6de2ad9c2be1a" dependencies = [ - "indexmap", + "indexmap 1.9.2", "url", ] +[[package]] +name = "wasmparser" +version = "0.115.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e06c0641a4add879ba71ccb3a1e4278fd546f76f1eafb21d8f7b07733b547cd5" +dependencies = [ + "indexmap 2.0.2", + "semver", +] + [[package]] name = "wasmtime" version = "5.0.1" @@ -1814,26 +1972,59 @@ dependencies = [ "async-trait", "bincode", "cfg-if", - "indexmap", + "indexmap 1.9.2", "libc", "log", "object 0.29.0", "once_cell", "paste", "psm", + "serde", + "target-lexicon", + "wasmparser 0.96.0", + "wasmtime-component-macro 5.0.1", + "wasmtime-environ 5.0.1", + "wasmtime-fiber 5.0.1", + "wasmtime-jit 5.0.1", + "wasmtime-runtime 5.0.1", + "windows-sys 0.42.0", +] + +[[package]] +name = "wasmtime" +version = "14.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "76e45ad44701a658aa3eb138a5bb63a10a35fa8874419b5e6047cfa54b2eb2cd" +dependencies = [ + "anyhow", + "async-trait", + "bincode", + "bumpalo", + "cfg-if", + "fxprof-processed-profile", + "indexmap 2.0.2", + "libc", + "log", + "object 0.32.1", + "once_cell", + "paste", + "psm", "rayon", "serde", + "serde_derive", + "serde_json", "target-lexicon", - "wasmparser", + "wasm-encoder", + "wasmparser 0.115.0", "wasmtime-cache", - "wasmtime-component-macro", + "wasmtime-component-macro 14.0.2", "wasmtime-cranelift", - "wasmtime-environ", - "wasmtime-fiber", - "wasmtime-jit", - "wasmtime-runtime", + "wasmtime-environ 14.0.2", + "wasmtime-fiber 14.0.2", + "wasmtime-jit 14.0.2", + "wasmtime-runtime 14.0.2", "wat", - "windows-sys 0.42.0", + "windows-sys 0.48.0", ] [[package]] @@ -1845,23 +2036,32 @@ dependencies = [ "cfg-if", ] +[[package]] +name = "wasmtime-asm-macros" +version = "14.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "45a5944c8415853471b6ddff1f38b09d58fe5ac3c5dad27ee6bc03ca29e65cca" +dependencies = [ + "cfg-if", +] + [[package]] name = "wasmtime-cache" -version = "5.0.1" +version = "14.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c6b1611b04c29f2c4a434f109f6143a0719cb8b558370371d1bae7643aa173af" +checksum = "6c16f85353656b301a4472ad649e9b17cc47400cee50a94bd9b24e7886a8130f" dependencies = [ "anyhow", "base64", "bincode", "directories-next", - "file-per-thread-logger", "log", - "rustix", + "rustix 0.38.21", "serde", + "serde_derive", "sha2", "toml", - "windows-sys 0.42.0", + "windows-sys 0.48.0", "zstd", ] @@ -1874,9 +2074,24 @@ dependencies = [ "proc-macro2", "quote", "syn 1.0.109", - "wasmtime-component-util", - "wasmtime-wit-bindgen", - "wit-parser", + "wasmtime-component-util 5.0.1", + "wasmtime-wit-bindgen 5.0.1", + "wit-parser 0.3.1", +] + +[[package]] +name = "wasmtime-component-macro" +version = "14.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b174f64cd4b189396dde1bbe137f349d3c98525b8564b539f94ce978c571173d" +dependencies = [ + "anyhow", + "proc-macro2", + "quote", + "syn 2.0.38", + "wasmtime-component-util 14.0.2", + "wasmtime-wit-bindgen 14.0.2", + "wit-parser 0.12.1", ] [[package]] @@ -1885,25 +2100,51 @@ version = "5.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ff0e0e3a1310cdde7db4e8634bda696ca4f80c429fbd727fa827be5f9cb35d21" +[[package]] +name = "wasmtime-component-util" +version = "14.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b18ff6d21a0ef69de7fd4db023646b386982e78b7e5c06e6455d98cf44774954" + [[package]] name = "wasmtime-cranelift" -version = "5.0.1" +version = "14.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a66a3f2167a7436910c6cbac2408a7b599688d7114cb8821cb10879dae451759" +checksum = "e7dbb50f43a7eb897f222fb427b3ba50620014eb43673b5bfa50cfd5b2681e37" dependencies = [ "anyhow", + "cfg-if", "cranelift-codegen", - "cranelift-entity", + "cranelift-control", + "cranelift-entity 0.101.2", "cranelift-frontend", "cranelift-native", "cranelift-wasm", - "gimli 0.26.2", + "gimli 0.28.0", "log", - "object 0.29.0", + "object 0.32.1", "target-lexicon", "thiserror", - "wasmparser", - "wasmtime-environ", + "wasmparser 0.115.0", + "wasmtime-cranelift-shared", + "wasmtime-environ 14.0.2", + "wasmtime-versioned-export-macros", +] + +[[package]] +name = "wasmtime-cranelift-shared" +version = "14.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fc154520d9c910f02ce90735691186f90b220f532f9b0725543b054bf0d8381" +dependencies = [ + "anyhow", + "cranelift-codegen", + "cranelift-control", + "cranelift-native", + "gimli 0.28.0", + "object 0.32.1", + "target-lexicon", + "wasmtime-environ 14.0.2", ] [[package]] @@ -1913,16 +2154,36 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9350c919553cddf14f78f9452119c8004d7ef6bfebb79a41a21819ed0c5604d8" dependencies = [ "anyhow", - "cranelift-entity", + "cranelift-entity 0.92.1", "gimli 0.26.2", - "indexmap", + "indexmap 1.9.2", "log", "object 0.29.0", "serde", "target-lexicon", "thiserror", - "wasmparser", - "wasmtime-types", + "wasmparser 0.96.0", + "wasmtime-types 5.0.1", +] + +[[package]] +name = "wasmtime-environ" +version = "14.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d72b405647d5378ed3ff7889586d26d79825641f477f288bc72ab416136ad4da" +dependencies = [ + "anyhow", + "cranelift-entity 0.101.2", + "gimli 0.28.0", + "indexmap 2.0.2", + "log", + "object 0.32.1", + "serde", + "serde_derive", + "target-lexicon", + "thiserror", + "wasmparser 0.115.0", + "wasmtime-types 14.0.2", ] [[package]] @@ -1933,11 +2194,25 @@ checksum = "7459893ae6d67f9b35b04f44df8dfc037ea7f3071d710b9f7866b79cb2c482ae" dependencies = [ "cc", "cfg-if", - "rustix", - "wasmtime-asm-macros", + "rustix 0.36.16", + "wasmtime-asm-macros 5.0.1", "windows-sys 0.42.0", ] +[[package]] +name = "wasmtime-fiber" +version = "14.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8702d1efdf73df040a586e239fffc6883d88edf60ac6f593b41392cc1f97c754" +dependencies = [ + "cc", + "cfg-if", + "rustix 0.38.21", + "wasmtime-asm-macros 14.0.2", + "wasmtime-versioned-export-macros", + "windows-sys 0.48.0", +] + [[package]] name = "wasmtime-jit" version = "5.0.1" @@ -1950,28 +2225,63 @@ dependencies = [ "cfg-if", "cpp_demangle", "gimli 0.26.2", - "ittapi", "log", "object 0.29.0", "rustc-demangle", "serde", "target-lexicon", - "wasmtime-environ", - "wasmtime-jit-debug", - "wasmtime-jit-icache-coherence", - "wasmtime-runtime", + "wasmtime-environ 5.0.1", + "wasmtime-jit-icache-coherence 5.0.1", + "wasmtime-runtime 5.0.1", "windows-sys 0.42.0", ] +[[package]] +name = "wasmtime-jit" +version = "14.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8c7462341d96d44b30776c7aec411c0cc11b15fde44b58efcbf269d21570bd7a" +dependencies = [ + "addr2line 0.21.0", + "anyhow", + "bincode", + "cfg-if", + "cpp_demangle", + "gimli 0.28.0", + "ittapi", + "log", + "object 0.32.1", + "rustc-demangle", + "rustix 0.38.21", + "serde", + "serde_derive", + "target-lexicon", + "wasmtime-environ 14.0.2", + "wasmtime-jit-debug 14.0.2", + "wasmtime-jit-icache-coherence 14.0.2", + "wasmtime-runtime 14.0.2", + "windows-sys 0.48.0", +] + [[package]] name = "wasmtime-jit-debug" version = "5.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f9841a44c82c74101c10ad4f215392761a2523b3c6c838597962bdb6de75fdb3" dependencies = [ - "object 0.29.0", "once_cell", - "rustix", +] + +[[package]] +name = "wasmtime-jit-debug" +version = "14.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0fa128cdc680b5982087ea64eb73b63e96570b338fd6438b704b313eb854fd94" +dependencies = [ + "object 0.32.1", + "once_cell", + "rustix 0.38.21", + "wasmtime-versioned-export-macros", ] [[package]] @@ -1985,6 +2295,17 @@ dependencies = [ "windows-sys 0.42.0", ] +[[package]] +name = "wasmtime-jit-icache-coherence" +version = "14.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0980a96b16abbdaf829858d2389697b1d6cfc6a903873fd74b7e47a6b1045584" +dependencies = [ + "cfg-if", + "libc", + "windows-sys 0.48.0", +] + [[package]] name = "wasmtime-runtime" version = "5.0.1" @@ -1994,7 +2315,7 @@ dependencies = [ "anyhow", "cc", "cfg-if", - "indexmap", + "indexmap 1.9.2", "libc", "log", "mach", @@ -2002,24 +2323,77 @@ dependencies = [ "memoffset 0.6.5", "paste", "rand", - "rustix", - "wasmtime-asm-macros", - "wasmtime-environ", - "wasmtime-fiber", - "wasmtime-jit-debug", + "rustix 0.36.16", + "wasmtime-asm-macros 5.0.1", + "wasmtime-environ 5.0.1", + "wasmtime-fiber 5.0.1", + "wasmtime-jit-debug 5.0.1", "windows-sys 0.42.0", ] +[[package]] +name = "wasmtime-runtime" +version = "14.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "de31031471f04c0bad4f5e29b0e632db318488dd030cdb794ef15f91a52f2338" +dependencies = [ + "anyhow", + "cc", + "cfg-if", + "indexmap 2.0.2", + "libc", + "log", + "mach", + "memfd", + "memoffset 0.9.0", + "paste", + "rand", + "rustix 0.38.21", + "sptr", + "wasm-encoder", + "wasmtime-asm-macros 14.0.2", + "wasmtime-environ 14.0.2", + "wasmtime-fiber 14.0.2", + "wasmtime-jit-debug 14.0.2", + "wasmtime-versioned-export-macros", + "wasmtime-wmemcheck", + "windows-sys 0.48.0", +] + [[package]] name = "wasmtime-types" version = "5.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "86e1e4f66a2b9a114f9def450ab9971828c968db6ea6fccd613724b771fa4913" dependencies = [ - "cranelift-entity", + "cranelift-entity 0.92.1", "serde", "thiserror", - "wasmparser", + "wasmparser 0.96.0", +] + +[[package]] +name = "wasmtime-types" +version = "14.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4e98a2c09807eee3207991bf05b6271aa3817c548224ded6b7bac61374ef9221" +dependencies = [ + "cranelift-entity 0.101.2", + "serde", + "serde_derive", + "thiserror", + "wasmparser 0.115.0", +] + +[[package]] +name = "wasmtime-versioned-export-macros" +version = "14.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "73190422af3b408daa3c791f97f50c62509746c09de934d69dae602c65809663" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.38", ] [[package]] @@ -2031,7 +2405,7 @@ dependencies = [ "anyhow", "wasi-cap-std-sync", "wasi-common", - "wasmtime", + "wasmtime 5.0.1", "wiggle", ] @@ -2043,9 +2417,27 @@ checksum = "d97566c073045a48b745f3559689295140f00fff7f2799efe8c89cc7e70ae007" dependencies = [ "anyhow", "heck", - "wit-parser", + "wit-parser 0.3.1", +] + +[[package]] +name = "wasmtime-wit-bindgen" +version = "14.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f672060c021afd9a3ab72f4e319d1f7bb1f4e973d5e24130bb0bb11eba356f5e" +dependencies = [ + "anyhow", + "heck", + "indexmap 2.0.2", + "wit-parser 0.12.1", ] +[[package]] +name = "wasmtime-wmemcheck" +version = "14.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d40e574507de689ee8ad428b5ddfc6bc81b5eff3c8d493e0b8ec1ebf7e4eadf" + [[package]] name = "wast" version = "35.0.2" @@ -2057,9 +2449,9 @@ dependencies = [ [[package]] name = "wast" -version = "55.0.0" +version = "66.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4984d3e1406571f4930ba5cf79bd70f75f41d0e87e17506e0bd19b0e5d085f05" +checksum = "93cb43b0ac6dd156f2c375735ccfd72b012a7c0a6e6d09503499b8d3cb6e6072" dependencies = [ "leb128", "memchr", @@ -2069,11 +2461,11 @@ dependencies = [ [[package]] name = "wat" -version = "1.0.61" +version = "1.0.77" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af2b53f4da14db05d32e70e9c617abdf6620c575bd5dd972b7400037b4df2091" +checksum = "e367582095d2903caeeea9acbb140e1db9c7677001efa4347c3687fd34fe7072" dependencies = [ - "wast 55.0.0", + "wast 66.0.2", ] [[package]] @@ -2084,10 +2476,10 @@ checksum = "4edae96a8cef2aaf1d2ce42a41814ee1a0fb55c5171de6b6166bd2d6fa2f5b7b" dependencies = [ "anyhow", "async-trait", - "bitflags", + "bitflags 1.3.2", "thiserror", "tracing", - "wasmtime", + "wasmtime 5.0.1", "wiggle-macro", "witx", ] @@ -2312,7 +2704,7 @@ version = "0.35.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "129cd8ee937d535e1a239d9d3c9c0525af0454bc0967d9211a251be062513520" dependencies = [ - "bitflags", + "bitflags 1.3.2", "io-lifetimes", "windows-sys 0.45.0", ] @@ -2325,11 +2717,28 @@ checksum = "703eb1d2f89ff2c52d50f7ff002735e423cea75f0a5dc5c8a4626c4c47cd9ca6" dependencies = [ "anyhow", "id-arena", - "indexmap", + "indexmap 1.9.2", "pulldown-cmark", "unicode-xid", ] +[[package]] +name = "wit-parser" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f6ace9943d89bbf3dbbc71b966da0e7302057b311f36a4ac3d65ddfef17b52cf" +dependencies = [ + "anyhow", + "id-arena", + "indexmap 2.0.2", + "log", + "semver", + "serde", + "serde_derive", + "serde_json", + "unicode-xid", +] + [[package]] name = "witx" version = "0.9.1" @@ -2342,6 +2751,26 @@ dependencies = [ "wast 35.0.2", ] +[[package]] +name = "zerocopy" +version = "0.7.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ede7d7c7970ca2215b8c1ccf4d4f354c4733201dfaaba72d44ae5b37472e4901" +dependencies = [ + "zerocopy-derive", +] + +[[package]] +name = "zerocopy-derive" +version = "0.7.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4b27b1bb92570f989aac0ab7e9cbfbacdd65973f7ee920d9f0e71ebac878fd0b" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.38", +] + [[package]] name = "zstd" version = "0.11.2+zstd.1.5.2" diff --git a/runtime/wasm-bpf-rs/Cargo.toml b/runtime/wasm-bpf-rs/Cargo.toml index 08a01cb..bfc3c79 100644 --- a/runtime/wasm-bpf-rs/Cargo.toml +++ b/runtime/wasm-bpf-rs/Cargo.toml @@ -13,7 +13,7 @@ anyhow = { version = "1.0.69", features = ["backtrace"] } flexi_logger = "0.25.1" libbpf-rs = "0.20.1" log = "0.4.17" -wasmtime = "5.0.1" +wasmtime = "14.0.2" wasmtime-wasi = "5.0.0" wasi-common = "5.0.0" wiggle = "5.0.1"