A pit full of rusty nails

Use unstable tokio to build LocalRuntime for nailrt

+286 -87
+12
.cargo/config.toml
···
··· 1 + [target.x86_64-unknown-linux-gnu] 2 + linker = "clang" 3 + rustflags = ["-C", "link-arg=-fuse-ld=/usr/bin/mold", "--cfg", "tokio_unstable"] 4 + 5 + [profile.dev.build-override] 6 + opt-level = 1 7 + 8 + [env] 9 + RUST_LOG = "info" 10 + 11 + [build] 12 + rustflags = ["--cfg", "tokio_unstable"]
-1
.gitignore
··· 1 /target 2 /input 3 - .cargo/config.toml 4 /configuration
··· 1 /target 2 /input 3 /configuration
+1
.tangled/workflows/miri.yml
··· 7 dependencies: 8 nixpkgs: 9 - clang 10 - rustup 11 12 steps:
··· 7 dependencies: 8 nixpkgs: 9 - clang 10 + - mold 11 - rustup 12 13 steps:
+1
.tangled/workflows/test.yml
··· 7 dependencies: 8 nixpkgs: 9 - clang 10 - rustup 11 12 steps:
··· 7 dependencies: 8 nixpkgs: 9 - clang 10 + - mold 11 - rustup 12 13 steps:
+270 -84
Cargo.lock
··· 34 35 [[package]] 36 name = "anyhow" 37 - version = "1.0.101" 38 source = "registry+https://github.com/rust-lang/crates.io-index" 39 - checksum = "5f0e0fee31ef5ed1ba1316088939cea399010ed7731dba877ed44aeb407a75ea" 40 41 [[package]] 42 name = "async-trait" ··· 164 165 [[package]] 166 name = "bitflags" 167 - version = "2.10.0" 168 source = "registry+https://github.com/rust-lang/crates.io-index" 169 - checksum = "812e12b5285cc515a9c72a5c1d3b6d46a19dac5acfef5265968c166106e31dd3" 170 171 [[package]] 172 name = "bumpalo" 173 - version = "3.19.1" 174 source = "registry+https://github.com/rust-lang/crates.io-index" 175 - checksum = "5dd9dc738b7a8311c7ade152424974d8115f2cdad61e8dab8dac9f2362298510" 176 177 [[package]] 178 name = "byteorder" ··· 188 189 [[package]] 190 name = "cc" 191 - version = "1.2.55" 192 source = "registry+https://github.com/rust-lang/crates.io-index" 193 - checksum = "47b26a0954ae34af09b50f0de26458fa95369a0d478d8236d3f93082b219bd29" 194 dependencies = [ 195 "find-msvc-tools", 196 "jobserver", ··· 325 326 [[package]] 327 name = "foldhash" 328 version = "0.2.0" 329 source = "registry+https://github.com/rust-lang/crates.io-index" 330 checksum = "77ce24cb58228fbb8aa041425bb1050850ac19177686ea6e0f41a70416f56fdb" 331 332 [[package]] 333 name = "futures" 334 - version = "0.3.31" 335 source = "registry+https://github.com/rust-lang/crates.io-index" 336 - checksum = "65bc07b1a8bc7c85c5f2e110c476c7389b4554ba72af57d8445ea63a576b0876" 337 dependencies = [ 338 "futures-channel", 339 "futures-core", ··· 346 347 [[package]] 348 name = "futures-channel" 349 - version = "0.3.31" 350 source = "registry+https://github.com/rust-lang/crates.io-index" 351 - checksum = "2dff15bf788c671c1934e366d07e30c1814a8ef514e1af724a602e8a2fbe1b10" 352 dependencies = [ 353 "futures-core", 354 "futures-sink", ··· 369 370 [[package]] 371 name = "futures-core" 372 - version = "0.3.31" 373 source = "registry+https://github.com/rust-lang/crates.io-index" 374 - checksum = "05f29059c0c2090612e8d742178b0580d2dc940c837851ad723096f87af6663e" 375 376 [[package]] 377 name = "futures-executor" 378 - version = "0.3.31" 379 source = "registry+https://github.com/rust-lang/crates.io-index" 380 - checksum = "1e28d1d997f585e54aebc3f97d39e72338912123a67330d723fdbb564d646c9f" 381 dependencies = [ 382 "futures-core", 383 "futures-task", ··· 386 387 [[package]] 388 name = "futures-io" 389 - version = "0.3.31" 390 source = "registry+https://github.com/rust-lang/crates.io-index" 391 - checksum = "9e5c1b78ca4aae1ac06c48a526a655760685149f0d465d21f37abfe57ce075c6" 392 393 [[package]] 394 name = "futures-lite" ··· 405 406 [[package]] 407 name = "futures-macro" 408 - version = "0.3.31" 409 source = "registry+https://github.com/rust-lang/crates.io-index" 410 - checksum = "162ee34ebcb7c64a8abebc059ce0fee27c2262618d7b60ed8faf72fef13c3650" 411 dependencies = [ 412 "proc-macro2", 413 "quote", ··· 416 417 [[package]] 418 name = "futures-sink" 419 - version = "0.3.31" 420 source = "registry+https://github.com/rust-lang/crates.io-index" 421 - checksum = "e575fab7d1e0dcb8d0c7bcf9a63ee213816ab51902e6d244a95819acacf1d4f7" 422 423 [[package]] 424 name = "futures-task" 425 - version = "0.3.31" 426 source = "registry+https://github.com/rust-lang/crates.io-index" 427 - checksum = "f90f7dce0722e95104fcb095585910c0977252f286e354b5e3bd38902cd99988" 428 429 [[package]] 430 name = "futures-util" 431 - version = "0.3.31" 432 source = "registry+https://github.com/rust-lang/crates.io-index" 433 - checksum = "9fa08315bb612088cc391249efdc3bc77536f16c91f6cf495e6fbe85b20a4a81" 434 dependencies = [ 435 "futures-channel", 436 "futures-core", ··· 440 "futures-task", 441 "memchr", 442 "pin-project-lite", 443 - "pin-utils", 444 "slab", 445 ] 446 ··· 457 ] 458 459 [[package]] 460 name = "gimli" 461 version = "0.32.3" 462 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 494 checksum = "9229cfe53dfd69f0609a49f65461bd93001ea1ef889cd5529dd176593f5338a1" 495 dependencies = [ 496 "equivalent", 497 ] 498 499 [[package]] ··· 504 dependencies = [ 505 "allocator-api2", 506 "equivalent", 507 - "foldhash", 508 ] 509 510 [[package]] 511 name = "hermit-abi" ··· 615 ] 616 617 [[package]] 618 name = "indenter" 619 version = "0.3.4" 620 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 628 dependencies = [ 629 "equivalent", 630 "hashbrown 0.16.1", 631 ] 632 633 [[package]] ··· 651 source = "registry+https://github.com/rust-lang/crates.io-index" 652 checksum = "9afb3de4395d6b3e67a780b6de64b51c978ecf11cb9a462c66be7d4ca9039d33" 653 dependencies = [ 654 - "getrandom", 655 "libc", 656 ] 657 658 [[package]] 659 name = "js-sys" 660 - version = "0.3.85" 661 source = "registry+https://github.com/rust-lang/crates.io-index" 662 - checksum = "8c942ebf8e95485ca0d52d97da7c5a2c387d0e7f0ba4c35e93bfcaee045955b3" 663 dependencies = [ 664 "once_cell", 665 "wasm-bindgen", ··· 672 checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" 673 674 [[package]] 675 name = "libabort" 676 version = "0.1.9" 677 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 682 683 [[package]] 684 name = "libc" 685 - version = "0.2.180" 686 source = "registry+https://github.com/rust-lang/crates.io-index" 687 - checksum = "bcc35a38544a891a5f7c865aca548a982ccb3b8650a5b06d0fd33a10283c56fc" 688 689 [[package]] 690 name = "libm" ··· 734 735 [[package]] 736 name = "memchr" 737 - version = "2.7.6" 738 source = "registry+https://github.com/rust-lang/crates.io-index" 739 - checksum = "f52b00d39961fc5b2736ea853c9cc86238e165017a493d1d5c8eac6bdc4cc273" 740 741 [[package]] 742 name = "mimalloc" ··· 930 name = "nailrng" 931 version = "0.1.0" 932 dependencies = [ 933 - "getrandom", 934 "rand_core", 935 "wyrand", 936 ] ··· 1182 1183 [[package]] 1184 name = "owo-colors" 1185 - version = "4.2.3" 1186 source = "registry+https://github.com/rust-lang/crates.io-index" 1187 - checksum = "9c6901729fa79e91a0913333229e9ca5dc725089d1c363b2f4b4760709dc4a52" 1188 1189 [[package]] 1190 name = "parking" ··· 1229 1230 [[package]] 1231 name = "pin-project" 1232 - version = "1.1.10" 1233 source = "registry+https://github.com/rust-lang/crates.io-index" 1234 - checksum = "677f1add503faace112b9f1373e43e9e054bfdd22ff1a63c1bc485eaec6a6a8a" 1235 dependencies = [ 1236 "pin-project-internal", 1237 ] 1238 1239 [[package]] 1240 name = "pin-project-internal" 1241 - version = "1.1.10" 1242 source = "registry+https://github.com/rust-lang/crates.io-index" 1243 - checksum = "6e918e4ff8c4549eb882f14b3a4bc8c8bc93de829416eacf579f1207a8fbf861" 1244 dependencies = [ 1245 "proc-macro2", 1246 "quote", ··· 1249 1250 [[package]] 1251 name = "pin-project-lite" 1252 - version = "0.2.16" 1253 source = "registry+https://github.com/rust-lang/crates.io-index" 1254 - checksum = "3b3cff922bd51709b605d9ead9aa71031d81447142d828eb4a6eba76fe619f9b" 1255 1256 [[package]] 1257 name = "pin-utils" ··· 1275 ] 1276 1277 [[package]] 1278 name = "proc-macro2" 1279 version = "1.0.106" 1280 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 1347 source = "registry+https://github.com/rust-lang/crates.io-index" 1348 checksum = "76afc826de14238e6e8c374ddcc1fa19e374fd8dd986b0d2af0d02377261d83c" 1349 dependencies = [ 1350 - "getrandom", 1351 ] 1352 1353 [[package]] ··· 1362 1363 [[package]] 1364 name = "rapidhash" 1365 - version = "4.2.2" 1366 source = "registry+https://github.com/rust-lang/crates.io-index" 1367 - checksum = "71ec30b38a417407efe7676bad0ca6b78f995f810185ece9af3bd5dc561185a9" 1368 dependencies = [ 1369 "rand", 1370 "rustversion", ··· 1392 1393 [[package]] 1394 name = "regex-syntax" 1395 - version = "0.8.9" 1396 source = "registry+https://github.com/rust-lang/crates.io-index" 1397 - checksum = "a96887878f22d7bad8a3b6dc5b7440e0ada9a245242924394987b21cf2210a4c" 1398 1399 [[package]] 1400 name = "rustc-demangle" ··· 1416 1417 [[package]] 1418 name = "saa" 1419 - version = "5.4.9" 1420 source = "registry+https://github.com/rust-lang/crates.io-index" 1421 - checksum = "da0ba8adb63e0deebd0744d8fc5bea394c08029159deaf680513fec1a3949144" 1422 1423 [[package]] 1424 name = "scc" 1425 - version = "3.5.6" 1426 source = "registry+https://github.com/rust-lang/crates.io-index" 1427 - checksum = "e4bd9d1727de391b6982925d830baad51692fa2aa6e337733c03d95121ca2793" 1428 dependencies = [ 1429 "saa", 1430 "sdd", ··· 1438 1439 [[package]] 1440 name = "sdd" 1441 - version = "4.6.2" 1442 source = "registry+https://github.com/rust-lang/crates.io-index" 1443 - checksum = "c25da4ae64b24edfcb0b0d30b96b2b0dbc64ec63aefeb6ec35bfc5ef167e5c9e" 1444 1445 [[package]] 1446 name = "serde" ··· 1552 1553 [[package]] 1554 name = "syn" 1555 - version = "2.0.114" 1556 source = "registry+https://github.com/rust-lang/crates.io-index" 1557 - checksum = "d4d107df263a3013ef9b1879b0df87d706ff80f65a86ea879bd9c31f9b307c2a" 1558 dependencies = [ 1559 "proc-macro2", 1560 "quote", ··· 1638 1639 [[package]] 1640 name = "toml" 1641 - version = "0.9.11+spec-1.1.0" 1642 source = "registry+https://github.com/rust-lang/crates.io-index" 1643 - checksum = "f3afc9a848309fe1aaffaed6e1546a7a14de1f935dc9d89d32afd9a44bab7c46" 1644 dependencies = [ 1645 "serde_core", 1646 "serde_spanned", ··· 1660 1661 [[package]] 1662 name = "toml_parser" 1663 - version = "1.0.6+spec-1.1.0" 1664 source = "registry+https://github.com/rust-lang/crates.io-index" 1665 - checksum = "a3198b4b0a8e11f09dd03e133c0280504d0801269e9afa46362ffde1cbeebf44" 1666 dependencies = [ 1667 "winnow", 1668 ] 1669 1670 [[package]] 1671 name = "tonic" 1672 - version = "0.14.3" 1673 source = "registry+https://github.com/rust-lang/crates.io-index" 1674 - checksum = "a286e33f82f8a1ee2df63f4fa35c0becf4a85a0cb03091a15fd7bf0b402dc94a" 1675 dependencies = [ 1676 "async-trait", 1677 "base64", ··· 1696 1697 [[package]] 1698 name = "tonic-prost" 1699 - version = "0.14.3" 1700 source = "registry+https://github.com/rust-lang/crates.io-index" 1701 - checksum = "d6c55a2d6a14174563de34409c9f92ff981d006f56da9c6ecd40d9d4a31500b0" 1702 dependencies = [ 1703 "bytes", 1704 "prost", ··· 1861 1862 [[package]] 1863 name = "unicode-ident" 1864 - version = "1.0.22" 1865 source = "registry+https://github.com/rust-lang/crates.io-index" 1866 - checksum = "9312f7c4f6ff9069b165498234ce8be658059c6728633667c526e27dc2cf1df5" 1867 1868 [[package]] 1869 name = "unicode-segmentation" ··· 1872 checksum = "f6ccf251212114b54433ec949fd6a7841275f9ada20dddd2f29e9ceea4501493" 1873 1874 [[package]] 1875 name = "uuid" 1876 - version = "1.20.0" 1877 source = "registry+https://github.com/rust-lang/crates.io-index" 1878 - checksum = "ee48d38b119b0cd71fe4141b30f5ba9c7c5d9f4e7a3a8b4a674e4b6ef789976f" 1879 dependencies = [ 1880 - "getrandom", 1881 "js-sys", 1882 "rand", 1883 "wasm-bindgen", ··· 1914 ] 1915 1916 [[package]] 1917 name = "wasm-bindgen" 1918 - version = "0.2.108" 1919 source = "registry+https://github.com/rust-lang/crates.io-index" 1920 - checksum = "64024a30ec1e37399cf85a7ffefebdb72205ca1c972291c51512360d90bd8566" 1921 dependencies = [ 1922 "cfg-if", 1923 "once_cell", ··· 1928 1929 [[package]] 1930 name = "wasm-bindgen-macro" 1931 - version = "0.2.108" 1932 source = "registry+https://github.com/rust-lang/crates.io-index" 1933 - checksum = "008b239d9c740232e71bd39e8ef6429d27097518b6b30bdf9086833bd5b6d608" 1934 dependencies = [ 1935 "quote", 1936 "wasm-bindgen-macro-support", ··· 1938 1939 [[package]] 1940 name = "wasm-bindgen-macro-support" 1941 - version = "0.2.108" 1942 source = "registry+https://github.com/rust-lang/crates.io-index" 1943 - checksum = "5256bae2d58f54820e6490f9839c49780dff84c65aeab9e772f15d5f0e913a55" 1944 dependencies = [ 1945 "bumpalo", 1946 "proc-macro2", ··· 1951 1952 [[package]] 1953 name = "wasm-bindgen-shared" 1954 - version = "0.2.108" 1955 source = "registry+https://github.com/rust-lang/crates.io-index" 1956 - checksum = "1f01b580c9ac74c8d8f0c0e4afb04eeef2acf145458e52c03845ee9cd23e3d12" 1957 dependencies = [ 1958 "unicode-ident", 1959 ] 1960 1961 [[package]] ··· 2093 version = "0.51.0" 2094 source = "registry+https://github.com/rust-lang/crates.io-index" 2095 checksum = "d7249219f66ced02969388cf2bb044a09756a083d0fab1e566056b04d9fbcaa5" 2096 2097 [[package]] 2098 name = "wyrand" ··· 2105 2106 [[package]] 2107 name = "zerocopy" 2108 - version = "0.8.39" 2109 source = "registry+https://github.com/rust-lang/crates.io-index" 2110 - checksum = "db6d35d663eadb6c932438e763b262fe1a70987f9ae936e60158176d710cae4a" 2111 dependencies = [ 2112 "zerocopy-derive", 2113 ] 2114 2115 [[package]] 2116 name = "zerocopy-derive" 2117 - version = "0.8.39" 2118 source = "registry+https://github.com/rust-lang/crates.io-index" 2119 - checksum = "4122cd3169e94605190e77839c9a40d40ed048d305bfdc146e7df40ab0f3e517" 2120 dependencies = [ 2121 "proc-macro2", 2122 "quote", ··· 2125 2126 [[package]] 2127 name = "zmij" 2128 - version = "1.0.19" 2129 source = "registry+https://github.com/rust-lang/crates.io-index" 2130 - checksum = "3ff05f8caa9038894637571ae6b9e29466c1f4f829d26c9b28f869a29cbe3445" 2131 2132 [[package]] 2133 name = "zstd"
··· 34 35 [[package]] 36 name = "anyhow" 37 + version = "1.0.102" 38 source = "registry+https://github.com/rust-lang/crates.io-index" 39 + checksum = "7f202df86484c868dbad7eaa557ef785d5c66295e41b460ef922eca0723b842c" 40 41 [[package]] 42 name = "async-trait" ··· 164 165 [[package]] 166 name = "bitflags" 167 + version = "2.11.0" 168 source = "registry+https://github.com/rust-lang/crates.io-index" 169 + checksum = "843867be96c8daad0d758b57df9392b6d8d271134fce549de6ce169ff98a92af" 170 171 [[package]] 172 name = "bumpalo" 173 + version = "3.20.2" 174 source = "registry+https://github.com/rust-lang/crates.io-index" 175 + checksum = "5d20789868f4b01b2f2caec9f5c4e0213b41e3e5702a50157d699ae31ced2fcb" 176 177 [[package]] 178 name = "byteorder" ··· 188 189 [[package]] 190 name = "cc" 191 + version = "1.2.56" 192 source = "registry+https://github.com/rust-lang/crates.io-index" 193 + checksum = "aebf35691d1bfb0ac386a69bac2fde4dd276fb618cf8bf4f5318fe285e821bb2" 194 dependencies = [ 195 "find-msvc-tools", 196 "jobserver", ··· 325 326 [[package]] 327 name = "foldhash" 328 + version = "0.1.5" 329 + source = "registry+https://github.com/rust-lang/crates.io-index" 330 + checksum = "d9c4f5dac5e15c24eb999c26181a6ca40b39fe946cbe4c263c7209467bc83af2" 331 + 332 + [[package]] 333 + name = "foldhash" 334 version = "0.2.0" 335 source = "registry+https://github.com/rust-lang/crates.io-index" 336 checksum = "77ce24cb58228fbb8aa041425bb1050850ac19177686ea6e0f41a70416f56fdb" 337 338 [[package]] 339 name = "futures" 340 + version = "0.3.32" 341 source = "registry+https://github.com/rust-lang/crates.io-index" 342 + checksum = "8b147ee9d1f6d097cef9ce628cd2ee62288d963e16fb287bd9286455b241382d" 343 dependencies = [ 344 "futures-channel", 345 "futures-core", ··· 352 353 [[package]] 354 name = "futures-channel" 355 + version = "0.3.32" 356 source = "registry+https://github.com/rust-lang/crates.io-index" 357 + checksum = "07bbe89c50d7a535e539b8c17bc0b49bdb77747034daa8087407d655f3f7cc1d" 358 dependencies = [ 359 "futures-core", 360 "futures-sink", ··· 375 376 [[package]] 377 name = "futures-core" 378 + version = "0.3.32" 379 source = "registry+https://github.com/rust-lang/crates.io-index" 380 + checksum = "7e3450815272ef58cec6d564423f6e755e25379b217b0bc688e295ba24df6b1d" 381 382 [[package]] 383 name = "futures-executor" 384 + version = "0.3.32" 385 source = "registry+https://github.com/rust-lang/crates.io-index" 386 + checksum = "baf29c38818342a3b26b5b923639e7b1f4a61fc5e76102d4b1981c6dc7a7579d" 387 dependencies = [ 388 "futures-core", 389 "futures-task", ··· 392 393 [[package]] 394 name = "futures-io" 395 + version = "0.3.32" 396 source = "registry+https://github.com/rust-lang/crates.io-index" 397 + checksum = "cecba35d7ad927e23624b22ad55235f2239cfa44fd10428eecbeba6d6a717718" 398 399 [[package]] 400 name = "futures-lite" ··· 411 412 [[package]] 413 name = "futures-macro" 414 + version = "0.3.32" 415 source = "registry+https://github.com/rust-lang/crates.io-index" 416 + checksum = "e835b70203e41293343137df5c0664546da5745f82ec9b84d40be8336958447b" 417 dependencies = [ 418 "proc-macro2", 419 "quote", ··· 422 423 [[package]] 424 name = "futures-sink" 425 + version = "0.3.32" 426 source = "registry+https://github.com/rust-lang/crates.io-index" 427 + checksum = "c39754e157331b013978ec91992bde1ac089843443c49cbc7f46150b0fad0893" 428 429 [[package]] 430 name = "futures-task" 431 + version = "0.3.32" 432 source = "registry+https://github.com/rust-lang/crates.io-index" 433 + checksum = "037711b3d59c33004d3856fbdc83b99d4ff37a24768fa1be9ce3538a1cde4393" 434 435 [[package]] 436 name = "futures-util" 437 + version = "0.3.32" 438 source = "registry+https://github.com/rust-lang/crates.io-index" 439 + checksum = "389ca41296e6190b48053de0321d02a77f32f8a5d2461dd38762c0593805c6d6" 440 dependencies = [ 441 "futures-channel", 442 "futures-core", ··· 446 "futures-task", 447 "memchr", 448 "pin-project-lite", 449 "slab", 450 ] 451 ··· 462 ] 463 464 [[package]] 465 + name = "getrandom" 466 + version = "0.4.1" 467 + source = "registry+https://github.com/rust-lang/crates.io-index" 468 + checksum = "139ef39800118c7683f2fd3c98c1b23c09ae076556b435f8e9064ae108aaeeec" 469 + dependencies = [ 470 + "cfg-if", 471 + "libc", 472 + "r-efi", 473 + "wasip2", 474 + "wasip3", 475 + ] 476 + 477 + [[package]] 478 name = "gimli" 479 version = "0.32.3" 480 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 512 checksum = "9229cfe53dfd69f0609a49f65461bd93001ea1ef889cd5529dd176593f5338a1" 513 dependencies = [ 514 "equivalent", 515 + "foldhash 0.1.5", 516 ] 517 518 [[package]] ··· 523 dependencies = [ 524 "allocator-api2", 525 "equivalent", 526 + "foldhash 0.2.0", 527 ] 528 + 529 + [[package]] 530 + name = "heck" 531 + version = "0.5.0" 532 + source = "registry+https://github.com/rust-lang/crates.io-index" 533 + checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" 534 535 [[package]] 536 name = "hermit-abi" ··· 640 ] 641 642 [[package]] 643 + name = "id-arena" 644 + version = "2.3.0" 645 + source = "registry+https://github.com/rust-lang/crates.io-index" 646 + checksum = "3d3067d79b975e8844ca9eb072e16b31c3c1c36928edf9c6789548c524d0d954" 647 + 648 + [[package]] 649 name = "indenter" 650 version = "0.3.4" 651 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 659 dependencies = [ 660 "equivalent", 661 "hashbrown 0.16.1", 662 + "serde", 663 + "serde_core", 664 ] 665 666 [[package]] ··· 684 source = "registry+https://github.com/rust-lang/crates.io-index" 685 checksum = "9afb3de4395d6b3e67a780b6de64b51c978ecf11cb9a462c66be7d4ca9039d33" 686 dependencies = [ 687 + "getrandom 0.3.4", 688 "libc", 689 ] 690 691 [[package]] 692 name = "js-sys" 693 + version = "0.3.91" 694 source = "registry+https://github.com/rust-lang/crates.io-index" 695 + checksum = "b49715b7073f385ba4bc528e5747d02e66cb39c6146efb66b781f131f0fb399c" 696 dependencies = [ 697 "once_cell", 698 "wasm-bindgen", ··· 705 checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" 706 707 [[package]] 708 + name = "leb128fmt" 709 + version = "0.1.0" 710 + source = "registry+https://github.com/rust-lang/crates.io-index" 711 + checksum = "09edd9e8b54e49e587e4f6295a7d29c3ea94d469cb40ab8ca70b288248a81db2" 712 + 713 + [[package]] 714 name = "libabort" 715 version = "0.1.9" 716 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 721 722 [[package]] 723 name = "libc" 724 + version = "0.2.182" 725 source = "registry+https://github.com/rust-lang/crates.io-index" 726 + checksum = "6800badb6cb2082ffd7b6a67e6125bb39f18782f793520caee8cb8846be06112" 727 728 [[package]] 729 name = "libm" ··· 773 774 [[package]] 775 name = "memchr" 776 + version = "2.8.0" 777 source = "registry+https://github.com/rust-lang/crates.io-index" 778 + checksum = "f8ca58f447f06ed17d5fc4043ce1b10dd205e060fb3ce5b979b8ed8e59ff3f79" 779 780 [[package]] 781 name = "mimalloc" ··· 969 name = "nailrng" 970 version = "0.1.0" 971 dependencies = [ 972 + "getrandom 0.3.4", 973 "rand_core", 974 "wyrand", 975 ] ··· 1221 1222 [[package]] 1223 name = "owo-colors" 1224 + version = "4.3.0" 1225 source = "registry+https://github.com/rust-lang/crates.io-index" 1226 + checksum = "d211803b9b6b570f68772237e415a029d5a50c65d382910b879fb19d3271f94d" 1227 1228 [[package]] 1229 name = "parking" ··· 1268 1269 [[package]] 1270 name = "pin-project" 1271 + version = "1.1.11" 1272 source = "registry+https://github.com/rust-lang/crates.io-index" 1273 + checksum = "f1749c7ed4bcaf4c3d0a3efc28538844fb29bcdd7d2b67b2be7e20ba861ff517" 1274 dependencies = [ 1275 "pin-project-internal", 1276 ] 1277 1278 [[package]] 1279 name = "pin-project-internal" 1280 + version = "1.1.11" 1281 source = "registry+https://github.com/rust-lang/crates.io-index" 1282 + checksum = "d9b20ed30f105399776b9c883e68e536ef602a16ae6f596d2c473591d6ad64c6" 1283 dependencies = [ 1284 "proc-macro2", 1285 "quote", ··· 1288 1289 [[package]] 1290 name = "pin-project-lite" 1291 + version = "0.2.17" 1292 source = "registry+https://github.com/rust-lang/crates.io-index" 1293 + checksum = "a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd" 1294 1295 [[package]] 1296 name = "pin-utils" ··· 1314 ] 1315 1316 [[package]] 1317 + name = "prettyplease" 1318 + version = "0.2.37" 1319 + source = "registry+https://github.com/rust-lang/crates.io-index" 1320 + checksum = "479ca8adacdd7ce8f1fb39ce9ecccbfe93a3f1344b3d0d97f20bc0196208f62b" 1321 + dependencies = [ 1322 + "proc-macro2", 1323 + "syn", 1324 + ] 1325 + 1326 + [[package]] 1327 name = "proc-macro2" 1328 version = "1.0.106" 1329 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 1396 source = "registry+https://github.com/rust-lang/crates.io-index" 1397 checksum = "76afc826de14238e6e8c374ddcc1fa19e374fd8dd986b0d2af0d02377261d83c" 1398 dependencies = [ 1399 + "getrandom 0.3.4", 1400 ] 1401 1402 [[package]] ··· 1411 1412 [[package]] 1413 name = "rapidhash" 1414 + version = "4.4.1" 1415 source = "registry+https://github.com/rust-lang/crates.io-index" 1416 + checksum = "b5e48930979c155e2f33aa36ab3119b5ee81332beb6482199a8ecd6029b80b59" 1417 dependencies = [ 1418 "rand", 1419 "rustversion", ··· 1441 1442 [[package]] 1443 name = "regex-syntax" 1444 + version = "0.8.10" 1445 source = "registry+https://github.com/rust-lang/crates.io-index" 1446 + checksum = "dc897dd8d9e8bd1ed8cdad82b5966c3e0ecae09fb1907d58efaa013543185d0a" 1447 1448 [[package]] 1449 name = "rustc-demangle" ··· 1465 1466 [[package]] 1467 name = "saa" 1468 + version = "5.5.0" 1469 source = "registry+https://github.com/rust-lang/crates.io-index" 1470 + checksum = "16c7f49c9d5caa3bf4b3106900484b447b9253fe99670ceb81cb6cb5027855e1" 1471 1472 [[package]] 1473 name = "scc" 1474 + version = "3.6.6" 1475 source = "registry+https://github.com/rust-lang/crates.io-index" 1476 + checksum = "6012e652611b2fdcb557a7b4be8cee00d8be19397c70011906a68aa4dac2fe37" 1477 dependencies = [ 1478 "saa", 1479 "sdd", ··· 1487 1488 [[package]] 1489 name = "sdd" 1490 + version = "4.6.5" 1491 source = "registry+https://github.com/rust-lang/crates.io-index" 1492 + checksum = "4becc2f27bd39aafb78a8a1b4e1d6877ed0a6b5bf096722ed538dc028367a9b5" 1493 + 1494 + [[package]] 1495 + name = "semver" 1496 + version = "1.0.27" 1497 + source = "registry+https://github.com/rust-lang/crates.io-index" 1498 + checksum = "d767eb0aabc880b29956c35734170f26ed551a859dbd361d140cdbeca61ab1e2" 1499 1500 [[package]] 1501 name = "serde" ··· 1607 1608 [[package]] 1609 name = "syn" 1610 + version = "2.0.117" 1611 source = "registry+https://github.com/rust-lang/crates.io-index" 1612 + checksum = "e665b8803e7b1d2a727f4023456bbbbe74da67099c585258af0ad9c5013b9b99" 1613 dependencies = [ 1614 "proc-macro2", 1615 "quote", ··· 1693 1694 [[package]] 1695 name = "toml" 1696 + version = "0.9.12+spec-1.1.0" 1697 source = "registry+https://github.com/rust-lang/crates.io-index" 1698 + checksum = "cf92845e79fc2e2def6a5d828f0801e29a2f8acc037becc5ab08595c7d5e9863" 1699 dependencies = [ 1700 "serde_core", 1701 "serde_spanned", ··· 1715 1716 [[package]] 1717 name = "toml_parser" 1718 + version = "1.0.9+spec-1.1.0" 1719 source = "registry+https://github.com/rust-lang/crates.io-index" 1720 + checksum = "702d4415e08923e7e1ef96cd5727c0dfed80b4d2fa25db9647fe5eb6f7c5a4c4" 1721 dependencies = [ 1722 "winnow", 1723 ] 1724 1725 [[package]] 1726 name = "tonic" 1727 + version = "0.14.5" 1728 source = "registry+https://github.com/rust-lang/crates.io-index" 1729 + checksum = "fec7c61a0695dc1887c1b53952990f3ad2e3a31453e1f49f10e75424943a93ec" 1730 dependencies = [ 1731 "async-trait", 1732 "base64", ··· 1751 1752 [[package]] 1753 name = "tonic-prost" 1754 + version = "0.14.5" 1755 source = "registry+https://github.com/rust-lang/crates.io-index" 1756 + checksum = "a55376a0bbaa4975a3f10d009ad763d8f4108f067c7c2e74f3001fb49778d309" 1757 dependencies = [ 1758 "bytes", 1759 "prost", ··· 1916 1917 [[package]] 1918 name = "unicode-ident" 1919 + version = "1.0.24" 1920 source = "registry+https://github.com/rust-lang/crates.io-index" 1921 + checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75" 1922 1923 [[package]] 1924 name = "unicode-segmentation" ··· 1927 checksum = "f6ccf251212114b54433ec949fd6a7841275f9ada20dddd2f29e9ceea4501493" 1928 1929 [[package]] 1930 + name = "unicode-xid" 1931 + version = "0.2.6" 1932 + source = "registry+https://github.com/rust-lang/crates.io-index" 1933 + checksum = "ebc1c04c71510c7f702b52b7c350734c9ff1295c464a03335b00bb84fc54f853" 1934 + 1935 + [[package]] 1936 name = "uuid" 1937 + version = "1.21.0" 1938 source = "registry+https://github.com/rust-lang/crates.io-index" 1939 + checksum = "b672338555252d43fd2240c714dc444b8c6fb0a5c5335e65a07bba7742735ddb" 1940 dependencies = [ 1941 + "getrandom 0.4.1", 1942 "js-sys", 1943 "rand", 1944 "wasm-bindgen", ··· 1975 ] 1976 1977 [[package]] 1978 + name = "wasip3" 1979 + version = "0.4.0+wasi-0.3.0-rc-2026-01-06" 1980 + source = "registry+https://github.com/rust-lang/crates.io-index" 1981 + checksum = "5428f8bf88ea5ddc08faddef2ac4a67e390b88186c703ce6dbd955e1c145aca5" 1982 + dependencies = [ 1983 + "wit-bindgen", 1984 + ] 1985 + 1986 + [[package]] 1987 name = "wasm-bindgen" 1988 + version = "0.2.114" 1989 source = "registry+https://github.com/rust-lang/crates.io-index" 1990 + checksum = "6532f9a5c1ece3798cb1c2cfdba640b9b3ba884f5db45973a6f442510a87d38e" 1991 dependencies = [ 1992 "cfg-if", 1993 "once_cell", ··· 1998 1999 [[package]] 2000 name = "wasm-bindgen-macro" 2001 + version = "0.2.114" 2002 source = "registry+https://github.com/rust-lang/crates.io-index" 2003 + checksum = "18a2d50fcf105fb33bb15f00e7a77b772945a2ee45dcf454961fd843e74c18e6" 2004 dependencies = [ 2005 "quote", 2006 "wasm-bindgen-macro-support", ··· 2008 2009 [[package]] 2010 name = "wasm-bindgen-macro-support" 2011 + version = "0.2.114" 2012 source = "registry+https://github.com/rust-lang/crates.io-index" 2013 + checksum = "03ce4caeaac547cdf713d280eda22a730824dd11e6b8c3ca9e42247b25c631e3" 2014 dependencies = [ 2015 "bumpalo", 2016 "proc-macro2", ··· 2021 2022 [[package]] 2023 name = "wasm-bindgen-shared" 2024 + version = "0.2.114" 2025 source = "registry+https://github.com/rust-lang/crates.io-index" 2026 + checksum = "75a326b8c223ee17883a4251907455a2431acc2791c98c26279376490c378c16" 2027 dependencies = [ 2028 "unicode-ident", 2029 + ] 2030 + 2031 + [[package]] 2032 + name = "wasm-encoder" 2033 + version = "0.244.0" 2034 + source = "registry+https://github.com/rust-lang/crates.io-index" 2035 + checksum = "990065f2fe63003fe337b932cfb5e3b80e0b4d0f5ff650e6985b1048f62c8319" 2036 + dependencies = [ 2037 + "leb128fmt", 2038 + "wasmparser", 2039 + ] 2040 + 2041 + [[package]] 2042 + name = "wasm-metadata" 2043 + version = "0.244.0" 2044 + source = "registry+https://github.com/rust-lang/crates.io-index" 2045 + checksum = "bb0e353e6a2fbdc176932bbaab493762eb1255a7900fe0fea1a2f96c296cc909" 2046 + dependencies = [ 2047 + "anyhow", 2048 + "indexmap", 2049 + "wasm-encoder", 2050 + "wasmparser", 2051 + ] 2052 + 2053 + [[package]] 2054 + name = "wasmparser" 2055 + version = "0.244.0" 2056 + source = "registry+https://github.com/rust-lang/crates.io-index" 2057 + checksum = "47b807c72e1bac69382b3a6fb3dbe8ea4c0ed87ff5629b8685ae6b9a611028fe" 2058 + dependencies = [ 2059 + "bitflags", 2060 + "hashbrown 0.15.5", 2061 + "indexmap", 2062 + "semver", 2063 ] 2064 2065 [[package]] ··· 2197 version = "0.51.0" 2198 source = "registry+https://github.com/rust-lang/crates.io-index" 2199 checksum = "d7249219f66ced02969388cf2bb044a09756a083d0fab1e566056b04d9fbcaa5" 2200 + dependencies = [ 2201 + "wit-bindgen-rust-macro", 2202 + ] 2203 + 2204 + [[package]] 2205 + name = "wit-bindgen-core" 2206 + version = "0.51.0" 2207 + source = "registry+https://github.com/rust-lang/crates.io-index" 2208 + checksum = "ea61de684c3ea68cb082b7a88508a8b27fcc8b797d738bfc99a82facf1d752dc" 2209 + dependencies = [ 2210 + "anyhow", 2211 + "heck", 2212 + "wit-parser", 2213 + ] 2214 + 2215 + [[package]] 2216 + name = "wit-bindgen-rust" 2217 + version = "0.51.0" 2218 + source = "registry+https://github.com/rust-lang/crates.io-index" 2219 + checksum = "b7c566e0f4b284dd6561c786d9cb0142da491f46a9fbed79ea69cdad5db17f21" 2220 + dependencies = [ 2221 + "anyhow", 2222 + "heck", 2223 + "indexmap", 2224 + "prettyplease", 2225 + "syn", 2226 + "wasm-metadata", 2227 + "wit-bindgen-core", 2228 + "wit-component", 2229 + ] 2230 + 2231 + [[package]] 2232 + name = "wit-bindgen-rust-macro" 2233 + version = "0.51.0" 2234 + source = "registry+https://github.com/rust-lang/crates.io-index" 2235 + checksum = "0c0f9bfd77e6a48eccf51359e3ae77140a7f50b1e2ebfe62422d8afdaffab17a" 2236 + dependencies = [ 2237 + "anyhow", 2238 + "prettyplease", 2239 + "proc-macro2", 2240 + "quote", 2241 + "syn", 2242 + "wit-bindgen-core", 2243 + "wit-bindgen-rust", 2244 + ] 2245 + 2246 + [[package]] 2247 + name = "wit-component" 2248 + version = "0.244.0" 2249 + source = "registry+https://github.com/rust-lang/crates.io-index" 2250 + checksum = "9d66ea20e9553b30172b5e831994e35fbde2d165325bec84fc43dbf6f4eb9cb2" 2251 + dependencies = [ 2252 + "anyhow", 2253 + "bitflags", 2254 + "indexmap", 2255 + "log", 2256 + "serde", 2257 + "serde_derive", 2258 + "serde_json", 2259 + "wasm-encoder", 2260 + "wasm-metadata", 2261 + "wasmparser", 2262 + "wit-parser", 2263 + ] 2264 + 2265 + [[package]] 2266 + name = "wit-parser" 2267 + version = "0.244.0" 2268 + source = "registry+https://github.com/rust-lang/crates.io-index" 2269 + checksum = "ecc8ac4bc1dc3381b7f59c34f00b67e18f910c2c0f50015669dde7def656a736" 2270 + dependencies = [ 2271 + "anyhow", 2272 + "id-arena", 2273 + "indexmap", 2274 + "log", 2275 + "semver", 2276 + "serde", 2277 + "serde_derive", 2278 + "serde_json", 2279 + "unicode-xid", 2280 + "wasmparser", 2281 + ] 2282 2283 [[package]] 2284 name = "wyrand" ··· 2291 2292 [[package]] 2293 name = "zerocopy" 2294 + version = "0.8.40" 2295 source = "registry+https://github.com/rust-lang/crates.io-index" 2296 + checksum = "a789c6e490b576db9f7e6b6d661bcc9799f7c0ac8352f56ea20193b2681532e5" 2297 dependencies = [ 2298 "zerocopy-derive", 2299 ] 2300 2301 [[package]] 2302 name = "zerocopy-derive" 2303 + version = "0.8.40" 2304 source = "registry+https://github.com/rust-lang/crates.io-index" 2305 + checksum = "f65c489a7071a749c849713807783f70672b28094011623e200cb86dcb835953" 2306 dependencies = [ 2307 "proc-macro2", 2308 "quote", ··· 2311 2312 [[package]] 2313 name = "zmij" 2314 + version = "1.0.21" 2315 source = "registry+https://github.com/rust-lang/crates.io-index" 2316 + checksum = "b8848ee67ecc8aedbaf3e4122217aff892639231befc6a1b58d29fff4c2cabaa" 2317 2318 [[package]] 2319 name = "zstd"
+2 -2
crates/nailrt/src/lib.rs
··· 51 // Main worker MUST start, else we just error out. 52 let rt = tokio::runtime::Builder::new_current_thread() 53 .enable_all() 54 - .build()?; 55 56 std::thread::scope(|s| { 57 for num in 1..workers.get() { ··· 76 77 match tokio::runtime::Builder::new_current_thread() 78 .enable_all() 79 - .build() 80 { 81 Ok(rt) => { 82 rt.block_on(worker_task(
··· 51 // Main worker MUST start, else we just error out. 52 let rt = tokio::runtime::Builder::new_current_thread() 53 .enable_all() 54 + .build_local(Default::default())?; 55 56 std::thread::scope(|s| { 57 for num in 1..workers.get() { ··· 76 77 match tokio::runtime::Builder::new_current_thread() 78 .enable_all() 79 + .build_local(Default::default()) 80 { 81 Ok(rt) => { 82 rt.block_on(worker_task(