From 7b6ae72008e069b035f738ac0879eb78e76edee5 Mon Sep 17 00:00:00 2001 From: = <=> Date: Wed, 19 Apr 2023 11:35:21 -0600 Subject: [PATCH 01/50] Bump to holochain 0.1.4 --- Cargo.lock | 1211 ++++++++++++++++++-------------- Cargo.toml | 5 +- flake.nix | 2 +- src/scaffold/dna.rs | 3 +- src/scaffold/zome/integrity.rs | 16 +- 5 files changed, 701 insertions(+), 536 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 54ff2af84..610c98c30 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -35,7 +35,7 @@ version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fcb51a0695d8f838b1ee009b3fbf66bda078cd64590202a864a8f3e8c4315c47" dependencies = [ - "getrandom 0.2.8", + "getrandom 0.2.9", "once_cell", "version_check", ] @@ -67,11 +67,60 @@ dependencies = [ "winapi 0.3.9", ] +[[package]] +name = "anstream" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9e579a7752471abc2a8268df8b20005e3eadd975f585398f17efcfd8d4927371" +dependencies = [ + "anstyle", + "anstyle-parse", + "anstyle-query", + "anstyle-wincon", + "colorchoice", + "is-terminal", + "utf8parse", +] + +[[package]] +name = "anstyle" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41ed9a86bf92ae6580e0a31281f65a1b1d867c0cc68d5346e2ae128dddfa6a7d" + +[[package]] +name = "anstyle-parse" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e765fd216e48e067936442276d1d57399e37bce53c264d6fefbe298080cb57ee" +dependencies = [ + "utf8parse", +] + +[[package]] +name = "anstyle-query" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5ca11d4be1bab0c8bc8734a9aa7bf4ee8316d462a08c6ac5052f888fef5b494b" +dependencies = [ + "windows-sys 0.48.0", +] + +[[package]] +name = "anstyle-wincon" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4bcd8291a340dd8ac70e18878bc4501dd7b4ff970cfa21c207d36ece51ea88fd" +dependencies = [ + "anstyle", + "windows-sys 0.48.0", +] + [[package]] name = "anyhow" -version = "1.0.69" +version = "1.0.70" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "224afbd727c3d6e4b90103ece64b8d1b67fbb1973b1046c2281eed3f3803f800" +checksum = "7de8ce5e0f9f8d88245311066a578d72b7af3e7088f32783804676302df237e4" [[package]] name = "approx" @@ -84,18 +133,18 @@ dependencies = [ [[package]] name = "arbitrary" -version = "1.2.3" +version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e90af4de65aa7b293ef2d09daff88501eb254f58edde2e1ac02c82d873eadad" +checksum = "e2d098ff73c1ca148721f37baad5ea6a465a13f9573aba8641fbbbae8164a54e" dependencies = [ "derive_arbitrary", ] [[package]] name = "arrayref" -version = "0.3.6" +version = "0.3.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4c527152e37cf757a3f78aae5a06fbeefdb07ccc535c980a3208ee3060dd544" +checksum = "6b4930d2cb77ce62f89ee5d5289b4ac049559b1c45539271f5ed4fdc7db34545" [[package]] name = "arrayvec" @@ -130,7 +179,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a3203e79f4dd9bdda415ed03cf14dae5a2bf775c683a00f94e9cd1faf0f596e5" dependencies = [ "quote", - "syn", + "syn 1.0.109", ] [[package]] @@ -146,9 +195,9 @@ dependencies = [ [[package]] name = "async-executor" -version = "1.5.0" +version = "1.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "17adb73da160dfb475c183343c8cccd80721ea5a605d3eb57125f0a7b7a92d0b" +checksum = "6fa3dc5f2a8564f07759c008b9109dc0d39de92a88d5588b8a5036d286383afb" dependencies = [ "async-lock", "async-task", @@ -175,39 +224,38 @@ dependencies = [ [[package]] name = "async-io" -version = "1.12.0" +version = "1.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c374dda1ed3e7d8f0d9ba58715f924862c63eae6849c92d3a18e7fbde9e2794" +checksum = "0fc5b45d93ef0529756f812ca52e44c221b35341892d3dcc34132ac02f3dd2af" dependencies = [ "async-lock", "autocfg 1.1.0", + "cfg-if 1.0.0", "concurrent-queue", "futures-lite", - "libc", "log", "parking", "polling", + "rustix", "slab", - "socket2 0.4.7", + "socket2 0.4.9", "waker-fn", - "windows-sys 0.42.0", ] [[package]] name = "async-lock" -version = "2.6.0" +version = "2.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8101efe8695a6c17e02911402145357e718ac92d3ff88ae8419e84b1707b685" +checksum = "fa24f727524730b077666307f2734b4a1a1c57acb79193127dcc8914d5242dd7" dependencies = [ "event-listener", - "futures-lite", ] [[package]] name = "async-process" -version = "1.6.0" +version = "1.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6381ead98388605d0d9ff86371043b5aa922a3905824244de40dc263a14fcba4" +checksum = "7a9d28b1d97e08915212e2e45310d47854eafa69600756fc735fb788f75199c9" dependencies = [ "async-io", "async-lock", @@ -216,9 +264,9 @@ dependencies = [ "cfg-if 1.0.0", "event-listener", "futures-lite", - "libc", + "rustix", "signal-hook", - "windows-sys 0.42.0", + "windows-sys 0.48.0", ] [[package]] @@ -229,7 +277,7 @@ checksum = "d7d78656ba01f1b93024b7c3a0467f1608e4be67d725749fdcd7d2c7678fd7a2" dependencies = [ "proc-macro2", "quote", - "syn", + "syn 1.0.109", ] [[package]] @@ -244,7 +292,7 @@ dependencies = [ "async-io", "async-lock", "async-process", - "crossbeam-utils 0.8.14", + "crossbeam-utils 0.8.15", "futures-channel", "futures-core", "futures-io", @@ -278,31 +326,31 @@ checksum = "25f9db3b38af870bf7e5cc649167533b493928e50744e2c30ae350230b414670" dependencies = [ "proc-macro2", "quote", - "syn", + "syn 1.0.109", ] [[package]] name = "async-task" -version = "4.3.0" +version = "4.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a40729d2133846d9ed0ea60a8b9541bccddab49cd30f0715a1da672fe9a2524" +checksum = "ecc7ab41815b3c653ccd2978ec3255c81349336702dfdf62ee6f7069b12a3aae" [[package]] name = "async-trait" -version = "0.1.64" +version = "0.1.68" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1cd7fce9ba8c3c042128ce72d8b2ddbf3a05747efb67ea0313c635e10bda47a2" +checksum = "b9ccdd8f2a161be9bd5c023df56f1b2a0bd1d83872ae53b71a84a12c9bf6e842" dependencies = [ "proc-macro2", "quote", - "syn", + "syn 2.0.15", ] [[package]] name = "atomic-waker" -version = "1.1.0" +version = "1.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "debc29dde2e69f9e47506b525f639ed42300fc014a3e007832592448fa8e4599" +checksum = "1181e1e0d1fce796a03db1ae795d67167da795f9cf4a39c37589e85ef57f26d3" [[package]] name = "atty" @@ -380,9 +428,9 @@ checksum = "a4a4ddaa51a5bc52a6948f74c06d20aaaddb71924eab79b8c97a8c556e942d6a" [[package]] name = "bimap" -version = "0.6.2" +version = "0.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc0455254eb5c6964c4545d8bac815e1a1be4f3afe0ae695ea539c12d728d44b" +checksum = "230c5f1ca6a325a32553f8640d31ac9b49f2411e901e427570154868b46da4f7" [[package]] name = "bincode" @@ -436,7 +484,7 @@ checksum = "3c2f0dc9a68c6317d884f97cc36cf5a3d20ba14ce404227df55e1af708ab04bc" dependencies = [ "arrayref", "arrayvec 0.7.2", - "constant_time_eq 0.2.4", + "constant_time_eq 0.2.5", ] [[package]] @@ -450,18 +498,18 @@ dependencies = [ [[package]] name = "block-buffer" -version = "0.10.3" +version = "0.10.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "69cce20737498f97b993470a6e536b8523f0af7892a4f928cceb1ac5e52ebe7e" +checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" dependencies = [ "generic-array", ] [[package]] name = "blocking" -version = "1.3.0" +version = "1.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c67b173a56acffd6d2326fb7ab938ba0b00a71480e14902b2591c87bc5741e8" +checksum = "77231a1c8f801696fc0123ec6150ce92cffb8e164a02afb9c8ddee0e9b65ad65" dependencies = [ "async-channel", "async-lock", @@ -469,6 +517,7 @@ dependencies = [ "atomic-waker", "fastrand", "futures-lite", + "log", ] [[package]] @@ -478,7 +527,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8129c0ab340c1b0caf6dbc587e814d04ba811e336dcf8fc268c04e047428ebb0" dependencies = [ "bit-vec", - "getrandom 0.2.8", + "getrandom 0.2.9", "siphasher", ] @@ -495,9 +544,9 @@ dependencies = [ [[package]] name = "bstr" -version = "1.3.0" +version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ffdb39cb703212f3c11973452c2861b972f757b021158f3516ba10f2fa8b2c1" +checksum = "c3d4260bcc2e8fc9df1eac4919a720effeb63a3f0952f5bf4944adfa18897f09" dependencies = [ "memchr", "serde", @@ -512,7 +561,7 @@ dependencies = [ "derive_more", "pipe-trait", "serde", - "serde_yaml 0.9.17", + "serde_yaml 0.9.21", "text-block-macros", "thiserror", ] @@ -525,30 +574,31 @@ checksum = "0d261e256854913907f67ed06efbc3338dfe6179796deefc1ff763fc1aee5535" [[package]] name = "bytecheck" -version = "0.6.9" +version = "0.6.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d11cac2c12b5adc6570dad2ee1b87eff4955dac476fe12d81e5fdd352e52406f" +checksum = "13fe11640a23eb24562225322cd3e452b93a3d4091d62fab69c70542fcd17d1f" dependencies = [ "bytecheck_derive", "ptr_meta", + "simdutf8", ] [[package]] name = "bytecheck_derive" -version = "0.6.9" +version = "0.6.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "13e576ebe98e605500b3c8041bb888e966653577172df6dd97398714eb30b9bf" +checksum = "e31225543cb46f81a7e224762764f4a6a0f097b1db0b175f69e8065efaa42de5" dependencies = [ "proc-macro2", "quote", - "syn", + "syn 1.0.109", ] [[package]] name = "bytemuck" -version = "1.13.0" +version = "1.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c041d3eab048880cb0b86b256447da3f18859a163c3b8d8893f4e6368abe6393" +checksum = "17febce684fd15d89027105661fec94afb475cb995fbc59d2865198446ba2eea" [[package]] name = "byteorder" @@ -575,9 +625,9 @@ checksum = "89b2fd2a0dcf38d7971e2194b6b6eebab45ae01067456a7fd93d5547a61b70be" [[package]] name = "camino" -version = "1.1.3" +version = "1.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6031a462f977dd38968b6f23378356512feeace69cef817e1a4475108093cec3" +checksum = "c530edf18f37068ac2d977409ed5cd50d53d73bc653c7647b48eb78976ac9ae2" dependencies = [ "serde", ] @@ -593,13 +643,13 @@ dependencies = [ [[package]] name = "cargo_metadata" -version = "0.15.3" +version = "0.15.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08a1ec454bc3eead8719cb56e15dbbfecdbc14e4b3a3ae4936cc6e31f5fc0d07" +checksum = "eee4243f1f26fc7a42710e7439c149e2b10b05472f88090acce52632f231a73a" dependencies = [ "camino", "cargo-platform", - "semver 1.0.16", + "semver 1.0.17", "serde", "serde_json", "thiserror", @@ -635,9 +685,9 @@ dependencies = [ [[package]] name = "chrono" -version = "0.4.23" +version = "0.4.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "16b0a3d9ed01224b22057780a37bb8c5dbfe1be8ba48678e7bf57ec4b385411f" +checksum = "4e3c5919066adf22df73762e50cffcde3a758f2a848b113b586d1f86728b673b" dependencies = [ "iana-time-zone", "js-sys", @@ -691,7 +741,7 @@ dependencies = [ "proc-macro-error", "proc-macro2", "quote", - "syn", + "syn 1.0.109", ] [[package]] @@ -722,6 +772,12 @@ dependencies = [ "unicode-width", ] +[[package]] +name = "colorchoice" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7" + [[package]] name = "colored" version = "1.9.3" @@ -733,30 +789,13 @@ dependencies = [ "winapi 0.3.9", ] -[[package]] -name = "concolor" -version = "0.0.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "318d6c16e73b3a900eb212ad6a82fc7d298c5ab8184c7a9998646455bc474a16" -dependencies = [ - "bitflags", - "concolor-query", - "is-terminal", -] - -[[package]] -name = "concolor-query" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "82a90734b3d5dcf656e7624cca6bce9c3a90ee11f900e80141a7427ccfb3d317" - [[package]] name = "concurrent-queue" -version = "2.1.0" +version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c278839b831783b70278b14df4d45e1beb1aad306c07bb796637de9a0e323e8e" +checksum = "62ec6771ecfa0762d24683ee5a32ad78487a3d3afdc0fb8cae19d2c5deb50b7c" dependencies = [ - "crossbeam-utils 0.8.14", + "crossbeam-utils 0.8.15", ] [[package]] @@ -780,9 +819,9 @@ checksum = "245097e9a4535ee1e3e3931fcfcd55a796a44c643e8596ff6566d68f09b87bbc" [[package]] name = "constant_time_eq" -version = "0.2.4" +version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3ad85c1f65dc7b37604eb0e89748faf0b9653065f2a8ef69f96a687ec1e9279" +checksum = "13418e745008f7349ec7e449155f419a61b92b58a99cc3616942b926825ec76b" [[package]] name = "contrafact" @@ -853,9 +892,9 @@ dependencies = [ [[package]] name = "core-foundation-sys" -version = "0.8.3" +version = "0.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5827cebf4670468b8772dd191856768aedcb1b0278a04f989f7766351917b9dc" +checksum = "e496a50fda8aacccc86d7529e2c1e0892dbd0f898a6b5645b5561b89c3210efa" [[package]] name = "corosensei" @@ -872,9 +911,9 @@ dependencies = [ [[package]] name = "cpufeatures" -version = "0.2.5" +version = "0.2.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28d997bd5e24a5928dd43e46dc529867e207907fe0b239c3477d924f7f2ca320" +checksum = "280a9f2d8b3a38871a3c8a46fb80db65e5e5ed97da80c4d08bf27fb63e35e181" dependencies = [ "libc", ] @@ -960,12 +999,12 @@ dependencies = [ [[package]] name = "crossbeam-channel" -version = "0.5.6" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2dd04ddaf88237dc3b8d8f9a3c1004b506b54b3313403944054d23c0870c521" +checksum = "a33c2bf77f2df06183c3aa30d1e96c0695a313d4f9c453cc3762a6db39f99200" dependencies = [ "cfg-if 1.0.0", - "crossbeam-utils 0.8.14", + "crossbeam-utils 0.8.15", ] [[package]] @@ -981,13 +1020,13 @@ dependencies = [ [[package]] name = "crossbeam-deque" -version = "0.8.2" +version = "0.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "715e8152b692bba2d374b53d4875445368fdf21a94751410af607a5ac677d1fc" +checksum = "ce6fd6f855243022dcecf8702fef0c297d4338e226845fe067f6341ad9fa0cef" dependencies = [ "cfg-if 1.0.0", - "crossbeam-epoch 0.9.13", - "crossbeam-utils 0.8.14", + "crossbeam-epoch 0.9.14", + "crossbeam-utils 0.8.15", ] [[package]] @@ -1007,14 +1046,14 @@ dependencies = [ [[package]] name = "crossbeam-epoch" -version = "0.9.13" +version = "0.9.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01a9af1f4c2ef74bb8aa1f7e19706bc72d03598c8a570bb5de72243c7a9d9d5a" +checksum = "46bd5f3f85273295a9d14aedfb86f6aadbff6d8f5295c4a9edb08e819dcf5695" dependencies = [ "autocfg 1.1.0", "cfg-if 1.0.0", - "crossbeam-utils 0.8.14", - "memoffset 0.7.1", + "crossbeam-utils 0.8.15", + "memoffset 0.8.0", "scopeguard", ] @@ -1042,9 +1081,9 @@ dependencies = [ [[package]] name = "crossbeam-utils" -version = "0.8.14" +version = "0.8.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4fb766fa798726286dbbb842f174001dab8abc7b627a1dd86e0b7222a95d929f" +checksum = "3c063cd8cc95f5c377ed0d4b49a4b21f632396ff690e8470c29b3359b346984b" dependencies = [ "cfg-if 1.0.0", ] @@ -1072,14 +1111,14 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6d2301688392eb071b0bf1a37be05c469d3cc4dbbd95df672fe28ab021e6a096" dependencies = [ "quote", - "syn", + "syn 1.0.109", ] [[package]] name = "cxx" -version = "1.0.91" +version = "1.0.94" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "86d3488e7665a7a483b57e25bdd90d0aeb2bc7608c8d0346acf2ad3f1caf1d62" +checksum = "f61f1b6389c3fe1c316bf8a4dccc90a38208354b330925bce1f74a6c4756eb93" dependencies = [ "cc", "cxxbridge-flags", @@ -1089,9 +1128,9 @@ dependencies = [ [[package]] name = "cxx-build" -version = "1.0.91" +version = "1.0.94" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "48fcaf066a053a41a81dfb14d57d99738b767febb8b735c3016e469fac5da690" +checksum = "12cee708e8962df2aeb38f594aae5d827c022b6460ac71a7a3e2c3c2aae5a07b" dependencies = [ "cc", "codespan-reporting", @@ -1099,24 +1138,24 @@ dependencies = [ "proc-macro2", "quote", "scratch", - "syn", + "syn 2.0.15", ] [[package]] name = "cxxbridge-flags" -version = "1.0.91" +version = "1.0.94" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2ef98b8b717a829ca5603af80e1f9e2e48013ab227b68ef37872ef84ee479bf" +checksum = "7944172ae7e4068c533afbb984114a56c46e9ccddda550499caa222902c7f7bb" [[package]] name = "cxxbridge-macro" -version = "1.0.91" +version = "1.0.94" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "086c685979a698443656e5cf7856c95c642295a38599f12fb1ff76fb28d19892" +checksum = "2345488264226bf682893e25de0769f3360aac9957980ec49361b083ddaa5bc5" dependencies = [ "proc-macro2", "quote", - "syn", + "syn 2.0.15", ] [[package]] @@ -1141,12 +1180,12 @@ dependencies = [ [[package]] name = "darling" -version = "0.14.3" +version = "0.14.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0808e1bd8671fb44a113a14e13497557533369847788fa2ae912b6ebfce9fa8" +checksum = "7b750cb3417fd1b327431a470f388520309479ab0bf5e323505daf0290cd3850" dependencies = [ - "darling_core 0.14.3", - "darling_macro 0.14.3", + "darling_core 0.14.4", + "darling_macro 0.14.4", ] [[package]] @@ -1160,7 +1199,7 @@ dependencies = [ "proc-macro2", "quote", "strsim 0.9.3", - "syn", + "syn 1.0.109", ] [[package]] @@ -1174,21 +1213,21 @@ dependencies = [ "proc-macro2", "quote", "strsim 0.10.0", - "syn", + "syn 1.0.109", ] [[package]] name = "darling_core" -version = "0.14.3" +version = "0.14.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "001d80444f28e193f30c2f293455da62dcf9a6b29918a4253152ae2b1de592cb" +checksum = "109c1ca6e6b7f82cc233a97004ea8ed7ca123a9af07a8230878fcfda9b158bf0" dependencies = [ "fnv", "ident_case", "proc-macro2", "quote", "strsim 0.10.0", - "syn", + "syn 1.0.109", ] [[package]] @@ -1199,7 +1238,7 @@ checksum = "d9b5a2f4ac4969822c62224815d069952656cadc7084fdca9751e6d959189b72" dependencies = [ "darling_core 0.10.2", "quote", - "syn", + "syn 1.0.109", ] [[package]] @@ -1210,18 +1249,18 @@ checksum = "9c972679f83bdf9c42bd905396b6c3588a843a17f0f16dfcfa3e2c5d57441835" dependencies = [ "darling_core 0.13.4", "quote", - "syn", + "syn 1.0.109", ] [[package]] name = "darling_macro" -version = "0.14.3" +version = "0.14.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b36230598a2d5de7ec1c6f51f72d8a99a9208daff41de2084d06e3fd3ea56685" +checksum = "a4aab4dbc9f7611d8b55048a3a16d2d010c2c8334e46304b40ac1cc14bf3b48e" dependencies = [ - "darling_core 0.14.3", + "darling_core 0.14.4", "quote", - "syn", + "syn 1.0.109", ] [[package]] @@ -1270,18 +1309,18 @@ checksum = "fcc3dd5e9e9c0b295d6e1e4d811fb6f157d5ffd784b8d202fc62eac8035a770b" dependencies = [ "proc-macro2", "quote", - "syn", + "syn 1.0.109", ] [[package]] name = "derive_arbitrary" -version = "1.2.3" +version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8beee4701e2e229e8098bbdecdca12449bc3e322f137d269182fa1291e20bd00" +checksum = "f3cdeb9ec472d588e539a818b2dee436825730da08ad0017c4b1a17676bdc8b7" dependencies = [ "proc-macro2", "quote", - "syn", + "syn 1.0.109", ] [[package]] @@ -1294,7 +1333,7 @@ dependencies = [ "derive_builder_core", "proc-macro2", "quote", - "syn", + "syn 1.0.109", ] [[package]] @@ -1306,7 +1345,7 @@ dependencies = [ "darling 0.10.2", "proc-macro2", "quote", - "syn", + "syn 1.0.109", ] [[package]] @@ -1319,14 +1358,14 @@ dependencies = [ "proc-macro2", "quote", "rustc_version 0.4.0", - "syn", + "syn 1.0.109", ] [[package]] name = "dialoguer" -version = "0.10.3" +version = "0.10.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af3c796f3b0b408d9fd581611b47fa850821fcb84aa640b83a3c1a5be2d691f2" +checksum = "59c6f2989294b9a498d3ad5491a79c6deb604617378e1cdc4bfc1c1361fe2f87" dependencies = [ "console", "shell-words", @@ -1367,7 +1406,7 @@ version = "0.10.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8168378f4e5023e7218c89c891c0fd8ecdb5e5e4f18cb78f38cf245dd021e76f" dependencies = [ - "block-buffer 0.10.3", + "block-buffer 0.10.4", "crypto-common", ] @@ -1431,9 +1470,9 @@ checksum = "56899898ce76aaf4a0f24d914c97ea6ed976d42fec6ad33fcbb0a1103e07b2b0" [[package]] name = "dunce" -version = "1.0.3" +version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0bd4b30a6560bbd9b4620f4de34c3f14f60848e58a9b7216801afcb4c7b31c3c" +checksum = "56ce8c6da7551ec6c462cbaf3bfbc75131ebbfa1c944aeaa9dab51ca1c5f0c3b" [[package]] name = "either" @@ -1473,7 +1512,7 @@ checksum = "c134c37760b27a871ba422106eedbb8247da973a09e82558bf26d619c882b159" dependencies = [ "proc-macro2", "quote", - "syn", + "syn 1.0.109", ] [[package]] @@ -1491,10 +1530,10 @@ version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "03e7b551eba279bf0fa88b83a46330168c1560a52a94f5126f892f0b364ab3e0" dependencies = [ - "darling 0.14.3", + "darling 0.14.4", "proc-macro2", "quote", - "syn", + "syn 1.0.109", ] [[package]] @@ -1516,19 +1555,19 @@ dependencies = [ "proc-macro2", "quote", "rustversion", - "syn", + "syn 1.0.109", "synstructure", ] [[package]] name = "errno" -version = "0.2.8" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f639046355ee4f37944e44f60642c6f3a7efa3cf6b78c78a0d989a8ce6c396a1" +checksum = "4bcfec3a70f97c962c307b2d2c56e358cf1d00b558d74262b5f929ee8cc7e73a" dependencies = [ "errno-dragonfly", "libc", - "winapi 0.3.9", + "windows-sys 0.48.0", ] [[package]] @@ -1565,7 +1604,7 @@ checksum = "aa4da3c766cd7a0db8242e326e9e4e081edd567072893ed320008189715366a4" dependencies = [ "proc-macro2", "quote", - "syn", + "syn 1.0.109", "synstructure", ] @@ -1592,14 +1631,14 @@ dependencies = [ [[package]] name = "filetime" -version = "0.2.20" +version = "0.2.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a3de6e8d11b22ff9edc6d916f890800597d60f8b2da1caf2955c274638d6412" +checksum = "5cbc844cecaee9d4443931972e1289c8ff485cb4cc2767cb03ca139ed6885153" dependencies = [ "cfg-if 1.0.0", "libc", "redox_syscall 0.2.16", - "windows-sys 0.45.0", + "windows-sys 0.48.0", ] [[package]] @@ -1713,9 +1752,9 @@ checksum = "3a471a38ef8ed83cd6e40aa59c1ffe17db6855c18e3604d9c4ed8c08ebc28678" [[package]] name = "futures" -version = "0.3.26" +version = "0.3.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "13e2792b0ff0340399d58445b88fd9770e3489eff258a4cbc1523418f12abf84" +checksum = "23342abe12aba583913b2e62f22225ff9c950774065e4bfb61a19cd9770fec40" dependencies = [ "futures-channel", "futures-core", @@ -1728,9 +1767,9 @@ dependencies = [ [[package]] name = "futures-channel" -version = "0.3.26" +version = "0.3.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e5317663a9089767a1ec00a487df42e0ca174b61b4483213ac24448e4664df5" +checksum = "955518d47e09b25bbebc7a18df10b81f0c766eaf4c4f1cccef2fca5f2a4fb5f2" dependencies = [ "futures-core", "futures-sink", @@ -1738,9 +1777,9 @@ dependencies = [ [[package]] name = "futures-core" -version = "0.3.26" +version = "0.3.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec90ff4d0fe1f57d600049061dc6bb68ed03c7d2fbd697274c41805dcb3f8608" +checksum = "4bca583b7e26f571124fe5b7561d49cb2868d79116cfa0eefce955557c6fee8c" [[package]] name = "futures-cpupool" @@ -1754,9 +1793,9 @@ dependencies = [ [[package]] name = "futures-executor" -version = "0.3.26" +version = "0.3.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8de0a35a6ab97ec8869e32a2473f4b1324459e14c29275d14b10cb1fd19b50e" +checksum = "ccecee823288125bd88b4d7f565c9e58e41858e47ab72e8ea2d64e93624386e0" dependencies = [ "futures-core", "futures-task", @@ -1765,15 +1804,15 @@ dependencies = [ [[package]] name = "futures-io" -version = "0.3.26" +version = "0.3.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bfb8371b6fb2aeb2d280374607aeabfc99d95c72edfe51692e42d3d7f0d08531" +checksum = "4fff74096e71ed47f8e023204cfd0aa1289cd54ae5430a9523be060cdb849964" [[package]] name = "futures-lite" -version = "1.12.0" +version = "1.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7694489acd39452c77daa48516b894c153f192c3578d5a839b62c58099fcbf48" +checksum = "49a9d51ce47660b1e808d3c990b4709f2f415d928835a17dfd16991515c46bce" dependencies = [ "fastrand", "futures-core", @@ -1786,26 +1825,26 @@ dependencies = [ [[package]] name = "futures-macro" -version = "0.3.26" +version = "0.3.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95a73af87da33b5acf53acfebdc339fe592ecf5357ac7c0a7734ab9d8c876a70" +checksum = "89ca545a94061b6365f2c7355b4b32bd20df3ff95f02da9329b34ccc3bd6ee72" dependencies = [ "proc-macro2", "quote", - "syn", + "syn 2.0.15", ] [[package]] name = "futures-sink" -version = "0.3.26" +version = "0.3.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f310820bb3e8cfd46c80db4d7fb8353e15dfff853a127158425f31e0be6c8364" +checksum = "f43be4fe21a13b9781a69afa4985b0f6ee0e1afab2c6f454a8cf30e2b2237b6e" [[package]] name = "futures-task" -version = "0.3.26" +version = "0.3.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dcf79a1bf610b10f42aea489289c5a2c478a786509693b80cd39c44ccd936366" +checksum = "76d3d132be6c0e6aa1534069c705a74a5997a356c0dc2f86a47765e5617c5b65" [[package]] name = "futures-timer" @@ -1815,9 +1854,9 @@ checksum = "e64b03909df88034c26dc1547e8970b91f98bdb65165d6a4e9110d94263dbb2c" [[package]] name = "futures-util" -version = "0.3.26" +version = "0.3.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c1d6de3acfef38d2be4b1f543f553131788603495be83da675e180c8d6b7bd1" +checksum = "26b01e40b772d54cf6c6d721c1d1abd0647a0106a12ecaa1c186273392a69533" dependencies = [ "futures-channel", "futures-core", @@ -1854,9 +1893,9 @@ dependencies = [ [[package]] name = "generic-array" -version = "0.14.6" +version = "0.14.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bff49e947297f3312447abdca79f45f4738097cc82b06e72054d2223f601f1b9" +checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" dependencies = [ "typenum", "version_check", @@ -1875,9 +1914,9 @@ dependencies = [ [[package]] name = "getrandom" -version = "0.2.8" +version = "0.2.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c05aeb6a22b8f62540c194aac980f2115af067bfe15a0734d7277a768d396b31" +checksum = "c85e1d9ab2eadba7e5040d4e09cbd6d072b76a557ad64e797c2cb9d4da21d7e4" dependencies = [ "cfg-if 1.0.0", "libc", @@ -1890,7 +1929,7 @@ version = "0.3.0-alpha.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8ecc8c54b8ebb1e0347a75a2c1e54268c737313da693f99c0964643011e5406d" dependencies = [ - "futures 0.3.26", + "futures 0.3.28", "mockall", "must_future", "observability", @@ -1906,7 +1945,7 @@ version = "0.4.0-alpha.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "52cb0746ab4cf003d75cdbaaae2cf95139ec9607ae46bd5c68721bda2ca0c824" dependencies = [ - "futures 0.3.26", + "futures 0.3.28", "tracing", ] @@ -1934,7 +1973,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "029d74589adefde59de1a0c4f4732695c32805624aec7b68d91503d4dba79afc" dependencies = [ "aho-corasick", - "bstr 1.3.0", + "bstr 1.4.0", "fnv", "log", "regex", @@ -1959,7 +1998,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "06c5d2f987ee8f6dff3fa1a352058dc59b990e447e4c7846aa7d804971314f7b" dependencies = [ "dashmap 4.0.2", - "futures 0.3.26", + "futures 0.3.28", "futures-timer", "no-std-compat", "nonzero_ext", @@ -1989,9 +2028,9 @@ dependencies = [ [[package]] name = "h2" -version = "0.3.15" +version = "0.3.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f9f29bc9dda355256b2916cf526ab02ce0aeaaaf2bad60d65ef3f12f11dd0f4" +checksum = "17f8a914c2987b688368b5138aa05321db91f4090cf26118185672ad588bce21" dependencies = [ "bytes 1.4.0", "fnv", @@ -2001,7 +2040,7 @@ dependencies = [ "http 0.2.9", "indexmap", "slab", - "tokio 1.25.0", + "tokio 1.27.0", "tokio-util", "tracing", ] @@ -2063,7 +2102,7 @@ version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6bfd1584a885bb064bd877e78a43465261c5bd369c001e7095ab5b00cb57b3c5" dependencies = [ - "futures 0.3.26", + "futures 0.3.28", "one_err", "rmp-serde 1.1.1", "rmpv", @@ -2074,9 +2113,9 @@ dependencies = [ [[package]] name = "hdi" -version = "0.2.1" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8046116c32434837d28ad1b443802e2444a38d8cdb69caca9169414364fe0b69" +checksum = "5b9f6105d20d9c8dcac3b967bef3de5c811d43de3079c60f05ddebb86421f362" dependencies = [ "hdk_derive", "holo_hash", @@ -2091,11 +2130,11 @@ dependencies = [ [[package]] name = "hdk" -version = "0.1.1" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0cbecb374a53eba516cbfefaad21f4bc805f4c731b81bd800a9a9e0239004eb3" +checksum = "a354d9b29d879b8e05c2e1e5f5a9657dac2a1f4be6732ecc4d72273cf6d30bbd" dependencies = [ - "getrandom 0.2.8", + "getrandom 0.2.9", "hdi", "hdk_derive", "holo_hash", @@ -2111,18 +2150,18 @@ dependencies = [ [[package]] name = "hdk_derive" -version = "0.1.1" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa8eade453438a832944ab3f4006482f6bb5693997ff58e3049f23a8f8c617a4" +checksum = "3b42de4f722e215382845ca26d6b71d557f843c674dfd9463cb517873c6cade8" dependencies = [ - "darling 0.14.3", + "darling 0.14.4", "heck 0.4.1", "holochain_integrity_types", "paste", "proc-macro-error", "proc-macro2", "quote", - "syn", + "syn 1.0.109", ] [[package]] @@ -2172,16 +2211,16 @@ checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" [[package]] name = "holo_hash" -version = "0.1.1" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9cffb2fb9ce1d2ce4c98d4cc9d625ddb92f6982f47094ed2e36fa93f5a096f36" +checksum = "3d8076a1021ca8bf729d4224c4facd24f06c3aebd3fd335080d1460495538dfd" dependencies = [ "arbitrary", "base64 0.13.1", "blake2b_simd 0.5.11", "derive_more", "fixt", - "futures 0.3.26", + "futures 0.3.28", "holochain_serialized_bytes 0.0.51", "kitsune_p2p_dht_arc", "must_future", @@ -2194,9 +2233,9 @@ dependencies = [ [[package]] name = "holochain" -version = "0.1.3" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2eefbd616e9d453069b1a480921e23e8f6ab506f6aed9d2d4d666e1b1212a22f" +checksum = "2ec4017d1b3d07503f7a17b2df428acd87c19c318b26c3f6560eabc3b45d6cc4" dependencies = [ "anyhow", "async-recursion", @@ -2210,8 +2249,8 @@ dependencies = [ "either", "fallible-iterator", "fixt", - "futures 0.3.26", - "getrandom 0.2.8", + "futures 0.3.28", + "getrandom 0.2.9", "ghost_actor 0.3.0-alpha.4", "hdk", "holo_hash", @@ -2253,7 +2292,7 @@ dependencies = [ "sd-notify", "serde", "serde_json", - "serde_yaml 0.9.17", + "serde_yaml 0.9.21", "shrinkwraprs", "sodoken", "structopt", @@ -2263,9 +2302,9 @@ dependencies = [ "tempfile", "thiserror", "tiny-keccak", - "tokio 1.25.0", + "tokio 1.27.0", "tokio-stream", - "toml", + "toml 0.5.11", "tracing", "tracing-futures", "tracing-subscriber 0.2.25", @@ -2279,16 +2318,16 @@ dependencies = [ [[package]] name = "holochain_cascade" -version = "0.1.3" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5511b59a3bbd7b304231cf126d4e47c9019e7ea93453043ee966269db03933a3" +checksum = "fb03147cc0e99e5236fe5f6e77e5fa296bd281c4da2ace18c948e6dcd085e5ee" dependencies = [ "async-trait", "derive_more", "either", "fallible-iterator", "fixt", - "futures 0.3.26", + "futures 0.3.28", "ghost_actor 0.3.0-alpha.4", "hdk", "hdk_derive", @@ -2305,16 +2344,16 @@ dependencies = [ "serde", "serde_derive", "thiserror", - "tokio 1.25.0", + "tokio 1.27.0", "tracing", "tracing-futures", ] [[package]] name = "holochain_conductor_api" -version = "0.1.3" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2d9333662702f2311b246629d481af0a0ca135b630ffa15030148b3b7a3dab3" +checksum = "09e86402c2b1b92e3badc5144934e64b09099b79c8f80d239a8dc60125385e87" dependencies = [ "derive_more", "directories", @@ -2328,7 +2367,7 @@ dependencies = [ "kitsune_p2p", "serde", "serde_derive", - "serde_yaml 0.9.17", + "serde_yaml 0.9.21", "structopt", "thiserror", "tracing", @@ -2337,9 +2376,9 @@ dependencies = [ [[package]] name = "holochain_integrity_types" -version = "0.1.1" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b0630a221701e40ddf0fb369ead8eb6e18e3ec84241b3c77f803ea137930017b" +checksum = "5755ca3e4d8d3121c8294b8ac21a1da072350519309381336ff9e0aaee80e1b5" dependencies = [ "arbitrary", "holo_hash", @@ -2354,12 +2393,12 @@ dependencies = [ [[package]] name = "holochain_keystore" -version = "0.1.3" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "059dee6a00350fa587be768b1764e32b419c9e351c69a4e3a4271194d62d8978" +checksum = "5c42da7f8151feca101feb628252774771834e700e72dc57f67d7ec11b574c7f" dependencies = [ "base64 0.13.1", - "futures 0.3.26", + "futures 0.3.28", "holo_hash", "holochain_serialized_bytes 0.0.51", "holochain_sqlite", @@ -2374,20 +2413,20 @@ dependencies = [ "serde_bytes", "sodoken", "thiserror", - "tokio 1.25.0", + "tokio 1.27.0", "tracing", ] [[package]] name = "holochain_p2p" -version = "0.1.3" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53999f3ca97800d6888a1dff7d92c0646505b5179d64ad424aa67faad927b697" +checksum = "f1ead00875101cad60884f113284d0e62ccaf70b27f700b7f7133fcdec3850a8" dependencies = [ "async-trait", "derive_more", "fixt", - "futures 0.3.26", + "futures 0.3.28", "ghost_actor 0.3.0-alpha.4", "holo_hash", "holochain_keystore", @@ -2404,7 +2443,7 @@ dependencies = [ "serde_bytes", "serde_json", "thiserror", - "tokio 1.25.0", + "tokio 1.27.0", "tokio-stream", ] @@ -2434,16 +2473,16 @@ dependencies = [ "proc-macro2", "quote", "regex", - "semver 1.0.16", + "semver 1.0.17", "serde", "serde_json", "serde_yaml 0.8.26", "structopt", - "syn", + "syn 1.0.109", "temp-dir", "thiserror", - "tokio 1.25.0", - "toml", + "tokio 1.27.0", + "toml 0.5.11", ] [[package]] @@ -2484,7 +2523,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1077232d0c427d64feb9e138fa22800e447eafb1810682d6c13beb95333cb32c" dependencies = [ "quote", - "syn", + "syn 1.0.109", ] [[package]] @@ -2494,14 +2533,14 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "17cec0d0c2317fcb87772d0a8b5b5e88c7276aef93bf3496931e89cb9231c129" dependencies = [ "quote", - "syn", + "syn 1.0.109", ] [[package]] name = "holochain_sqlite" -version = "0.1.3" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c9dd4458fe36cd8b7b6c2db9e6d1479d29f5cb9d716f55e3fd82bd90c36e3ea2" +checksum = "6dad83e4dc6001f80b99d9e9863730d97dd560a562ffbde209a9b4c0b8ac097c" dependencies = [ "anyhow", "async-trait", @@ -2514,8 +2553,8 @@ dependencies = [ "failure", "fallible-iterator", "fixt", - "futures 0.3.26", - "getrandom 0.2.8", + "futures 0.3.28", + "getrandom 0.2.9", "holo_hash", "holochain_serialized_bytes 0.0.51", "holochain_util", @@ -2543,16 +2582,16 @@ dependencies = [ "sqlformat 0.1.8", "tempfile", "thiserror", - "tokio 1.25.0", + "tokio 1.27.0", "tracing", "tracing-futures", ] [[package]] name = "holochain_state" -version = "0.1.3" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38d84d3a63aa4d863d789d2c16d50312cf4ab1846add49cc3d81ec7e4896843c" +checksum = "3745dc3a741280e9bd690b7dae1a633c7264b9c695aaa6ceae65c80443f7def4" dependencies = [ "async-recursion", "base64 0.13.1", @@ -2564,8 +2603,8 @@ dependencies = [ "derive_more", "either", "fallible-iterator", - "futures 0.3.26", - "getrandom 0.2.8", + "futures 0.3.28", + "getrandom 0.2.9", "holo_hash", "holochain_keystore", "holochain_p2p", @@ -2585,16 +2624,16 @@ dependencies = [ "shrinkwraprs", "tempfile", "thiserror", - "tokio 1.25.0", + "tokio 1.27.0", "tracing", "tracing-futures", ] [[package]] name = "holochain_test_wasm_common" -version = "0.1.1" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac8fc20529a8d12c51556802a17da0dd34a64f58d1d8eb7481f62a7995f5368f" +checksum = "97bf9098c13c40681fe96eaacbc1918ea07656595789ad03184271803c6aa5a5" dependencies = [ "hdk", "serde", @@ -2602,9 +2641,9 @@ dependencies = [ [[package]] name = "holochain_types" -version = "0.1.3" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d959c594b73ddf81322409e1950c52faec24dd46e803cc5464ada02d2ab302f" +checksum = "39681c5767cebf220f706be13801a451a61535d83ddaf20a640597c8518fa2a6" dependencies = [ "anyhow", "arbitrary", @@ -2620,7 +2659,7 @@ dependencies = [ "either", "fixt", "flate2", - "futures 0.3.26", + "futures 0.3.28", "holo_hash", "holochain_keystore", "holochain_serialized_bytes 0.0.51", @@ -2645,13 +2684,13 @@ dependencies = [ "serde_bytes", "serde_derive", "serde_with", - "serde_yaml 0.9.17", + "serde_yaml 0.9.21", "shrinkwraprs", "strum", "strum_macros 0.18.0", "tempfile", "thiserror", - "tokio 1.25.0", + "tokio 1.27.0", "tracing", ] @@ -2665,25 +2704,25 @@ dependencies = [ "cfg-if 0.1.10", "derive_more", "dunce", - "futures 0.3.26", + "futures 0.3.28", "num_cpus", "once_cell", "rpassword 7.2.0", "sodoken", - "tokio 1.25.0", + "tokio 1.27.0", ] [[package]] name = "holochain_wasm_test_utils" -version = "0.1.3" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84299bac292ea3684d17fe2f666355d15a4346a5e61df8e28fffb8184be21c2c" +checksum = "9e86e3abe453264013e1eecdb61c95d9218dd8fb45fbae7249df585916a3aedc" dependencies = [ "holochain_types", "holochain_util", "strum", "strum_macros 0.18.0", - "toml", + "toml 0.5.11", "walkdir", ] @@ -2739,7 +2778,7 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3e1fd11a074d217a090449c63b71c1ffb8e07a6700a67cc4eab779159e925b7f" dependencies = [ - "futures 0.3.26", + "futures 0.3.28", "ghost_actor 0.4.0-alpha.5", "holochain_serialized_bytes 0.0.51", "must_future", @@ -2749,7 +2788,7 @@ dependencies = [ "serde_bytes", "stream-cancel", "thiserror", - "tokio 1.25.0", + "tokio 1.27.0", "tokio-stream", "tokio-tungstenite", "tracing", @@ -2760,9 +2799,9 @@ dependencies = [ [[package]] name = "holochain_zome_types" -version = "0.1.1" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "df99af259b89d8309121d2a81852f8e468dc587332ce59a93130f4e1149758b4" +checksum = "fd45986999baf8590ff444442cdbbd460ae26e8ecaa7494a69f081c897bbe714" dependencies = [ "arbitrary", "contrafact", @@ -2782,7 +2821,7 @@ dependencies = [ "rusqlite", "serde", "serde_bytes", - "serde_yaml 0.9.17", + "serde_yaml 0.9.21", "shrinkwraprs", "strum", "subtle", @@ -2830,7 +2869,7 @@ checksum = "bd6effc99afb63425aff9b05836f029929e345a6148a14b7ecd5ab67af944482" dependencies = [ "bytes 1.4.0", "fnv", - "itoa 1.0.5", + "itoa 1.0.6", ] [[package]] @@ -2870,18 +2909,18 @@ checksum = "c4a1e36c821dbe04574f602848a19f742f4fb3c98d40449f11bcad18d6b17421" [[package]] name = "human-panic" -version = "1.1.0" +version = "1.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87eb03e654582b31967d414b86711a7bbd7c6b28a6b7d32857b7d1d45c0926f9" +checksum = "c16465f6227e18e5a64eba488245d7b2974d4db0c4404ca5a69b550defa18d0a" dependencies = [ + "anstream", + "anstyle", "backtrace", - "concolor", "os_info", "serde", "serde_derive", - "termcolor", - "toml", - "uuid 0.8.2", + "toml 0.7.3", + "uuid 1.3.1", ] [[package]] @@ -2916,23 +2955,23 @@ dependencies = [ [[package]] name = "hyper" -version = "0.14.24" +version = "0.14.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e011372fa0b68db8350aa7a248930ecc7839bf46d8485577d69f117a75f164c" +checksum = "ab302d72a6f11a3b910431ff93aae7e773078c769f0a3ef15fb9ec692ed147d4" dependencies = [ "bytes 1.4.0", "futures-channel", "futures-core", "futures-util", - "h2 0.3.15", + "h2 0.3.18", "http 0.2.9", "http-body 0.4.5", "httparse", "httpdate", - "itoa 1.0.5", + "itoa 1.0.6", "pin-project-lite", - "socket2 0.4.7", - "tokio 1.25.0", + "socket2 0.4.9", + "tokio 1.27.0", "tower-service", "tracing", "want 0.3.0", @@ -2958,24 +2997,24 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d6183ddfa99b85da61a140bea0efc93fdf56ceaa041b37d553518030827f9905" dependencies = [ "bytes 1.4.0", - "hyper 0.14.24", + "hyper 0.14.26", "native-tls", - "tokio 1.25.0", + "tokio 1.27.0", "tokio-native-tls", ] [[package]] name = "iana-time-zone" -version = "0.1.53" +version = "0.1.56" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "64c122667b287044802d6ce17ee2ddf13207ed924c712de9a66a5814d5b64765" +checksum = "0722cd7114b7de04316e7ea5456a0bbb20e4adb46fd27a3697adb812cff0f37c" dependencies = [ "android_system_properties", "core-foundation-sys", "iana-time-zone-haiku", "js-sys", "wasm-bindgen", - "winapi 0.3.9", + "windows", ] [[package]] @@ -3101,9 +3140,9 @@ dependencies = [ [[package]] name = "indexmap" -version = "1.9.2" +version = "1.9.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1885e79c1fc4b10f0e172c475f458b7f7b93061064d98c3293e98c5ba0c8b399" +checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99" dependencies = [ "autocfg 1.1.0", "hashbrown 0.12.3", @@ -3133,11 +3172,11 @@ dependencies = [ "atty", "clap 3.2.23", "crossbeam-channel", - "crossbeam-utils 0.8.14", + "crossbeam-utils 0.8.15", "dashmap 5.4.0", "env_logger", "indexmap", - "itoa 1.0.5", + "itoa 1.0.6", "lazy_static", "log", "num-format", @@ -3180,12 +3219,13 @@ dependencies = [ [[package]] name = "io-lifetimes" -version = "1.0.5" +version = "1.0.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1abeb7a0dd0f8181267ff8adc397075586500b81b28a73e8a0208b00fc170fb3" +checksum = "9c66c74d2ae7e79a5a8f7ac924adbe38ee42a859c6539ad869eb51f0b52dc220" dependencies = [ + "hermit-abi 0.3.1", "libc", - "windows-sys 0.45.0", + "windows-sys 0.48.0", ] [[package]] @@ -3199,20 +3239,20 @@ dependencies = [ [[package]] name = "ipnet" -version = "2.7.1" +version = "2.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "30e22bd8629359895450b59ea7a776c850561b96a3b1d31321c1949d9e6c9146" +checksum = "12b6ee2129af8d4fb011108c73d99a1b83a85977f23b82460c0ae2e25bb4b57f" [[package]] name = "is-terminal" -version = "0.4.4" +version = "0.4.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21b6b32576413a8e69b90e952e4a026476040d81017b80445deda5f2d3921857" +checksum = "adcf93614601c8129ddf72e2d5633df827ba6551541c6d8c59520a371475be1f" dependencies = [ "hermit-abi 0.3.1", "io-lifetimes", "rustix", - "windows-sys 0.45.0", + "windows-sys 0.48.0", ] [[package]] @@ -3221,7 +3261,7 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "868ab2c0c71eff3fca21f4ea4673ade85ca0149c45a55c79016147562737aef8" dependencies = [ - "futures 0.3.26", + "futures 0.3.28", "paste", ] @@ -3251,9 +3291,9 @@ checksum = "b71991ff56294aa922b450139ee08b3bfc70982c6b2c7562771375cf73542dd4" [[package]] name = "itoa" -version = "1.0.5" +version = "1.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fad582f4b9e86b6caa621cabeb0963332d92eea04729ab12892c2533951e6440" +checksum = "453ad9f582a441959e5f0d088b02ce04cfe8d51a8eaf077f12ac6d3e94164ca6" [[package]] name = "js-sys" @@ -3285,9 +3325,9 @@ dependencies = [ [[package]] name = "kitsune_p2p" -version = "0.1.2" +version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e96901f1dd6855a8a30230100ee8c57819e455f37c916da10cd108b26e03244f" +checksum = "cfda706b5e183af43db1fa33698d2d5c035a0d9831b70d92e4f148febbf93e91" dependencies = [ "arbitrary", "arrayref", @@ -3296,7 +3336,7 @@ dependencies = [ "bloomfilter", "derive_more", "fixt", - "futures 0.3.26", + "futures 0.3.28", "ghost_actor 0.3.0-alpha.4", "governor", "itertools 0.10.5", @@ -3315,13 +3355,13 @@ dependencies = [ "once_cell", "parking_lot 0.11.2", "rand 0.8.5", - "reqwest 0.11.14", + "reqwest 0.11.16", "serde", "serde_bytes", "serde_json", "shrinkwraprs", "thiserror", - "tokio 1.25.0", + "tokio 1.27.0", "tokio-stream", "tracing", "url2", @@ -3336,7 +3376,7 @@ dependencies = [ "colored", "derivative", "derive_more", - "futures 0.3.26", + "futures 0.3.28", "gcollections", "intervallum", "kitsune_p2p_dht_arc", @@ -3372,7 +3412,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "26017ad7656a9d0b6a9a3ccd5a180f9e915a76c92ea895064e34c8003d2f5e7b" dependencies = [ "derive_more", - "futures 0.3.26", + "futures 0.3.28", "kitsune_p2p_timestamp", "kitsune_p2p_types", "linked-hash-map", @@ -3381,7 +3421,7 @@ dependencies = [ "serde", "serde_bytes", "thiserror", - "tokio 1.25.0", + "tokio 1.27.0", "tracing", ] @@ -3398,7 +3438,7 @@ dependencies = [ "futures-util", "libmdns", "mdns", - "tokio 1.25.0", + "tokio 1.27.0", "tokio-stream", ] @@ -3411,7 +3451,7 @@ dependencies = [ "base64 0.13.1", "blake2b_simd 0.5.11", "derive_more", - "futures 0.3.26", + "futures 0.3.28", "kitsune_p2p_transport_quic", "kitsune_p2p_types", "nanoid 0.3.0", @@ -3422,7 +3462,7 @@ dependencies = [ "serde", "serde_bytes", "structopt", - "tokio 1.25.0", + "tokio 1.27.0", "tracing-subscriber 0.2.25", "webpki 0.21.4", ] @@ -3447,7 +3487,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "32d9687db0e42e1c46f430aa4fd186b766a7b9de88527272e5fd2539fc878298" dependencies = [ "blake2b_simd 1.0.1", - "futures 0.3.26", + "futures 0.3.28", "if-addrs 0.7.0", "kitsune_p2p_types", "nanoid 0.4.0", @@ -3456,7 +3496,7 @@ dependencies = [ "rcgen 0.9.3", "rustls", "serde", - "tokio 1.25.0", + "tokio 1.27.0", "webpki 0.22.0", ] @@ -3469,7 +3509,7 @@ dependencies = [ "arbitrary", "base64 0.13.1", "derive_more", - "futures 0.3.26", + "futures 0.3.28", "ghost_actor 0.3.0-alpha.4", "kitsune_p2p_dht", "kitsune_p2p_dht_arc", @@ -3489,7 +3529,7 @@ dependencies = [ "shrinkwraprs", "sysinfo", "thiserror", - "tokio 1.25.0", + "tokio 1.27.0", "tokio-stream", "url 2.3.1", "url2", @@ -3537,9 +3577,9 @@ dependencies = [ "rcgen 0.10.0", "serde", "serde_json", - "serde_yaml 0.9.17", - "tokio 1.25.0", - "toml", + "serde_yaml 0.9.21", + "tokio 1.27.0", + "toml 0.5.11", "tracing", "url 2.3.1", "winapi 0.3.9", @@ -3560,9 +3600,9 @@ checksum = "884e2677b40cc8c339eaefcb701c32ef1fd2493d71118dc0ca4b6a736c93bd67" [[package]] name = "libc" -version = "0.2.139" +version = "0.2.141" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "201de327520df007757c1f0adce6e827fe8562fbc28bfd9c15571c66ca1f5f79" +checksum = "3304a64d199bb964be99741b7a14d26972741915b3649639149b2479bb46f4b5" [[package]] name = "libflate" @@ -3615,7 +3655,7 @@ dependencies = [ "quick-error", "rand 0.8.5", "socket2 0.3.19", - "tokio 1.25.0", + "tokio 1.27.0", ] [[package]] @@ -3663,9 +3703,9 @@ checksum = "0717cef1bc8b636c6e1c1bbdefc09e6322da8a9321966e8928ef80d20f7f770f" [[package]] name = "linux-raw-sys" -version = "0.1.4" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f051f77a7c8e6957c0696eac88f26b0117e54f52d3fc682ab19397a8812846a4" +checksum = "3f508063cc7bb32987c71511216bd5a32be15bccb6a80b52df8b9d7f01fc3aa2" [[package]] name = "lock_api" @@ -3714,7 +3754,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c0fbfc88337168279f2e9ae06e157cfed4efd3316e14dc96ed074d4f2e6c5952" dependencies = [ "quote", - "syn", + "syn 1.0.109", ] [[package]] @@ -3837,18 +3877,18 @@ dependencies = [ [[package]] name = "memoffset" -version = "0.7.1" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5de893c32cde5f383baa4c04c5d6dbdd735cfd4a794b0debdb2bb1b421da5ff4" +checksum = "d61c719bcfbcf5d62b3a09efa6088de8c54bc0bfcd3ea7ae39fcc186108b8de1" dependencies = [ "autocfg 1.1.0", ] [[package]] name = "mime" -version = "0.3.16" +version = "0.3.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a60c7ce501c71e03a9c9c0d35b861413ae925bd979cc7a4e30d060069aaac8d" +checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a" [[package]] name = "mime_guess" @@ -3948,7 +3988,7 @@ dependencies = [ "cfg-if 1.0.0", "proc-macro2", "quote", - "syn", + "syn 1.0.109", ] [[package]] @@ -3968,14 +4008,14 @@ dependencies = [ "derive_more", "either", "flate2", - "futures 0.3.26", + "futures 0.3.28", "holochain_util", - "reqwest 0.11.14", + "reqwest 0.11.16", "rmp-serde 0.15.5", "serde", "serde_bytes", "serde_derive", - "serde_yaml 0.9.17", + "serde_yaml 0.9.21", "thiserror", ] @@ -3994,7 +4034,7 @@ version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a160ffed3c2f98d2906c67a9b6e4e1f09cca7e17e3f780286a349061459eeebe" dependencies = [ - "futures 0.3.26", + "futures 0.3.28", "pin-utils", ] @@ -4024,7 +4064,7 @@ checksum = "01fcc0b8149b4632adc89ac3b7b31a12fb6099a0317a4eb2ebff574ef7de7218" dependencies = [ "proc-macro2", "quote", - "syn", + "syn 1.0.109", ] [[package]] @@ -4174,7 +4214,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a652d9771a63711fd3c3deb670acfbe5c30a4072e664d7a3bf5a9e1056ac72c3" dependencies = [ "arrayvec 0.7.2", - "itoa 1.0.5", + "itoa 1.0.6", ] [[package]] @@ -4248,7 +4288,7 @@ dependencies = [ "proc-macro-crate", "proc-macro2", "quote", - "syn", + "syn 1.0.109", ] [[package]] @@ -4330,9 +4370,9 @@ checksum = "624a8340c38c1b80fd549087862da4ba43e08858af025b236e509b6649fc13d5" [[package]] name = "openssl" -version = "0.10.45" +version = "0.10.50" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b102428fd03bc5edf97f62620f7298614c45cedf287c271e7ed450bbaf83f2e1" +checksum = "7e30d8bc91859781f0a943411186324d580f2bbeb71b452fe91ae344806af3f1" dependencies = [ "bitflags", "cfg-if 1.0.0", @@ -4345,13 +4385,13 @@ dependencies = [ [[package]] name = "openssl-macros" -version = "0.1.0" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b501e44f11665960c7e7fcf062c7d96a14ade4aa98116c004b2e37b5be7d736c" +checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c" dependencies = [ "proc-macro2", "quote", - "syn", + "syn 2.0.15", ] [[package]] @@ -4362,11 +4402,10 @@ checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" [[package]] name = "openssl-sys" -version = "0.9.80" +version = "0.9.85" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23bbbf7854cd45b83958ebe919f0e8e516793727652e27fda10a8384cfc790b7" +checksum = "0d3d193fb1488ad46ffe3aaabc912cc931d02ee8518fe2959aea8ef52718b0c0" dependencies = [ - "autocfg 1.1.0", "cc", "libc", "pkg-config", @@ -4380,7 +4419,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "acbf68b6b34b5d869342732c0dc05f74b7bdb4f17f2302d16d799231a6106441" dependencies = [ "bincode", - "futures 0.3.26", + "futures 0.3.28", "lazy_static", "percent-encoding 2.2.0", "pin-project 0.4.30", @@ -4390,9 +4429,9 @@ dependencies = [ [[package]] name = "os_info" -version = "2.0.8" +version = "3.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2cc1b4330bb29087e791ae2a5cf56be64fb8946a4ff5aec2ba11c6ca51f5d60" +checksum = "006e42d5b888366f1880eda20371fedde764ed2213dc8496f49622fa0c99cd5e" dependencies = [ "log", "serde", @@ -4401,9 +4440,9 @@ dependencies = [ [[package]] name = "os_str_bytes" -version = "6.4.1" +version = "6.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b7820b9daea5457c9f21c69448905d723fbd21136ccf521748f23fd49e723ee" +checksum = "ceedf44fb00f2d1984b0bc98102627ce622e083e49a5bacdb3e514fa4238e267" [[package]] name = "output_vt100" @@ -4438,9 +4477,9 @@ dependencies = [ [[package]] name = "parking" -version = "2.0.0" +version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "427c3892f9e783d91cc128285287e70a59e206ca452770ece88a76f7a3eddd72" +checksum = "14f2252c834a40ed9bb5422029649578e63aa341ac401f74e719dd1afda8394e" [[package]] name = "parking_lot" @@ -4598,9 +4637,9 @@ checksum = "478c572c3d73181ff3c2539045f6eb99e5491218eae919370993b890cdbdd98e" [[package]] name = "pest" -version = "2.5.5" +version = "2.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "028accff104c4e513bad663bbcd2ad7cfd5304144404c31ed0a77ac103d00660" +checksum = "7b1403e8401ad5dedea73c626b99758535b342502f8d1e361f4a2dd952749122" dependencies = [ "thiserror", "ucd-trie", @@ -4608,9 +4647,9 @@ dependencies = [ [[package]] name = "pest_derive" -version = "2.5.5" +version = "2.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2ac3922aac69a40733080f53c1ce7f91dcf57e1a5f6c52f421fadec7fbdc4b69" +checksum = "be99c4c1d2fc2769b1d00239431d711d08f6efedcecb8b6e30707160aee99c15" dependencies = [ "pest", "pest_generator", @@ -4618,22 +4657,22 @@ dependencies = [ [[package]] name = "pest_generator" -version = "2.5.5" +version = "2.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d06646e185566b5961b4058dd107e0a7f56e77c3f484549fb119867773c0f202" +checksum = "e56094789873daa36164de2e822b3888c6ae4b4f9da555a1103587658c805b1e" dependencies = [ "pest", "pest_meta", "proc-macro2", "quote", - "syn", + "syn 2.0.15", ] [[package]] name = "pest_meta" -version = "2.5.5" +version = "2.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6f60b2ba541577e2a0c307c8f39d1439108120eb7903adeb6497fa880c59616" +checksum = "6733073c7cff3d8459fda0e42f13a047870242aed8b509fe98000928975f359e" dependencies = [ "once_cell", "pest", @@ -4666,7 +4705,7 @@ checksum = "851c8d0ce9bebe43790dedfc86614c23494ac9f423dd618d3a61fc693eafe61e" dependencies = [ "proc-macro2", "quote", - "syn", + "syn 1.0.109", ] [[package]] @@ -4677,7 +4716,7 @@ checksum = "069bdb1e05adc7a8990dce9cc75370895fbe4e3d58b9b73bf1aee56359344a55" dependencies = [ "proc-macro2", "quote", - "syn", + "syn 1.0.109", ] [[package]] @@ -4716,16 +4755,18 @@ dependencies = [ [[package]] name = "polling" -version = "2.5.2" +version = "2.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22122d5ec4f9fe1b3916419b76be1e80bcb93f618d071d2edf841b137b2a2bd6" +checksum = "4be1c66a6add46bff50935c313dae30a5030cf8385c5206e8a95e9e9def974aa" dependencies = [ "autocfg 1.1.0", + "bitflags", "cfg-if 1.0.0", + "concurrent-queue", "libc", "log", - "wepoll-ffi", - "windows-sys 0.42.0", + "pin-project-lite", + "windows-sys 0.48.0", ] [[package]] @@ -4760,15 +4801,15 @@ dependencies = [ [[package]] name = "predicates-core" -version = "1.0.5" +version = "1.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72f883590242d3c6fc5bf50299011695fa6590c2c70eac95ee1bdb9a733ad1a2" +checksum = "b794032607612e7abeb4db69adb4e33590fa6cf1149e95fd7cb00e634b92f174" [[package]] name = "predicates-tree" -version = "1.0.7" +version = "1.0.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "54ff541861505aabf6ea722d2131ee980b8276e10a1297b94e896dd8b621850d" +checksum = "368ba315fb8c5052ab692e68a0eefec6ec57b23a36959c14496f0b0df2c0cecf" dependencies = [ "predicates-core", "termtree", @@ -4800,12 +4841,12 @@ dependencies = [ [[package]] name = "prettyplease" -version = "0.1.23" +version = "0.1.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e97e3215779627f01ee256d2fad52f3d95e8e1c11e9fc6fd08f7cd455d5d5c78" +checksum = "6c8646e95016a7a6c4adea95bafa8a16baab64b583356217f2c85db4a39d9a86" dependencies = [ "proc-macro2", - "syn", + "syn 1.0.109", ] [[package]] @@ -4827,7 +4868,7 @@ dependencies = [ "proc-macro-error-attr", "proc-macro2", "quote", - "syn", + "syn 1.0.109", "version_check", ] @@ -4844,9 +4885,9 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.51" +version = "1.0.56" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d727cae5b39d21da60fa540906919ad737832fe0b1c165da3a34d6548c849d6" +checksum = "2b63bdb0cd06f1f4dedf69b254734f9b45af66e4a031e42a7480257d9898b435" dependencies = [ "unicode-ident", ] @@ -4868,7 +4909,7 @@ checksum = "16b845dbfca988fa33db069c0e230574d15a3088f147a87b64c7589eb662c9ac" dependencies = [ "proc-macro2", "quote", - "syn", + "syn 1.0.109", ] [[package]] @@ -4920,7 +4961,7 @@ dependencies = [ "quinn-udp", "rustls", "thiserror", - "tokio 1.25.0", + "tokio 1.27.0", "tracing", "webpki 0.22.0", ] @@ -4954,16 +4995,16 @@ dependencies = [ "futures-util", "libc", "quinn-proto", - "socket2 0.4.7", - "tokio 1.25.0", + "socket2 0.4.9", + "tokio 1.27.0", "tracing", ] [[package]] name = "quote" -version = "1.0.23" +version = "1.0.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8856d8364d252a14d474036ea1358d63c9e6965c8e5c1885c18f73d70bff9c7b" +checksum = "4424af4bf778aae2051a77b60283332f386554255d722233d09fbfc7e30da2fc" dependencies = [ "proc-macro2", ] @@ -5114,7 +5155,7 @@ version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" dependencies = [ - "getrandom 0.2.8", + "getrandom 0.2.9", ] [[package]] @@ -5206,9 +5247,9 @@ checksum = "60a357793950651c4ed0f3f52338f53b2f809f32d83a07f72909fa13e4c6c1e3" [[package]] name = "rayon" -version = "1.6.1" +version = "1.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6db3a213adf02b3bcfd2d3846bb41cb22857d131789e01df434fb7e7bc0759b7" +checksum = "1d2df5196e37bcc87abebc0053e20787d73847bb33134a69841207dd0a47f03b" dependencies = [ "either", "rayon-core", @@ -5216,13 +5257,13 @@ dependencies = [ [[package]] name = "rayon-core" -version = "1.10.2" +version = "1.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "356a0625f1954f730c0201cdab48611198dc6ce21f4acff55089b5a78e6e835b" +checksum = "4b8f95bd6966f5c87776639160a66bd8ab9895d9d4ab01ddba9fc60661aebe8d" dependencies = [ "crossbeam-channel", - "crossbeam-deque 0.8.2", - "crossbeam-utils 0.8.14", + "crossbeam-deque 0.8.3", + "crossbeam-utils 0.8.15", "num_cpus", ] @@ -5275,13 +5316,22 @@ dependencies = [ "bitflags", ] +[[package]] +name = "redox_syscall" +version = "0.3.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "567664f262709473930a4bf9e51bf2ebf3348f2e748ccc50dea20646858f8f29" +dependencies = [ + "bitflags", +] + [[package]] name = "redox_users" version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b033d837a7cf162d7993aded9304e30a83213c648b6e389db233191f891e5c2b" dependencies = [ - "getrandom 0.2.8", + "getrandom 0.2.9", "redox_syscall 0.2.16", "thiserror", ] @@ -5299,9 +5349,9 @@ dependencies = [ [[package]] name = "regex" -version = "1.7.1" +version = "1.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "48aaa5748ba571fb95cd2c85c09f629215d3a6ece942baa100950af03a34f733" +checksum = "8b1f693b24f6ac912f4893ef08244d70b6067480d2f1a46e950c9691e6749d1d" dependencies = [ "aho-corasick", "memchr", @@ -5319,9 +5369,9 @@ dependencies = [ [[package]] name = "regex-syntax" -version = "0.6.28" +version = "0.6.29" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "456c603be3e8d448b072f410900c09faf164fbce2d480456f50eea6e25f9c848" +checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1" [[package]] name = "region" @@ -5380,19 +5430,19 @@ dependencies = [ [[package]] name = "reqwest" -version = "0.11.14" +version = "0.11.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21eed90ec8570952d53b772ecf8f206aa1ec9a3d76b2521c56c42973f2d91ee9" +checksum = "27b71749df584b7f4cac2c426c127a7c785a5106cc98f7a8feb044115f0fa254" dependencies = [ "base64 0.21.0", "bytes 1.4.0", "encoding_rs", "futures-core", "futures-util", - "h2 0.3.15", + "h2 0.3.18", "http 0.2.9", "http-body 0.4.5", - "hyper 0.14.24", + "hyper 0.14.26", "hyper-tls 0.5.0", "ipnet", "js-sys", @@ -5405,7 +5455,7 @@ dependencies = [ "serde", "serde_json", "serde_urlencoded 0.7.1", - "tokio 1.25.0", + "tokio 1.27.0", "tokio-native-tls", "tower-service", "url 2.3.1", @@ -5441,9 +5491,9 @@ dependencies = [ [[package]] name = "rkyv" -version = "0.7.40" +version = "0.7.41" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c30f1d45d9aa61cbc8cd1eb87705470892289bb2d01943e7803b873a57404dc3" +checksum = "21499ed91807f07ae081880aabb2ccc0235e9d88011867d984525e9a4c3cfa3e" dependencies = [ "bytecheck", "hashbrown 0.12.3", @@ -5455,13 +5505,13 @@ dependencies = [ [[package]] name = "rkyv_derive" -version = "0.7.40" +version = "0.7.41" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff26ed6c7c4dfc2aa9480b86a60e3c7233543a270a680e10758a507c5a4ce476" +checksum = "ac1c672430eb41556291981f45ca900a0239ad007242d1cb4b4167af842db666" dependencies = [ "proc-macro2", "quote", - "syn", + "syn 1.0.109", ] [[package]] @@ -5562,9 +5612,9 @@ dependencies = [ [[package]] name = "rustc-demangle" -version = "0.1.21" +version = "0.1.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ef03e0a2b150c7a90d01faf6254c9c48a41e95fb2a8c2ac1c6f0d2b9aefc342" +checksum = "d626bb9dae77e28219937af045c257c28bfd3f69333c512553507f5f9798cb76" [[package]] name = "rustc-hash" @@ -5587,21 +5637,21 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366" dependencies = [ - "semver 1.0.16", + "semver 1.0.17", ] [[package]] name = "rustix" -version = "0.36.8" +version = "0.37.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f43abb88211988493c1abb44a70efa56ff0ce98f233b7b276146f1f3f7ba9644" +checksum = "722529a737f5a942fdbac3a46cee213053196737c5eaa3386d52e85b786f2659" dependencies = [ "bitflags", "errno", "io-lifetimes", "libc", "linux-raw-sys", - "windows-sys 0.45.0", + "windows-sys 0.48.0", ] [[package]] @@ -5648,15 +5698,15 @@ dependencies = [ [[package]] name = "rustversion" -version = "1.0.11" +version = "1.0.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5583e89e108996506031660fe09baa5011b9dd0341b89029313006d1fb508d70" +checksum = "4f3208ce4d8448b3f3e7d168a73f5e0c43a61e32930de3bceeccedb388b6bf06" [[package]] name = "ryu" -version = "1.0.12" +version = "1.0.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b4b9743ed687d4b4bcedf9ff5eaa7398495ae14e61cba0a295704edbc7decde" +checksum = "f91339c0467de62360649f8d3e185ca8de4224ff281f66000de5eb2a77a79041" [[package]] name = "same-file" @@ -5678,9 +5728,9 @@ dependencies = [ [[package]] name = "scheduled-thread-pool" -version = "0.2.6" +version = "0.2.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "977a7519bff143a44f842fd07e80ad1329295bd71686457f18e496736f4bf9bf" +checksum = "3cbc66816425a074528352f5789333ecff06ca41b36b0b0efdfbb29edc391a19" dependencies = [ "parking_lot 0.12.1", ] @@ -5693,9 +5743,9 @@ checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd" [[package]] name = "scratch" -version = "1.0.3" +version = "1.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ddccb15bcce173023b3fedd9436f882a0739b8dfb45e4f6b6002bee5929f61b2" +checksum = "1792db035ce95be60c3f8853017b3999209281c24e2ba5bc8e59bf97a0c590c1" [[package]] name = "sct" @@ -5762,9 +5812,9 @@ dependencies = [ [[package]] name = "semver" -version = "1.0.16" +version = "1.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58bc9567378fc7690d6b2addae4e60ac2eeea07becb2c64b9f218b53865cba2a" +checksum = "bebd363326d05ec3e2f532ab7660680f3b02130d780c299bca73469d521bc0ed" dependencies = [ "serde", ] @@ -5786,9 +5836,9 @@ dependencies = [ [[package]] name = "serde" -version = "1.0.152" +version = "1.0.160" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb7d1f0d3021d347a83e556fc4683dea2ea09d87bccdf88ff5c12545d89d5efb" +checksum = "bb2f3770c8bce3bcda7e149193a069a0f4365bda1fa5cd88e03bca26afc1216c" dependencies = [ "serde_derive", ] @@ -5813,27 +5863,36 @@ dependencies = [ [[package]] name = "serde_derive" -version = "1.0.152" +version = "1.0.160" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af487d118eecd09402d70a5d72551860e788df87b464af30e5ea6a38c75c541e" +checksum = "291a097c63d8497e00160b166a967a4a79c64f3facdd01cbd7502231688d77df" dependencies = [ "proc-macro2", "quote", - "syn", + "syn 2.0.15", ] [[package]] name = "serde_json" -version = "1.0.93" +version = "1.0.96" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cad406b69c91885b5107daf2c29572f6c8cdb3c66826821e286c533490c0bc76" +checksum = "057d394a50403bcac12672b2b18fb387ab6d289d957dab67dd201875391e52f1" dependencies = [ "indexmap", - "itoa 1.0.5", + "itoa 1.0.6", "ryu", "serde", ] +[[package]] +name = "serde_spanned" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0efd8caf556a6cebd3b285caf480045fcc1ac04f6bd786b09a6f11af30c4fcf4" +dependencies = [ + "serde", +] + [[package]] name = "serde_urlencoded" version = "0.5.5" @@ -5853,7 +5912,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d3491c14715ca2294c4d6a88f15e84739788c1d030eed8c110436aafdaa2f3fd" dependencies = [ "form_urlencoded", - "itoa 1.0.5", + "itoa 1.0.6", "ryu", "serde", ] @@ -5877,7 +5936,7 @@ dependencies = [ "darling 0.13.4", "proc-macro2", "quote", - "syn", + "syn 1.0.109", ] [[package]] @@ -5894,12 +5953,12 @@ dependencies = [ [[package]] name = "serde_yaml" -version = "0.9.17" +version = "0.9.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8fb06d4b6cdaef0e0c51fa881acb721bed3c924cfaa71d9c94a3b771dfdf6567" +checksum = "d9d684e3ec7de3bf5466b32bd75303ac16f0736426e5a4e0d6e489559ce1249c" dependencies = [ "indexmap", - "itoa 1.0.5", + "itoa 1.0.6", "ryu", "serde", "unsafe-libyaml", @@ -5965,7 +6024,7 @@ dependencies = [ "itertools 0.8.2", "proc-macro2", "quote", - "syn", + "syn 1.0.109", ] [[package]] @@ -5999,6 +6058,12 @@ dependencies = [ "paste", ] +[[package]] +name = "simdutf8" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f27f6278552951f1f2b8cf9da965d10969b2efdea95a6ec47987ab46edfe263a" + [[package]] name = "siphasher" version = "0.3.10" @@ -6045,9 +6110,9 @@ dependencies = [ [[package]] name = "socket2" -version = "0.4.7" +version = "0.4.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "02e2d2db9033d13a1567121ddd7a095ee144db4e1ca1b1bda3419bc0da294ebd" +checksum = "64a4a911eed85daf18834cfaa86a79b7d266ff93ff5ba14005426219480ed662" dependencies = [ "libc", "winapi 0.3.9", @@ -6065,7 +6130,7 @@ dependencies = [ "once_cell", "one_err", "parking_lot 0.12.1", - "tokio 1.25.0", + "tokio 1.27.0", ] [[package]] @@ -6129,7 +6194,7 @@ checksum = "7b0a9eb2715209fb8cc0d942fcdff45674bfc9f0090a0d897e85a22955ad159b" dependencies = [ "futures-core", "pin-project 1.0.12", - "tokio 1.25.0", + "tokio 1.27.0", ] [[package]] @@ -6180,7 +6245,7 @@ dependencies = [ "proc-macro-error", "proc-macro2", "quote", - "syn", + "syn 1.0.109", ] [[package]] @@ -6198,7 +6263,7 @@ dependencies = [ "heck 0.3.3", "proc-macro2", "quote", - "syn", + "syn 1.0.109", ] [[package]] @@ -6211,7 +6276,7 @@ dependencies = [ "proc-macro2", "quote", "rustversion", - "syn", + "syn 1.0.109", ] [[package]] @@ -6226,9 +6291,9 @@ dependencies = [ [[package]] name = "subtle" -version = "2.4.1" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6bdef32e8150c2a081110b42772ffe7d7c9032b606bc226c8260fd97e0976601" +checksum = "81cdd64d312baedb58e21336b31bc043b77e01cc99033ce76ef539f78e965ebc" [[package]] name = "subtle-encoding" @@ -6250,6 +6315,17 @@ dependencies = [ "unicode-ident", ] +[[package]] +name = "syn" +version = "2.0.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a34fcf3e8b60f57e6a14301a2e916d323af98b0ea63c599441eec8558660c822" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + [[package]] name = "synstructure" version = "0.12.6" @@ -6258,7 +6334,7 @@ checksum = "f36bdaa60a83aca3921b5259d5400cbf5e90fc51931376a9bd4a0eb79aa7210f" dependencies = [ "proc-macro2", "quote", - "syn", + "syn 1.0.109", "unicode-xid", ] @@ -6300,9 +6376,9 @@ version = "0.1.0-rc.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "767559c8f4ccd87d0191b0ca6bf4480a06bb7e8d98de2169e48d6b6ed18af1a6" dependencies = [ - "futures 0.3.26", + "futures 0.3.28", "parking_lot 0.12.1", - "tokio 1.25.0", + "tokio 1.27.0", "tracing", ] @@ -6314,15 +6390,15 @@ checksum = "af547b166dd1ea4b472165569fc456cfb6818116f854690b0ff205e636523dab" [[package]] name = "tempfile" -version = "3.4.0" +version = "3.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af18f7ae1acd354b992402e9ec5864359d693cd8a79dcbef59f76891701c1e95" +checksum = "b9fbec84f381d5795b08656e4912bec604d162bff9291d6189a78f4c8ab87998" dependencies = [ "cfg-if 1.0.0", "fastrand", - "redox_syscall 0.2.16", + "redox_syscall 0.3.5", "rustix", - "windows-sys 0.42.0", + "windows-sys 0.45.0", ] [[package]] @@ -6336,9 +6412,9 @@ dependencies = [ [[package]] name = "termtree" -version = "0.4.0" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95059e91184749cb66be6dc994f67f182b6d897cb3df74a5bf66b5e709295fd8" +checksum = "3369f5ac52d5eb6ab48c6b4ffdc8efbcad6b89c765749064ba298f2c68a16a76" [[package]] name = "test-fuzz" @@ -6371,13 +6447,13 @@ version = "3.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "856bbca0314c328004691b9c0639fb198ca764d1ce0e20d4dd8b78f2697c2a6f" dependencies = [ - "darling 0.14.3", + "darling 0.14.4", "if_chain", "lazy_static", "proc-macro2", "quote", "subprocess", - "syn", + "syn 1.0.109", "test-fuzz-internal", "toolchain_find", "unzip-n", @@ -6420,22 +6496,22 @@ checksum = "222a222a5bfe1bba4a77b45ec488a741b3cb8872e5e499451fd7d0129c9c7c3d" [[package]] name = "thiserror" -version = "1.0.38" +version = "1.0.40" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a9cd18aa97d5c45c6603caea1da6628790b37f7a34b6ca89522331c5180fed0" +checksum = "978c9a314bd8dc99be594bc3c175faaa9794be04a5a5e153caba6915336cebac" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.38" +version = "1.0.40" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fb327af4685e4d03fa8cbcf1716380da910eeb2bb8be417e7f9fd3fb164f36f" +checksum = "f9456a42c5b0d803c8cd86e73dd7cc9edd429499f37a3550d286d5e86720569f" dependencies = [ "proc-macro2", "quote", - "syn", + "syn 2.0.15", ] [[package]] @@ -6531,22 +6607,21 @@ dependencies = [ [[package]] name = "tokio" -version = "1.25.0" +version = "1.27.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8e00990ebabbe4c14c08aca901caed183ecd5c09562a12c824bb53d3c3fd3af" +checksum = "d0de47a4eecbe11f498978a9b29d792f0d2692d1dd003650c24c76510e3bc001" dependencies = [ "autocfg 1.1.0", "bytes 1.4.0", "libc", - "memchr", "mio 0.8.6", "num_cpus", "parking_lot 0.12.1", "pin-project-lite", "signal-hook-registry", - "socket2 0.4.7", + "socket2 0.4.9", "tokio-macros", - "windows-sys 0.42.0", + "windows-sys 0.45.0", ] [[package]] @@ -6593,13 +6668,13 @@ dependencies = [ [[package]] name = "tokio-macros" -version = "1.8.2" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d266c00fde287f55d3f1c3e96c500c362a2b8c695076ec180f27918820bc6df8" +checksum = "61a573bdc87985e9d6ddeed1b3d864e8a302c847e40d647746df2f1de209d1ce" dependencies = [ "proc-macro2", "quote", - "syn", + "syn 2.0.15", ] [[package]] @@ -6609,7 +6684,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bbae76ab933c85776efabc971569dd6119c580d8f5d448769dec1764bf796ef2" dependencies = [ "native-tls", - "tokio 1.25.0", + "tokio 1.27.0", ] [[package]] @@ -6639,7 +6714,7 @@ checksum = "8fb52b74f05dbf495a8fba459fdc331812b96aa086d9eb78101fa0d4569c3313" dependencies = [ "futures-core", "pin-project-lite", - "tokio 1.25.0", + "tokio 1.27.0", "tokio-util", ] @@ -6706,7 +6781,7 @@ dependencies = [ "log", "native-tls", "pin-project 1.0.12", - "tokio 1.25.0", + "tokio 1.27.0", "tokio-native-tls", "tungstenite", ] @@ -6721,7 +6796,7 @@ dependencies = [ "futures-core", "futures-sink", "pin-project-lite", - "tokio 1.25.0", + "tokio 1.27.0", "tracing", ] @@ -6734,19 +6809,36 @@ dependencies = [ "serde", ] +[[package]] +name = "toml" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b403acf6f2bb0859c93c7f0d967cb4a75a7ac552100f9322faf64dc047669b21" +dependencies = [ + "serde", + "serde_spanned", + "toml_datetime", + "toml_edit", +] + [[package]] name = "toml_datetime" version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3ab8ed2edee10b50132aed5f331333428b011c99402b5a534154ed15746f9622" +dependencies = [ + "serde", +] [[package]] name = "toml_edit" -version = "0.19.4" +version = "0.19.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a1eb0622d28f4b9c90adc4ea4b2b46b47663fde9ac5fafcb14a1369d5508825" +checksum = "239410c8609e8125456927e6707163a3b1fdb40561e4b803bc041f466ccfdc13" dependencies = [ "indexmap", + "serde", + "serde_spanned", "toml_datetime", "winnow", ] @@ -6791,7 +6883,7 @@ checksum = "4017f8f45139870ca7e672686113917c71c7a6e02d4924eda67186083c03081a" dependencies = [ "proc-macro2", "quote", - "syn", + "syn 1.0.109", ] [[package]] @@ -6953,15 +7045,15 @@ dependencies = [ [[package]] name = "unicode-bidi" -version = "0.3.10" +version = "0.3.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d54675592c1dbefd78cbd98db9bacd89886e1ca50692a0692baefffdeb92dd58" +checksum = "92888ba5573ff080736b3648696b70cafad7d250551175acbaa4e0385b3e1460" [[package]] name = "unicode-ident" -version = "1.0.6" +version = "1.0.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84a22b9f218b40614adcb3f4ff08b703773ad44fa9423e4e0d346d5db86e4ebc" +checksum = "e5464a87b239f13a63a501f2701565754bae92d243d4bb7eb12f6d57d2269bf4" [[package]] name = "unicode-normalization" @@ -6998,9 +7090,9 @@ checksum = "39ec24b3121d976906ece63c9daad25b85969647682eee313cb5779fdd69e14e" [[package]] name = "unsafe-libyaml" -version = "0.2.5" +version = "0.2.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc7ed8ba44ca06be78ea1ad2c3682a43349126c8818054231ee6f4748012aed2" +checksum = "1865806a559042e51ab5414598446a5871b561d21b6764f2eabb0dd481d880a6" [[package]] name = "untrusted" @@ -7022,7 +7114,7 @@ checksum = "c2e7e85a0596447f0f2ac090e16bc4c516c6fe91771fb0c0ccf7fa3dae896b9c" dependencies = [ "proc-macro2", "quote", - "syn", + "syn 1.0.109", ] [[package]] @@ -7089,6 +7181,12 @@ version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9" +[[package]] +name = "utf8parse" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a" + [[package]] name = "uuid" version = "0.7.4" @@ -7101,11 +7199,11 @@ dependencies = [ [[package]] name = "uuid" -version = "0.8.2" +version = "1.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc5cf98d8186244414c848017f0e2676b3fcb46807f6668a97dfe67359a3c4b7" +checksum = "5b55a3fef2a1e3b3a00ce878640918820d3c51081576ac657d23af9fc7928fdb" dependencies = [ - "getrandom 0.2.8", + "getrandom 0.2.9", ] [[package]] @@ -7159,12 +7257,11 @@ checksum = "9d5b2c62b4012a3e1eca5a7e077d13b3bf498c4073e33ccd58626607748ceeca" [[package]] name = "walkdir" -version = "2.3.2" +version = "2.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "808cf2735cd4b6866113f648b791c6adc5714537bc222d9347bb203386ffda56" +checksum = "36df944cda56c7d8d8b7496af378e6b16de9284591917d307c9b4d313c44e698" dependencies = [ "same-file", - "winapi 0.3.9", "winapi-util", ] @@ -7228,7 +7325,7 @@ dependencies = [ "once_cell", "proc-macro2", "quote", - "syn", + "syn 1.0.109", "wasm-bindgen-shared", ] @@ -7262,7 +7359,7 @@ checksum = "2aff81306fcac3c7515ad4e177f521b5c9a15f2b08f4e32d823066102f35a5f6" dependencies = [ "proc-macro2", "quote", - "syn", + "syn 1.0.109", "wasm-bindgen-backend", "wasm-bindgen-shared", ] @@ -7275,9 +7372,9 @@ checksum = "0046fef7e28c3804e5e38bfa31ea2a0f73905319b677e57ebe37e49358989b5d" [[package]] name = "wasm-encoder" -version = "0.24.1" +version = "0.25.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68f7d56227d910901ce12dfd19acc40c12687994dfb3f57c90690f80be946ec5" +checksum = "4eff853c4f09eec94d76af527eddad4e9de13b11d6286a1ef7134bc30135a2b7" dependencies = [ "leb128", ] @@ -7369,7 +7466,7 @@ dependencies = [ "proc-macro-error", "proc-macro2", "quote", - "syn", + "syn 1.0.109", ] [[package]] @@ -7533,9 +7630,9 @@ checksum = "718ed7c55c2add6548cca3ddd6383d738cd73b892df400e96b9aa876f0141d7a" [[package]] name = "wast" -version = "54.0.1" +version = "56.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d48d9d731d835f4f8dacbb8de7d47be068812cb9877f5c60d408858778d8d2a" +checksum = "6b54185c051d7bbe23757d50fe575880a2426a2f06d2e9f6a10fd9a4a42920c0" dependencies = [ "leb128", "memchr", @@ -7545,9 +7642,9 @@ dependencies = [ [[package]] name = "wat" -version = "1.0.60" +version = "1.0.62" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d1db2e3ed05ea31243761439194bec3af6efbbaf87c4c8667fb879e4f23791a0" +checksum = "56681922808216ab86d96bb750f70d500b5a7800e41564290fd46bb773581299" dependencies = [ "wast", ] @@ -7591,15 +7688,6 @@ dependencies = [ "webpki 0.22.0", ] -[[package]] -name = "wepoll-ffi" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d743fdedc5c64377b5fc2bc036b01c7fd642205a0d96356034ae3404d49eb7fb" -dependencies = [ - "cc", -] - [[package]] name = "which" version = "4.4.0" @@ -7654,6 +7742,15 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" +[[package]] +name = "windows" +version = "0.48.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e686886bc078bc1b0b600cac0147aadb815089b6e4da64016cbd754b6342700f" +dependencies = [ + "windows-targets 0.48.0", +] + [[package]] name = "windows-sys" version = "0.33.0" @@ -7673,13 +7770,13 @@ version = "0.42.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5a3e1820f08b8513f676f7ab6c1f99ff312fb97b553d30ff4dd86f9f15728aa7" dependencies = [ - "windows_aarch64_gnullvm", - "windows_aarch64_msvc 0.42.1", - "windows_i686_gnu 0.42.1", - "windows_i686_msvc 0.42.1", - "windows_x86_64_gnu 0.42.1", - "windows_x86_64_gnullvm", - "windows_x86_64_msvc 0.42.1", + "windows_aarch64_gnullvm 0.42.2", + "windows_aarch64_msvc 0.42.2", + "windows_i686_gnu 0.42.2", + "windows_i686_msvc 0.42.2", + "windows_x86_64_gnu 0.42.2", + "windows_x86_64_gnullvm 0.42.2", + "windows_x86_64_msvc 0.42.2", ] [[package]] @@ -7688,29 +7785,59 @@ version = "0.45.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0" dependencies = [ - "windows-targets", + "windows-targets 0.42.2", +] + +[[package]] +name = "windows-sys" +version = "0.48.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" +dependencies = [ + "windows-targets 0.48.0", ] [[package]] name = "windows-targets" -version = "0.42.1" +version = "0.42.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e2522491fbfcd58cc84d47aeb2958948c4b8982e9a2d8a2a35bbaed431390e7" +checksum = "8e5180c00cd44c9b1c88adb3693291f1cd93605ded80c250a75d472756b4d071" dependencies = [ - "windows_aarch64_gnullvm", - "windows_aarch64_msvc 0.42.1", - "windows_i686_gnu 0.42.1", - "windows_i686_msvc 0.42.1", - "windows_x86_64_gnu 0.42.1", - "windows_x86_64_gnullvm", - "windows_x86_64_msvc 0.42.1", + "windows_aarch64_gnullvm 0.42.2", + "windows_aarch64_msvc 0.42.2", + "windows_i686_gnu 0.42.2", + "windows_i686_msvc 0.42.2", + "windows_x86_64_gnu 0.42.2", + "windows_x86_64_gnullvm 0.42.2", + "windows_x86_64_msvc 0.42.2", ] +[[package]] +name = "windows-targets" +version = "0.48.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7b1eb6f0cd7c80c79759c929114ef071b87354ce476d9d94271031c0497adfd5" +dependencies = [ + "windows_aarch64_gnullvm 0.48.0", + "windows_aarch64_msvc 0.48.0", + "windows_i686_gnu 0.48.0", + "windows_i686_msvc 0.48.0", + "windows_x86_64_gnu 0.48.0", + "windows_x86_64_gnullvm 0.48.0", + "windows_x86_64_msvc 0.48.0", +] + +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8" + [[package]] name = "windows_aarch64_gnullvm" -version = "0.42.1" +version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c9864e83243fdec7fc9c5444389dcbbfd258f745e7853198f365e3c4968a608" +checksum = "91ae572e1b79dba883e0d315474df7305d12f569b400fcf90581b06062f7e1bc" [[package]] name = "windows_aarch64_msvc" @@ -7720,9 +7847,15 @@ checksum = "cd761fd3eb9ab8cc1ed81e56e567f02dd82c4c837e48ac3b2181b9ffc5060807" [[package]] name = "windows_aarch64_msvc" -version = "0.42.1" +version = "0.42.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c8b1b673ffc16c47a9ff48570a9d85e25d265735c503681332589af6253c6c7" +checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43" + +[[package]] +name = "windows_aarch64_msvc" +version = "0.48.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b2ef27e0d7bdfcfc7b868b317c1d32c641a6fe4629c171b8928c7b08d98d7cf3" [[package]] name = "windows_i686_gnu" @@ -7732,9 +7865,15 @@ checksum = "cab0cf703a96bab2dc0c02c0fa748491294bf9b7feb27e1f4f96340f208ada0e" [[package]] name = "windows_i686_gnu" -version = "0.42.1" +version = "0.42.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "de3887528ad530ba7bdbb1faa8275ec7a1155a45ffa57c37993960277145d640" +checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f" + +[[package]] +name = "windows_i686_gnu" +version = "0.48.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "622a1962a7db830d6fd0a69683c80a18fda201879f0f447f065a3b7467daa241" [[package]] name = "windows_i686_msvc" @@ -7744,9 +7883,15 @@ checksum = "8cfdbe89cc9ad7ce618ba34abc34bbb6c36d99e96cae2245b7943cd75ee773d0" [[package]] name = "windows_i686_msvc" -version = "0.42.1" +version = "0.42.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf4d1122317eddd6ff351aa852118a2418ad4214e6613a50e0191f7004372605" +checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060" + +[[package]] +name = "windows_i686_msvc" +version = "0.48.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4542c6e364ce21bf45d69fdd2a8e455fa38d316158cfd43b3ac1c5b1b19f8e00" [[package]] name = "windows_x86_64_gnu" @@ -7756,15 +7901,27 @@ checksum = "b4dd9b0c0e9ece7bb22e84d70d01b71c6d6248b81a3c60d11869451b4cb24784" [[package]] name = "windows_x86_64_gnu" -version = "0.42.1" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36" + +[[package]] +name = "windows_x86_64_gnu" +version = "0.48.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ca2b8a661f7628cbd23440e50b05d705db3686f894fc9580820623656af974b1" + +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.42.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c1040f221285e17ebccbc2591ffdc2d44ee1f9186324dd3e84e99ac68d699c45" +checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3" [[package]] name = "windows_x86_64_gnullvm" -version = "0.42.1" +version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "628bfdf232daa22b0d64fdb62b09fcc36bb01f05a3939e20ab73aaf9470d0463" +checksum = "7896dbc1f41e08872e9d5e8f8baa8fdd2677f29468c4e156210174edc7f7b953" [[package]] name = "windows_x86_64_msvc" @@ -7774,15 +7931,21 @@ checksum = "ff1e4aa646495048ec7f3ffddc411e1d829c026a2ec62b39da15c1055e406eaa" [[package]] name = "windows_x86_64_msvc" -version = "0.42.1" +version = "0.42.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "447660ad36a13288b1db4d4248e857b510e8c3a225c822ba4fb748c0aafecffd" +checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0" + +[[package]] +name = "windows_x86_64_msvc" +version = "0.48.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1a515f5799fe4961cb532f983ce2b23082366b898e52ffbce459c86f67c8378a" [[package]] name = "winnow" -version = "0.3.3" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "faf09497b8f8b5ac5d3bb4d05c0a99be20f26fd3d5f2db7b0716e946d5103658" +checksum = "ae8970b36c66498d8ff1d66685dc86b91b29db0c7739899012f63a63814b4b28" dependencies = [ "memchr", ] @@ -7841,18 +8004,18 @@ checksum = "09041cd90cf85f7f8b2df60c646f853b7f535ce68f85244eb6731cf89fa498ec" [[package]] name = "yasna" -version = "0.5.1" +version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aed2e7a52e3744ab4d0c05c20aa065258e84c49fd4226f5191b2ed29712710b4" +checksum = "e17bb3549cc1321ae1296b9cdc2698e2b6cb1992adfa19a8c72e5b7a738f44cd" dependencies = [ "time 0.3.20", ] [[package]] name = "zeroize" -version = "1.5.7" +version = "1.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c394b5bd0c6f669e7275d9c20aa90ae064cb22e75a1cad54e1b34088034b149f" +checksum = "2a0956f1ba7c7909bfb66c2e9e4124ab6f6482560f6628b5aaeba39207c9aad9" [[package]] name = "zip" @@ -7862,6 +8025,6 @@ checksum = "0445d0fbc924bb93539b4316c11afb121ea39296f99a3c4c9edad09e3658cdef" dependencies = [ "byteorder", "crc32fast", - "crossbeam-utils 0.8.14", + "crossbeam-utils 0.8.15", "flate2", ] diff --git a/Cargo.toml b/Cargo.toml index 1d22ae5c2..9d02027d5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,6 +8,7 @@ homepage = "https://developer.holochain.org" documentation = "https://docs.rs/holochain_scaffolding_cli" repository = "https://github.com/holochain/scaffolding" readme = "README.md" +resolver = "2" [[bin]] name = "hc-scaffold" @@ -18,8 +19,8 @@ name = "holochain_scaffolding_cli" path = "src/lib.rs" [dependencies] -holochain = "0.1.3" -holochain_types = "0.1.3" +holochain = "0.1.4" +holochain_types = "0.1.4" holochain_util = { features = ["backtrace"], version = "0.1.0" } mr_bundle = "0.1.0" diff --git a/flake.nix b/flake.nix index b85fffb4f..8dd5ced6d 100644 --- a/flake.nix +++ b/flake.nix @@ -25,7 +25,7 @@ }: { devShells.default = pkgs.mkShell { inputsFrom = [ inputs.holochain.devShells.${system}.holonix ]; - packages = [ pkgs.nodejs-18_x ]; + packages = [ pkgs.nodejs-18_x pkgs.sqlite ]; }; }; }; diff --git a/src/scaffold/dna.rs b/src/scaffold/dna.rs index bfb6ac243..15f1ee61e 100644 --- a/src/scaffold/dna.rs +++ b/src/scaffold/dna.rs @@ -216,7 +216,8 @@ pub fn scaffold_dna( properties: None, quantum_time: None, }, - version: None, + installed_hash: None, + _version: None, clone_limit: 0, }, provisioning: Some(CellProvisioning::Create { deferred: false }), diff --git a/src/scaffold/zome/integrity.rs b/src/scaffold/zome/integrity.rs index a74ad2a19..f39964337 100644 --- a/src/scaffold/zome/integrity.rs +++ b/src/scaffold/zome/integrity.rs @@ -57,8 +57,8 @@ pub fn validate_agent_joining(_agent_pub_key: AgentPubKey, _membrane_proof: &Opt /// You can read more about validation here: https://docs.rs/hdi/latest/hdi/index.html#data-validation #[hdk_extern] pub fn validate(op: Op) -> ExternResult {{ - match op.to_type::<(), ()>()? {{ - OpType::StoreEntry(store_entry) => match store_entry {{ + match op.flattened::<(), ()>()? {{ + FlatOp::StoreEntry(store_entry) => match store_entry {{ OpEntry::CreateEntry {{ app_entry, action, @@ -74,7 +74,7 @@ pub fn validate(op: Op) -> ExternResult {{ )), _ => Ok(ValidateCallbackResult::Valid) }}, - OpType::RegisterUpdate(update_entry) => match update_entry {{ + FlatOp::RegisterUpdate(update_entry) => match update_entry {{ OpUpdate::Entry {{ original_action, original_app_entry, @@ -85,7 +85,7 @@ pub fn validate(op: Op) -> ExternResult {{ )), _ => Ok(ValidateCallbackResult::Valid) }}, - OpType::RegisterDelete(delete_entry) => match delete_entry {{ + FlatOp::RegisterDelete(delete_entry) => match delete_entry {{ OpDelete::Entry {{ original_action, original_app_entry, @@ -95,7 +95,7 @@ pub fn validate(op: Op) -> ExternResult {{ )), _ => Ok(ValidateCallbackResult::Valid), }}, - OpType::RegisterCreateLink {{ + FlatOp::RegisterCreateLink {{ link_type, base_address, target_address, @@ -104,7 +104,7 @@ pub fn validate(op: Op) -> ExternResult {{ }} => Ok(ValidateCallbackResult::Invalid(String::from( "There are no link types in this integrity zome", ))), - OpType::RegisterDeleteLink {{ + FlatOp::RegisterDeleteLink {{ link_type, base_address, target_address, @@ -114,7 +114,7 @@ pub fn validate(op: Op) -> ExternResult {{ }} => Ok(ValidateCallbackResult::Invalid(String::from( "There are no link types in this integrity zome", ))), - OpType::StoreRecord(store_record) => match store_record {{ + FlatOp::StoreRecord(store_record) => match store_record {{ /// Complementary validation to the `StoreEntry` Op, in which the record itself is validated /// If you want to optimize performance, you can remove the validation for an entry type here and keep it in `StoreEntry` /// Notice that doing so will cause `must_get_valid_record` for this record to return a valid record even if the `StoreEntry` validation failed @@ -169,7 +169,7 @@ pub fn validate(op: Op) -> ExternResult {{ OpRecord::InitZomesComplete {{ .. }} => Ok(ValidateCallbackResult::Valid), _ => Ok(ValidateCallbackResult::Valid) }}, - OpType::RegisterAgentActivity(agent_activity) => match agent_activity {{ + FlatOp::RegisterAgentActivity(agent_activity) => match agent_activity {{ OpActivity::CreateAgent {{ agent, action From 043ec69b6a1e4fe10578e6747a91b092ac9ef9c1 Mon Sep 17 00:00:00 2001 From: = <=> Date: Wed, 19 Apr 2023 11:54:48 -0600 Subject: [PATCH 02/50] flake.lock --- flake.lock | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/flake.lock b/flake.lock index 84294e96d..0dfa836f1 100644 --- a/flake.lock +++ b/flake.lock @@ -203,16 +203,16 @@ "holochain_2": { "flake": false, "locked": { - "lastModified": 1675455504, - "narHash": "sha256-619bpPtO0IUSzPzLNzHERuvqGblpjO65rsw3jdxoEkQ=", + "lastModified": 1681507583, + "narHash": "sha256-lRnums2gv1oXVwo4gMF2QAnzEu8prwxg1uKjUzNwJV4=", "owner": "holochain", "repo": "holochain", - "rev": "ed5b7bb461c2a8bfd4d2633bad604a20b8f2da03", + "rev": "ac50baed6b53e9d0552729e69e1e20312e4edc08", "type": "github" }, "original": { "owner": "holochain", - "ref": "holochain-0.1.3", + "ref": "holochain-0.1.4", "repo": "holochain", "type": "github" } @@ -383,11 +383,11 @@ }, "locked": { "dir": "versions/0_1", - "lastModified": 1676891757, - "narHash": "sha256-ePV3nenCyz1IP1bnS074G4ZZmy6oZW8/WhChC1jHj2Y=", + "lastModified": 1681885243, + "narHash": "sha256-5aWhXFe/MG7Kr+/6eF+DMHisQJWzY0fAmwaKz+UhZeU=", "owner": "holochain", "repo": "holochain", - "rev": "788ca7083f7dd70c7cef6672008688e12297bc37", + "rev": "df2862d6f1964146e2e451433edfdf9381ac0dac", "type": "github" }, "original": { From f7c5ac4ae9b2ffb1002fd909e066281dc8e59131 Mon Sep 17 00:00:00 2001 From: ThetaSinner Date: Tue, 18 Apr 2023 12:46:56 +0100 Subject: [PATCH 03/50] Pin the holochain_integrity_types dependency --- src/scaffold/zome.rs | 6 ++++++ src/scaffold/zome/coordinator.rs | 1 + src/scaffold/zome/integrity.rs | 1 + 3 files changed, 8 insertions(+) diff --git a/src/scaffold/zome.rs b/src/scaffold/zome.rs index d853f8b5b..d7e3a40b7 100644 --- a/src/scaffold/zome.rs +++ b/src/scaffold/zome.rs @@ -339,6 +339,12 @@ pub fn add_common_zome_dependencies_to_workspace_cargo( &"hdk".to_string(), &format!("={}", hdk_version()), )?; + // TODO temporary: force pin the version because HDI does not require a specific version (^0.1.1 currently) + let file_tree = add_workspace_external_dependency( + file_tree, + &"holochain_integrity_types".to_string(), + &"=0.1.1".to_string(), + )?; let file_tree = add_workspace_external_dependency(file_tree, &"serde".to_string(), &"1".to_string())?; diff --git a/src/scaffold/zome/coordinator.rs b/src/scaffold/zome/coordinator.rs index 3c94172de..108f5a0f0 100644 --- a/src/scaffold/zome/coordinator.rs +++ b/src/scaffold/zome/coordinator.rs @@ -34,6 +34,7 @@ name = "{}" [dependencies] hdk = {{ workspace = true }} +holochain_integrity_types = {{ workspace = true }} serde = {{ workspace = true }} diff --git a/src/scaffold/zome/integrity.rs b/src/scaffold/zome/integrity.rs index f39964337..aac4b8183 100644 --- a/src/scaffold/zome/integrity.rs +++ b/src/scaffold/zome/integrity.rs @@ -11,6 +11,7 @@ name = "{}" [dependencies] hdi = {{ workspace = true }} +holochain_integrity_types = {{ workspace = true }} serde = {{ workspace = true }} "#, From b92b92af4f0d035726f5ef80d98c1b197f85a739 Mon Sep 17 00:00:00 2001 From: = <=> Date: Wed, 19 Apr 2023 12:30:09 -0600 Subject: [PATCH 04/50] bump scaffolded holochain_integrity_types to 0.1.2 --- src/scaffold/zome.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scaffold/zome.rs b/src/scaffold/zome.rs index d7e3a40b7..2213768a8 100644 --- a/src/scaffold/zome.rs +++ b/src/scaffold/zome.rs @@ -343,7 +343,7 @@ pub fn add_common_zome_dependencies_to_workspace_cargo( let file_tree = add_workspace_external_dependency( file_tree, &"holochain_integrity_types".to_string(), - &"=0.1.1".to_string(), + &"=0.1.2".to_string(), )?; let file_tree = add_workspace_external_dependency(file_tree, &"serde".to_string(), &"1".to_string())?; From e93bfcdf35dc3d5bbce618fe024d24676bc6a25a Mon Sep 17 00:00:00 2001 From: = <=> Date: Wed, 19 Apr 2023 13:15:16 -0600 Subject: [PATCH 05/50] hard code hdi + hdk versions --- src/scaffold/zome.rs | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/src/scaffold/zome.rs b/src/scaffold/zome.rs index 2213768a8..1c8bb1875 100644 --- a/src/scaffold/zome.rs +++ b/src/scaffold/zome.rs @@ -329,22 +329,25 @@ fn try_to_guess_coordinator_zomes_location( pub fn add_common_zome_dependencies_to_workspace_cargo( file_tree: FileTree, ) -> ScaffoldResult { + println!("^&* HDI version according to holochain {}", hdi_version()); + println!("^&* HDK version according to holochain {}", hdk_version()); + let file_tree = add_workspace_external_dependency( file_tree, &"hdi".to_string(), - &format!("={}", hdi_version()), + &format!("={}", "0.2.2"), )?; let file_tree = add_workspace_external_dependency( file_tree, &"hdk".to_string(), - &format!("={}", hdk_version()), - )?; - // TODO temporary: force pin the version because HDI does not require a specific version (^0.1.1 currently) - let file_tree = add_workspace_external_dependency( - file_tree, - &"holochain_integrity_types".to_string(), - &"=0.1.2".to_string(), + &format!("={}", "0.1.2"), )?; +// // TODO temporary: force pin the version because HDI does not require a specific version (^0.1.1 currently) +// let file_tree = add_workspace_external_dependency( +// file_tree, +// &"holochain_integrity_types".to_string(), +// &"=0.1.2".to_string(), +// )?; let file_tree = add_workspace_external_dependency(file_tree, &"serde".to_string(), &"1".to_string())?; From ac4886e26463d3acaf5fd987aab90fef45ee4731 Mon Sep 17 00:00:00 2001 From: = <=> Date: Wed, 19 Apr 2023 14:13:22 -0600 Subject: [PATCH 06/50] revert hard coded versions --- src/scaffold/zome.rs | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/src/scaffold/zome.rs b/src/scaffold/zome.rs index 1c8bb1875..2213768a8 100644 --- a/src/scaffold/zome.rs +++ b/src/scaffold/zome.rs @@ -329,25 +329,22 @@ fn try_to_guess_coordinator_zomes_location( pub fn add_common_zome_dependencies_to_workspace_cargo( file_tree: FileTree, ) -> ScaffoldResult { - println!("^&* HDI version according to holochain {}", hdi_version()); - println!("^&* HDK version according to holochain {}", hdk_version()); - let file_tree = add_workspace_external_dependency( file_tree, &"hdi".to_string(), - &format!("={}", "0.2.2"), + &format!("={}", hdi_version()), )?; let file_tree = add_workspace_external_dependency( file_tree, &"hdk".to_string(), - &format!("={}", "0.1.2"), + &format!("={}", hdk_version()), + )?; + // TODO temporary: force pin the version because HDI does not require a specific version (^0.1.1 currently) + let file_tree = add_workspace_external_dependency( + file_tree, + &"holochain_integrity_types".to_string(), + &"=0.1.2".to_string(), )?; -// // TODO temporary: force pin the version because HDI does not require a specific version (^0.1.1 currently) -// let file_tree = add_workspace_external_dependency( -// file_tree, -// &"holochain_integrity_types".to_string(), -// &"=0.1.2".to_string(), -// )?; let file_tree = add_workspace_external_dependency(file_tree, &"serde".to_string(), &"1".to_string())?; From ee4bdca688a7aa39f62a7edb0989f9e03991aad9 Mon Sep 17 00:00:00 2001 From: = <=> Date: Wed, 19 Apr 2023 16:12:57 -0600 Subject: [PATCH 07/50] fix entry and link validation --- src/scaffold/entry_type/integrity.rs | 4 ++-- src/scaffold/link_type/integrity.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/scaffold/entry_type/integrity.rs b/src/scaffold/entry_type/integrity.rs index 99914a2b5..bbb5d2e84 100644 --- a/src/scaffold/entry_type/integrity.rs +++ b/src/scaffold/entry_type/integrity.rs @@ -350,7 +350,7 @@ pub use {}::*; if let syn::Stmt::Expr(syn::Expr::Match(match_expr)) = stmt { if let syn::Expr::Try(try_expr) = &mut *match_expr.expr { if let syn::Expr::MethodCall(call) = &mut *try_expr.expr { - if call.method.to_string().eq(&String::from("to_type")) + if call.method.to_string().eq(&String::from("flattened")) { if let Some(turbofish) = &mut call.turbofish { if let Some(first_arg) = @@ -529,7 +529,7 @@ fn add_entry_type_to_validation_arms( if let syn::Stmt::Expr(syn::Expr::Match(match_expr)) = stmt { if let syn::Expr::Try(try_expr) = &mut *match_expr.expr { if let syn::Expr::MethodCall(call) = &mut *try_expr.expr { - if call.method.to_string().eq(&String::from("to_type")) { + if call.method.to_string().eq(&String::from("flattened")) { for arm in &mut match_expr.arms { if let syn::Pat::TupleStruct(pat_tuple_struct) = &mut arm.pat { if let Some(path_segment) = diff --git a/src/scaffold/link_type/integrity.rs b/src/scaffold/link_type/integrity.rs index 51c3c93f5..15479e378 100644 --- a/src/scaffold/link_type/integrity.rs +++ b/src/scaffold/link_type/integrity.rs @@ -135,7 +135,7 @@ pub fn add_link_type_to_integrity_zome( if let syn::Stmt::Expr(syn::Expr::Match(match_expr)) = stmt { if let syn::Expr::Try(try_expr) = &mut *match_expr.expr { if let syn::Expr::MethodCall(call) = &mut *try_expr.expr { - if call.method.to_string().eq(&String::from("to_type")) + if call.method.to_string().eq(&String::from("flattened")) { if let Some(turbofish) = &mut call.turbofish { if let Some(last_arg) = @@ -489,7 +489,7 @@ fn add_link_type_to_validation_arms( if let syn::Stmt::Expr(syn::Expr::Match(match_expr)) = stmt { if let syn::Expr::Try(try_expr) = &mut *match_expr.expr { if let syn::Expr::MethodCall(call) = &mut *try_expr.expr { - if call.method.to_string().eq(&String::from("to_type")) { + if call.method.to_string().eq(&String::from("flattened")) { for arm in &mut match_expr.arms { if let syn::Pat::TupleStruct(tuple_struct) = &mut arm.pat { if let Some(path_segment) = From 64e6b2bb80cb26e76f3adbfee4653002acfb65e0 Mon Sep 17 00:00:00 2001 From: = <=> Date: Wed, 19 Apr 2023 17:04:06 -0600 Subject: [PATCH 08/50] bump scaffold version --- Cargo.lock | 2 +- Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 610c98c30..f15df29ad 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2449,7 +2449,7 @@ dependencies = [ [[package]] name = "holochain_scaffolding_cli" -version = "0.1.7" +version = "0.1.8" dependencies = [ "anyhow", "assert_cmd", diff --git a/Cargo.toml b/Cargo.toml index 9d02027d5..60f0773ac 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] edition = "2021" name = "holochain_scaffolding_cli" -version = "0.1.7" +version = "0.1.8" description = "CLI to easily generate and modify holochain apps" license-file = "LICENSE_CAL-1.0" homepage = "https://developer.holochain.org" From 9229623ae63c517da9fd0048ef0642737ac86da5 Mon Sep 17 00:00:00 2001 From: Robbie Carlton Date: Wed, 19 Apr 2023 17:11:26 -0600 Subject: [PATCH 09/50] Remove `_version` from generated dna manifest --- src/scaffold/dna.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/scaffold/dna.rs b/src/scaffold/dna.rs index 15f1ee61e..b9d54a53e 100644 --- a/src/scaffold/dna.rs +++ b/src/scaffold/dna.rs @@ -217,7 +217,6 @@ pub fn scaffold_dna( quantum_time: None, }, installed_hash: None, - _version: None, clone_limit: 0, }, provisioning: Some(CellProvisioning::Create { deferred: false }), From 6039c364e03117d9ce92d865e2ea6d93b0922ae4 Mon Sep 17 00:00:00 2001 From: = <=> Date: Wed, 19 Apr 2023 17:13:50 -0600 Subject: [PATCH 10/50] Revert "Remove `_version` from generated dna manifest" This reverts commit 9229623ae63c517da9fd0048ef0642737ac86da5. --- src/scaffold/dna.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/scaffold/dna.rs b/src/scaffold/dna.rs index b9d54a53e..15f1ee61e 100644 --- a/src/scaffold/dna.rs +++ b/src/scaffold/dna.rs @@ -217,6 +217,7 @@ pub fn scaffold_dna( quantum_time: None, }, installed_hash: None, + _version: None, clone_limit: 0, }, provisioning: Some(CellProvisioning::Create { deferred: false }), From d4f65cb3d3b69d03db81330752a63a34d24dfd0d Mon Sep 17 00:00:00 2001 From: = <=> Date: Wed, 19 Apr 2023 17:15:03 -0600 Subject: [PATCH 11/50] fix comment --- src/scaffold/zome.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scaffold/zome.rs b/src/scaffold/zome.rs index 2213768a8..615fc5ee4 100644 --- a/src/scaffold/zome.rs +++ b/src/scaffold/zome.rs @@ -339,7 +339,7 @@ pub fn add_common_zome_dependencies_to_workspace_cargo( &"hdk".to_string(), &format!("={}", hdk_version()), )?; - // TODO temporary: force pin the version because HDI does not require a specific version (^0.1.1 currently) + // TODO temporary: force pin the version because HDI does not require a specific version (^0.1.2 currently) let file_tree = add_workspace_external_dependency( file_tree, &"holochain_integrity_types".to_string(), From 389a87a2786ae90688a8625e177e63aa63c01d60 Mon Sep 17 00:00:00 2001 From: = <=> Date: Thu, 20 Apr 2023 06:46:57 -0600 Subject: [PATCH 12/50] Add TODO to remove sqlite --- Cargo.toml | 1 - flake.nix | 5 +++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 60f0773ac..df48d290a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,6 @@ homepage = "https://developer.holochain.org" documentation = "https://docs.rs/holochain_scaffolding_cli" repository = "https://github.com/holochain/scaffolding" readme = "README.md" -resolver = "2" [[bin]] name = "hc-scaffold" diff --git a/flake.nix b/flake.nix index 8dd5ced6d..8b88a8e98 100644 --- a/flake.nix +++ b/flake.nix @@ -25,8 +25,9 @@ }: { devShells.default = pkgs.mkShell { inputsFrom = [ inputs.holochain.devShells.${system}.holonix ]; - packages = [ pkgs.nodejs-18_x pkgs.sqlite ]; + # TODO: remove sqlite package once https://github.com/holochain/holochain/pull/2248 is released + packages = [ pkgs.nodejs-18_x pkgs.sqlite ]; }; }; }; -} \ No newline at end of file +} From 8b13e755858f8994cf88b402ee2a26e11f999082 Mon Sep 17 00:00:00 2001 From: = <=> Date: Thu, 20 Apr 2023 09:58:00 -0600 Subject: [PATCH 13/50] Add extend-space action for CI --- .github/actions/extend-space/action.yaml | 61 ++++++++++++++++++++++++ .github/workflows/test.yaml | 6 ++- 2 files changed, 66 insertions(+), 1 deletion(-) create mode 100644 .github/actions/extend-space/action.yaml diff --git a/.github/actions/extend-space/action.yaml b/.github/actions/extend-space/action.yaml new file mode 100644 index 000000000..09d316a3a --- /dev/null +++ b/.github/actions/extend-space/action.yaml @@ -0,0 +1,61 @@ +# Extends disk space on github hosted runners + + +name: "Extend space" +description: "Teases out as much free space as possible" + +runs: + using: "composite" + steps: + - name: Create mountpoint for extended space + shell: "bash" + run: sudo mkdir /mnt/extended + + - name: Maximize build space + uses: easimon/maximize-build-space@v6 + # uses: AdityaGarg8/remove-unwanted-software@v1 + with: + remove-dotnet: true + remove-android: true + remove-haskell: true + build-mount-path: /mnt/extended + root-reserve-mb: 512 + swap-size-mb: 1024 + + # after we've got the extended space mounted, we can use overlayfs and bind + # mounts as appropriate to make this space available to all paths that are + # expected to be written to. + # + # for new directories (such as /nix), a bind mount is enough for existing + # directories (such as $HOME and /tmp), we use an overlay to preserve access + # to the existing files, while redirecting changes to the extended space. + - name: Use extended space for /nix, /tmp, /var/tmp, and $HOME + shell: "bash" + run: | + export EXTENDED_PATH=/mnt/extended + sudo mkdir $EXTENDED_PATH/{tmp,nix,home} + sudo mkdir $EXTENDED_PATH/tmp/{upper,work} + sudo mv /tmp{,_lower} + sudo mkdir /tmp + sudo mount -t overlay overlay \ + -o lowerdir=/tmp_lower,upperdir=$EXTENDED_PATH/tmp/upper,workdir=$EXTENDED_PATH/tmp/work \ + /tmp + sudo chown $(id -u):$(id -g) /tmp + sudo mkdir -p $EXTENDED_PATH/var/tmp/{upper,work} + sudo mv /var/tmp{,_lower} + sudo mkdir -p /var/tmp + sudo mount -t overlay overlay \ + -o lowerdir=/var/tmp_lower,upperdir=$EXTENDED_PATH/var/tmp/upper,workdir=$EXTENDED_PATH/var/tmp/work \ + /var/tmp + sudo chown $(id -u):$(id -g) /var/tmp + sudo mkdir /nix + sudo mount -o bind $EXTENDED_PATH/nix /nix + sudo mkdir $EXTENDED_PATH/home/{upper,work} + sudo mv ${HOME} ${HOME}_lower + sudo mkdir ${HOME} + sudo chown $(id -u):$(id -g) $HOME + sudo mount -t overlay overlay \ + -o lowerdir=${HOME}_lower,upperdir=$EXTENDED_PATH/home/upper,workdir=$EXTENDED_PATH/home/work \ + $HOME + sudo chown $(id -u):$(id -g) $HOME + df -h \ No newline at end of file diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 29d7998a6..b746bc54f 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -13,6 +13,9 @@ jobs: steps: - uses: actions/checkout@v2 + - name: Extend space + uses: ./.github/actions/extend-space + - name: Install nix uses: cachix/install-nix-action@v18 with: @@ -20,11 +23,12 @@ jobs: extra_nix_config: | experimental-features = flakes nix-command - - uses: cachix/cachix-action@v10 + - uses: cachix/cachix-action@v12 with: name: holochain-ci - name: Install and test run: | + cd $GITHUB_WORKSPACE nix develop --command bash -c "cargo install --path . && sh run_test.sh" From c304525c5a30835c85b13d8dc64be8dabafa187a Mon Sep 17 00:00:00 2001 From: = <=> Date: Mon, 24 Apr 2023 14:21:50 -0600 Subject: [PATCH 14/50] wip --- Cargo.lock | 1168 ++++++++++++++++++++++++++-------------- Cargo.toml | 8 +- flake.lock | 31 +- flake.nix | 1 + versions_0_2/flake.nix | 28 + 5 files changed, 830 insertions(+), 406 deletions(-) create mode 100644 versions_0_2/flake.nix diff --git a/Cargo.lock b/Cargo.lock index f15df29ad..b4202fb1f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2,6 +2,16 @@ # It is not intended for manual editing. version = 3 +[[package]] +name = "Inflector" +version = "0.11.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fe438c63458706e03479442743baae6c88256498e6431708f6dfc520a26515d3" +dependencies = [ + "lazy_static", + "regex", +] + [[package]] name = "addr2line" version = "0.19.0" @@ -35,7 +45,19 @@ version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fcb51a0695d8f838b1ee009b3fbf66bda078cd64590202a864a8f3e8c4315c47" dependencies = [ - "getrandom 0.2.9", + "getrandom", + "once_cell", + "version_check", +] + +[[package]] +name = "ahash" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2c99f64d1e06488f620f932677e24bc6e2897582980441ae90a671415bd7ec2f" +dependencies = [ + "cfg-if 1.0.0", + "getrandom", "once_cell", "version_check", ] @@ -49,6 +71,21 @@ dependencies = [ "memchr", ] +[[package]] +name = "aho-corasick" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67fc08ce920c31afb70f013dcce1bfc3a3195de6a228474e45e1f145b36f8d04" +dependencies = [ + "memchr", +] + +[[package]] +name = "aliasable" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "250f629c0161ad8107cf89319e990051fae62832fd343083bea452d93e2205fd" + [[package]] name = "android_system_properties" version = "0.1.5" @@ -69,9 +106,9 @@ dependencies = [ [[package]] name = "anstream" -version = "0.3.0" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e579a7752471abc2a8268df8b20005e3eadd975f585398f17efcfd8d4927371" +checksum = "6342bd4f5a1205d7f41e94a41a901f5647c938cdfa96036338e8533c9d6c2450" dependencies = [ "anstyle", "anstyle-parse", @@ -108,9 +145,9 @@ dependencies = [ [[package]] name = "anstyle-wincon" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4bcd8291a340dd8ac70e18878bc4501dd7b4ff970cfa21c207d36ece51ea88fd" +checksum = "180abfa45703aebe0093f79badacc01b8fd4ea2e35118747e5811127f926e188" dependencies = [ "anstyle", "windows-sys 0.48.0", @@ -238,7 +275,7 @@ dependencies = [ "polling", "rustix", "slab", - "socket2 0.4.9", + "socket2", "waker-fn", ] @@ -527,7 +564,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8129c0ab340c1b0caf6dbc587e814d04ba811e336dcf8fc268c04e047428ebb0" dependencies = [ "bit-vec", - "getrandom 0.2.9", + "getrandom", "siphasher", ] @@ -568,9 +605,9 @@ dependencies = [ [[package]] name = "bumpalo" -version = "3.12.0" +version = "3.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d261e256854913907f67ed06efbc3338dfe6179796deefc1ff763fc1aee5535" +checksum = "9b1ce199063694f33ffb7dd4e0ee620741495c32833cde5aa08f02a0bf96f0c8" [[package]] name = "bytecheck" @@ -623,6 +660,12 @@ version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "89b2fd2a0dcf38d7971e2194b6b6eebab45ae01067456a7fd93d5547a61b70be" +[[package]] +name = "c_linked_list" +version = "1.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4964518bd3b4a8190e832886cdc0da9794f12e8e6c1613a9e90ff331c4c8724b" + [[package]] name = "camino" version = "1.1.4" @@ -722,8 +765,8 @@ checksum = "71655c45cb9845d3270c9d6df84ebe72b4dad3c2ba3f7023ad47c144e4e473a5" dependencies = [ "atty", "bitflags", - "clap_derive", - "clap_lex", + "clap_derive 3.2.18", + "clap_lex 0.2.4", "indexmap", "once_cell", "strsim 0.10.0", @@ -731,6 +774,31 @@ dependencies = [ "textwrap 0.16.0", ] +[[package]] +name = "clap" +version = "4.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "956ac1f6381d8d82ab4684768f89c0ea3afe66925ceadb4eeb3fc452ffc55d62" +dependencies = [ + "clap_builder", + "clap_derive 4.2.0", + "once_cell", +] + +[[package]] +name = "clap_builder" +version = "4.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "84080e799e54cff944f4b4a4b0e71630b0e0443b25b985175c7dddc1a859b749" +dependencies = [ + "anstream", + "anstyle", + "bitflags", + "clap_lex 0.4.1", + "strsim 0.10.0", + "terminal_size", +] + [[package]] name = "clap_derive" version = "3.2.18" @@ -744,6 +812,18 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "clap_derive" +version = "4.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f9644cd56d6b87dbe899ef8b053e331c0637664e9e21a33dfcdc36093f5c5c4" +dependencies = [ + "heck 0.4.1", + "proc-macro2", + "quote", + "syn 2.0.15", +] + [[package]] name = "clap_lex" version = "0.2.4" @@ -753,6 +833,12 @@ dependencies = [ "os_str_bytes", ] +[[package]] +name = "clap_lex" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a2dd5a6fe8c6e3502f568a6353e5273bbb15193ad9a89e457b9970798efbea1" + [[package]] name = "cloudabi" version = "0.0.3" @@ -911,9 +997,9 @@ dependencies = [ [[package]] name = "cpufeatures" -version = "0.2.6" +version = "0.2.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "280a9f2d8b3a38871a3c8a46fb80db65e5e5ed97da80c4d08bf27fb63e35e181" +checksum = "3e4c1eaa2012c47becbbad2ab175484c2a84d1185b566fb2cc5b8707343dfe58" dependencies = [ "libc", ] @@ -1458,9 +1544,9 @@ checksum = "fea41bba32d969b513997752735605054bc0dfa92b4c56bf1189f2e174be7a10" [[package]] name = "downcast" -version = "0.10.0" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4bb454f0228b18c7f4c3b0ebbee346ed9c52e7443b0999cd543ff3571205701d" +checksum = "1435fa1053d8b2fbbe9be7e97eca7f33d37b28409959813daefc1446a14247f1" [[package]] name = "dtoa" @@ -1538,9 +1624,9 @@ dependencies = [ [[package]] name = "env_logger" -version = "0.9.3" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a12e6657c4c97ebab115a42dcee77225f7f482cdd841cf7088c657a42e9e00e7" +checksum = "85cdab6a89accf66733ad5a1693a4dcced6aeff64602b634530dd73c1f3ee9f0" dependencies = [ "log", ] @@ -1643,11 +1729,11 @@ dependencies = [ [[package]] name = "fixt" -version = "0.1.1" +version = "0.2.0-beta-rc.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0c56586e2d46ef54b2e603cba5f9d92b15084c6ef28ef4fcb5bb0896317a41d" +checksum = "3c82e720f809f69c9c3329cfc6b7c212196f0c2b6c8d1668d5a3ca6ee604fc82" dependencies = [ - "holochain_serialized_bytes 0.0.51", + "holochain_serialized_bytes", "lazy_static", "parking_lot 0.10.2", "paste", @@ -1677,6 +1763,15 @@ dependencies = [ "num-traits", ] +[[package]] +name = "float-cmp" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "98de4bbd547a563b716d8dfa9aad1cb19bfab00f4fa09a6a4ed21dbcf44ce9c4" +dependencies = [ + "num-traits", +] + [[package]] name = "fnv" version = "1.0.7" @@ -1707,15 +1802,6 @@ dependencies = [ "percent-encoding 2.2.0", ] -[[package]] -name = "fragile" -version = "1.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b7464c5c4a3f014d9b2ec4073650e5c06596f385060af740fc45ad5a19f959e8" -dependencies = [ - "fragile 2.0.0", -] - [[package]] name = "fragile" version = "2.0.0" @@ -1879,6 +1965,12 @@ dependencies = [ "byteorder", ] +[[package]] +name = "gcc" +version = "0.3.55" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f5f3913fa0bfe7ee1fd8248b6b9f42a5af4b9d65ec2dd2c3c26132b950ecfc2" + [[package]] name = "gcollections" version = "1.5.0" @@ -1902,14 +1994,25 @@ dependencies = [ ] [[package]] -name = "getrandom" -version = "0.1.16" +name = "get_if_addrs" +version = "0.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8fc3cb4d91f53b50155bdcfd23f6a4c39ae1969c2ae85982b135750cccaf5fce" +checksum = "abddb55a898d32925f3148bd281174a68eeb68bbfd9a5938a57b18f506ee4ef7" dependencies = [ - "cfg-if 1.0.0", + "c_linked_list", + "get_if_addrs-sys", + "libc", + "winapi 0.2.8", +] + +[[package]] +name = "get_if_addrs-sys" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d04f9fb746cf36b191c00f3ede8bde9c8e64f9f4b05ae2694a9ccf5e3f5ab48" +dependencies = [ + "gcc", "libc", - "wasi 0.9.0+wasi-snapshot-preview1", ] [[package]] @@ -1925,14 +2028,13 @@ dependencies = [ [[package]] name = "ghost_actor" -version = "0.3.0-alpha.4" +version = "0.3.0-alpha.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ecc8c54b8ebb1e0347a75a2c1e54268c737313da693f99c0964643011e5406d" +checksum = "b0f758b0048e5f55f4d927932a32eb4ab8a850c4b9a7951b259ba6c8792d5c38" dependencies = [ "futures 0.3.28", "mockall", "must_future", - "observability", "paste", "thiserror", "tracing", @@ -1972,7 +2074,7 @@ version = "0.4.10" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "029d74589adefde59de1a0c4f4732695c32805624aec7b68d91503d4dba79afc" dependencies = [ - "aho-corasick", + "aho-corasick 0.7.20", "bstr 1.4.0", "fnv", "log", @@ -2113,9 +2215,9 @@ dependencies = [ [[package]] name = "hdi" -version = "0.2.2" +version = "0.3.0-beta-rc.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b9f6105d20d9c8dcac3b967bef3de5c811d43de3079c60f05ddebb86421f362" +checksum = "8533b6fdd0e33f34846fac69b231fb0908b3d67ff09fa28be709b08f592d2bbe" dependencies = [ "hdk_derive", "holo_hash", @@ -2130,11 +2232,11 @@ dependencies = [ [[package]] name = "hdk" -version = "0.1.2" +version = "0.2.0-beta-rc.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a354d9b29d879b8e05c2e1e5f5a9657dac2a1f4be6732ecc4d72273cf6d30bbd" +checksum = "7ef12c14920790e7dbe7d10c2010b88c2838c113b2fe3f2b17388a0309f8e237" dependencies = [ - "getrandom 0.2.9", + "getrandom", "hdi", "hdk_derive", "holo_hash", @@ -2150,9 +2252,9 @@ dependencies = [ [[package]] name = "hdk_derive" -version = "0.1.2" +version = "0.2.0-beta-rc.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b42de4f722e215382845ca26d6b71d557f843c674dfd9463cb517873c6cade8" +checksum = "f7a40da52b7fa195f618728686538b8bf0573efd1e6bd2f70abf0b880447e87f" dependencies = [ "darling 0.14.4", "heck 0.4.1", @@ -2164,6 +2266,31 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "headers" +version = "0.3.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f3e372db8e5c0d213e0cd0b9be18be2aca3d44cf2fe30a9d46a65581cd454584" +dependencies = [ + "base64 0.13.1", + "bitflags", + "bytes 1.4.0", + "headers-core", + "http 0.2.9", + "httpdate", + "mime", + "sha1", +] + +[[package]] +name = "headers-core" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7f66481bfee273957b1f20485a4ff3362987f85b2c236580d81b4eb7a326429" +dependencies = [ + "http 0.2.9", +] + [[package]] name = "heck" version = "0.3.3" @@ -2211,9 +2338,9 @@ checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" [[package]] name = "holo_hash" -version = "0.1.2" +version = "0.2.0-beta-rc.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d8076a1021ca8bf729d4224c4facd24f06c3aebd3fd335080d1460495538dfd" +checksum = "348a44e5d76ad10ffb1ecf25581baf55b39731bd79f5ed45b9d4db097321aa60" dependencies = [ "arbitrary", "base64 0.13.1", @@ -2221,7 +2348,7 @@ dependencies = [ "derive_more", "fixt", "futures 0.3.28", - "holochain_serialized_bytes 0.0.51", + "holochain_serialized_bytes", "kitsune_p2p_dht_arc", "must_future", "rand 0.8.5", @@ -2233,9 +2360,9 @@ dependencies = [ [[package]] name = "holochain" -version = "0.1.4" +version = "0.2.0-beta-rc.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2ec4017d1b3d07503f7a17b2df428acd87c19c318b26c3f6560eabc3b45d6cc4" +checksum = "374c74b9d92d8c00bb090843661ff09f64103799f381e879f70503933aa6521d" dependencies = [ "anyhow", "async-recursion", @@ -2250,18 +2377,20 @@ dependencies = [ "fallible-iterator", "fixt", "futures 0.3.28", - "getrandom 0.2.9", - "ghost_actor 0.3.0-alpha.4", + "get_if_addrs", + "getrandom", + "ghost_actor 0.3.0-alpha.5", "hdk", "holo_hash", "holochain_cascade", "holochain_conductor_api", "holochain_keystore", "holochain_p2p", - "holochain_serialized_bytes 0.0.51", + "holochain_serialized_bytes", "holochain_sqlite", "holochain_state", "holochain_test_wasm_common", + "holochain_trace", "holochain_types", "holochain_util", "holochain_wasm_test_utils", @@ -2272,6 +2401,8 @@ dependencies = [ "human-panic", "itertools 0.10.5", "kitsune_p2p", + "kitsune_p2p_block", + "kitsune_p2p_bootstrap", "kitsune_p2p_types", "lazy_static", "matches", @@ -2280,7 +2411,6 @@ dependencies = [ "must_future", "nanoid 0.3.0", "num_cpus", - "observability", "once_cell", "one_err", "parking_lot 0.10.2", @@ -2307,7 +2437,9 @@ dependencies = [ "toml 0.5.11", "tracing", "tracing-futures", - "tracing-subscriber 0.2.25", + "tracing-subscriber", + "tx5-go-pion-turn", + "tx5-signal-srv", "unwrap_to", "url 1.7.2", "url2", @@ -2318,9 +2450,9 @@ dependencies = [ [[package]] name = "holochain_cascade" -version = "0.1.4" +version = "0.2.0-beta-rc.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb03147cc0e99e5236fe5f6e77e5fa296bd281c4da2ace18c948e6dcd085e5ee" +checksum = "b3770afe66cdcc95b469191dd3fd59e29b6d52a3c3d164f82ac388ce4934274d" dependencies = [ "async-trait", "derive_more", @@ -2328,19 +2460,19 @@ dependencies = [ "fallible-iterator", "fixt", "futures 0.3.28", - "ghost_actor 0.3.0-alpha.4", + "ghost_actor 0.3.0-alpha.5", "hdk", "hdk_derive", "holo_hash", "holochain_p2p", - "holochain_serialized_bytes 0.0.51", + "holochain_serialized_bytes", "holochain_sqlite", "holochain_state", + "holochain_trace", "holochain_types", "holochain_zome_types", "kitsune_p2p", "mockall", - "observability", "serde", "serde_derive", "thiserror", @@ -2351,16 +2483,16 @@ dependencies = [ [[package]] name = "holochain_conductor_api" -version = "0.1.4" +version = "0.2.0-beta-rc.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09e86402c2b1b92e3badc5144934e64b09099b79c8f80d239a8dc60125385e87" +checksum = "5b966af279183c00ae8a6e88462953d720bed3574f60690fe0ffb66210880e31" dependencies = [ "derive_more", "directories", "holo_hash", "holochain_keystore", "holochain_p2p", - "holochain_serialized_bytes 0.0.51", + "holochain_serialized_bytes", "holochain_state", "holochain_types", "holochain_zome_types", @@ -2376,13 +2508,13 @@ dependencies = [ [[package]] name = "holochain_integrity_types" -version = "0.1.2" +version = "0.2.0-beta-rc.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5755ca3e4d8d3121c8294b8ac21a1da072350519309381336ff9e0aaee80e1b5" +checksum = "c5fd8255f4d6cc77d75287eea080bec65c85eca55741e54f18819808bf895e7b" dependencies = [ "arbitrary", "holo_hash", - "holochain_serialized_bytes 0.0.51", + "holochain_serialized_bytes", "kitsune_p2p_timestamp", "paste", "serde", @@ -2393,15 +2525,14 @@ dependencies = [ [[package]] name = "holochain_keystore" -version = "0.1.4" +version = "0.2.0-beta-rc.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c42da7f8151feca101feb628252774771834e700e72dc57f67d7ec11b574c7f" +checksum = "047d050dd3b23445c0cce9dfe94ab72cde83fd49943e5cd45a1287c2a82f271f" dependencies = [ "base64 0.13.1", "futures 0.3.28", "holo_hash", - "holochain_serialized_bytes 0.0.51", - "holochain_sqlite", + "holochain_serialized_bytes", "holochain_zome_types", "kitsune_p2p_types", "lair_keystore", @@ -2419,25 +2550,25 @@ dependencies = [ [[package]] name = "holochain_p2p" -version = "0.1.4" +version = "0.2.0-beta-rc.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1ead00875101cad60884f113284d0e62ccaf70b27f700b7f7133fcdec3850a8" +checksum = "c07f96a1bada1a51ec680b479d31633e8a26ba6400d2ae366e33fe548125ea67" dependencies = [ "async-trait", "derive_more", "fixt", "futures 0.3.28", - "ghost_actor 0.3.0-alpha.4", + "ghost_actor 0.3.0-alpha.5", "holo_hash", "holochain_keystore", - "holochain_serialized_bytes 0.0.51", + "holochain_serialized_bytes", + "holochain_trace", "holochain_types", "holochain_util", "holochain_zome_types", "kitsune_p2p", "kitsune_p2p_types", "mockall", - "observability", "rand 0.8.5", "serde", "serde_bytes", @@ -2492,22 +2623,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9805b3e01e7b5c144782a0823db4dc895fec18a9ccd45a492ce7c7bf157a9e38" dependencies = [ "arbitrary", - "holochain_serialized_bytes_derive 0.0.51", - "rmp-serde 0.15.5", - "serde", - "serde-transcode", - "serde_bytes", - "serde_json", - "thiserror", -] - -[[package]] -name = "holochain_serialized_bytes" -version = "0.0.52" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bac6151d65c9a6f26f1b1068046a98900214030924377a2142f60c279b091f51" -dependencies = [ - "holochain_serialized_bytes_derive 0.0.52", + "holochain_serialized_bytes_derive", "rmp-serde 0.15.5", "serde", "serde-transcode", @@ -2526,21 +2642,11 @@ dependencies = [ "syn 1.0.109", ] -[[package]] -name = "holochain_serialized_bytes_derive" -version = "0.0.52" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "17cec0d0c2317fcb87772d0a8b5b5e88c7276aef93bf3496931e89cb9231c129" -dependencies = [ - "quote", - "syn 1.0.109", -] - [[package]] name = "holochain_sqlite" -version = "0.1.4" +version = "0.2.0-beta-rc.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6dad83e4dc6001f80b99d9e9863730d97dd560a562ffbde209a9b4c0b8ac097c" +checksum = "ad83709ac73786fb3ee1b3aa9c37bd1e3c4a7ea708208aeb432ff2c70a124623" dependencies = [ "anyhow", "async-trait", @@ -2554,9 +2660,9 @@ dependencies = [ "fallible-iterator", "fixt", "futures 0.3.28", - "getrandom 0.2.9", + "getrandom", "holo_hash", - "holochain_serialized_bytes 0.0.51", + "holochain_serialized_bytes", "holochain_util", "holochain_zome_types", "kitsune_p2p", @@ -2589,9 +2695,9 @@ dependencies = [ [[package]] name = "holochain_state" -version = "0.1.4" +version = "0.2.0-beta-rc.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3745dc3a741280e9bd690b7dae1a633c7264b9c695aaa6ceae65c80443f7def4" +checksum = "2778daac4d1351b4728b7659c805e4c6748c0bb8af100881a90185ca33cd7948" dependencies = [ "async-recursion", "base64 0.13.1", @@ -2604,11 +2710,11 @@ dependencies = [ "either", "fallible-iterator", "futures 0.3.28", - "getrandom 0.2.9", + "getrandom", "holo_hash", "holochain_keystore", "holochain_p2p", - "holochain_serialized_bytes 0.0.51", + "holochain_serialized_bytes", "holochain_sqlite", "holochain_types", "holochain_util", @@ -2631,19 +2737,37 @@ dependencies = [ [[package]] name = "holochain_test_wasm_common" -version = "0.1.2" +version = "0.2.0-beta-rc.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97bf9098c13c40681fe96eaacbc1918ea07656595789ad03184271803c6aa5a5" +checksum = "afded13dddb292fc348ad4484ebf5f9bcec1318f012365b86885def3f8b7cf45" dependencies = [ "hdk", "serde", ] +[[package]] +name = "holochain_trace" +version = "0.2.0-beta-rc.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "34c88f9b428d1165912f63a6c38f7299f954fd15d1c53fb423fdf99cc5d87bd0" +dependencies = [ + "chrono", + "derive_more", + "inferno", + "once_cell", + "serde_json", + "thiserror", + "tracing", + "tracing-core", + "tracing-serde", + "tracing-subscriber", +] + [[package]] name = "holochain_types" -version = "0.1.4" +version = "0.2.0-beta-rc.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "39681c5767cebf220f706be13801a451a61535d83ddaf20a640597c8518fa2a6" +checksum = "ab516a9d23c197b3f29b4b079a44eb2937368f33fad753655e89cc21a1f6c39e" dependencies = [ "anyhow", "arbitrary", @@ -2662,8 +2786,9 @@ dependencies = [ "futures 0.3.28", "holo_hash", "holochain_keystore", - "holochain_serialized_bytes 0.0.51", + "holochain_serialized_bytes", "holochain_sqlite", + "holochain_trace", "holochain_util", "holochain_zome_types", "isotest", @@ -2674,7 +2799,6 @@ dependencies = [ "mr_bundle", "must_future", "nanoid 0.3.0", - "observability", "one_err", "parking_lot 0.10.2", "rand 0.8.5", @@ -2696,9 +2820,9 @@ dependencies = [ [[package]] name = "holochain_util" -version = "0.1.0" +version = "0.2.0-beta-rc.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6696351bacb3fd484954a51d9c5b52eccfdbb9dfedc4437c258e2d44374587f" +checksum = "af58b8c262a81cc0dfb17dec77a636ff03bcdd31a7076f13070a2fd133fdabe4" dependencies = [ "backtrace", "cfg-if 0.1.10", @@ -2714,9 +2838,9 @@ dependencies = [ [[package]] name = "holochain_wasm_test_utils" -version = "0.1.4" +version = "0.2.0-beta-rc.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e86e3abe453264013e1eecdb61c95d9218dd8fb45fbae7249df585916a3aedc" +checksum = "f4cd87ad65c3669063b1a68cfb3a8eb8ec3f08419e965952244442bff522c7a0" dependencies = [ "holochain_types", "holochain_util", @@ -2732,7 +2856,7 @@ version = "0.0.83" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ce2c50cfaf43ccfaf9c584eae3864dffb3f010f140dad6e52368f0969ce680d7" dependencies = [ - "holochain_serialized_bytes 0.0.51", + "holochain_serialized_bytes", "serde", "serde_bytes", "test-fuzz", @@ -2747,7 +2871,7 @@ version = "0.0.83" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f5539ab71791a3f9d0febbd2822ba398ef34e18f55f86eafc4918a776d12d7db" dependencies = [ - "holochain_serialized_bytes 0.0.51", + "holochain_serialized_bytes", "holochain_wasmer_common", "parking_lot 0.12.1", "paste", @@ -2762,7 +2886,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "22765ece4cda73be1bb004f849e8c71b921916fd9fb05bfc7110dfb5b1864cdd" dependencies = [ "bimap", - "holochain_serialized_bytes 0.0.51", + "holochain_serialized_bytes", "holochain_wasmer_common", "once_cell", "parking_lot 0.12.1", @@ -2774,13 +2898,13 @@ dependencies = [ [[package]] name = "holochain_websocket" -version = "0.1.0" +version = "0.2.0-beta-rc.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e1fd11a074d217a090449c63b71c1ffb8e07a6700a67cc4eab779159e925b7f" +checksum = "5959d1a899dbe385d4ac30735519f70da362a966e0ce7848fe8738dd79c5d909" dependencies = [ "futures 0.3.28", "ghost_actor 0.4.0-alpha.5", - "holochain_serialized_bytes 0.0.51", + "holochain_serialized_bytes", "must_future", "nanoid 0.3.0", "net2", @@ -2790,18 +2914,18 @@ dependencies = [ "thiserror", "tokio 1.27.0", "tokio-stream", - "tokio-tungstenite", + "tokio-tungstenite 0.13.0", "tracing", "tracing-futures", - "tungstenite", + "tungstenite 0.12.0", "url2", ] [[package]] name = "holochain_zome_types" -version = "0.1.2" +version = "0.2.0-beta-rc.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fd45986999baf8590ff444442cdbbd460ae26e8ecaa7494a69f081c897bbe714" +checksum = "039fd4bc5621f8ca9ff788b0d9defa0411701890d45e026cd3e89106c7c85129" dependencies = [ "arbitrary", "contrafact", @@ -2809,8 +2933,10 @@ dependencies = [ "fixt", "holo_hash", "holochain_integrity_types", - "holochain_serialized_bytes 0.0.51", + "holochain_serialized_bytes", "holochain_wasmer_common", + "kitsune_p2p_bin_data", + "kitsune_p2p_block", "kitsune_p2p_dht", "kitsune_p2p_timestamp", "nanoid 0.3.0", @@ -2923,6 +3049,12 @@ dependencies = [ "uuid 1.3.1", ] +[[package]] +name = "human-repr" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f58b778a5761513caf593693f8951c97a5b610841e754788400f32102eefdff1" + [[package]] name = "hyper" version = "0.12.36" @@ -2970,7 +3102,7 @@ dependencies = [ "httpdate", "itoa 1.0.6", "pin-project-lite", - "socket2 0.4.9", + "socket2", "tokio 1.27.0", "tower-service", "tracing", @@ -3065,17 +3197,6 @@ dependencies = [ "unicode-normalization", ] -[[package]] -name = "if-addrs" -version = "0.6.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2273e421f7c4f0fc99e1934fe4776f59d8df2972f4199d703fc0da9f2a9f73de" -dependencies = [ - "if-addrs-sys", - "libc", - "winapi 0.3.9", -] - [[package]] name = "if-addrs" version = "0.7.0" @@ -3087,13 +3208,13 @@ dependencies = [ ] [[package]] -name = "if-addrs-sys" -version = "0.3.2" +name = "if-addrs" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "de74b9dd780476e837e5eb5ab7c88b49ed304126e412030a0adba99c8efe79ea" +checksum = "26b24dd0826eee92c56edcda7ff190f2cf52115c49eadb2c2da8063e2673a8c2" dependencies = [ - "cc", "libc", + "windows-sys 0.42.0", ] [[package]] @@ -3164,23 +3285,22 @@ dependencies = [ [[package]] name = "inferno" -version = "0.10.12" +version = "0.11.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "de3886428c6400486522cf44b8626e7b94ad794c14390290f2a274dcf728a58f" +checksum = "2fb7c1b80a1dfa604bb4a649a5c5aeef3d913f7c520cb42b40e534e8a61bcdfc" dependencies = [ - "ahash 0.7.6", - "atty", - "clap 3.2.23", + "ahash 0.8.3", + "clap 4.2.4", "crossbeam-channel", "crossbeam-utils 0.8.15", "dashmap 5.4.0", "env_logger", "indexmap", + "is-terminal", "itoa 1.0.6", - "lazy_static", "log", "num-format", - "num_cpus", + "once_cell", "quick-xml", "rgb", "str_stack", @@ -3325,21 +3445,24 @@ dependencies = [ [[package]] name = "kitsune_p2p" -version = "0.1.3" +version = "0.2.0-beta-rc.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cfda706b5e183af43db1fa33698d2d5c035a0d9831b70d92e4f148febbf93e91" +checksum = "95d060975b7aab0d809e0eba90d588221d0430d70244c3b05abce0dbfdb1724e" dependencies = [ "arbitrary", "arrayref", "base64 0.13.1", "blake2b_simd 0.5.11", "bloomfilter", + "bytes 1.4.0", "derive_more", "fixt", "futures 0.3.28", - "ghost_actor 0.3.0-alpha.4", + "ghost_actor 0.3.0-alpha.5", "governor", + "holochain_trace", "itertools 0.10.5", + "kitsune_p2p_block", "kitsune_p2p_fetch", "kitsune_p2p_mdns", "kitsune_p2p_proxy", @@ -3351,7 +3474,6 @@ dependencies = [ "must_future", "nanoid 0.4.0", "num-traits", - "observability", "once_cell", "parking_lot 0.11.2", "rand 0.8.5", @@ -3364,14 +3486,62 @@ dependencies = [ "tokio 1.27.0", "tokio-stream", "tracing", + "tx5", "url2", ] +[[package]] +name = "kitsune_p2p_bin_data" +version = "0.2.0-beta-rc.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d5b07c7ffba37f0eb4c89415438cfb8fc6ec0844027ff6bb5ce1cb79a199a645" +dependencies = [ + "arbitrary", + "base64 0.13.1", + "derive_more", + "kitsune_p2p_dht_arc", + "serde", + "serde_bytes", + "shrinkwraprs", +] + +[[package]] +name = "kitsune_p2p_block" +version = "0.2.0-beta-rc.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ab3bd845cccb2d1a444f52128f59f4369cf575919667b404f3ba25dd0fa0722" +dependencies = [ + "kitsune_p2p_bin_data", + "kitsune_p2p_timestamp", + "serde", + "serde_bytes", +] + +[[package]] +name = "kitsune_p2p_bootstrap" +version = "0.1.0-beta-rc.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e8f42b341dd868a6273d3b2ecbfd62b711752eda916b00747bdc199ea96111a4" +dependencies = [ + "clap 3.2.23", + "futures 0.3.28", + "kitsune_p2p_types", + "once_cell", + "parking_lot 0.11.2", + "rand 0.8.5", + "rmp-serde 0.15.5", + "serde", + "serde_bytes", + "serde_json", + "tokio 1.27.0", + "warp", +] + [[package]] name = "kitsune_p2p_dht" -version = "0.1.0" +version = "0.2.0-beta-rc.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44c7c44c640e2cac1102b4f8c0646ba9fb9b93104d7a897293863b4573ffbf8f" +checksum = "71579df8a75bbaf9701c61d18f070e21e0d5e4891b74bb53f12f07e92c671c81" dependencies = [ "colored", "derivative", @@ -3393,9 +3563,9 @@ dependencies = [ [[package]] name = "kitsune_p2p_dht_arc" -version = "0.1.0" +version = "0.2.0-beta-rc.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0344da4e6309dfa0d7471e4b868e7dc829f109a99b3fd552abfd4d9850593cbf" +checksum = "bd04c2c6417bee91cd4f99bef673fbdecd457c8c204443cd1a542fd69c29fec6" dependencies = [ "derive_more", "gcollections", @@ -3407,12 +3577,13 @@ dependencies = [ [[package]] name = "kitsune_p2p_fetch" -version = "0.1.2" +version = "0.2.0-beta-rc.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26017ad7656a9d0b6a9a3ccd5a180f9e915a76c92ea895064e34c8003d2f5e7b" +checksum = "9688cdbfd82d1c2aa5d210e831744c1e58f6fdb23019d164ea5b19ecf0ea0ab9" dependencies = [ "derive_more", "futures 0.3.28", + "human-repr", "kitsune_p2p_timestamp", "kitsune_p2p_types", "linked-hash-map", @@ -3427,9 +3598,9 @@ dependencies = [ [[package]] name = "kitsune_p2p_mdns" -version = "0.1.0" +version = "0.2.0-beta-rc.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c208d7e03718484d5b5c12810298bc22c60d1c71837a3b7a7ae8e70e77ba04e" +checksum = "5987b068f071156f91479e1c0fc6d37b7de18ab86d9ef2fa16ae06b421a169e4" dependencies = [ "async-stream", "base64 0.13.1", @@ -3444,18 +3615,18 @@ dependencies = [ [[package]] name = "kitsune_p2p_proxy" -version = "0.1.2" +version = "0.2.0-beta-rc.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75c79c2df7ac60567c0f9dc574d391de6eea349e002adb356fee44607ea119f6" +checksum = "c267aaeb4ee409b477bf0ed5bc114ea05d7116476f2b794f6b70f433a4bcd161" dependencies = [ "base64 0.13.1", "blake2b_simd 0.5.11", "derive_more", "futures 0.3.28", + "holochain_trace", "kitsune_p2p_transport_quic", "kitsune_p2p_types", "nanoid 0.3.0", - "observability", "parking_lot 0.11.2", "rmp-serde 0.15.5", "rustls", @@ -3463,15 +3634,15 @@ dependencies = [ "serde_bytes", "structopt", "tokio 1.27.0", - "tracing-subscriber 0.2.25", + "tracing-subscriber", "webpki 0.21.4", ] [[package]] name = "kitsune_p2p_timestamp" -version = "0.1.0" +version = "0.2.0-beta-rc.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89399225067e17ab204a3d496622dd7ab51959690676eee35c45c6ad9a725165" +checksum = "f47c85cd7195c37bcfd719f11316e7e98046078865c36b0eda98a50adff57084" dependencies = [ "arbitrary", "chrono", @@ -3482,13 +3653,13 @@ dependencies = [ [[package]] name = "kitsune_p2p_transport_quic" -version = "0.1.2" +version = "0.2.0-beta-rc.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32d9687db0e42e1c46f430aa4fd186b766a7b9de88527272e5fd2539fc878298" +checksum = "894d4fea7926aa38b2c5d4c7239f424450c5e52e869e6766ad71c30b6efdb2b3" dependencies = [ "blake2b_simd 1.0.1", "futures 0.3.28", - "if-addrs 0.7.0", + "if-addrs 0.8.0", "kitsune_p2p_types", "nanoid 0.4.0", "once_cell", @@ -3502,22 +3673,24 @@ dependencies = [ [[package]] name = "kitsune_p2p_types" -version = "0.1.2" +version = "0.2.0-beta-rc.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4bff1212472faca04202d455e473d204e6beed27b79d14dbde1f02ff2cd1d501" +checksum = "0abd7ae42f876d82caabe6f65738d8163ef4dd2921283d95bd2119be32a20c36" dependencies = [ "arbitrary", "base64 0.13.1", "derive_more", "futures 0.3.28", - "ghost_actor 0.3.0-alpha.4", + "ghost_actor 0.3.0-alpha.5", + "holochain_trace", + "kitsune_p2p_bin_data", + "kitsune_p2p_block", "kitsune_p2p_dht", "kitsune_p2p_dht_arc", "lair_keystore_api", "lru", "mockall", "nanoid 0.3.0", - "observability", "once_cell", "parking_lot 0.11.2", "paste", @@ -3558,7 +3731,7 @@ dependencies = [ "sqlformat 0.2.1", "structopt", "sysinfo", - "tracing-subscriber 0.3.16", + "tracing-subscriber", ] [[package]] @@ -3600,9 +3773,9 @@ checksum = "884e2677b40cc8c339eaefcb701c32ef1fd2493d71118dc0ca4b6a736c93bd67" [[package]] name = "libc" -version = "0.2.141" +version = "0.2.142" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3304a64d199bb964be99741b7a14d26972741915b3649639149b2479bb46f4b5" +checksum = "6a987beff54b60ffa6d51982e1aa1146bc42f19bd26be28b0586f252fccf5317" [[package]] name = "libflate" @@ -3642,20 +3815,22 @@ checksum = "348108ab3fba42ec82ff6e9564fc4ca0247bdccdc68dd8af9764bbc79c3c8ffb" [[package]] name = "libmdns" -version = "0.6.0" +version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b276920bfc6c9285e16ffd30ed410487f0185f383483f45a3446afc0554fded" +checksum = "6a60d8339ad1ddf68a81335fcafb6c6cf20d5036138a1e4ef86b8ce87f076c92" dependencies = [ "byteorder", "futures-util", "hostname", - "if-addrs 0.6.7", + "if-addrs 0.7.0", "log", "multimap", - "quick-error", + "nix", "rand 0.8.5", - "socket2 0.3.19", + "socket2", + "thiserror", "tokio 1.27.0", + "winapi 0.3.9", ] [[package]] @@ -3703,9 +3878,9 @@ checksum = "0717cef1bc8b636c6e1c1bbdefc09e6322da8a9321966e8928ef80d20f7f770f" [[package]] name = "linux-raw-sys" -version = "0.3.2" +version = "0.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f508063cc7bb32987c71511216bd5a32be15bccb6a80b52df8b9d7f01fc3aa2" +checksum = "36eb31c1778188ae1e64398743890d0877fef36d11521ac60406b42016e8c2cf" [[package]] name = "lock_api" @@ -3789,16 +3964,7 @@ checksum = "ffbee8634e0d45d258acb448e7eaab3fce7a0a467395d4d9f228e3c1f01fb2e4" [[package]] name = "matchers" -version = "0.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f099785f7595cc4b4553a174ce30dd7589ef93391ff414dbb67f62392b9e0ce1" -dependencies = [ - "regex-automata", -] - -[[package]] -name = "matchers" -version = "0.1.0" +version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8263075bb86c5a1b1427b5ae862e8889656f126e9f77c484496e8b47cf5c5558" dependencies = [ @@ -3813,9 +3979,9 @@ checksum = "2532096657941c2fea9c289d370a250971c689d4f143798ff67113ec042024a5" [[package]] name = "matrixmultiply" -version = "0.3.2" +version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "add85d4dd35074e6fedc608f8c8f513a3548619a9024b751949ef0e8e45a4d84" +checksum = "bb99c395ae250e1bf9133673f03ca9f97b7e71b705436bf8f089453445d1e9fe" dependencies = [ "rawpointer", ] @@ -3966,24 +4132,24 @@ dependencies = [ [[package]] name = "mockall" -version = "0.10.2" +version = "0.11.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ab571328afa78ae322493cacca3efac6a0f2e0a67305b4df31fd439ef129ac0" +checksum = "4c84490118f2ee2d74570d114f3d0493cbf02790df303d2707606c3e14e07c96" dependencies = [ "cfg-if 1.0.0", "downcast", - "fragile 1.2.2", + "fragile", "lazy_static", "mockall_derive", - "predicates 1.0.8", + "predicates 2.1.5", "predicates-tree", ] [[package]] name = "mockall_derive" -version = "0.10.2" +version = "0.11.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7e25b214433f669161f414959594216d8e6ba83b6679d3db96899c0b4639033" +checksum = "22ce75669015c4f47b289fd4d4f56e894e4c96003ffdf3ac51313126f94c6cbb" dependencies = [ "cfg-if 1.0.0", "proc-macro2", @@ -3999,9 +4165,9 @@ checksum = "7843ec2de400bcbc6a6328c958dc38e5359da6e93e72e37bc5246bf1ae776389" [[package]] name = "mr_bundle" -version = "0.1.0" +version = "0.2.0-beta-rc.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb63fbe49ada1be6fd0e5d2c733458a10de7794a8524ca90eb0650f32d88482a" +checksum = "7f16f6e347f401b6ef896f6ab130da4e6b28c09a3b256611c3806c40959db702" dependencies = [ "arbitrary", "bytes 1.4.0", @@ -4028,6 +4194,20 @@ dependencies = [ "serde", ] +[[package]] +name = "multiparty" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed1ec6589a6d4a1e0b33b4c0a3f6ee96dfba88ebdb3da51403fd7cf0a24a4b04" +dependencies = [ + "bytes 1.4.0", + "futures-core", + "httparse", + "memchr", + "pin-project-lite", + "try-lock", +] + [[package]] name = "must_future" version = "0.1.2" @@ -4114,6 +4294,19 @@ dependencies = [ "winapi 0.3.9", ] +[[package]] +name = "nix" +version = "0.23.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f3790c00a0150112de0f4cd161e3d7fc4b2d8a5542ffc35f099a2562aecb35c" +dependencies = [ + "bitflags", + "cc", + "cfg-if 1.0.0", + "libc", + "memoffset 0.6.5", +] + [[package]] name = "no-std-compat" version = "0.4.1" @@ -4156,9 +4349,9 @@ checksum = "61807f77802ff30975e01f4f071c8ba10c022052f98b3294119f3e615d13e5be" [[package]] name = "ntapi" -version = "0.4.0" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc51db7b362b205941f71232e56c625156eb9a929f8cf74a428fd5bc094a4afc" +checksum = "e8a3895c6391c39d7fe7ebc444a87eb2991b2a0bc718fdabd071eec617fc68e4" dependencies = [ "winapi 0.3.9", ] @@ -4321,29 +4514,6 @@ dependencies = [ "memchr", ] -[[package]] -name = "observability" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "04ee3ae3ce7a7b9f875526d3f956c106f991114f1c61a0e10553918256efc8fc" -dependencies = [ - "chrono", - "derive_more", - "holochain_serialized_bytes 0.0.52", - "inferno", - "once_cell", - "opentelemetry", - "serde", - "serde_bytes", - "serde_json", - "thiserror", - "tracing", - "tracing-core", - "tracing-opentelemetry", - "tracing-serde", - "tracing-subscriber 0.2.25", -] - [[package]] name = "once_cell" version = "1.17.1" @@ -4370,9 +4540,9 @@ checksum = "624a8340c38c1b80fd549087862da4ba43e08858af025b236e509b6649fc13d5" [[package]] name = "openssl" -version = "0.10.50" +version = "0.10.51" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e30d8bc91859781f0a943411186324d580f2bbeb71b452fe91ae344806af3f1" +checksum = "97ea2d98598bf9ada7ea6ee8a30fb74f9156b63bbe495d64ec2b87c269d2dda3" dependencies = [ "bitflags", "cfg-if 1.0.0", @@ -4402,9 +4572,9 @@ checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" [[package]] name = "openssl-sys" -version = "0.9.85" +version = "0.9.86" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d3d193fb1488ad46ffe3aaabc912cc931d02ee8518fe2959aea8ef52718b0c0" +checksum = "992bac49bdbab4423199c654a5515bd2a6c6a23bf03f2dd3bdb7e5ae6259bc69" dependencies = [ "cc", "libc", @@ -4412,21 +4582,6 @@ dependencies = [ "vcpkg", ] -[[package]] -name = "opentelemetry" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "acbf68b6b34b5d869342732c0dc05f74b7bdb4f17f2302d16d799231a6106441" -dependencies = [ - "bincode", - "futures 0.3.28", - "lazy_static", - "percent-encoding 2.2.0", - "pin-project 0.4.30", - "rand 0.7.3", - "serde", -] - [[package]] name = "os_info" version = "3.7.0" @@ -4444,6 +4599,29 @@ version = "6.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ceedf44fb00f2d1984b0bc98102627ce622e083e49a5bacdb3e514fa4238e267" +[[package]] +name = "ouroboros" +version = "0.15.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e1358bd1558bd2a083fed428ffeda486fbfb323e698cdda7794259d592ca72db" +dependencies = [ + "aliasable", + "ouroboros_macro", +] + +[[package]] +name = "ouroboros_macro" +version = "0.15.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5f7d21ccd03305a674437ee1248f3ab5d4b1db095cf1caf49f1713ddf61956b7" +dependencies = [ + "Inflector", + "proc-macro-error", + "proc-macro2", + "quote", + "syn 1.0.109", +] + [[package]] name = "output_vt100" version = "0.1.3" @@ -4604,9 +4782,9 @@ dependencies = [ [[package]] name = "paste" -version = "1.0.5" +version = "1.0.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "acbf547ad0c65e31259204bd90935776d1c693cec2f4ff7abb7a1bbbd40dfe58" +checksum = "9f746c4065a8fa3fe23974dd82f15431cc8d40779821001404d10d2e79ca7d79" [[package]] name = "path-clean" @@ -4679,33 +4857,13 @@ dependencies = [ "sha2", ] -[[package]] -name = "pin-project" -version = "0.4.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ef0f924a5ee7ea9cbcea77529dba45f8a9ba9f622419fe3386ca581a3ae9d5a" -dependencies = [ - "pin-project-internal 0.4.30", -] - [[package]] name = "pin-project" version = "1.0.12" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ad29a609b6bcd67fee905812e544992d216af9d755757c05ed2d0e15a74c6ecc" dependencies = [ - "pin-project-internal 1.0.12", -] - -[[package]] -name = "pin-project-internal" -version = "0.4.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "851c8d0ce9bebe43790dedfc86614c23494ac9f423dd618d3a61fc693eafe61e" -dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", + "pin-project-internal", ] [[package]] @@ -4755,9 +4913,9 @@ dependencies = [ [[package]] name = "polling" -version = "2.7.0" +version = "2.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4be1c66a6add46bff50935c313dae30a5030cf8385c5206e8a95e9e9def974aa" +checksum = "4b2d323e8ca7996b3e23126511a523f7e62924d93ecd5ae73b333815b0eb3dce" dependencies = [ "autocfg 1.1.0", "bitflags", @@ -4782,7 +4940,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f49cfaf7fdaa3bfacc6fa3e7054e65148878354a5cfddcf661df4c851f8021df" dependencies = [ "difference", - "float-cmp", + "float-cmp 0.8.0", "normalize-line-endings", "predicates-core", "regex", @@ -4795,8 +4953,11 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "59230a63c37f3e18569bdb90e4a89cbf5bf8b06fea0b84e65ea10cc4df47addd" dependencies = [ "difflib", + "float-cmp 0.9.0", "itertools 0.10.5", + "normalize-line-endings", "predicates-core", + "regex", ] [[package]] @@ -4892,6 +5053,27 @@ dependencies = [ "unicode-ident", ] +[[package]] +name = "prometheus" +version = "0.13.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "449811d15fbdf5ceb5c1144416066429cf82316e2ec8ce0c1f6f8a02e7bbcf8c" +dependencies = [ + "cfg-if 1.0.0", + "fnv", + "lazy_static", + "memchr", + "parking_lot 0.12.1", + "protobuf", + "thiserror", +] + +[[package]] +name = "protobuf" +version = "2.28.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "106dd99e98437432fed6519dedecfade6a06a73bb7b2a1e019fdd2bee5778d94" + [[package]] name = "ptr_meta" version = "0.1.4" @@ -4940,9 +5122,9 @@ checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0" [[package]] name = "quick-xml" -version = "0.22.0" +version = "0.26.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8533f14c8382aaad0d592c812ac3b826162128b65662331e1127b45c3d18536b" +checksum = "7f50b1c63b38611e7d4d7f68b82d3ad0cc71a2ad2e7f61fc10f1328d917c93cd" dependencies = [ "memchr", ] @@ -4995,7 +5177,7 @@ dependencies = [ "futures-util", "libc", "quinn-proto", - "socket2 0.4.9", + "socket2", "tokio 1.27.0", "tracing", ] @@ -5053,7 +5235,7 @@ dependencies = [ "libc", "rand_chacha 0.1.1", "rand_core 0.4.2", - "rand_hc 0.1.0", + "rand_hc", "rand_isaac", "rand_jitter", "rand_os", @@ -5062,19 +5244,6 @@ dependencies = [ "winapi 0.3.9", ] -[[package]] -name = "rand" -version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03" -dependencies = [ - "getrandom 0.1.16", - "libc", - "rand_chacha 0.2.2", - "rand_core 0.5.1", - "rand_hc 0.2.0", -] - [[package]] name = "rand" version = "0.8.5" @@ -5105,16 +5274,6 @@ dependencies = [ "rand_core 0.3.1", ] -[[package]] -name = "rand_chacha" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4c8ed856279c9737206bf725bf36935d8666ead7aa69b52be55af369d193402" -dependencies = [ - "ppv-lite86", - "rand_core 0.5.1", -] - [[package]] name = "rand_chacha" version = "0.3.1" @@ -5140,22 +5299,13 @@ version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9c33a3c44ca05fa6f1807d8e6743f3824e8509beca625669633be0acbdf509dc" -[[package]] -name = "rand_core" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19" -dependencies = [ - "getrandom 0.1.16", -] - [[package]] name = "rand_core" version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" dependencies = [ - "getrandom 0.2.9", + "getrandom", ] [[package]] @@ -5177,15 +5327,6 @@ dependencies = [ "rand_core 0.3.1", ] -[[package]] -name = "rand_hc" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c" -dependencies = [ - "rand_core 0.5.1", -] - [[package]] name = "rand_isaac" version = "0.1.1" @@ -5331,7 +5472,7 @@ version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b033d837a7cf162d7993aded9304e30a83213c648b6e389db233191f891e5c2b" dependencies = [ - "getrandom 0.2.9", + "getrandom", "redox_syscall 0.2.16", "thiserror", ] @@ -5349,13 +5490,13 @@ dependencies = [ [[package]] name = "regex" -version = "1.7.3" +version = "1.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b1f693b24f6ac912f4893ef08244d70b6067480d2f1a46e950c9691e6749d1d" +checksum = "af83e617f331cc6ae2da5443c602dfa5af81e517212d9d611a5b3ba1777b5370" dependencies = [ - "aho-corasick", + "aho-corasick 1.0.1", "memchr", - "regex-syntax", + "regex-syntax 0.7.1", ] [[package]] @@ -5364,7 +5505,7 @@ version = "0.1.10" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132" dependencies = [ - "regex-syntax", + "regex-syntax 0.6.29", ] [[package]] @@ -5373,6 +5514,12 @@ version = "0.6.29" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1" +[[package]] +name = "regex-syntax" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a5996294f19bd3aae0453a862ad728f60e6600695733dd5df01da90c54363a3c" + [[package]] name = "region" version = "3.0.0" @@ -5642,9 +5789,9 @@ dependencies = [ [[package]] name = "rustix" -version = "0.37.12" +version = "0.37.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "722529a737f5a942fdbac3a46cee213053196737c5eaa3386d52e85b786f2659" +checksum = "d9b864d3c18a5785a05953adeed93e2dca37ed30f18e69bba9f30079d51f363f" dependencies = [ "bitflags", "errno", @@ -5735,6 +5882,12 @@ dependencies = [ "parking_lot 0.12.1", ] +[[package]] +name = "scoped-tls" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e1cf6437eb19a8f4a6cc0f7dca544973b0b78843adbfeb3683d1a94a0024a294" + [[package]] name = "scopeguard" version = "1.1.0" @@ -5988,6 +6141,17 @@ dependencies = [ "digest 0.10.6", ] +[[package]] +name = "sha1" +version = "0.10.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f04293dc80c3993519f2d7f6f511707ee7094fe0c6d3406feb330cdb3540eba3" +dependencies = [ + "cfg-if 1.0.0", + "cpufeatures", + "digest 0.10.6", +] + [[package]] name = "sha2" version = "0.10.6" @@ -6097,17 +6261,6 @@ version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a507befe795404456341dfab10cef66ead4c041f62b8b11bbb92bffe5d0953e0" -[[package]] -name = "socket2" -version = "0.3.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "122e570113d28d773067fab24266b66753f6ea915758651696b6e35e49f88d6e" -dependencies = [ - "cfg-if 1.0.0", - "libc", - "winapi 0.3.9", -] - [[package]] name = "socket2" version = "0.4.9" @@ -6193,7 +6346,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7b0a9eb2715209fb8cc0d942fcdff45674bfc9f0090a0d897e85a22955ad159b" dependencies = [ "futures-core", - "pin-project 1.0.12", + "pin-project", "tokio 1.27.0", ] @@ -6410,6 +6563,16 @@ dependencies = [ "winapi-util", ] +[[package]] +name = "terminal_size" +version = "0.2.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e6bf6f19e9f8ed8d4048dc22981458ebcf406d67e94cd422e5ecd73d63b3237" +dependencies = [ + "rustix", + "windows-sys 0.48.0", +] + [[package]] name = "termtree" version = "0.4.1" @@ -6552,8 +6715,10 @@ version = "0.3.20" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cd0cbfecb4d19b5ea75bb31ad904eb5b9fa13f21079c3b92017ebdf4999a5890" dependencies = [ + "itoa 1.0.6", "serde", "time-core", + "time-macros", ] [[package]] @@ -6562,6 +6727,15 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2e153e1f1acaef8acc537e68b44906d2db6436e2b35ac2c6b42640fff91f00fd" +[[package]] +name = "time-macros" +version = "0.2.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fd80a657e71da814b8e5d60d3374fc6d35045062245d80224748ae522dd76f36" +dependencies = [ + "time-core", +] + [[package]] name = "tiny-keccak" version = "2.0.2" @@ -6619,7 +6793,7 @@ dependencies = [ "parking_lot 0.12.1", "pin-project-lite", "signal-hook-registry", - "socket2 0.4.9", + "socket2", "tokio-macros", "windows-sys 0.45.0", ] @@ -6706,6 +6880,17 @@ dependencies = [ "tokio-sync", ] +[[package]] +name = "tokio-rustls" +version = "0.23.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c43ee83903113e03984cb9e5cebe6c04a5116269e900e3ddba8f068a62adda59" +dependencies = [ + "rustls", + "tokio 1.27.0", + "webpki 0.22.0", +] + [[package]] name = "tokio-stream" version = "0.1.12" @@ -6780,10 +6965,38 @@ dependencies = [ "futures-util", "log", "native-tls", - "pin-project 1.0.12", + "pin-project", "tokio 1.27.0", "tokio-native-tls", - "tungstenite", + "tungstenite 0.12.0", +] + +[[package]] +name = "tokio-tungstenite" +version = "0.17.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f714dd15bead90401d77e04243611caec13726c2408afd5b31901dfcdcb3b181" +dependencies = [ + "futures-util", + "log", + "rustls", + "rustls-native-certs", + "tokio 1.27.0", + "tokio-rustls", + "tungstenite 0.17.3", + "webpki 0.22.0", +] + +[[package]] +name = "tokio-tungstenite" +version = "0.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "54319c93411147bced34cb5609a80e0a8e44c5999c93903a81cd866630ec0bfd" +dependencies = [ + "futures-util", + "log", + "tokio 1.27.0", + "tungstenite 0.18.0", ] [[package]] @@ -6877,13 +7090,13 @@ dependencies = [ [[package]] name = "tracing-attributes" -version = "0.1.23" +version = "0.1.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4017f8f45139870ca7e672686113917c71c7a6e02d4924eda67186083c03081a" +checksum = "0f57e3ca2a01450b1a921183a9c9cbfda207fd822cef4ccb00a65402cbba7a74" dependencies = [ "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.15", ] [[package]] @@ -6902,7 +7115,7 @@ version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "97d095ae15e245a057c8e8451bab9b3ee1e1f68e9ba2b4fbc18d0ac5237835f2" dependencies = [ - "pin-project 1.0.12", + "pin-project", "tracing", ] @@ -6917,20 +7130,6 @@ dependencies = [ "tracing-core", ] -[[package]] -name = "tracing-opentelemetry" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8aba1fbd3e3152340cfa12087759543277affcce4a40a659bdb5ec21f725d3d6" -dependencies = [ - "opentelemetry", - "rand 0.7.3", - "tracing", - "tracing-core", - "tracing-log", - "tracing-subscriber 0.2.25", -] - [[package]] name = "tracing-serde" version = "0.1.3" @@ -6943,44 +7142,26 @@ dependencies = [ [[package]] name = "tracing-subscriber" -version = "0.2.25" +version = "0.3.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e0d2eaa99c3c2e41547cfa109e910a68ea03823cccad4a0525dcbc9b01e8c71" +checksum = "30a651bc37f915e81f087d86e62a18eec5f79550c7faff886f7090b4ea757c77" dependencies = [ - "ansi_term", - "chrono", - "lazy_static", - "matchers 0.0.1", + "matchers", + "nu-ansi-term", + "once_cell", "regex", "serde", "serde_json", "sharded-slab", "smallvec 1.10.0", "thread_local", + "time 0.3.20", "tracing", "tracing-core", "tracing-log", "tracing-serde", ] -[[package]] -name = "tracing-subscriber" -version = "0.3.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a6176eae26dd70d0c919749377897b54a9276bd7061339665dd68777926b5a70" -dependencies = [ - "matchers 0.1.0", - "nu-ansi-term", - "once_cell", - "regex", - "sharded-slab", - "smallvec 1.10.0", - "thread_local", - "tracing", - "tracing-core", - "tracing-log", -] - [[package]] name = "trilean" version = "1.1.0" @@ -7022,6 +7203,182 @@ dependencies = [ "utf-8", ] +[[package]] +name = "tungstenite" +version = "0.17.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e27992fd6a8c29ee7eef28fc78349aa244134e10ad447ce3b9f0ac0ed0fa4ce0" +dependencies = [ + "base64 0.13.1", + "byteorder", + "bytes 1.4.0", + "http 0.2.9", + "httparse", + "log", + "rand 0.8.5", + "rustls", + "sha-1 0.10.1", + "thiserror", + "url 2.3.1", + "utf-8", + "webpki 0.22.0", +] + +[[package]] +name = "tungstenite" +version = "0.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "30ee6ab729cd4cf0fd55218530c4522ed30b7b6081752839b68fcec8d0960788" +dependencies = [ + "base64 0.13.1", + "byteorder", + "bytes 1.4.0", + "http 0.2.9", + "httparse", + "log", + "rand 0.8.5", + "sha1", + "thiserror", + "url 2.3.1", + "utf-8", +] + +[[package]] +name = "tx5" +version = "0.0.1-alpha.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c73f036c327aa5ded5d7795be94b43ffc4fec34a70b6859127c166ae4ea9286d" +dependencies = [ + "bytes 1.4.0", + "futures 0.3.28", + "once_cell", + "parking_lot 0.12.1", + "prometheus", + "rand 0.8.5", + "rand-utf8", + "serde_json", + "tokio 1.27.0", + "tracing", + "tx5-core", + "tx5-go-pion", + "tx5-signal", + "url 2.3.1", +] + +[[package]] +name = "tx5-core" +version = "0.0.1-alpha.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "115dcaf6103f82161164ec106df7f9b78f89093c66b5847540d81052e4081a3d" +dependencies = [ + "base64 0.13.1", + "once_cell", + "rand 0.8.5", + "serde", + "serde_json", + "url 2.3.1", +] + +[[package]] +name = "tx5-go-pion" +version = "0.0.1-alpha.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4c40a2a06014d8c061ece18eb9a695395262b2986b6da3ad8fc3b0104d472820" +dependencies = [ + "parking_lot 0.12.1", + "tokio 1.27.0", + "tracing", + "tx5-go-pion-sys", + "url 2.3.1", +] + +[[package]] +name = "tx5-go-pion-sys" +version = "0.0.1-alpha.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c92a9d445cc2ec59c1b68d78d7673eb17e0fd114bdfb3ecf81187492d697acee" +dependencies = [ + "Inflector", + "base64 0.13.1", + "dirs", + "dunce", + "libc", + "libloading", + "once_cell", + "ouroboros", + "sha2", + "tracing", + "tx5-core", + "zip", +] + +[[package]] +name = "tx5-go-pion-turn" +version = "0.0.1-alpha.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6517d958b39b693a1a26ded427bfdbd5bd40ae377c5daa91f2a93ed4536717e" +dependencies = [ + "base64 0.13.1", + "dirs", + "dunce", + "get_if_addrs", + "once_cell", + "sha2", + "tokio 1.27.0", + "tracing", + "tx5-core", + "zip", +] + +[[package]] +name = "tx5-signal" +version = "0.0.1-alpha.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "864e07dcea8bbefff8074ca920e8dcc3bb414f9b71f8f06e0e227010b89af75f" +dependencies = [ + "futures 0.3.28", + "lair_keystore_api", + "once_cell", + "parking_lot 0.12.1", + "rand 0.8.5", + "rand-utf8", + "rcgen 0.9.3", + "ring", + "rustls", + "rustls-native-certs", + "rustls-pemfile 1.0.2", + "serde_json", + "sha2", + "socket2", + "tokio 1.27.0", + "tokio-rustls", + "tokio-tungstenite 0.17.2", + "tracing", + "tx5-core", + "url 2.3.1", +] + +[[package]] +name = "tx5-signal-srv" +version = "0.0.1-alpha.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a3c93ec8a0c5ea84e09c3068db716584959c925428a25972cdae200a6e60e3e6" +dependencies = [ + "clap 4.2.4", + "dirs", + "futures 0.3.28", + "get_if_addrs", + "once_cell", + "prometheus", + "rand 0.8.5", + "sodoken", + "tokio 1.27.0", + "tracing", + "tracing-subscriber", + "tx5-core", + "warp", +] + [[package]] name = "typenum" version = "1.16.0" @@ -7203,7 +7560,7 @@ version = "1.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5b55a3fef2a1e3b3a00ce878640918820d3c51081576ac657d23af9fc7928fdb" dependencies = [ - "getrandom 0.2.9", + "getrandom", ] [[package]] @@ -7287,10 +7644,35 @@ dependencies = [ ] [[package]] -name = "wasi" -version = "0.9.0+wasi-snapshot-preview1" +name = "warp" +version = "0.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519" +checksum = "27e1a710288f0f91a98dd8a74f05b76a10768db245ce183edf64dc1afdc3016c" +dependencies = [ + "bytes 1.4.0", + "futures-channel", + "futures-util", + "headers", + "http 0.2.9", + "hyper 0.14.26", + "log", + "mime", + "mime_guess", + "multiparty", + "percent-encoding 2.2.0", + "pin-project", + "rustls-pemfile 1.0.2", + "scoped-tls", + "serde", + "serde_json", + "serde_urlencoded 0.7.1", + "tokio 1.27.0", + "tokio-stream", + "tokio-tungstenite 0.18.0", + "tokio-util", + "tower-service", + "tracing", +] [[package]] name = "wasi" diff --git a/Cargo.toml b/Cargo.toml index df48d290a..2c2978540 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,10 +18,10 @@ name = "holochain_scaffolding_cli" path = "src/lib.rs" [dependencies] -holochain = "0.1.4" -holochain_types = "0.1.4" -holochain_util = { features = ["backtrace"], version = "0.1.0" } -mr_bundle = "0.1.0" +holochain = "0.2.0-beta-rc.6" +holochain_types = "0.2.0-beta-rc.6" +holochain_util = { features = ["backtrace"], version = "0.2.0-beta-rc.0" } +mr_bundle = "0.2.0-beta-rc.0" dirs = "4.0.0" ignore = "0.4" diff --git a/flake.lock b/flake.lock index 0dfa836f1..252c2a46a 100644 --- a/flake.lock +++ b/flake.lock @@ -161,11 +161,7 @@ "crate2nix": "crate2nix", "flake-compat": "flake-compat_2", "flake-parts": "flake-parts", - "holochain": [ - "holochain", - "versions", - "holochain" - ], + "holochain": "holochain_2", "lair": [ "holochain", "versions", @@ -201,6 +197,23 @@ } }, "holochain_2": { + "flake": false, + "locked": { + "lastModified": 1682007936, + "narHash": "sha256-Qx5lzqOqAYRQBJa7DQlQ/kLpTztQ3YpBmu6OVzLw77U=", + "owner": "holochain", + "repo": "holochain", + "rev": "fb0b56acdf755b1d4d731aad36e85bf785096a7b", + "type": "github" + }, + "original": { + "owner": "holochain", + "ref": "holochain-0.2.0-beta-rc.6", + "repo": "holochain", + "type": "github" + } + }, + "holochain_3": { "flake": false, "locked": { "lastModified": 1681507583, @@ -376,18 +389,18 @@ }, "versions": { "inputs": { - "holochain": "holochain_2", + "holochain": "holochain_3", "lair": "lair", "launcher": "launcher", "scaffolding": "scaffolding" }, "locked": { "dir": "versions/0_1", - "lastModified": 1681885243, - "narHash": "sha256-5aWhXFe/MG7Kr+/6eF+DMHisQJWzY0fAmwaKz+UhZeU=", + "lastModified": 1682350639, + "narHash": "sha256-WSbFQ3MNpdxfUPT9WGHvAykyC92YDG6Pjk/dvdA0k0Q=", "owner": "holochain", "repo": "holochain", - "rev": "df2862d6f1964146e2e451433edfdf9381ac0dac", + "rev": "b4011b8efcd97768e715170577f9723987eb6025", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index 8b88a8e98..da96c58b0 100644 --- a/flake.nix +++ b/flake.nix @@ -7,6 +7,7 @@ holochain = { url = "github:holochain/holochain"; inputs.versions.url = "github:holochain/holochain?dir=versions/0_1"; + inputs.holochain.url = "github:holochain/holochain/holochain-0.2.0-beta-rc.6"; }; }; diff --git a/versions_0_2/flake.nix b/versions_0_2/flake.nix new file mode 100644 index 000000000..cfc1ef76a --- /dev/null +++ b/versions_0_2/flake.nix @@ -0,0 +1,28 @@ +{ + inputs = + { + holochain = { + url = "github:holochain/holochain/holochain-0.2.0-beta-rc.6"; + flake = false; + }; + + lair = { + url = "github:holochain/lair/lair_keystore-v0.2.3"; + flake = false; + }; + + # # holochain_cli_launch + # launcher = { + # url = "github:holochain/launcher/holochain-0.1"; + # flake = false; + # }; + + # # holochain_scaffolding_cli + # scaffolding = { + # url = "github:holochain/scaffolding/holochain-0.1"; + # flake = false; + # }; + }; + + outputs = { ... }: { }; +} \ No newline at end of file From 601e397882241041e339b858d1a2dffad73e1ce4 Mon Sep 17 00:00:00 2001 From: = <=> Date: Mon, 24 Apr 2023 15:57:07 -0600 Subject: [PATCH 15/50] update flake.nix --- flake.nix | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/flake.nix b/flake.nix index da96c58b0..f92447bf8 100644 --- a/flake.nix +++ b/flake.nix @@ -2,22 +2,27 @@ description = "Template for Holochain app development"; inputs = { - nixpkgs.follows = "holochain/nixpkgs"; + nixpkgs.follows = "holochain-flake/nixpkgs"; - holochain = { + # this can now be udpated directly, e.g.: + # nix flake lock --override-input holochain github:holochain/holochain/holochain-0.1.3 + holochain.url = "github:holochain/holochain"; + holochain.flake = false; + + holochain-flake = { url = "github:holochain/holochain"; - inputs.versions.url = "github:holochain/holochain?dir=versions/0_1"; + inputs.versions.url = "github:holochain/holochain/?dir=versions/0_1"; inputs.holochain.url = "github:holochain/holochain/holochain-0.2.0-beta-rc.6"; }; }; outputs = inputs @ { ... }: - inputs.holochain.inputs.flake-parts.lib.mkFlake + inputs.holochain-flake.inputs.flake-parts.lib.mkFlake { inherit inputs; } { - systems = builtins.attrNames inputs.holochain.devShells; + systems = builtins.attrNames inputs.holochain-flake.devShells; perSystem = { config , pkgs @@ -25,10 +30,12 @@ , ... }: { devShells.default = pkgs.mkShell { - inputsFrom = [ inputs.holochain.devShells.${system}.holonix ]; - # TODO: remove sqlite package once https://github.com/holochain/holochain/pull/2248 is released - packages = [ pkgs.nodejs-18_x pkgs.sqlite ]; + inputsFrom = [ inputs.holochain-flake.devShells.${system}.holonix ]; + packages = with pkgs; [ + # more packages go here + pkgs.nodejs-18_x pkgs.binaryen + ]; }; }; }; -} +} \ No newline at end of file From 1587f40fec396d50a46a5758722c2da788f399ef Mon Sep 17 00:00:00 2001 From: = <=> Date: Mon, 24 Apr 2023 15:59:30 -0600 Subject: [PATCH 16/50] clean up flake.nix --- Cargo.lock | 105 +++++++++---- flake.lock | 432 ++++++++++++++++++++++++++++++++++++++++++++++++++++- flake.nix | 7 +- 3 files changed, 510 insertions(+), 34 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b4202fb1f..cc1554517 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1503,7 +1503,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "551a778172a450d7fc12e629ca3b0428d00f6afa9a43da1b630d54604e97371c" dependencies = [ "cfg-if 0.1.10", - "dirs-sys", + "dirs-sys 0.3.7", ] [[package]] @@ -1512,7 +1512,16 @@ version = "4.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ca3aa72a6f96ea37bbc5aa912f6788242832f75369bdfdadcb0e38423f100059" dependencies = [ - "dirs-sys", + "dirs-sys 0.3.7", +] + +[[package]] +name = "dirs" +version = "5.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dece029acd3353e3a58ac2e3eb3c8d6c35827a892edc6cc4138ef9c33df46ecd" +dependencies = [ + "dirs-sys 0.4.0", ] [[package]] @@ -1526,6 +1535,17 @@ dependencies = [ "winapi 0.3.9", ] +[[package]] +name = "dirs-sys" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "04414300db88f70d74c5ff54e50f9e1d1737d9a5b90f53fcf2e95ca2a9ab554b" +dependencies = [ + "libc", + "redox_users", + "windows-sys 0.45.0", +] + [[package]] name = "dns-parser" version = "0.8.0" @@ -2210,7 +2230,7 @@ dependencies = [ "rmpv", "serde", "serde_bytes", - "sodoken", + "sodoken 0.0.7", ] [[package]] @@ -2424,7 +2444,7 @@ dependencies = [ "serde_json", "serde_yaml 0.9.21", "shrinkwraprs", - "sodoken", + "sodoken 0.0.7", "structopt", "strum", "subtle-encoding", @@ -2542,7 +2562,7 @@ dependencies = [ "parking_lot 0.11.2", "serde", "serde_bytes", - "sodoken", + "sodoken 0.0.7", "thiserror", "tokio 1.27.0", "tracing", @@ -2589,7 +2609,7 @@ dependencies = [ "convert_case 0.6.0", "degit", "dialoguer", - "dirs", + "dirs 4.0.0", "handlebars", "holochain", "holochain_types", @@ -2832,7 +2852,7 @@ dependencies = [ "num_cpus", "once_cell", "rpassword 7.2.0", - "sodoken", + "sodoken 0.0.7", "tokio 1.27.0", ] @@ -3217,6 +3237,16 @@ dependencies = [ "windows-sys 0.42.0", ] +[[package]] +name = "if-addrs" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2cfc4a06638d2fd0dda83b01126fefd38ef9f04f54d2fc717a938df68b83a68d" +dependencies = [ + "libc", + "windows-sys 0.45.0", +] + [[package]] name = "if_chain" version = "1.0.2" @@ -3807,6 +3837,16 @@ dependencies = [ "winapi 0.3.9", ] +[[package]] +name = "libloading" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d580318f95776505201b28cf98eb1fa5e4be3b689633ba6a3e6cd880ff22d8cb" +dependencies = [ + "cfg-if 1.0.0", + "windows-sys 0.48.0", +] + [[package]] name = "libm" version = "0.2.6" @@ -6286,6 +6326,21 @@ dependencies = [ "tokio 1.27.0", ] +[[package]] +name = "sodoken" +version = "0.0.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ebd7d30290221181652f7a08112f5e7871e3deffde718dfa621025aa0e9c290" +dependencies = [ + "libc", + "libsodium-sys-stable", + "num_cpus", + "once_cell", + "one_err", + "parking_lot 0.12.1", + "tokio 1.27.0", +] + [[package]] name = "spin" version = "0.5.2" @@ -7267,9 +7322,9 @@ dependencies = [ [[package]] name = "tx5-core" -version = "0.0.1-alpha.4" +version = "0.0.1-alpha.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "115dcaf6103f82161164ec106df7f9b78f89093c66b5847540d81052e4081a3d" +checksum = "ceeeff809f86347164035661f475c0a9bbf4040c4a6755183d0b84c8c6491d25" dependencies = [ "base64 0.13.1", "once_cell", @@ -7281,9 +7336,9 @@ dependencies = [ [[package]] name = "tx5-go-pion" -version = "0.0.1-alpha.7" +version = "0.0.1-alpha.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c40a2a06014d8c061ece18eb9a695395262b2986b6da3ad8fc3b0104d472820" +checksum = "a3f4cf8c2763b07e1eac6a60030c0456685142ac85741a761949a7ea275e8591" dependencies = [ "parking_lot 0.12.1", "tokio 1.27.0", @@ -7294,16 +7349,16 @@ dependencies = [ [[package]] name = "tx5-go-pion-sys" -version = "0.0.1-alpha.9" +version = "0.0.1-alpha.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c92a9d445cc2ec59c1b68d78d7673eb17e0fd114bdfb3ecf81187492d697acee" +checksum = "8967286bdd9d20c56b2f32d8f48db754cf7b6e7eca2de4cf880a45dcca70091d" dependencies = [ "Inflector", "base64 0.13.1", - "dirs", + "dirs 5.0.0", "dunce", "libc", - "libloading", + "libloading 0.8.0", "once_cell", "ouroboros", "sha2", @@ -7314,14 +7369,14 @@ dependencies = [ [[package]] name = "tx5-go-pion-turn" -version = "0.0.1-alpha.4" +version = "0.0.1-alpha.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6517d958b39b693a1a26ded427bfdbd5bd40ae377c5daa91f2a93ed4536717e" +checksum = "71db717f9fe2e83925a4489f0a3f542546a8797e225f23afd125799214c44a8f" dependencies = [ "base64 0.13.1", - "dirs", + "dirs 5.0.0", "dunce", - "get_if_addrs", + "if-addrs 0.10.1", "once_cell", "sha2", "tokio 1.27.0", @@ -7360,18 +7415,18 @@ dependencies = [ [[package]] name = "tx5-signal-srv" -version = "0.0.1-alpha.5" +version = "0.0.1-alpha.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3c93ec8a0c5ea84e09c3068db716584959c925428a25972cdae200a6e60e3e6" +checksum = "9671d940802c9ff79974d96c2add464f8bf4e4d02e340d3d3a0ddb739fae6bfb" dependencies = [ "clap 4.2.4", - "dirs", + "dirs 5.0.0", "futures 0.3.28", - "get_if_addrs", + "if-addrs 0.10.1", "once_cell", "prometheus", "rand 0.8.5", - "sodoken", + "sodoken 0.0.9", "tokio 1.27.0", "tracing", "tracing-subscriber", @@ -7884,7 +7939,7 @@ dependencies = [ "enum-iterator", "enumset", "leb128", - "libloading", + "libloading 0.7.4", "loupe", "object 0.28.4", "rkyv", diff --git a/flake.lock b/flake.lock index 252c2a46a..2f2db54bd 100644 --- a/flake.lock +++ b/flake.lock @@ -17,6 +17,23 @@ "type": "github" } }, + "cargo-chef_2": { + "flake": false, + "locked": { + "lastModified": 1672901199, + "narHash": "sha256-MHTuR4aQ1rQaBKx1vWDy2wbvcT0ZAzpkVB2zylSC+k0=", + "owner": "LukeMathWalker", + "repo": "cargo-chef", + "rev": "5c9f11578a2e0783cce27666737d50f84510b8b5", + "type": "github" + }, + "original": { + "owner": "LukeMathWalker", + "ref": "main", + "repo": "cargo-chef", + "type": "github" + } + }, "cargo-rdme": { "flake": false, "locked": { @@ -34,6 +51,23 @@ "type": "github" } }, + "cargo-rdme_2": { + "flake": false, + "locked": { + "lastModified": 1675118998, + "narHash": "sha256-lrYWqu3h88fr8gG3Yo5GbFGYaq5/1Os7UtM+Af0Bg4k=", + "owner": "orium", + "repo": "cargo-rdme", + "rev": "f9dbb6bccc078f4869f45ae270a2890ac9a75877", + "type": "github" + }, + "original": { + "owner": "orium", + "ref": "v1.1.0", + "repo": "cargo-rdme", + "type": "github" + } + }, "crane": { "inputs": { "flake-compat": "flake-compat", @@ -58,6 +92,30 @@ "type": "github" } }, + "crane_2": { + "inputs": { + "flake-compat": "flake-compat_3", + "flake-utils": "flake-utils_3", + "nixpkgs": [ + "holochain-flake", + "nixpkgs" + ], + "rust-overlay": "rust-overlay_3" + }, + "locked": { + "lastModified": 1675475924, + "narHash": "sha256-KWdfV9a6+zG6Ij/7PZYLnomjBZZUu8gdRy+hfjGrrJQ=", + "owner": "ipetkov", + "repo": "crane", + "rev": "1bde9c762ebf26de9f8ecf502357c92105bc4577", + "type": "github" + }, + "original": { + "owner": "ipetkov", + "repo": "crane", + "type": "github" + } + }, "crate2nix": { "flake": false, "locked": { @@ -74,6 +132,22 @@ "type": "github" } }, + "crate2nix_2": { + "flake": false, + "locked": { + "lastModified": 1675642992, + "narHash": "sha256-uDBDZuiq7qyg82Udp82/r4zg5HKfIzBQqgl2U9THiQM=", + "owner": "kolloch", + "repo": "crate2nix", + "rev": "45fc83132c8c91c77a1cd61fe0c945411d1edba8", + "type": "github" + }, + "original": { + "owner": "kolloch", + "repo": "crate2nix", + "type": "github" + } + }, "flake-compat": { "flake": false, "locked": { @@ -106,6 +180,38 @@ "type": "github" } }, + "flake-compat_3": { + "flake": false, + "locked": { + "lastModified": 1673956053, + "narHash": "sha256-4gtG9iQuiKITOjNQQeQIpoIB6b16fm+504Ch3sNKLd8=", + "owner": "edolstra", + "repo": "flake-compat", + "rev": "35bb57c0c8d8b62bbfd284272c928ceb64ddbde9", + "type": "github" + }, + "original": { + "owner": "edolstra", + "repo": "flake-compat", + "type": "github" + } + }, + "flake-compat_4": { + "flake": false, + "locked": { + "lastModified": 1673956053, + "narHash": "sha256-4gtG9iQuiKITOjNQQeQIpoIB6b16fm+504Ch3sNKLd8=", + "owner": "edolstra", + "repo": "flake-compat", + "rev": "35bb57c0c8d8b62bbfd284272c928ceb64ddbde9", + "type": "github" + }, + "original": { + "owner": "edolstra", + "repo": "flake-compat", + "type": "github" + } + }, "flake-parts": { "inputs": { "nixpkgs-lib": "nixpkgs-lib" @@ -123,6 +229,23 @@ "type": "indirect" } }, + "flake-parts_2": { + "inputs": { + "nixpkgs-lib": "nixpkgs-lib_2" + }, + "locked": { + "lastModified": 1675295133, + "narHash": "sha256-dU8fuLL98WFXG0VnRgM00bqKX6CEPBLybhiIDIgO45o=", + "owner": "hercules-ci", + "repo": "flake-parts", + "rev": "bf53492df08f3178ce85e0c9df8ed8d03c030c9f", + "type": "github" + }, + "original": { + "id": "flake-parts", + "type": "indirect" + } + }, "flake-utils": { "locked": { "lastModified": 1667395993, @@ -153,6 +276,39 @@ "type": "github" } }, + "flake-utils_3": { + "locked": { + "lastModified": 1667395993, + "narHash": "sha256-nuEHfE/LcWyuSWnS8t12N1wc105Qtau+/OdUAjtQ0rA=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "5aed5285a952e0b949eb3ba02c12fa4fcfef535f", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, + "flake-utils_4": { + "inputs": { + "systems": "systems" + }, + "locked": { + "lastModified": 1681202837, + "narHash": "sha256-H+Rh19JDwRtpVPAWp64F+rlEtxUWBAQW28eAi3SRSzg=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "cfacdce06f30d2b68473a46042957675eebb3401", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, "holochain": { "inputs": { "cargo-chef": "cargo-chef", @@ -161,7 +317,11 @@ "crate2nix": "crate2nix", "flake-compat": "flake-compat_2", "flake-parts": "flake-parts", - "holochain": "holochain_2", + "holochain": [ + "holochain", + "versions", + "holochain" + ], "lair": [ "holochain", "versions", @@ -196,7 +356,68 @@ "type": "github" } }, + "holochain-flake": { + "inputs": { + "cargo-chef": "cargo-chef_2", + "cargo-rdme": "cargo-rdme_2", + "crane": "crane_2", + "crate2nix": "crate2nix_2", + "flake-compat": "flake-compat_4", + "flake-parts": "flake-parts_2", + "holochain": "holochain_3", + "lair": [ + "holochain-flake", + "versions", + "lair" + ], + "launcher": [ + "holochain-flake", + "versions", + "launcher" + ], + "nix-filter": "nix-filter_2", + "nixpkgs": "nixpkgs_2", + "pre-commit-hooks-nix": "pre-commit-hooks-nix", + "rust-overlay": "rust-overlay_4", + "scaffolding": [ + "holochain-flake", + "versions", + "scaffolding" + ], + "versions": "versions_2" + }, + "locked": { + "lastModified": 1682371576, + "narHash": "sha256-ofVwMuCGb4zcSnsj/XeAoDcejctoMBFK/5PHvl1dgjY=", + "owner": "holochain", + "repo": "holochain", + "rev": "07d9be37a68e4d6a0d12d005de4bfd479d733442", + "type": "github" + }, + "original": { + "owner": "holochain", + "repo": "holochain", + "type": "github" + } + }, "holochain_2": { + "flake": false, + "locked": { + "lastModified": 1681507583, + "narHash": "sha256-lRnums2gv1oXVwo4gMF2QAnzEu8prwxg1uKjUzNwJV4=", + "owner": "holochain", + "repo": "holochain", + "rev": "ac50baed6b53e9d0552729e69e1e20312e4edc08", + "type": "github" + }, + "original": { + "owner": "holochain", + "ref": "holochain-0.1.4", + "repo": "holochain", + "type": "github" + } + }, + "holochain_3": { "flake": false, "locked": { "lastModified": 1682007936, @@ -213,7 +434,7 @@ "type": "github" } }, - "holochain_3": { + "holochain_4": { "flake": false, "locked": { "lastModified": 1681507583, @@ -247,6 +468,23 @@ "type": "github" } }, + "lair_2": { + "flake": false, + "locked": { + "lastModified": 1670953460, + "narHash": "sha256-cqOr7iWzsNeomYQiiFggzG5Dr4X0ysnTkjtA8iwDLAQ=", + "owner": "holochain", + "repo": "lair", + "rev": "cbfbefefe43073904a914c8181a450209a74167b", + "type": "github" + }, + "original": { + "owner": "holochain", + "ref": "lair_keystore-v0.2.3", + "repo": "lair", + "type": "github" + } + }, "launcher": { "flake": false, "locked": { @@ -264,6 +502,23 @@ "type": "github" } }, + "launcher_2": { + "flake": false, + "locked": { + "lastModified": 1677270906, + "narHash": "sha256-/xT//6nqhjpKLMMv41JE0W3H5sE9jKMr8Dedr88D4N8=", + "owner": "holochain", + "repo": "launcher", + "rev": "1ad188a43900c139e52df10a21e3722f41dfb967", + "type": "github" + }, + "original": { + "owner": "holochain", + "ref": "holochain-0.1", + "repo": "launcher", + "type": "github" + } + }, "nix-filter": { "locked": { "lastModified": 1675361037, @@ -279,6 +534,21 @@ "type": "github" } }, + "nix-filter_2": { + "locked": { + "lastModified": 1675361037, + "narHash": "sha256-CTbDuDxFD3U3g/dWUB+r+B/snIe+qqP1R+1myuFGe2I=", + "owner": "numtide", + "repo": "nix-filter", + "rev": "e1b2f96c2a31415f362268bc48c3fccf47dff6eb", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "nix-filter", + "type": "github" + } + }, "nixpkgs": { "locked": { "lastModified": 1676721149, @@ -312,11 +582,61 @@ "type": "github" } }, + "nixpkgs-lib_2": { + "locked": { + "dir": "lib", + "lastModified": 1675183161, + "narHash": "sha256-Zq8sNgAxDckpn7tJo7V1afRSk2eoVbu3OjI1QklGLNg=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "e1e1b192c1a5aab2960bf0a0bd53a2e8124fa18e", + "type": "github" + }, + "original": { + "dir": "lib", + "owner": "NixOS", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_2": { + "locked": { + "lastModified": 1682268651, + "narHash": "sha256-2eZriMhnD24Pmb8ideZWZDiXaAVe6LzJrHQiNPck+Lk=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "e78d25df6f1036b3fa76750ed4603dd9d5fe90fc", + "type": "github" + }, + "original": { + "id": "nixpkgs", + "ref": "nixos-unstable", + "type": "indirect" + } + }, + "pre-commit-hooks-nix": { + "flake": false, + "locked": { + "lastModified": 1676513100, + "narHash": "sha256-MK39nQV86L2ag4TmcK5/+r1ULpzRLPbbfvWbPvIoYJE=", + "owner": "cachix", + "repo": "pre-commit-hooks.nix", + "rev": "5f0cba88ac4d6dd8cad5c6f6f1540b3d6a21a798", + "type": "github" + }, + "original": { + "owner": "cachix", + "repo": "pre-commit-hooks.nix", + "type": "github" + } + }, "root": { "inputs": { "holochain": "holochain", + "holochain-flake": "holochain-flake", "nixpkgs": [ - "holochain", + "holochain-flake", "nixpkgs" ] } @@ -370,6 +690,55 @@ "type": "github" } }, + "rust-overlay_3": { + "inputs": { + "flake-utils": [ + "holochain-flake", + "crane", + "flake-utils" + ], + "nixpkgs": [ + "holochain-flake", + "crane", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1675391458, + "narHash": "sha256-ukDKZw922BnK5ohL9LhwtaDAdCsJL7L6ScNEyF1lO9w=", + "owner": "oxalica", + "repo": "rust-overlay", + "rev": "383a4acfd11d778d5c2efcf28376cbd845eeaedf", + "type": "github" + }, + "original": { + "owner": "oxalica", + "repo": "rust-overlay", + "type": "github" + } + }, + "rust-overlay_4": { + "inputs": { + "flake-utils": "flake-utils_4", + "nixpkgs": [ + "holochain-flake", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1682302828, + "narHash": "sha256-5uKDELNLWozRhv02ynzvGf8rx30b0m8DhPTT63IFVHo=", + "owner": "oxalica", + "repo": "rust-overlay", + "rev": "55de807250dd207007a0697e6e06d9fcba578d81", + "type": "github" + }, + "original": { + "owner": "oxalica", + "repo": "rust-overlay", + "type": "github" + } + }, "scaffolding": { "flake": false, "locked": { @@ -387,9 +756,41 @@ "type": "github" } }, + "scaffolding_2": { + "flake": false, + "locked": { + "lastModified": 1682016510, + "narHash": "sha256-U6V453QPUGI6PhtO7kkQCFxEB9WZPiU6hjwyPUdEHaE=", + "owner": "holochain", + "repo": "scaffolding", + "rev": "85997cbc4c92f0fea87447d7c7daed1245b47700", + "type": "github" + }, + "original": { + "owner": "holochain", + "ref": "holochain-0.1", + "repo": "scaffolding", + "type": "github" + } + }, + "systems": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } + }, "versions": { "inputs": { - "holochain": "holochain_3", + "holochain": "holochain_2", "lair": "lair", "launcher": "launcher", "scaffolding": "scaffolding" @@ -409,6 +810,29 @@ "repo": "holochain", "type": "github" } + }, + "versions_2": { + "inputs": { + "holochain": "holochain_4", + "lair": "lair_2", + "launcher": "launcher_2", + "scaffolding": "scaffolding_2" + }, + "locked": { + "dir": "versions/0_1", + "lastModified": 1682371576, + "narHash": "sha256-ofVwMuCGb4zcSnsj/XeAoDcejctoMBFK/5PHvl1dgjY=", + "owner": "holochain", + "repo": "holochain", + "rev": "07d9be37a68e4d6a0d12d005de4bfd479d733442", + "type": "github" + }, + "original": { + "dir": "versions/0_1", + "owner": "holochain", + "repo": "holochain", + "type": "github" + } } }, "root": "root", diff --git a/flake.nix b/flake.nix index f92447bf8..502293beb 100644 --- a/flake.nix +++ b/flake.nix @@ -4,14 +4,12 @@ inputs = { nixpkgs.follows = "holochain-flake/nixpkgs"; - # this can now be udpated directly, e.g.: - # nix flake lock --override-input holochain github:holochain/holochain/holochain-0.1.3 holochain.url = "github:holochain/holochain"; holochain.flake = false; holochain-flake = { url = "github:holochain/holochain"; - inputs.versions.url = "github:holochain/holochain/?dir=versions/0_1"; + inputs.versions.url = "github:holochain/holochain?dir=versions/0_1"; inputs.holochain.url = "github:holochain/holochain/holochain-0.2.0-beta-rc.6"; }; }; @@ -32,8 +30,7 @@ devShells.default = pkgs.mkShell { inputsFrom = [ inputs.holochain-flake.devShells.${system}.holonix ]; packages = with pkgs; [ - # more packages go here - pkgs.nodejs-18_x pkgs.binaryen + pkgs.nodejs-18_x ]; }; }; From 1b35089304ad21d0f8e26cb3c55c165eec60283e Mon Sep 17 00:00:00 2001 From: = <=> Date: Tue, 25 Apr 2023 11:17:06 -0600 Subject: [PATCH 17/50] Update link validation --- Cargo.lock | 47 +++++++++++------------------ Cargo.toml | 4 +++ flake.lock | 6 ++-- src/scaffold/dna.rs | 1 - src/scaffold/link_type/integrity.rs | 2 +- 5 files changed, 25 insertions(+), 35 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index cc1554517..ea5cca8b6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2230,7 +2230,7 @@ dependencies = [ "rmpv", "serde", "serde_bytes", - "sodoken 0.0.7", + "sodoken", ] [[package]] @@ -2444,7 +2444,7 @@ dependencies = [ "serde_json", "serde_yaml 0.9.21", "shrinkwraprs", - "sodoken 0.0.7", + "sodoken", "structopt", "strum", "subtle-encoding", @@ -2562,7 +2562,7 @@ dependencies = [ "parking_lot 0.11.2", "serde", "serde_bytes", - "sodoken 0.0.7", + "sodoken", "thiserror", "tokio 1.27.0", "tracing", @@ -2634,6 +2634,8 @@ dependencies = [ "thiserror", "tokio 1.27.0", "toml 0.5.11", + "tx5", + "tx5-signal-srv", ] [[package]] @@ -2852,7 +2854,7 @@ dependencies = [ "num_cpus", "once_cell", "rpassword 7.2.0", - "sodoken 0.0.7", + "sodoken", "tokio 1.27.0", ] @@ -4580,9 +4582,9 @@ checksum = "624a8340c38c1b80fd549087862da4ba43e08858af025b236e509b6649fc13d5" [[package]] name = "openssl" -version = "0.10.51" +version = "0.10.52" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97ea2d98598bf9ada7ea6ee8a30fb74f9156b63bbe495d64ec2b87c269d2dda3" +checksum = "01b8574602df80f7b85fdfc5392fa884a4e3b3f4f35402c070ab34c3d3f78d56" dependencies = [ "bitflags", "cfg-if 1.0.0", @@ -4612,9 +4614,9 @@ checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" [[package]] name = "openssl-sys" -version = "0.9.86" +version = "0.9.87" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "992bac49bdbab4423199c654a5515bd2a6c6a23bf03f2dd3bdb7e5ae6259bc69" +checksum = "8e17f59264b2809d77ae94f0e1ebabc434773f370d6ca667bd223ea10e06cc7e" dependencies = [ "cc", "libc", @@ -6326,21 +6328,6 @@ dependencies = [ "tokio 1.27.0", ] -[[package]] -name = "sodoken" -version = "0.0.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ebd7d30290221181652f7a08112f5e7871e3deffde718dfa621025aa0e9c290" -dependencies = [ - "libc", - "libsodium-sys-stable", - "num_cpus", - "once_cell", - "one_err", - "parking_lot 0.12.1", - "tokio 1.27.0", -] - [[package]] name = "spin" version = "0.5.2" @@ -6574,9 +6561,9 @@ dependencies = [ [[package]] name = "target-lexicon" -version = "0.12.6" +version = "0.12.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ae9980cab1db3fceee2f6c6f643d5d8de2997c58ee8d25fb0cc8a9e9e7348e5" +checksum = "fd1ba337640d60c3e96bc6f0638a939b9c9a7f2c316a1598c279828b3d1dc8c5" [[package]] name = "task-motel" @@ -7415,18 +7402,18 @@ dependencies = [ [[package]] name = "tx5-signal-srv" -version = "0.0.1-alpha.7" +version = "0.0.1-alpha.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9671d940802c9ff79974d96c2add464f8bf4e4d02e340d3d3a0ddb739fae6bfb" +checksum = "a3c93ec8a0c5ea84e09c3068db716584959c925428a25972cdae200a6e60e3e6" dependencies = [ "clap 4.2.4", - "dirs 5.0.0", + "dirs 4.0.0", "futures 0.3.28", - "if-addrs 0.10.1", + "get_if_addrs", "once_cell", "prometheus", "rand 0.8.5", - "sodoken 0.0.9", + "sodoken", "tokio 1.27.0", "tracing", "tracing-subscriber", diff --git a/Cargo.toml b/Cargo.toml index 2c2978540..0ab47fbb2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -23,6 +23,10 @@ holochain_types = "0.2.0-beta-rc.6" holochain_util = { features = ["backtrace"], version = "0.2.0-beta-rc.0" } mr_bundle = "0.2.0-beta-rc.0" +# TODO: We should be able to remove these tx dependencies once they've been moved into holochain itself +tx5 = "=0.0.1-alpha.11" +tx5-signal-srv = "=0.0.1-alpha.5" + dirs = "4.0.0" ignore = "0.4" anyhow = "1.0" diff --git a/flake.lock b/flake.lock index 2f2db54bd..0c478b100 100644 --- a/flake.lock +++ b/flake.lock @@ -820,11 +820,11 @@ }, "locked": { "dir": "versions/0_1", - "lastModified": 1682371576, - "narHash": "sha256-ofVwMuCGb4zcSnsj/XeAoDcejctoMBFK/5PHvl1dgjY=", + "lastModified": 1682425641, + "narHash": "sha256-tHg6sg6h6sbB0bk0ajSSYs7ziZnv0zx8XezKbJ5ECO4=", "owner": "holochain", "repo": "holochain", - "rev": "07d9be37a68e4d6a0d12d005de4bfd479d733442", + "rev": "b1a8668ae0e724dc8f766493c2800a27f28e2dfc", "type": "github" }, "original": { diff --git a/src/scaffold/dna.rs b/src/scaffold/dna.rs index 15f1ee61e..b9d54a53e 100644 --- a/src/scaffold/dna.rs +++ b/src/scaffold/dna.rs @@ -217,7 +217,6 @@ pub fn scaffold_dna( quantum_time: None, }, installed_hash: None, - _version: None, clone_limit: 0, }, provisioning: Some(CellProvisioning::Create { deferred: false }), diff --git a/src/scaffold/link_type/integrity.rs b/src/scaffold/link_type/integrity.rs index 15479e378..4a658ba62 100644 --- a/src/scaffold/link_type/integrity.rs +++ b/src/scaffold/link_type/integrity.rs @@ -30,7 +30,7 @@ fn validate_referenceable( match entry_type.reference_entry_hash { true => quote! { /// Check the entry type for the given entry hash - let entry_hash = EntryHash::from(#address_ident); + #address_ident.into_entry_hash().ok_or(wasm_error!("Failed to get entry hash from #address_ident"))?; let entry = must_get_entry(entry_hash)?.content; let #entry_type_snake = crate::#entry_type_pascal::try_from(entry)?; From 6628a805a5a1548ad023607d1a2161ba2e8dea7c Mon Sep 17 00:00:00 2001 From: = <=> Date: Tue, 25 Apr 2023 13:08:46 -0600 Subject: [PATCH 18/50] Fix missing variable --- src/scaffold/link_type/integrity.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scaffold/link_type/integrity.rs b/src/scaffold/link_type/integrity.rs index 4a658ba62..2bb1c277c 100644 --- a/src/scaffold/link_type/integrity.rs +++ b/src/scaffold/link_type/integrity.rs @@ -30,7 +30,7 @@ fn validate_referenceable( match entry_type.reference_entry_hash { true => quote! { /// Check the entry type for the given entry hash - #address_ident.into_entry_hash().ok_or(wasm_error!("Failed to get entry hash from #address_ident"))?; + let entry_hash = #address_ident.into_entry_hash().ok_or(wasm_error!(WasmErrorInner::Guest(String::from("Linked action must reference an entry"))))?; let entry = must_get_entry(entry_hash)?.content; let #entry_type_snake = crate::#entry_type_pascal::try_from(entry)?; From bb60a33b46528b6b0b43b0ce68fbf04134eb6de8 Mon Sep 17 00:00:00 2001 From: = <=> Date: Tue, 25 Apr 2023 14:23:07 -0600 Subject: [PATCH 19/50] More hash conversions --- src/scaffold/entry_type/coordinator.rs | 4 +++- src/scaffold/link_type/integrity.rs | 6 ++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/scaffold/entry_type/coordinator.rs b/src/scaffold/entry_type/coordinator.rs index 5471dabe4..1ad372286 100644 --- a/src/scaffold/entry_type/coordinator.rs +++ b/src/scaffold/entry_type/coordinator.rs @@ -86,7 +86,9 @@ pub fn get_{}(original_{}_hash: ActionHash) -> ExternResult> {{ let latest_link = links.into_iter().max_by(|link_a, link_b| link_a.timestamp.cmp(&link_b.timestamp)); let latest_{}_hash = match latest_link {{ - Some(link) => ActionHash::from(link.target.clone()), + Some(link) => link.target.clone().into_action_hash().ok_or(wasm_error!( + WasmErrorInner::Guest(String::from("No action hash associated with link")) + ))?, None => original_{}_hash.clone() }}; diff --git a/src/scaffold/link_type/integrity.rs b/src/scaffold/link_type/integrity.rs index 2bb1c277c..bd5905801 100644 --- a/src/scaffold/link_type/integrity.rs +++ b/src/scaffold/link_type/integrity.rs @@ -30,14 +30,16 @@ fn validate_referenceable( match entry_type.reference_entry_hash { true => quote! { /// Check the entry type for the given entry hash - let entry_hash = #address_ident.into_entry_hash().ok_or(wasm_error!(WasmErrorInner::Guest(String::from("Linked action must reference an entry"))))?; + let entry_hash = #address_ident.into_entry_hash().ok_or(wasm_error!(WasmErrorInner::Guest(String::from("No entry hash associated with link"))))?; let entry = must_get_entry(entry_hash)?.content; let #entry_type_snake = crate::#entry_type_pascal::try_from(entry)?; }, false => quote! { /// Check the entry type for the given action hash - let action_hash = ActionHash::from(#address_ident); + let action_hash = #address_ident.into_action_hash().ok_or(wasm_error!( + WasmErrorInner::Guest(String::from("No action hash associated with link")) + ))?; let record = must_get_valid_record(action_hash)?; let #entry_type_snake: crate::#entry_type_pascal = record.entry().to_app_option() From dd7a7ed8ea47539eb68c19db167612df2987537e Mon Sep 17 00:00:00 2001 From: = <=> Date: Tue, 25 Apr 2023 15:28:08 -0600 Subject: [PATCH 20/50] Some links --- src/scaffold/collection/coordinator.rs | 18 ++++++++++++------ src/scaffold/link_type/coordinator.rs | 14 +++++++++----- 2 files changed, 21 insertions(+), 11 deletions(-) diff --git a/src/scaffold/collection/coordinator.rs b/src/scaffold/collection/coordinator.rs index c54850397..2a83565ef 100644 --- a/src/scaffold/collection/coordinator.rs +++ b/src/scaffold/collection/coordinator.rs @@ -25,7 +25,7 @@ fn global_collection_getter( link_type_name: &String, entry_type_reference: &EntryTypeReference, ) -> String { - let to_hash_type = entry_type_reference.hash_type().to_string(); + let snake_to_hash_type = entry_type_reference.hash_type().to_string().to_case(Case::Snake); let snake_collection_name = collection_name.to_case(Case::Snake); format!( @@ -40,8 +40,11 @@ pub fn get_{snake_collection_name}(_: ()) -> ExternResult> {{ let get_input: Vec = links .into_iter() - .map(|link| GetInput::new({to_hash_type}::from(link.target).into(), GetOptions::default())) - .collect(); + .map(|link| Ok(GetInput::new( + link.target.into_{snake_to_hash_type}().ok_or(wasm_error!(WasmErrorInner::Guest(String::from("No action hash associated with link"))))?.into(), + GetOptions::default(), + ))) + .collect::>>()?; // Get the records to filter out the deleted ones let records = HDK.with(|hdk| hdk.borrow().get(get_input))?; @@ -63,7 +66,7 @@ fn by_author_collection_getter( link_type_name: &String, entry_type_reference: &EntryTypeReference, ) -> String { - let to_hash_type = entry_type_reference.hash_type().to_string(); + let snake_to_hash_type = entry_type_reference.hash_type().to_string().to_case(Case::Snake); format!( r#"use hdk::prelude::*; @@ -75,8 +78,11 @@ pub fn get_{collection_name}(author: AgentPubKey) -> ExternResult> { let get_input: Vec = links .into_iter() - .map(|link| GetInput::new({to_hash_type}::from(link.target).into(), GetOptions::default())) - .collect(); + .map(|link| Ok(GetInput::new( + link.target.into_{snake_to_hash_type}().ok_or(wasm_error!(WasmErrorInner::Guest(String::from("No action hash associated with link"))))?.into(), + GetOptions::default(), + ))) + .collect::>>()?; // Get the records to filter out the deleted ones let records = HDK.with(|hdk| hdk.borrow().get(get_input))?; diff --git a/src/scaffold/link_type/coordinator.rs b/src/scaffold/link_type/coordinator.rs index de318ecdb..8cd7b3936 100644 --- a/src/scaffold/link_type/coordinator.rs +++ b/src/scaffold/link_type/coordinator.rs @@ -148,8 +148,8 @@ pub fn get_{plural_snake_to_entry_type}_for_{singular_snake_from_entry_type}({fr let agents: Vec = links .into_iter() - .map(|link| AgentPubKey::from(EntryHash::from(link.target))) - .collect(); + .map(|link| Ok(AgentPubKey::from(link.target.into_entry_hash().ok_or(wasm_error!(WasmErrorInner::Guest(String::from("No entry hash associated with link"))))?))) + .collect::>>()?; Ok(agents) }}"#, @@ -162,7 +162,8 @@ fn get_links_handler_to_entry( ) -> String { let from_hash_type = from_referenceable.hash_type().to_string(); let from_arg_name = from_referenceable.field_name(&Cardinality::Single); - let to_hash_type = to_entry_type.hash_type().to_string(); + // let to_hash_type = to_entry_type.hash_type().to_string(); + let snake_to_hash_type = to_entry_type.hash_type().to_string().to_case(Case::Snake); let pascal_link_type_name = link_type_name( from_referenceable, @@ -182,8 +183,11 @@ pub fn get_{plural_snake_to_entry_type}_for_{singular_snake_from_entry_type}({fr let get_input: Vec = links .into_iter() - .map(|link| GetInput::new({to_hash_type}::from(link.target).into(), GetOptions::default())) - .collect(); + .map(|link| Ok(GetInput::new( + link.target.into_{snake_to_hash_type}().ok_or(wasm_error!(WasmErrorInner::Guest(String::from("No action hash associated with link"))))?.into(), + GetOptions::default(), + ))) + .collect::>>()?; // Get the records to filter out the deleted ones let records: Vec = HDK.with(|hdk| hdk.borrow().get(get_input))? From 191c15e7f98ce273080662ee357c2fce6ac22d81 Mon Sep 17 00:00:00 2001 From: = <=> Date: Tue, 25 Apr 2023 15:50:16 -0600 Subject: [PATCH 21/50] Last compiler fix --- src/scaffold/link_type/coordinator.rs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/scaffold/link_type/coordinator.rs b/src/scaffold/link_type/coordinator.rs index 8cd7b3936..83740eff0 100644 --- a/src/scaffold/link_type/coordinator.rs +++ b/src/scaffold/link_type/coordinator.rs @@ -201,12 +201,16 @@ pub fn get_{plural_snake_to_entry_type}_for_{singular_snake_from_entry_type}({fr } fn from_link_hash_type(hash_type: &String) -> String { + let snake_hash_type = hash_type.to_case(Case::Snake); + let lower_hash_type = hash_type.to_case(Case::Lower); + match hash_type.as_str() { - "AgentPubKey" => format!("AgentPubKey::from(EntryHash::from(link.target.clone()))"), - _ => format!("{}::from(link.target.clone())", hash_type), + "AgentPubKey" => format!("AgentPubKey::from(link.target.clone().into_entry_hash().ok_or(wasm_error!(WasmErrorInner::Guest(String::from(\"No entry_hash associated with link\"))))?)"), + _ => format!("link.target.clone().into_{}().ok_or(wasm_error!(WasmErrorInner::Guest(String::from(\"No {} associated with link\"))))?", snake_hash_type, lower_hash_type), } } + // Event to calendar fn remove_link_handlers( from_referenceable: &Referenceable, From 8b1f78178ed11e962d252741ae1124ac72e8ada8 Mon Sep 17 00:00:00 2001 From: = <=> Date: Tue, 25 Apr 2023 20:59:00 -0600 Subject: [PATCH 22/50] pin scaffolded holochain version to 0.2.0-beta-rc.6 --- flake.lock | 6 +++--- src/scaffold/app/nix.rs | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/flake.lock b/flake.lock index 0c478b100..3cd970d5b 100644 --- a/flake.lock +++ b/flake.lock @@ -820,11 +820,11 @@ }, "locked": { "dir": "versions/0_1", - "lastModified": 1682425641, - "narHash": "sha256-tHg6sg6h6sbB0bk0ajSSYs7ziZnv0zx8XezKbJ5ECO4=", + "lastModified": 1682460175, + "narHash": "sha256-U+RFbTvZkZWZu9htu+p31eL38xGmQmkkYY1OHcJj5qE=", "owner": "holochain", "repo": "holochain", - "rev": "b1a8668ae0e724dc8f766493c2800a27f28e2dfc", + "rev": "b36917d1c5e139ffb50fcbc53375a2acb7d2a849", "type": "github" }, "original": { diff --git a/src/scaffold/app/nix.rs b/src/scaffold/app/nix.rs index 4938a804f..5e2d86bc2 100644 --- a/src/scaffold/app/nix.rs +++ b/src/scaffold/app/nix.rs @@ -21,6 +21,7 @@ pub fn flake_nix() -> FileTree { holochain = {{ url = "github:holochain/holochain"; inputs.versions.url = "github:holochain/holochain/?dir=versions/{holochain_version}"; + inputs.holochain.url = "github:holochain/holochain/holochain-0.2.0-beta-rc.6"; }}; }}; From 43908464b85917156b6326a0e95477d4ded51865 Mon Sep 17 00:00:00 2001 From: = <=> Date: Wed, 26 Apr 2023 09:15:52 -0600 Subject: [PATCH 23/50] Remove tmp versions folder --- flake.lock | 6 +++--- versions_0_2/flake.nix | 28 ---------------------------- 2 files changed, 3 insertions(+), 31 deletions(-) delete mode 100644 versions_0_2/flake.nix diff --git a/flake.lock b/flake.lock index 3cd970d5b..7014a5635 100644 --- a/flake.lock +++ b/flake.lock @@ -820,11 +820,11 @@ }, "locked": { "dir": "versions/0_1", - "lastModified": 1682460175, - "narHash": "sha256-U+RFbTvZkZWZu9htu+p31eL38xGmQmkkYY1OHcJj5qE=", + "lastModified": 1682511845, + "narHash": "sha256-D4v9pZjkhc3njTq0ou30D+lDTdzO/gr4dJ00PDJSJbg=", "owner": "holochain", "repo": "holochain", - "rev": "b36917d1c5e139ffb50fcbc53375a2acb7d2a849", + "rev": "4b15e4b06e850217430993c2cfd695e4fd0f5da0", "type": "github" }, "original": { diff --git a/versions_0_2/flake.nix b/versions_0_2/flake.nix deleted file mode 100644 index cfc1ef76a..000000000 --- a/versions_0_2/flake.nix +++ /dev/null @@ -1,28 +0,0 @@ -{ - inputs = - { - holochain = { - url = "github:holochain/holochain/holochain-0.2.0-beta-rc.6"; - flake = false; - }; - - lair = { - url = "github:holochain/lair/lair_keystore-v0.2.3"; - flake = false; - }; - - # # holochain_cli_launch - # launcher = { - # url = "github:holochain/launcher/holochain-0.1"; - # flake = false; - # }; - - # # holochain_scaffolding_cli - # scaffolding = { - # url = "github:holochain/scaffolding/holochain-0.1"; - # flake = false; - # }; - }; - - outputs = { ... }: { }; -} \ No newline at end of file From a2e8d8274666cdf8794c0f9dbc21805979520a4a Mon Sep 17 00:00:00 2001 From: Stefan Junker Date: Tue, 2 May 2023 21:47:01 +0200 Subject: [PATCH 24/50] feat(flake,nix): bump to 0_2; feat(ci/test): use nix to build scaffolding * adapt to upstream flake changes * bump the versions input to versions/0_2 * use nix to build scaffolding on CI, which can re-use cached dependencies accross runs --- .github/workflows/test.yaml | 2 +- flake.lock | 516 +++++------------------------------- flake.nix | 9 +- run_test.sh | 2 +- src/scaffold/app/nix.rs | 21 +- src/versions.rs | 2 +- 6 files changed, 82 insertions(+), 470 deletions(-) mode change 100644 => 100755 run_test.sh diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index b746bc54f..786869206 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -30,5 +30,5 @@ jobs: - name: Install and test run: | cd $GITHUB_WORKSPACE - nix develop --command bash -c "cargo install --path . && sh run_test.sh" + nix develop --override-input "versions/scaffolding" . --command ./run_test.sh diff --git a/flake.lock b/flake.lock index 7014a5635..1b59d93fc 100644 --- a/flake.lock +++ b/flake.lock @@ -17,23 +17,6 @@ "type": "github" } }, - "cargo-chef_2": { - "flake": false, - "locked": { - "lastModified": 1672901199, - "narHash": "sha256-MHTuR4aQ1rQaBKx1vWDy2wbvcT0ZAzpkVB2zylSC+k0=", - "owner": "LukeMathWalker", - "repo": "cargo-chef", - "rev": "5c9f11578a2e0783cce27666737d50f84510b8b5", - "type": "github" - }, - "original": { - "owner": "LukeMathWalker", - "ref": "main", - "repo": "cargo-chef", - "type": "github" - } - }, "cargo-rdme": { "flake": false, "locked": { @@ -51,56 +34,15 @@ "type": "github" } }, - "cargo-rdme_2": { - "flake": false, - "locked": { - "lastModified": 1675118998, - "narHash": "sha256-lrYWqu3h88fr8gG3Yo5GbFGYaq5/1Os7UtM+Af0Bg4k=", - "owner": "orium", - "repo": "cargo-rdme", - "rev": "f9dbb6bccc078f4869f45ae270a2890ac9a75877", - "type": "github" - }, - "original": { - "owner": "orium", - "ref": "v1.1.0", - "repo": "cargo-rdme", - "type": "github" - } - }, "crane": { "inputs": { "flake-compat": "flake-compat", "flake-utils": "flake-utils", - "nixpkgs": [ - "holochain", - "nixpkgs" - ], - "rust-overlay": "rust-overlay" - }, - "locked": { - "lastModified": 1675475924, - "narHash": "sha256-KWdfV9a6+zG6Ij/7PZYLnomjBZZUu8gdRy+hfjGrrJQ=", - "owner": "ipetkov", - "repo": "crane", - "rev": "1bde9c762ebf26de9f8ecf502357c92105bc4577", - "type": "github" - }, - "original": { - "owner": "ipetkov", - "repo": "crane", - "type": "github" - } - }, - "crane_2": { - "inputs": { - "flake-compat": "flake-compat_3", - "flake-utils": "flake-utils_3", "nixpkgs": [ "holochain-flake", "nixpkgs" ], - "rust-overlay": "rust-overlay_3" + "rust-overlay": "rust-overlay" }, "locked": { "lastModified": 1675475924, @@ -132,19 +74,19 @@ "type": "github" } }, - "crate2nix_2": { + "empty": { "flake": false, "locked": { - "lastModified": 1675642992, - "narHash": "sha256-uDBDZuiq7qyg82Udp82/r4zg5HKfIzBQqgl2U9THiQM=", - "owner": "kolloch", - "repo": "crate2nix", - "rev": "45fc83132c8c91c77a1cd61fe0c945411d1edba8", + "lastModified": 1683792623, + "narHash": "sha256-pQpattmS9VmO3ZIQUFn66az8GSmB4IvYhTTCFn6SUmo=", + "owner": "steveej", + "repo": "empty", + "rev": "8e328e450e4cd32e072eba9e99fe92cf2a1ef5cf", "type": "github" }, "original": { - "owner": "kolloch", - "repo": "crate2nix", + "owner": "steveej", + "repo": "empty", "type": "github" } }, @@ -180,38 +122,6 @@ "type": "github" } }, - "flake-compat_3": { - "flake": false, - "locked": { - "lastModified": 1673956053, - "narHash": "sha256-4gtG9iQuiKITOjNQQeQIpoIB6b16fm+504Ch3sNKLd8=", - "owner": "edolstra", - "repo": "flake-compat", - "rev": "35bb57c0c8d8b62bbfd284272c928ceb64ddbde9", - "type": "github" - }, - "original": { - "owner": "edolstra", - "repo": "flake-compat", - "type": "github" - } - }, - "flake-compat_4": { - "flake": false, - "locked": { - "lastModified": 1673956053, - "narHash": "sha256-4gtG9iQuiKITOjNQQeQIpoIB6b16fm+504Ch3sNKLd8=", - "owner": "edolstra", - "repo": "flake-compat", - "rev": "35bb57c0c8d8b62bbfd284272c928ceb64ddbde9", - "type": "github" - }, - "original": { - "owner": "edolstra", - "repo": "flake-compat", - "type": "github" - } - }, "flake-parts": { "inputs": { "nixpkgs-lib": "nixpkgs-lib" @@ -229,23 +139,6 @@ "type": "indirect" } }, - "flake-parts_2": { - "inputs": { - "nixpkgs-lib": "nixpkgs-lib_2" - }, - "locked": { - "lastModified": 1675295133, - "narHash": "sha256-dU8fuLL98WFXG0VnRgM00bqKX6CEPBLybhiIDIgO45o=", - "owner": "hercules-ci", - "repo": "flake-parts", - "rev": "bf53492df08f3178ce85e0c9df8ed8d03c030c9f", - "type": "github" - }, - "original": { - "id": "flake-parts", - "type": "indirect" - } - }, "flake-utils": { "locked": { "lastModified": 1667395993, @@ -262,36 +155,6 @@ } }, "flake-utils_2": { - "locked": { - "lastModified": 1659877975, - "narHash": "sha256-zllb8aq3YO3h8B/U0/J1WBgAL8EX5yWf5pMj3G0NAmc=", - "owner": "numtide", - "repo": "flake-utils", - "rev": "c0e246b9b83f637f4681389ecabcb2681b4f3af0", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "flake-utils", - "type": "github" - } - }, - "flake-utils_3": { - "locked": { - "lastModified": 1667395993, - "narHash": "sha256-nuEHfE/LcWyuSWnS8t12N1wc105Qtau+/OdUAjtQ0rA=", - "owner": "numtide", - "repo": "flake-utils", - "rev": "5aed5285a952e0b949eb3ba02c12fa4fcfef535f", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "flake-utils", - "type": "github" - } - }, - "flake-utils_4": { "inputs": { "systems": "systems" }, @@ -310,143 +173,65 @@ } }, "holochain": { - "inputs": { - "cargo-chef": "cargo-chef", - "cargo-rdme": "cargo-rdme", - "crane": "crane", - "crate2nix": "crate2nix", - "flake-compat": "flake-compat_2", - "flake-parts": "flake-parts", - "holochain": [ - "holochain", - "versions", - "holochain" - ], - "lair": [ - "holochain", - "versions", - "lair" - ], - "launcher": [ - "holochain", - "versions", - "launcher" - ], - "nix-filter": "nix-filter", - "nixpkgs": "nixpkgs", - "rust-overlay": "rust-overlay_2", - "scaffolding": [ - "holochain", - "versions", - "scaffolding" - ], - "versions": "versions" - }, + "flake": false, "locked": { - "lastModified": 1676891757, - "narHash": "sha256-ePV3nenCyz1IP1bnS074G4ZZmy6oZW8/WhChC1jHj2Y=", + "lastModified": 1682615969, + "narHash": "sha256-jnlWB6FHITXa6JzaBzHcyaAQimWDVOGySjDayHDjvJs=", "owner": "holochain", "repo": "holochain", - "rev": "788ca7083f7dd70c7cef6672008688e12297bc37", + "rev": "efe64a7f5dfbddc257945bf368db81c7b68de1bd", "type": "github" }, "original": { "owner": "holochain", + "ref": "holochain-0.2.0", "repo": "holochain", "type": "github" } }, "holochain-flake": { "inputs": { - "cargo-chef": "cargo-chef_2", - "cargo-rdme": "cargo-rdme_2", - "crane": "crane_2", - "crate2nix": "crate2nix_2", - "flake-compat": "flake-compat_4", - "flake-parts": "flake-parts_2", - "holochain": "holochain_3", + "cargo-chef": "cargo-chef", + "cargo-rdme": "cargo-rdme", + "crane": "crane", + "crate2nix": "crate2nix", + "empty": "empty", + "flake-compat": "flake-compat_2", + "flake-parts": "flake-parts", + "holochain": [ + "holochain-flake", + "empty" + ], "lair": [ "holochain-flake", - "versions", - "lair" + "empty" ], "launcher": [ "holochain-flake", - "versions", - "launcher" + "empty" ], - "nix-filter": "nix-filter_2", - "nixpkgs": "nixpkgs_2", + "nix-filter": "nix-filter", + "nixpkgs": "nixpkgs", "pre-commit-hooks-nix": "pre-commit-hooks-nix", - "rust-overlay": "rust-overlay_4", + "rust-overlay": "rust-overlay_2", "scaffolding": [ "holochain-flake", - "versions", - "scaffolding" + "empty" ], - "versions": "versions_2" - }, - "locked": { - "lastModified": 1682371576, - "narHash": "sha256-ofVwMuCGb4zcSnsj/XeAoDcejctoMBFK/5PHvl1dgjY=", - "owner": "holochain", - "repo": "holochain", - "rev": "07d9be37a68e4d6a0d12d005de4bfd479d733442", - "type": "github" - }, - "original": { - "owner": "holochain", - "repo": "holochain", - "type": "github" - } - }, - "holochain_2": { - "flake": false, - "locked": { - "lastModified": 1681507583, - "narHash": "sha256-lRnums2gv1oXVwo4gMF2QAnzEu8prwxg1uKjUzNwJV4=", - "owner": "holochain", - "repo": "holochain", - "rev": "ac50baed6b53e9d0552729e69e1e20312e4edc08", - "type": "github" - }, - "original": { - "owner": "holochain", - "ref": "holochain-0.1.4", - "repo": "holochain", - "type": "github" - } - }, - "holochain_3": { - "flake": false, - "locked": { - "lastModified": 1682007936, - "narHash": "sha256-Qx5lzqOqAYRQBJa7DQlQ/kLpTztQ3YpBmu6OVzLw77U=", - "owner": "holochain", - "repo": "holochain", - "rev": "fb0b56acdf755b1d4d731aad36e85bf785096a7b", - "type": "github" + "versions": [ + "versions" + ] }, - "original": { - "owner": "holochain", - "ref": "holochain-0.2.0-beta-rc.6", - "repo": "holochain", - "type": "github" - } - }, - "holochain_4": { - "flake": false, "locked": { - "lastModified": 1681507583, - "narHash": "sha256-lRnums2gv1oXVwo4gMF2QAnzEu8prwxg1uKjUzNwJV4=", + "lastModified": 1683799738, + "narHash": "sha256-y5QffuklMpD6o4ehzd8E6xUpfrGG+nIiNNy6/ORMPe4=", "owner": "holochain", "repo": "holochain", - "rev": "ac50baed6b53e9d0552729e69e1e20312e4edc08", + "rev": "0d75a45106e847e93e69f477b575cc91f97c9404", "type": "github" }, "original": { "owner": "holochain", - "ref": "holochain-0.1.4", "repo": "holochain", "type": "github" } @@ -454,33 +239,16 @@ "lair": { "flake": false, "locked": { - "lastModified": 1670953460, - "narHash": "sha256-cqOr7iWzsNeomYQiiFggzG5Dr4X0ysnTkjtA8iwDLAQ=", + "lastModified": 1682356264, + "narHash": "sha256-5ZYJ1gyyL3hLR8hCjcN5yremg8cSV6w1iKCOrpJvCmc=", "owner": "holochain", "repo": "lair", - "rev": "cbfbefefe43073904a914c8181a450209a74167b", + "rev": "43be404da0fd9d57bf4429c44def405bd6490f61", "type": "github" }, "original": { "owner": "holochain", - "ref": "lair_keystore-v0.2.3", - "repo": "lair", - "type": "github" - } - }, - "lair_2": { - "flake": false, - "locked": { - "lastModified": 1670953460, - "narHash": "sha256-cqOr7iWzsNeomYQiiFggzG5Dr4X0ysnTkjtA8iwDLAQ=", - "owner": "holochain", - "repo": "lair", - "rev": "cbfbefefe43073904a914c8181a450209a74167b", - "type": "github" - }, - "original": { - "owner": "holochain", - "ref": "lair_keystore-v0.2.3", + "ref": "lair_keystore-v0.2.4", "repo": "lair", "type": "github" } @@ -488,33 +256,16 @@ "launcher": { "flake": false, "locked": { - "lastModified": 1675974122, - "narHash": "sha256-eSYSMR4fHnwgquWaFZM2DOl7LRTsDrOGZTYkDc8HE3Q=", + "lastModified": 1683619203, + "narHash": "sha256-Nyfn+Bt5mJh14d2Y3N3RcYelfZwW3mkvvJFtTkCNEX0=", "owner": "holochain", "repo": "launcher", - "rev": "3bcd14e81cda07e015071b070c2ef032aa1d1193", + "rev": "b2f3658a4412dc00a8739d3b51f95a518d109432", "type": "github" }, "original": { "owner": "holochain", - "ref": "holochain-0.1", - "repo": "launcher", - "type": "github" - } - }, - "launcher_2": { - "flake": false, - "locked": { - "lastModified": 1677270906, - "narHash": "sha256-/xT//6nqhjpKLMMv41JE0W3H5sE9jKMr8Dedr88D4N8=", - "owner": "holochain", - "repo": "launcher", - "rev": "1ad188a43900c139e52df10a21e3722f41dfb967", - "type": "github" - }, - "original": { - "owner": "holochain", - "ref": "holochain-0.1", + "ref": "holochain-0.2", "repo": "launcher", "type": "github" } @@ -534,28 +285,13 @@ "type": "github" } }, - "nix-filter_2": { - "locked": { - "lastModified": 1675361037, - "narHash": "sha256-CTbDuDxFD3U3g/dWUB+r+B/snIe+qqP1R+1myuFGe2I=", - "owner": "numtide", - "repo": "nix-filter", - "rev": "e1b2f96c2a31415f362268bc48c3fccf47dff6eb", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "nix-filter", - "type": "github" - } - }, "nixpkgs": { "locked": { - "lastModified": 1676721149, - "narHash": "sha256-mN2EpTGxxVNnFZLoLWRwh6f7UWhXy4qE+wO2CZyrXps=", + "lastModified": 1683408522, + "narHash": "sha256-9kcPh6Uxo17a3kK3XCHhcWiV1Yu1kYj22RHiymUhMkU=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "5f4e07deb7c44f27d498f8df9c5f34750acf52d2", + "rev": "897876e4c484f1e8f92009fd11b7d988a121a4e7", "type": "github" }, "original": { @@ -582,39 +318,6 @@ "type": "github" } }, - "nixpkgs-lib_2": { - "locked": { - "dir": "lib", - "lastModified": 1675183161, - "narHash": "sha256-Zq8sNgAxDckpn7tJo7V1afRSk2eoVbu3OjI1QklGLNg=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "e1e1b192c1a5aab2960bf0a0bd53a2e8124fa18e", - "type": "github" - }, - "original": { - "dir": "lib", - "owner": "NixOS", - "ref": "nixos-unstable", - "repo": "nixpkgs", - "type": "github" - } - }, - "nixpkgs_2": { - "locked": { - "lastModified": 1682268651, - "narHash": "sha256-2eZriMhnD24Pmb8ideZWZDiXaAVe6LzJrHQiNPck+Lk=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "e78d25df6f1036b3fa76750ed4603dd9d5fe90fc", - "type": "github" - }, - "original": { - "id": "nixpkgs", - "ref": "nixos-unstable", - "type": "indirect" - } - }, "pre-commit-hooks-nix": { "flake": false, "locked": { @@ -633,64 +336,15 @@ }, "root": { "inputs": { - "holochain": "holochain", "holochain-flake": "holochain-flake", "nixpkgs": [ "holochain-flake", "nixpkgs" - ] - } - }, - "rust-overlay": { - "inputs": { - "flake-utils": [ - "holochain", - "crane", - "flake-utils" ], - "nixpkgs": [ - "holochain", - "crane", - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1675391458, - "narHash": "sha256-ukDKZw922BnK5ohL9LhwtaDAdCsJL7L6ScNEyF1lO9w=", - "owner": "oxalica", - "repo": "rust-overlay", - "rev": "383a4acfd11d778d5c2efcf28376cbd845eeaedf", - "type": "github" - }, - "original": { - "owner": "oxalica", - "repo": "rust-overlay", - "type": "github" - } - }, - "rust-overlay_2": { - "inputs": { - "flake-utils": "flake-utils_2", - "nixpkgs": [ - "holochain", - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1676860326, - "narHash": "sha256-Rsvi4Zl6N7phhC7RMoh05gAHSwTzWG+c+iR+/X0RqWU=", - "owner": "oxalica", - "repo": "rust-overlay", - "rev": "98f11700e398cf2ae6da905df56badc17e265021", - "type": "github" - }, - "original": { - "owner": "oxalica", - "repo": "rust-overlay", - "type": "github" + "versions": "versions" } }, - "rust-overlay_3": { + "rust-overlay": { "inputs": { "flake-utils": [ "holochain-flake", @@ -717,20 +371,20 @@ "type": "github" } }, - "rust-overlay_4": { + "rust-overlay_2": { "inputs": { - "flake-utils": "flake-utils_4", + "flake-utils": "flake-utils_2", "nixpkgs": [ "holochain-flake", "nixpkgs" ] }, "locked": { - "lastModified": 1682302828, - "narHash": "sha256-5uKDELNLWozRhv02ynzvGf8rx30b0m8DhPTT63IFVHo=", + "lastModified": 1683771545, + "narHash": "sha256-we0GYcKTo2jRQGmUGrzQ9VH0OYAUsJMCsK8UkF+vZUA=", "owner": "oxalica", "repo": "rust-overlay", - "rev": "55de807250dd207007a0697e6e06d9fcba578d81", + "rev": "c57e210faf68e5d5386f18f1b17ad8365d25e4ed", "type": "github" }, "original": { @@ -742,33 +396,16 @@ "scaffolding": { "flake": false, "locked": { - "lastModified": 1676478168, - "narHash": "sha256-sCcmhrmiji83+80P4q7RIDHF+LGp2VkfKvTHoz+XBmE=", - "owner": "holochain", - "repo": "scaffolding", - "rev": "b95929a492a2d039d7c40fb95f66c0fa8c222377", - "type": "github" - }, - "original": { - "owner": "holochain", - "ref": "holochain-0.1", - "repo": "scaffolding", - "type": "github" - } - }, - "scaffolding_2": { - "flake": false, - "locked": { - "lastModified": 1682016510, - "narHash": "sha256-U6V453QPUGI6PhtO7kkQCFxEB9WZPiU6hjwyPUdEHaE=", + "lastModified": 1682522152, + "narHash": "sha256-8ivQwNEzaW48eMBI4i4wwgmE+PUjSf1NEjotGtDKp4g=", "owner": "holochain", "repo": "scaffolding", - "rev": "85997cbc4c92f0fea87447d7c7daed1245b47700", + "rev": "43908464b85917156b6326a0e95477d4ded51865", "type": "github" }, "original": { "owner": "holochain", - "ref": "holochain-0.1", + "ref": "holochain-0.2", "repo": "scaffolding", "type": "github" } @@ -790,45 +427,22 @@ }, "versions": { "inputs": { - "holochain": "holochain_2", + "holochain": "holochain", "lair": "lair", "launcher": "launcher", "scaffolding": "scaffolding" }, "locked": { - "dir": "versions/0_1", - "lastModified": 1682350639, - "narHash": "sha256-WSbFQ3MNpdxfUPT9WGHvAykyC92YDG6Pjk/dvdA0k0Q=", - "owner": "holochain", - "repo": "holochain", - "rev": "b4011b8efcd97768e715170577f9723987eb6025", - "type": "github" - }, - "original": { - "dir": "versions/0_1", - "owner": "holochain", - "repo": "holochain", - "type": "github" - } - }, - "versions_2": { - "inputs": { - "holochain": "holochain_4", - "lair": "lair_2", - "launcher": "launcher_2", - "scaffolding": "scaffolding_2" - }, - "locked": { - "dir": "versions/0_1", - "lastModified": 1682511845, - "narHash": "sha256-D4v9pZjkhc3njTq0ou30D+lDTdzO/gr4dJ00PDJSJbg=", + "dir": "versions/0_2", + "lastModified": 1683799738, + "narHash": "sha256-y5QffuklMpD6o4ehzd8E6xUpfrGG+nIiNNy6/ORMPe4=", "owner": "holochain", "repo": "holochain", - "rev": "4b15e4b06e850217430993c2cfd695e4fd0f5da0", + "rev": "0d75a45106e847e93e69f477b575cc91f97c9404", "type": "github" }, "original": { - "dir": "versions/0_1", + "dir": "versions/0_2", "owner": "holochain", "repo": "holochain", "type": "github" diff --git a/flake.nix b/flake.nix index 502293beb..0435a0200 100644 --- a/flake.nix +++ b/flake.nix @@ -3,14 +3,11 @@ inputs = { nixpkgs.follows = "holochain-flake/nixpkgs"; - - holochain.url = "github:holochain/holochain"; - holochain.flake = false; + versions.url = "github:holochain/holochain?dir=versions/0_2"; holochain-flake = { url = "github:holochain/holochain"; - inputs.versions.url = "github:holochain/holochain?dir=versions/0_1"; - inputs.holochain.url = "github:holochain/holochain/holochain-0.2.0-beta-rc.6"; + inputs.versions.follows = "versions"; }; }; @@ -35,4 +32,4 @@ }; }; }; -} \ No newline at end of file +} diff --git a/run_test.sh b/run_test.sh old mode 100644 new mode 100755 index d6a36c858..0172e73e1 --- a/run_test.sh +++ b/run_test.sh @@ -1,4 +1,4 @@ -#!/usr/bin/bash +#!/usr/bin/env bash set -e rm -rf /tmp/forum-svelte diff --git a/src/scaffold/app/nix.rs b/src/scaffold/app/nix.rs index 5e2d86bc2..c77d052a9 100644 --- a/src/scaffold/app/nix.rs +++ b/src/scaffold/app/nix.rs @@ -10,28 +10,29 @@ use crate::file_tree::*; use crate::versions::holochain_nix_version; pub fn flake_nix() -> FileTree { - let holochain_version = holochain_nix_version(); + let holochain_nix_version = holochain_nix_version(); file!(format!( r#"{{ description = "Template for Holochain app development"; inputs = {{ - nixpkgs.follows = "holochain/nixpkgs"; - - holochain = {{ + holochain-nix-versions.url = "github:holochain/holochain?dir=versions/{holochain_nix_version}"; + holochain-flake = {{ url = "github:holochain/holochain"; - inputs.versions.url = "github:holochain/holochain/?dir=versions/{holochain_version}"; - inputs.holochain.url = "github:holochain/holochain/holochain-0.2.0-beta-rc.6"; + inputs.versions.follows = "holochain-nix-versions"; }}; + + nixpkgs.follows = "holochain-flake/nixpkgs"; + flake-parts.follows = "holochain-flake/flake-parts"; }}; - outputs = inputs @ {{ ... }}: - inputs.holochain.inputs.flake-parts.lib.mkFlake + outputs = inputs @ {{ flake-parts, holochain-flake, ... }}: + flake-parts.lib.mkFlake {{ inherit inputs; }} {{ - systems = builtins.attrNames inputs.holochain.devShells; + systems = builtins.attrNames holochain-flake.devShells; perSystem = {{ config , pkgs @@ -39,7 +40,7 @@ pub fn flake_nix() -> FileTree { , ... }}: {{ devShells.default = pkgs.mkShell {{ - inputsFrom = [ inputs.holochain.devShells.${{system}}.holonix ]; + inputsFrom = [ holochain-flake.devShells.${{system}}.holonix ]; packages = [ pkgs.nodejs-18_x ]; }}; }}; diff --git a/src/versions.rs b/src/versions.rs index 5d0e1095e..c4ef15372 100644 --- a/src/versions.rs +++ b/src/versions.rs @@ -19,5 +19,5 @@ pub fn holochain_version() -> String { } pub fn holochain_nix_version() -> String { - String::from("0_1") + String::from("0_2") } From bf0b3175daf482c3a17c8dcf4c7b85f6ffac5e9c Mon Sep 17 00:00:00 2001 From: = <=> Date: Mon, 15 May 2023 20:54:01 +0200 Subject: [PATCH 25/50] bump to hc 0.2.1-beta-dev.0 --- Cargo.lock | 1020 +++++++++++++++---------------- Cargo.toml | 12 +- flake.lock | 488 ++++++++++++++- flake.nix | 1 + src/scaffold/app/nix.rs | 1 + src/scaffold/dna/coordinator.rs | 3 +- src/scaffold/dna/integrity.rs | 1 + 7 files changed, 973 insertions(+), 553 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index ea5cca8b6..b9a11b727 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -106,9 +106,9 @@ dependencies = [ [[package]] name = "anstream" -version = "0.3.1" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6342bd4f5a1205d7f41e94a41a901f5647c938cdfa96036338e8533c9d6c2450" +checksum = "0ca84f3628370c59db74ee214b3263d58f9aadd9b4fe7e711fd87dc452b7f163" dependencies = [ "anstyle", "anstyle-parse", @@ -155,9 +155,9 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.70" +version = "1.0.71" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7de8ce5e0f9f8d88245311066a578d72b7af3e7088f32783804676302df237e4" +checksum = "9c7d0618f0e0b7e8ff11427422b64564d5fb0be1940354bfe2e0529b18a9d9b8" [[package]] name = "approx" @@ -275,7 +275,7 @@ dependencies = [ "polling", "rustix", "slab", - "socket2", + "socket2 0.4.9", "waker-fn", ] @@ -380,7 +380,7 @@ checksum = "b9ccdd8f2a161be9bd5c023df56f1b2a0bd1d83872ae53b71a84a12c9bf6e842" dependencies = [ "proc-macro2", "quote", - "syn 2.0.15", + "syn 2.0.16", ] [[package]] @@ -437,7 +437,7 @@ dependencies = [ "cc", "cfg-if 1.0.0", "libc", - "miniz_oxide", + "miniz_oxide 0.6.2", "object 0.30.3", "rustc-demangle", ] @@ -502,6 +502,24 @@ version = "1.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" +[[package]] +name = "bitflags" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "24a6904aef64d73cf10ab17ebace7befb918b82164785cb89907993be7f83813" + +[[package]] +name = "bitvec" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1bc2832c24239b0141d5674bb9174f9d68a8b5b3f2753311927c172ca46f7e9c" +dependencies = [ + "funty", + "radium", + "tap", + "wyz", +] + [[package]] name = "blake2b_simd" version = "0.5.11" @@ -605,15 +623,15 @@ dependencies = [ [[package]] name = "bumpalo" -version = "3.12.1" +version = "3.12.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b1ce199063694f33ffb7dd4e0ee620741495c32833cde5aa08f02a0bf96f0c8" +checksum = "3c6ed94e98ecff0c12dd1b04c15ec0d7d9458ca8fe806cea6f12954efe74c63b" [[package]] name = "bytecheck" -version = "0.6.10" +version = "0.6.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "13fe11640a23eb24562225322cd3e452b93a3d4091d62fab69c70542fcd17d1f" +checksum = "8b6372023ac861f6e6dc89c8344a8f398fb42aaba2b5dbc649ca0c0e9dbcb627" dependencies = [ "bytecheck_derive", "ptr_meta", @@ -622,9 +640,9 @@ dependencies = [ [[package]] name = "bytecheck_derive" -version = "0.6.10" +version = "0.6.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e31225543cb46f81a7e224762764f4a6a0f097b1db0b175f69e8065efaa42de5" +checksum = "a7ec4c6f261935ad534c0c22dbef2201b45918860eb1c574b972bd213a76af61" dependencies = [ "proc-macro2", "quote", @@ -750,7 +768,7 @@ checksum = "a0610544180c38b88101fecf2dd634b174a62eef6946f84dfc6a7127512b381c" dependencies = [ "ansi_term", "atty", - "bitflags", + "bitflags 1.3.2", "strsim 0.8.0", "textwrap 0.11.0", "unicode-width", @@ -759,13 +777,13 @@ dependencies = [ [[package]] name = "clap" -version = "3.2.23" +version = "3.2.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "71655c45cb9845d3270c9d6df84ebe72b4dad3c2ba3f7023ad47c144e4e473a5" +checksum = "4ea181bf566f71cb9a5d17a59e1871af638180a18fb0035c92ae62b705207123" dependencies = [ "atty", - "bitflags", - "clap_derive 3.2.18", + "bitflags 1.3.2", + "clap_derive 3.2.25", "clap_lex 0.2.4", "indexmap", "once_cell", @@ -776,9 +794,9 @@ dependencies = [ [[package]] name = "clap" -version = "4.2.4" +version = "4.2.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "956ac1f6381d8d82ab4684768f89c0ea3afe66925ceadb4eeb3fc452ffc55d62" +checksum = "34d21f9bf1b425d2968943631ec91202fe5e837264063503708b83013f8fc938" dependencies = [ "clap_builder", "clap_derive 4.2.0", @@ -787,23 +805,22 @@ dependencies = [ [[package]] name = "clap_builder" -version = "4.2.4" +version = "4.2.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84080e799e54cff944f4b4a4b0e71630b0e0443b25b985175c7dddc1a859b749" +checksum = "914c8c79fb560f238ef6429439a30023c862f7a28e688c58f7203f12b29970bd" dependencies = [ "anstream", "anstyle", - "bitflags", + "bitflags 1.3.2", "clap_lex 0.4.1", "strsim 0.10.0", - "terminal_size", ] [[package]] name = "clap_derive" -version = "3.2.18" +version = "3.2.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea0c8bce528c4be4da13ea6fead8965e95b6073585a2f05204bd8f4119f82a65" +checksum = "ae6371b8bdc8b7d3959e9cf7b22d4435ef3e79e138688421ec654acf8c81b008" dependencies = [ "heck 0.4.1", "proc-macro-error", @@ -821,7 +838,7 @@ dependencies = [ "heck 0.4.1", "proc-macro2", "quote", - "syn 2.0.15", + "syn 2.0.16", ] [[package]] @@ -845,17 +862,7 @@ version = "0.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ddfc5b9aa5d4507acaf872de71051dfd0e309860e88966e1051e462a077aac4f" dependencies = [ - "bitflags", -] - -[[package]] -name = "codespan-reporting" -version = "0.11.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3538270d33cc669650c4b093848450d380def10c331d38c768e34cac80576e6e" -dependencies = [ - "termcolor", - "unicode-width", + "bitflags 1.3.2", ] [[package]] @@ -1200,50 +1207,6 @@ dependencies = [ "syn 1.0.109", ] -[[package]] -name = "cxx" -version = "1.0.94" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f61f1b6389c3fe1c316bf8a4dccc90a38208354b330925bce1f74a6c4756eb93" -dependencies = [ - "cc", - "cxxbridge-flags", - "cxxbridge-macro", - "link-cplusplus", -] - -[[package]] -name = "cxx-build" -version = "1.0.94" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "12cee708e8962df2aeb38f594aae5d827c022b6460ac71a7a3e2c3c2aae5a07b" -dependencies = [ - "cc", - "codespan-reporting", - "once_cell", - "proc-macro2", - "quote", - "scratch", - "syn 2.0.15", -] - -[[package]] -name = "cxxbridge-flags" -version = "1.0.94" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7944172ae7e4068c533afbb984114a56c46e9ccddda550499caa222902c7f7bb" - -[[package]] -name = "cxxbridge-macro" -version = "1.0.94" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2345488264226bf682893e25de0769f3360aac9957980ec49361b083ddaa5bc5" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.15", -] - [[package]] name = "darling" version = "0.10.2" @@ -1274,6 +1237,16 @@ dependencies = [ "darling_macro 0.14.4", ] +[[package]] +name = "darling" +version = "0.20.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0558d22a7b463ed0241e993f76f09f30b126687447751a8638587b864e4b3944" +dependencies = [ + "darling_core 0.20.1", + "darling_macro 0.20.1", +] + [[package]] name = "darling_core" version = "0.10.2" @@ -1316,6 +1289,19 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "darling_core" +version = "0.20.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ab8bfa2e259f8ee1ce5e97824a3c55ec4404a0d772ca7fa96bf19f0752a046eb" +dependencies = [ + "fnv", + "ident_case", + "proc-macro2", + "quote", + "syn 2.0.16", +] + [[package]] name = "darling_macro" version = "0.10.2" @@ -1349,6 +1335,17 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "darling_macro" +version = "0.20.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "29a358ff9f12ec09c3e61fef9b5a9902623a695a46a917b07f269bff1445611a" +dependencies = [ + "darling_core 0.20.1", + "quote", + "syn 2.0.16", +] + [[package]] name = "dashmap" version = "4.0.2" @@ -1517,11 +1514,11 @@ dependencies = [ [[package]] name = "dirs" -version = "5.0.0" +version = "5.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dece029acd3353e3a58ac2e3eb3c8d6c35827a892edc6cc4138ef9c33df46ecd" +checksum = "44c45a9d03d6676652bcb5e724c7e988de1acad23a711b5217ab9cbecbec2225" dependencies = [ - "dirs-sys 0.4.0", + "dirs-sys 0.4.1", ] [[package]] @@ -1537,13 +1534,14 @@ dependencies = [ [[package]] name = "dirs-sys" -version = "0.4.0" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "04414300db88f70d74c5ff54e50f9e1d1737d9a5b90f53fcf2e95ca2a9ab554b" +checksum = "520f05a5cbd335fae5a99ff7a6ab8627577660ee5cfd6a94a6a929b52ff0321c" dependencies = [ "libc", + "option-ext", "redox_users", - "windows-sys 0.45.0", + "windows-sys 0.48.0", ] [[package]] @@ -1623,23 +1621,23 @@ dependencies = [ [[package]] name = "enumset" -version = "1.0.12" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19be8061a06ab6f3a6cf21106c873578bf01bd42ad15e0311a9c76161cb1c753" +checksum = "e875f1719c16de097dee81ed675e2d9bb63096823ed3f0ca827b7dea3028bbbb" dependencies = [ "enumset_derive", ] [[package]] name = "enumset_derive" -version = "0.6.1" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03e7b551eba279bf0fa88b83a46330168c1560a52a94f5126f892f0b364ab3e0" +checksum = "e08b6c6ab82d70f08844964ba10c7babb716de2ecaeab9be5717918a5177d3af" dependencies = [ - "darling 0.14.4", + "darling 0.20.1", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.16", ] [[package]] @@ -1749,9 +1747,9 @@ dependencies = [ [[package]] name = "fixt" -version = "0.2.0-beta-rc.0" +version = "0.2.1-beta-dev.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c82e720f809f69c9c3329cfc6b7c212196f0c2b6c8d1668d5a3ca6ee604fc82" +checksum = "3e078693c0fee966feeffd56cc7c52a64bb97abcabf699f639a122f198a47114" dependencies = [ "holochain_serialized_bytes", "lazy_static", @@ -1766,12 +1764,12 @@ dependencies = [ [[package]] name = "flate2" -version = "1.0.25" +version = "1.0.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8a2db397cb1c8772f31494cb8917e48cd1e64f0fa7efac59fbd741a0a8ce841" +checksum = "3b9429470923de8e8cbd4d2dc513535400b4b3fef0319fb5c4e1f520a7bef743" dependencies = [ "crc32fast", - "miniz_oxide", + "miniz_oxide 0.7.1", ] [[package]] @@ -1840,7 +1838,7 @@ version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2e9763c69ebaae630ba35f74888db465e49e259ba1bc0eda7d06f4a067615d82" dependencies = [ - "bitflags", + "bitflags 1.3.2", "fuchsia-zircon-sys", ] @@ -1850,6 +1848,12 @@ version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3dcaa9ae7725d12cdb85b3ad99a434db70b468c09ded17e012d86b5c1010f7a7" +[[package]] +name = "funty" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c" + [[package]] name = "futures" version = "0.1.31" @@ -1937,7 +1941,7 @@ checksum = "89ca545a94061b6365f2c7355b4b32bd20df3ff95f02da9329b34ccc3bd6ee72" dependencies = [ "proc-macro2", "quote", - "syn 2.0.15", + "syn 2.0.16", ] [[package]] @@ -2150,9 +2154,9 @@ dependencies = [ [[package]] name = "h2" -version = "0.3.18" +version = "0.3.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "17f8a914c2987b688368b5138aa05321db91f4090cf26118185672ad588bce21" +checksum = "d357c7ae988e7d2182f7d7871d0b963962420b0678b0997ce7de72001aeab782" dependencies = [ "bytes 1.4.0", "fnv", @@ -2162,16 +2166,16 @@ dependencies = [ "http 0.2.9", "indexmap", "slab", - "tokio 1.27.0", + "tokio 1.28.1", "tokio-util", "tracing", ] [[package]] name = "handlebars" -version = "4.3.6" +version = "4.3.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "035ef95d03713f2c347a72547b7cd38cbc9af7cd51e6099fb62d586d4a6dee3a" +checksum = "83c3372087601b532857d332f5957cbae686da52bb7810bf038c3e3c3cc2fa0d" dependencies = [ "log", "pest", @@ -2209,20 +2213,29 @@ dependencies = [ "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.3", +] + [[package]] name = "hashlink" -version = "0.8.1" +version = "0.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "69fe1fcf8b4278d860ad0548329f892a3631fb63f82574df68275f34cdbe0ffa" +checksum = "0761a1b9491c4f2e3d66aa0f62d0fba0af9a0e2852e4d48ea506632a4b56e6aa" dependencies = [ - "hashbrown 0.12.3", + "hashbrown 0.13.2", ] [[package]] name = "hc_seed_bundle" -version = "0.1.5" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6bfd1584a885bb064bd877e78a43465261c5bd369c001e7095ab5b00cb57b3c5" +checksum = "63bba5629a49d90007bb81a27a9ba8f9c597a82246d44e73126130617f11c52b" dependencies = [ "futures 0.3.28", "one_err", @@ -2235,9 +2248,9 @@ dependencies = [ [[package]] name = "hdi" -version = "0.3.0-beta-rc.4" +version = "0.3.1-beta-dev.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8533b6fdd0e33f34846fac69b231fb0908b3d67ff09fa28be709b08f592d2bbe" +checksum = "a886cc9e0c50374c32ae9ca88f84d9dd49976354ac2212dee72036cc6ff49ed8" dependencies = [ "hdk_derive", "holo_hash", @@ -2252,9 +2265,9 @@ dependencies = [ [[package]] name = "hdk" -version = "0.2.0-beta-rc.5" +version = "0.2.1-beta-dev.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ef12c14920790e7dbe7d10c2010b88c2838c113b2fe3f2b17388a0309f8e237" +checksum = "8fd3ff014eff9c6849bbe3e6350e28a0156b156afc4b12c51412b4307795c2f2" dependencies = [ "getrandom", "hdi", @@ -2272,9 +2285,9 @@ dependencies = [ [[package]] name = "hdk_derive" -version = "0.2.0-beta-rc.4" +version = "0.2.1-beta-dev.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7a40da52b7fa195f618728686538b8bf0573efd1e6bd2f70abf0b880447e87f" +checksum = "4ad315cca0c2b5c3b361b07d0d3ff6adf1a8c99501962b6f833dee1adacbea1a" dependencies = [ "darling 0.14.4", "heck 0.4.1", @@ -2293,7 +2306,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f3e372db8e5c0d213e0cd0b9be18be2aca3d44cf2fe30a9d46a65581cd454584" dependencies = [ "base64 0.13.1", - "bitflags", + "bitflags 1.3.2", "bytes 1.4.0", "headers-core", "http 0.2.9", @@ -2358,9 +2371,9 @@ checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" [[package]] name = "holo_hash" -version = "0.2.0-beta-rc.4" +version = "0.2.1-beta-dev.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "348a44e5d76ad10ffb1ecf25581baf55b39731bd79f5ed45b9d4db097321aa60" +checksum = "b45b6a6f1d7bfb0b1a73caa16b0f01ab103c93e748f273a0f479ecca6e5977ee" dependencies = [ "arbitrary", "base64 0.13.1", @@ -2369,6 +2382,7 @@ dependencies = [ "fixt", "futures 0.3.28", "holochain_serialized_bytes", + "holochain_wasmer_common", "kitsune_p2p_dht_arc", "must_future", "rand 0.8.5", @@ -2380,9 +2394,9 @@ dependencies = [ [[package]] name = "holochain" -version = "0.2.0-beta-rc.6" +version = "0.2.1-beta-dev.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "374c74b9d92d8c00bb090843661ff09f64103799f381e879f70503933aa6521d" +checksum = "86335e2dbe124b60983a462db42a8f9b706677ca4757d9253f4fe6b9bb76e152" dependencies = [ "anyhow", "async-recursion", @@ -2452,14 +2466,12 @@ dependencies = [ "tempfile", "thiserror", "tiny-keccak", - "tokio 1.27.0", + "tokio 1.28.1", "tokio-stream", "toml 0.5.11", "tracing", "tracing-futures", "tracing-subscriber", - "tx5-go-pion-turn", - "tx5-signal-srv", "unwrap_to", "url 1.7.2", "url2", @@ -2470,9 +2482,9 @@ dependencies = [ [[package]] name = "holochain_cascade" -version = "0.2.0-beta-rc.6" +version = "0.2.1-beta-dev.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b3770afe66cdcc95b469191dd3fd59e29b6d52a3c3d164f82ac388ce4934274d" +checksum = "aed2bfdcf131f883a15c58d2018dca95aef8834414624aa99c5cd12764aa8c2c" dependencies = [ "async-trait", "derive_more", @@ -2496,16 +2508,16 @@ dependencies = [ "serde", "serde_derive", "thiserror", - "tokio 1.27.0", + "tokio 1.28.1", "tracing", "tracing-futures", ] [[package]] name = "holochain_conductor_api" -version = "0.2.0-beta-rc.6" +version = "0.2.1-beta-dev.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b966af279183c00ae8a6e88462953d720bed3574f60690fe0ffb66210880e31" +checksum = "511ac3cf61b9a8b4a40a97b590a4f7f118957ba2cd73c546bc59a8036d7da521" dependencies = [ "derive_more", "directories", @@ -2528,9 +2540,9 @@ dependencies = [ [[package]] name = "holochain_integrity_types" -version = "0.2.0-beta-rc.4" +version = "0.2.1-beta-dev.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c5fd8255f4d6cc77d75287eea080bec65c85eca55741e54f18819808bf895e7b" +checksum = "968bfd750360632a12329304808cc594ee8d166bf4457c70a7788e725d4d2371" dependencies = [ "arbitrary", "holo_hash", @@ -2545,9 +2557,9 @@ dependencies = [ [[package]] name = "holochain_keystore" -version = "0.2.0-beta-rc.5" +version = "0.2.1-beta-dev.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "047d050dd3b23445c0cce9dfe94ab72cde83fd49943e5cd45a1287c2a82f271f" +checksum = "34150e351ecbc92516a9691038e144cf278d17ecdfd9f5fccbadf52672d2e703" dependencies = [ "base64 0.13.1", "futures 0.3.28", @@ -2564,15 +2576,15 @@ dependencies = [ "serde_bytes", "sodoken", "thiserror", - "tokio 1.27.0", + "tokio 1.28.1", "tracing", ] [[package]] name = "holochain_p2p" -version = "0.2.0-beta-rc.6" +version = "0.2.1-beta-dev.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c07f96a1bada1a51ec680b479d31633e8a26ba6400d2ae366e33fe548125ea67" +checksum = "f161beb5220027bf6a28422212a7015d657c1a991d48c244f1e12775c72d4e75" dependencies = [ "async-trait", "derive_more", @@ -2594,7 +2606,7 @@ dependencies = [ "serde_bytes", "serde_json", "thiserror", - "tokio 1.27.0", + "tokio 1.28.1", "tokio-stream", ] @@ -2632,10 +2644,8 @@ dependencies = [ "syn 1.0.109", "temp-dir", "thiserror", - "tokio 1.27.0", + "tokio 1.28.1", "toml 0.5.11", - "tx5", - "tx5-signal-srv", ] [[package]] @@ -2666,9 +2676,9 @@ dependencies = [ [[package]] name = "holochain_sqlite" -version = "0.2.0-beta-rc.5" +version = "0.2.1-beta-dev.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad83709ac73786fb3ee1b3aa9c37bd1e3c4a7ea708208aeb432ff2c70a124623" +checksum = "62b4a91e4957be8355f18ce77203c596148a2f0fe976416a817aba3c472c551a" dependencies = [ "anyhow", "async-trait", @@ -2698,7 +2708,7 @@ dependencies = [ "parking_lot 0.10.2", "pretty_assertions 0.7.2", "r2d2", - "r2d2_sqlite", + "r2d2_sqlite_neonphog", "rand 0.8.5", "rmp-serde 0.15.5", "rusqlite", @@ -2710,16 +2720,16 @@ dependencies = [ "sqlformat 0.1.8", "tempfile", "thiserror", - "tokio 1.27.0", + "tokio 1.28.1", "tracing", "tracing-futures", ] [[package]] name = "holochain_state" -version = "0.2.0-beta-rc.6" +version = "0.2.1-beta-dev.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2778daac4d1351b4728b7659c805e4c6748c0bb8af100881a90185ca33cd7948" +checksum = "fc11159806b9d9367d4438edd58f9a9435f580386b8875c871a032d2d02b55b4" dependencies = [ "async-recursion", "base64 0.13.1", @@ -2752,16 +2762,16 @@ dependencies = [ "shrinkwraprs", "tempfile", "thiserror", - "tokio 1.27.0", + "tokio 1.28.1", "tracing", "tracing-futures", ] [[package]] name = "holochain_test_wasm_common" -version = "0.2.0-beta-rc.5" +version = "0.2.1-beta-dev.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "afded13dddb292fc348ad4484ebf5f9bcec1318f012365b86885def3f8b7cf45" +checksum = "fb2b7cf9c97a40dbaa764e2457385c25e6a1e4e7fe73d1c0c25f84c70351742c" dependencies = [ "hdk", "serde", @@ -2769,9 +2779,9 @@ dependencies = [ [[package]] name = "holochain_trace" -version = "0.2.0-beta-rc.1" +version = "0.2.1-beta-dev.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34c88f9b428d1165912f63a6c38f7299f954fd15d1c53fb423fdf99cc5d87bd0" +checksum = "0cb82cc37ea6b68078e7141591512d4c2e69a8ac8c6bfcc84a837d8e0a2dcf2f" dependencies = [ "chrono", "derive_more", @@ -2787,9 +2797,9 @@ dependencies = [ [[package]] name = "holochain_types" -version = "0.2.0-beta-rc.6" +version = "0.2.1-beta-dev.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab516a9d23c197b3f29b4b079a44eb2937368f33fad753655e89cc21a1f6c39e" +checksum = "3cbed84258f7f1493a25d2260371d6099760592177f230880214d40c0a9c992c" dependencies = [ "anyhow", "arbitrary", @@ -2812,6 +2822,7 @@ dependencies = [ "holochain_sqlite", "holochain_trace", "holochain_util", + "holochain_wasmer_host", "holochain_zome_types", "isotest", "itertools 0.10.5", @@ -2836,15 +2847,16 @@ dependencies = [ "strum_macros 0.18.0", "tempfile", "thiserror", - "tokio 1.27.0", + "tokio 1.28.1", "tracing", + "wasmer-middlewares", ] [[package]] name = "holochain_util" -version = "0.2.0-beta-rc.0" +version = "0.2.1-beta-dev.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af58b8c262a81cc0dfb17dec77a636ff03bcdd31a7076f13070a2fd133fdabe4" +checksum = "7bf981f28e2933856801ed799f192be3ebc40b8b5592197cbb909410621eb1ff" dependencies = [ "backtrace", "cfg-if 0.1.10", @@ -2855,14 +2867,14 @@ dependencies = [ "once_cell", "rpassword 7.2.0", "sodoken", - "tokio 1.27.0", + "tokio 1.28.1", ] [[package]] name = "holochain_wasm_test_utils" -version = "0.2.0-beta-rc.6" +version = "0.2.1-beta-dev.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4cd87ad65c3669063b1a68cfb3a8eb8ec3f08419e965952244442bff522c7a0" +checksum = "75640215cf728726a5505a6eaf0cd8681478a441a4c91d17934a99b3d4f18b0a" dependencies = [ "holochain_types", "holochain_util", @@ -2874,9 +2886,9 @@ dependencies = [ [[package]] name = "holochain_wasmer_common" -version = "0.0.83" +version = "0.0.84" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce2c50cfaf43ccfaf9c584eae3864dffb3f010f140dad6e52368f0969ce680d7" +checksum = "223daec7ca62d4e36841a99d8799b29cc616f5976ad0e2975e6ca6810de8f14f" dependencies = [ "holochain_serialized_bytes", "serde", @@ -2889,9 +2901,9 @@ dependencies = [ [[package]] name = "holochain_wasmer_guest" -version = "0.0.83" +version = "0.0.84" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f5539ab71791a3f9d0febbd2822ba398ef34e18f55f86eafc4918a776d12d7db" +checksum = "92b2026e44595cb16108464973622577936605582aa22932933a5130ad32ce42" dependencies = [ "holochain_serialized_bytes", "holochain_wasmer_common", @@ -2903,9 +2915,9 @@ dependencies = [ [[package]] name = "holochain_wasmer_host" -version = "0.0.83" +version = "0.0.84" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22765ece4cda73be1bb004f849e8c71b921916fd9fb05bfc7110dfb5b1864cdd" +checksum = "65912ef579fa53ca4ad7713f13379fae53a0d79ef2d91b87670201044eae0d5e" dependencies = [ "bimap", "holochain_serialized_bytes", @@ -2920,9 +2932,9 @@ dependencies = [ [[package]] name = "holochain_websocket" -version = "0.2.0-beta-rc.2" +version = "0.2.1-beta-dev.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5959d1a899dbe385d4ac30735519f70da362a966e0ce7848fe8738dd79c5d909" +checksum = "74cbc99a0759379d2c631bf780f476dda8402f0da241ae669f1236dbf8b6196e" dependencies = [ "futures 0.3.28", "ghost_actor 0.4.0-alpha.5", @@ -2934,7 +2946,7 @@ dependencies = [ "serde_bytes", "stream-cancel", "thiserror", - "tokio 1.27.0", + "tokio 1.28.1", "tokio-stream", "tokio-tungstenite 0.13.0", "tracing", @@ -2945,9 +2957,9 @@ dependencies = [ [[package]] name = "holochain_zome_types" -version = "0.2.0-beta-rc.5" +version = "0.2.1-beta-dev.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "039fd4bc5621f8ca9ff788b0d9defa0411701890d45e026cd3e89106c7c85129" +checksum = "c534bd83fcb25cf61e2bb075228a848777b184a56ad4f23e1591fdb28d2e72fd" dependencies = [ "arbitrary", "contrafact", @@ -2980,11 +2992,11 @@ dependencies = [ [[package]] name = "home" -version = "0.5.4" +version = "0.5.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "747309b4b440c06d57b0b25f2aee03ee9b5e5397d288c60e21fc709bb98a7408" +checksum = "5444c27eef6923071f7ebcc33e3444508466a76f7a2b93da00ed6e19f30c1ddb" dependencies = [ - "winapi 0.3.9", + "windows-sys 0.48.0", ] [[package]] @@ -3068,7 +3080,7 @@ dependencies = [ "serde", "serde_derive", "toml 0.7.3", - "uuid 1.3.1", + "uuid 1.3.3", ] [[package]] @@ -3117,15 +3129,15 @@ dependencies = [ "futures-channel", "futures-core", "futures-util", - "h2 0.3.18", + "h2 0.3.19", "http 0.2.9", "http-body 0.4.5", "httparse", "httpdate", "itoa 1.0.6", "pin-project-lite", - "socket2", - "tokio 1.27.0", + "socket2 0.4.9", + "tokio 1.28.1", "tower-service", "tracing", "want 0.3.0", @@ -3153,7 +3165,7 @@ dependencies = [ "bytes 1.4.0", "hyper 0.14.26", "native-tls", - "tokio 1.27.0", + "tokio 1.28.1", "tokio-native-tls", ] @@ -3173,12 +3185,11 @@ dependencies = [ [[package]] name = "iana-time-zone-haiku" -version = "0.1.1" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0703ae284fc167426161c2e3f1da3ea71d94b21bedbcc9494e92b28e334e3dca" +checksum = "f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f" dependencies = [ - "cxx", - "cxx-build", + "cc", ] [[package]] @@ -3239,16 +3250,6 @@ dependencies = [ "windows-sys 0.42.0", ] -[[package]] -name = "if-addrs" -version = "0.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2cfc4a06638d2fd0dda83b01126fefd38ef9f04f54d2fc717a938df68b83a68d" -dependencies = [ - "libc", - "windows-sys 0.45.0", -] - [[package]] name = "if_chain" version = "1.0.2" @@ -3322,7 +3323,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2fb7c1b80a1dfa604bb4a649a5c5aeef3d913f7c520cb42b40e534e8a61bcdfc" dependencies = [ "ahash 0.8.3", - "clap 4.2.4", + "clap 4.2.7", "crossbeam-channel", "crossbeam-utils 0.8.15", "dashmap 5.4.0", @@ -3449,9 +3450,9 @@ checksum = "453ad9f582a441959e5f0d088b02ce04cfe8d51a8eaf077f12ac6d3e94164ca6" [[package]] name = "js-sys" -version = "0.3.61" +version = "0.3.62" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "445dde2150c55e483f3d8416706b97ec8e8237c307e5b7b4b8dd15e6af2a0730" +checksum = "68c16e1bfd491478ab155fd8b4896b86f9ede344949b641e61501e07c2b8b4d5" dependencies = [ "wasm-bindgen", ] @@ -3477,9 +3478,9 @@ dependencies = [ [[package]] name = "kitsune_p2p" -version = "0.2.0-beta-rc.5" +version = "0.2.1-beta-dev.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95d060975b7aab0d809e0eba90d588221d0430d70244c3b05abce0dbfdb1724e" +checksum = "da20876756c95919cb63e23ca1d9f07432b4a418758f2706ba93f3dab0d38670" dependencies = [ "arbitrary", "arrayref", @@ -3509,13 +3510,13 @@ dependencies = [ "once_cell", "parking_lot 0.11.2", "rand 0.8.5", - "reqwest 0.11.16", + "reqwest 0.11.17", "serde", "serde_bytes", "serde_json", "shrinkwraprs", "thiserror", - "tokio 1.27.0", + "tokio 1.28.1", "tokio-stream", "tracing", "tx5", @@ -3524,9 +3525,9 @@ dependencies = [ [[package]] name = "kitsune_p2p_bin_data" -version = "0.2.0-beta-rc.2" +version = "0.2.1-beta-dev.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d5b07c7ffba37f0eb4c89415438cfb8fc6ec0844027ff6bb5ce1cb79a199a645" +checksum = "232e06b32338876fd8d0d15ab108d4300b694491e8956f228b10fcc4bbd2ead3" dependencies = [ "arbitrary", "base64 0.13.1", @@ -3539,9 +3540,9 @@ dependencies = [ [[package]] name = "kitsune_p2p_block" -version = "0.2.0-beta-rc.3" +version = "0.2.1-beta-dev.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ab3bd845cccb2d1a444f52128f59f4369cf575919667b404f3ba25dd0fa0722" +checksum = "6c7254bef2b43f10f5b15665d31bf42292c6981fe9d1eb23fbe4e83d1e593ce7" dependencies = [ "kitsune_p2p_bin_data", "kitsune_p2p_timestamp", @@ -3551,11 +3552,11 @@ dependencies = [ [[package]] name = "kitsune_p2p_bootstrap" -version = "0.1.0-beta-rc.3" +version = "0.1.1-beta-dev.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8f42b341dd868a6273d3b2ecbfd62b711752eda916b00747bdc199ea96111a4" +checksum = "8b7a34953f38558c00add1b71f9ba22f5e9c0d9623416f21728ab8d79264c01f" dependencies = [ - "clap 3.2.23", + "clap 3.2.25", "futures 0.3.28", "kitsune_p2p_types", "once_cell", @@ -3565,15 +3566,15 @@ dependencies = [ "serde", "serde_bytes", "serde_json", - "tokio 1.27.0", + "tokio 1.28.1", "warp", ] [[package]] name = "kitsune_p2p_dht" -version = "0.2.0-beta-rc.2" +version = "0.2.1-beta-dev.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "71579df8a75bbaf9701c61d18f070e21e0d5e4891b74bb53f12f07e92c671c81" +checksum = "7b2c416fc26e2d89e800177a9b3b9c46e81940f64aba515f1eb05c61de9cb064" dependencies = [ "colored", "derivative", @@ -3595,9 +3596,9 @@ dependencies = [ [[package]] name = "kitsune_p2p_dht_arc" -version = "0.2.0-beta-rc.2" +version = "0.2.1-beta-dev.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd04c2c6417bee91cd4f99bef673fbdecd457c8c204443cd1a542fd69c29fec6" +checksum = "426d6a7eaf785334ebe1051a038cec1e63b12efde1873e2c03f1faa4215cc286" dependencies = [ "derive_more", "gcollections", @@ -3609,9 +3610,9 @@ dependencies = [ [[package]] name = "kitsune_p2p_fetch" -version = "0.2.0-beta-rc.4" +version = "0.2.1-beta-dev.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9688cdbfd82d1c2aa5d210e831744c1e58f6fdb23019d164ea5b19ecf0ea0ab9" +checksum = "07001b6bc76408b7779ac04937763745e373b8d7b10967e29eb6c77740f616e0" dependencies = [ "derive_more", "futures 0.3.28", @@ -3624,15 +3625,15 @@ dependencies = [ "serde", "serde_bytes", "thiserror", - "tokio 1.27.0", + "tokio 1.28.1", "tracing", ] [[package]] name = "kitsune_p2p_mdns" -version = "0.2.0-beta-rc.0" +version = "0.2.1-beta-dev.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5987b068f071156f91479e1c0fc6d37b7de18ab86d9ef2fa16ae06b421a169e4" +checksum = "edbd907be0d520a66d17b0f375c26689e84ff80dc1d438858eb8b8aea86eaaab" dependencies = [ "async-stream", "base64 0.13.1", @@ -3641,15 +3642,15 @@ dependencies = [ "futures-util", "libmdns", "mdns", - "tokio 1.27.0", + "tokio 1.28.1", "tokio-stream", ] [[package]] name = "kitsune_p2p_proxy" -version = "0.2.0-beta-rc.4" +version = "0.2.1-beta-dev.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c267aaeb4ee409b477bf0ed5bc114ea05d7116476f2b794f6b70f433a4bcd161" +checksum = "d5fed8d67dbe6b0e5bd56316a5d61a74900cb6dff3368e1560126cc388908867" dependencies = [ "base64 0.13.1", "blake2b_simd 0.5.11", @@ -3665,16 +3666,16 @@ dependencies = [ "serde", "serde_bytes", "structopt", - "tokio 1.27.0", + "tokio 1.28.1", "tracing-subscriber", "webpki 0.21.4", ] [[package]] name = "kitsune_p2p_timestamp" -version = "0.2.0-beta-rc.1" +version = "0.2.1-beta-dev.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f47c85cd7195c37bcfd719f11316e7e98046078865c36b0eda98a50adff57084" +checksum = "40905f4ba51df93beb142c2381ff3ee4666ea4d493e2464d929674a141fdc88f" dependencies = [ "arbitrary", "chrono", @@ -3685,9 +3686,9 @@ dependencies = [ [[package]] name = "kitsune_p2p_transport_quic" -version = "0.2.0-beta-rc.4" +version = "0.2.1-beta-dev.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "894d4fea7926aa38b2c5d4c7239f424450c5e52e869e6766ad71c30b6efdb2b3" +checksum = "e3aea97f08d9fd769307343a4fee05292ccfbb9a65c8681229d24819d0f64204" dependencies = [ "blake2b_simd 1.0.1", "futures 0.3.28", @@ -3699,15 +3700,15 @@ dependencies = [ "rcgen 0.9.3", "rustls", "serde", - "tokio 1.27.0", + "tokio 1.28.1", "webpki 0.22.0", ] [[package]] name = "kitsune_p2p_types" -version = "0.2.0-beta-rc.4" +version = "0.2.1-beta-dev.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0abd7ae42f876d82caabe6f65738d8163ef4dd2921283d95bd2119be32a20c36" +checksum = "5cc2a0e243969eb5e4b02155e04dc8f0357db187df50d76f2248d23049a1f6c1" dependencies = [ "arbitrary", "base64 0.13.1", @@ -3720,7 +3721,7 @@ dependencies = [ "kitsune_p2p_dht", "kitsune_p2p_dht_arc", "lair_keystore_api", - "lru", + "lru 0.8.1", "mockall", "nanoid 0.3.0", "once_cell", @@ -3732,9 +3733,9 @@ dependencies = [ "serde_bytes", "serde_json", "shrinkwraprs", - "sysinfo", + "sysinfo 0.27.8", "thiserror", - "tokio 1.27.0", + "tokio 1.28.1", "tokio-stream", "url 2.3.1", "url2", @@ -3752,9 +3753,9 @@ dependencies = [ [[package]] name = "lair_keystore" -version = "0.2.3" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aaa5e8f029253e54888ad85db4d3843904f5814c6c5d14985257f5263dd8e97b" +checksum = "d453c328fa04779277f6f4b8e4a71f2bd20e0f0566cb837e6f800bc58777e4a8" dependencies = [ "lair_keystore_api", "pretty_assertions 1.3.0", @@ -3762,20 +3763,20 @@ dependencies = [ "rusqlite", "sqlformat 0.2.1", "structopt", - "sysinfo", + "sysinfo 0.28.4", "tracing-subscriber", ] [[package]] name = "lair_keystore_api" -version = "0.2.3" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "00cbc9276859e19728b03e65ab8f25903f8e9a70dd3d5e63b19ced26e25dd479" +checksum = "b379baacc103ee1939976fb8f32e6b8ae887a245fbde78bf1ef95e95b3035216" dependencies = [ "base64 0.13.1", "dunce", "hc_seed_bundle", - "lru", + "lru 0.10.0", "nanoid 0.4.0", "once_cell", "parking_lot 0.12.1", @@ -3783,8 +3784,9 @@ dependencies = [ "serde", "serde_json", "serde_yaml 0.9.21", - "tokio 1.27.0", + "tokio 1.28.1", "toml 0.5.11", + "toml 0.7.3", "tracing", "url 2.3.1", "winapi 0.3.9", @@ -3805,9 +3807,9 @@ checksum = "884e2677b40cc8c339eaefcb701c32ef1fd2493d71118dc0ca4b6a736c93bd67" [[package]] name = "libc" -version = "0.2.142" +version = "0.2.144" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a987beff54b60ffa6d51982e1aa1146bc42f19bd26be28b0586f252fccf5317" +checksum = "2b00cc1c228a6782d0f076e7b232802e0c5689d41bb5df366f2a6b6621cfdfe1" [[package]] name = "libflate" @@ -3851,9 +3853,9 @@ dependencies = [ [[package]] name = "libm" -version = "0.2.6" +version = "0.2.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "348108ab3fba42ec82ff6e9564fc4ca0247bdccdc68dd8af9764bbc79c3c8ffb" +checksum = "f7012b1bbb0719e1097c47611d3898568c546d597c2e74d66f6087edd5233ff4" [[package]] name = "libmdns" @@ -3869,9 +3871,9 @@ dependencies = [ "multimap", "nix", "rand 0.8.5", - "socket2", + "socket2 0.4.9", "thiserror", - "tokio 1.27.0", + "tokio 1.28.1", "winapi 0.3.9", ] @@ -3894,24 +3896,15 @@ dependencies = [ [[package]] name = "libsqlite3-sys" -version = "0.25.2" +version = "0.26.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29f835d03d717946d28b1d1ed632eb6f0e24a299388ee623d0c23118d3e8a7fa" +checksum = "afc22eff61b133b115c6e8c74e818c628d6d5e7a502afea6f64dee076dd94326" dependencies = [ "cc", "pkg-config", "vcpkg", ] -[[package]] -name = "link-cplusplus" -version = "1.0.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ecd207c9c713c34f95a097a5b029ac2ce6010530c7b49d7fea24d977dede04f5" -dependencies = [ - "cc", -] - [[package]] name = "linked-hash-map" version = "0.5.6" @@ -3920,9 +3913,9 @@ checksum = "0717cef1bc8b636c6e1c1bbdefc09e6322da8a9321966e8928ef80d20f7f770f" [[package]] name = "linux-raw-sys" -version = "0.3.4" +version = "0.3.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "36eb31c1778188ae1e64398743890d0877fef36d11521ac60406b42016e8c2cf" +checksum = "ece97ea872ece730aed82664c424eb4c8291e1ff2480247ccf7409044bc6479f" [[package]] name = "lock_api" @@ -3983,6 +3976,15 @@ dependencies = [ "hashbrown 0.12.3", ] +[[package]] +name = "lru" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "03f1160296536f10c833a82dca22267d5486734230d47bf00bf435885814ba1e" +dependencies = [ + "hashbrown 0.13.2", +] + [[package]] name = "mach" version = "0.3.2" @@ -4021,10 +4023,11 @@ checksum = "2532096657941c2fea9c289d370a250971c689d4f143798ff67113ec042024a5" [[package]] name = "matrixmultiply" -version = "0.3.3" +version = "0.3.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb99c395ae250e1bf9133673f03ca9f97b7e71b705436bf8f089453445d1e9fe" +checksum = "090126dc04f95dc0d1c1c91f61bdd474b3930ca064c1edc8a849da2c6cbe1e77" dependencies = [ + "autocfg 1.1.0", "rawpointer", ] @@ -4129,6 +4132,15 @@ dependencies = [ "adler", ] +[[package]] +name = "miniz_oxide" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7810e0be55b428ada41041c41f32c9f1a42817901b4ccf45fa3d4b6561e74c7" +dependencies = [ + "adler", +] + [[package]] name = "mio" version = "0.6.23" @@ -4207,9 +4219,9 @@ checksum = "7843ec2de400bcbc6a6328c958dc38e5359da6e93e72e37bc5246bf1ae776389" [[package]] name = "mr_bundle" -version = "0.2.0-beta-rc.0" +version = "0.2.1-beta-dev.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f16f6e347f401b6ef896f6ab130da4e6b28c09a3b256611c3806c40959db702" +checksum = "96a5391b8a27aecb977d36b16b6eed6a35d5dd98cd24a35d35b465302da54110" dependencies = [ "arbitrary", "bytes 1.4.0", @@ -4218,7 +4230,7 @@ dependencies = [ "flate2", "futures 0.3.28", "holochain_util", - "reqwest 0.11.16", + "reqwest 0.11.17", "rmp-serde 0.15.5", "serde", "serde_bytes", @@ -4228,26 +4240,30 @@ dependencies = [ ] [[package]] -name = "multimap" -version = "0.8.3" +name = "multer" +version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5ce46fe64a9d73be07dcbe690a38ce1b293be448fd8ce1e6c1b8062c9f72c6a" +checksum = "01acbdc23469fd8fe07ab135923371d5f5a422fbf9c522158677c8eb15bc51c2" dependencies = [ - "serde", + "bytes 1.4.0", + "encoding_rs", + "futures-util", + "http 0.2.9", + "httparse", + "log", + "memchr", + "mime", + "spin 0.9.8", + "version_check", ] [[package]] -name = "multiparty" -version = "0.1.0" +name = "multimap" +version = "0.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed1ec6589a6d4a1e0b33b4c0a3f6ee96dfba88ebdb3da51403fd7cf0a24a4b04" +checksum = "e5ce46fe64a9d73be07dcbe690a38ce1b293be448fd8ce1e6c1b8062c9f72c6a" dependencies = [ - "bytes 1.4.0", - "futures-core", - "httparse", - "memchr", - "pin-project-lite", - "try-lock", + "serde", ] [[package]] @@ -4342,7 +4358,7 @@ version = "0.23.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8f3790c00a0150112de0f4cd161e3d7fc4b2d8a5542ffc35f099a2562aecb35c" dependencies = [ - "bitflags", + "bitflags 1.3.2", "cc", "cfg-if 1.0.0", "libc", @@ -4586,7 +4602,7 @@ version = "0.10.52" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "01b8574602df80f7b85fdfc5392fa884a4e3b3f4f35402c070ab34c3d3f78d56" dependencies = [ - "bitflags", + "bitflags 1.3.2", "cfg-if 1.0.0", "foreign-types", "libc", @@ -4603,7 +4619,7 @@ checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.15", + "syn 2.0.16", ] [[package]] @@ -4624,6 +4640,12 @@ dependencies = [ "vcpkg", ] +[[package]] +name = "option-ext" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d" + [[package]] name = "os_info" version = "3.7.0" @@ -4857,9 +4879,9 @@ checksum = "478c572c3d73181ff3c2539045f6eb99e5491218eae919370993b890cdbdd98e" [[package]] name = "pest" -version = "2.5.7" +version = "2.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b1403e8401ad5dedea73c626b99758535b342502f8d1e361f4a2dd952749122" +checksum = "e68e84bfb01f0507134eac1e9b410a12ba379d064eab48c50ba4ce329a527b70" dependencies = [ "thiserror", "ucd-trie", @@ -4867,9 +4889,9 @@ dependencies = [ [[package]] name = "pest_derive" -version = "2.5.7" +version = "2.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be99c4c1d2fc2769b1d00239431d711d08f6efedcecb8b6e30707160aee99c15" +checksum = "6b79d4c71c865a25a4322296122e3924d30bc8ee0834c8bfc8b95f7f054afbfb" dependencies = [ "pest", "pest_generator", @@ -4877,22 +4899,22 @@ dependencies = [ [[package]] name = "pest_generator" -version = "2.5.7" +version = "2.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e56094789873daa36164de2e822b3888c6ae4b4f9da555a1103587658c805b1e" +checksum = "6c435bf1076437b851ebc8edc3a18442796b30f1728ffea6262d59bbe28b077e" dependencies = [ "pest", "pest_meta", "proc-macro2", "quote", - "syn 2.0.15", + "syn 2.0.16", ] [[package]] name = "pest_meta" -version = "2.5.7" +version = "2.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6733073c7cff3d8459fda0e42f13a047870242aed8b509fe98000928975f359e" +checksum = "745a452f8eb71e39ffd8ee32b3c5f51d03845f99786fa9b68db6ff509c505411" dependencies = [ "once_cell", "pest", @@ -4901,22 +4923,22 @@ dependencies = [ [[package]] name = "pin-project" -version = "1.0.12" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad29a609b6bcd67fee905812e544992d216af9d755757c05ed2d0e15a74c6ecc" +checksum = "c95a7476719eab1e366eaf73d0260af3021184f18177925b07f54b30089ceead" dependencies = [ "pin-project-internal", ] [[package]] name = "pin-project-internal" -version = "1.0.12" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "069bdb1e05adc7a8990dce9cc75370895fbe4e3d58b9b73bf1aee56359344a55" +checksum = "39407670928234ebc5e6e580247dd567ad73a3578460c5990f9503df207e8f07" dependencies = [ "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.16", ] [[package]] @@ -4939,9 +4961,9 @@ checksum = "c1be1ec9e59f0360aefe84efa6f699198b685ab0d5718081e9f72aa2344289e2" [[package]] name = "pkg-config" -version = "0.3.26" +version = "0.3.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ac9a59f73473f1b8d852421e59e64809f025994837ef743615c6d0c5b305160" +checksum = "26072860ba924cbfa98ea39c8c19b4dd6a4a25423dbdf219c1eca91aa0cf6964" [[package]] name = "pluralizer" @@ -4960,7 +4982,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4b2d323e8ca7996b3e23126511a523f7e62924d93ecd5ae73b333815b0eb3dce" dependencies = [ "autocfg 1.1.0", - "bitflags", + "bitflags 1.3.2", "cfg-if 1.0.0", "concurrent-queue", "libc", @@ -5088,9 +5110,9 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.56" +version = "1.0.57" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b63bdb0cd06f1f4dedf69b254734f9b45af66e4a031e42a7480257d9898b435" +checksum = "c4ec6d5fe0b140acb27c9a0444118cf55bfbb4e0b259739429abb4521dd67c16" dependencies = [ "unicode-ident", ] @@ -5185,7 +5207,7 @@ dependencies = [ "quinn-udp", "rustls", "thiserror", - "tokio 1.27.0", + "tokio 1.28.1", "tracing", "webpki 0.22.0", ] @@ -5219,16 +5241,16 @@ dependencies = [ "futures-util", "libc", "quinn-proto", - "socket2", - "tokio 1.27.0", + "socket2 0.4.9", + "tokio 1.28.1", "tracing", ] [[package]] name = "quote" -version = "1.0.26" +version = "1.0.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4424af4bf778aae2051a77b60283332f386554255d722233d09fbfc7e30da2fc" +checksum = "8f4f29d145265ec1c483c7c654450edde0bfe043d3938d6972630663356d9500" dependencies = [ "proc-macro2", ] @@ -5245,15 +5267,21 @@ dependencies = [ ] [[package]] -name = "r2d2_sqlite" -version = "0.21.0" +name = "r2d2_sqlite_neonphog" +version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4f5d0337e99cd5cacd91ffc326c6cc9d8078def459df560c4f9bf9ba4a51034" +checksum = "4d1e95b387a49ce52c5e4994fbe18af7b6cd52510f74c9a243b12abfc207f49c" dependencies = [ "r2d2", "rusqlite", ] +[[package]] +name = "radium" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc33ff2d4973d518d823d61aa239014831e521c75da58e3df4840d3f47749d09" + [[package]] name = "rand" version = "0.4.6" @@ -5458,7 +5486,7 @@ checksum = "6413f3de1edee53342e6138e75b56d32e7bc6e332b3bd62d497b1929d4cfbcdd" dependencies = [ "pem", "ring", - "time 0.3.20", + "time 0.3.21", "yasna", ] @@ -5470,7 +5498,7 @@ checksum = "ffbe84efe2f38dea12e9bfc1f65377fdf03e53a18cb3b995faedf7934c7e785b" dependencies = [ "pem", "ring", - "time 0.3.20", + "time 0.3.21", "yasna", "zeroize", ] @@ -5496,7 +5524,7 @@ version = "0.2.16" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a" dependencies = [ - "bitflags", + "bitflags 1.3.2", ] [[package]] @@ -5505,7 +5533,7 @@ version = "0.3.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "567664f262709473930a4bf9e51bf2ebf3348f2e748ccc50dea20646858f8f29" dependencies = [ - "bitflags", + "bitflags 1.3.2", ] [[package]] @@ -5568,7 +5596,7 @@ version = "3.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "76e189c2369884dce920945e2ddf79b3dff49e071a167dd1817fa9c4c00d512e" dependencies = [ - "bitflags", + "bitflags 1.3.2", "libc", "mach", "winapi 0.3.9", @@ -5619,16 +5647,16 @@ dependencies = [ [[package]] name = "reqwest" -version = "0.11.16" +version = "0.11.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "27b71749df584b7f4cac2c426c127a7c785a5106cc98f7a8feb044115f0fa254" +checksum = "13293b639a097af28fc8a90f22add145a9c954e49d77da06263d58cf44d5fb91" dependencies = [ "base64 0.21.0", "bytes 1.4.0", "encoding_rs", "futures-core", "futures-util", - "h2 0.3.18", + "h2 0.3.19", "http 0.2.9", "http-body 0.4.5", "hyper 0.14.26", @@ -5644,7 +5672,7 @@ dependencies = [ "serde", "serde_json", "serde_urlencoded 0.7.1", - "tokio 1.27.0", + "tokio 1.28.1", "tokio-native-tls", "tower-service", "url 2.3.1", @@ -5672,7 +5700,7 @@ dependencies = [ "cc", "libc", "once_cell", - "spin", + "spin 0.5.2", "untrusted", "web-sys", "winapi 0.3.9", @@ -5680,23 +5708,26 @@ dependencies = [ [[package]] name = "rkyv" -version = "0.7.41" +version = "0.7.42" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21499ed91807f07ae081880aabb2ccc0235e9d88011867d984525e9a4c3cfa3e" +checksum = "0200c8230b013893c0b2d6213d6ec64ed2b9be2e0e016682b7224ff82cff5c58" dependencies = [ + "bitvec", "bytecheck", "hashbrown 0.12.3", "ptr_meta", "rend", "rkyv_derive", "seahash", + "tinyvec", + "uuid 1.3.3", ] [[package]] name = "rkyv_derive" -version = "0.7.41" +version = "0.7.42" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac1c672430eb41556291981f45ca900a0239ad007242d1cb4b4167af842db666" +checksum = "b2e06b915b5c230a17d7a736d1e2e63ee753c256a8614ef3f5147b13a4f5541d" dependencies = [ "proc-macro2", "quote", @@ -5787,11 +5818,11 @@ dependencies = [ [[package]] name = "rusqlite" -version = "0.28.0" +version = "0.29.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01e213bc3ecb39ac32e81e51ebe31fd888a940515173e3a18a35f8c6e896422a" +checksum = "549b9d036d571d42e6e85d1c1425e2ac83491075078ca9a15be021c56b1641f2" dependencies = [ - "bitflags", + "bitflags 2.2.1", "fallible-iterator", "fallible-streaming-iterator", "hashlink", @@ -5831,11 +5862,11 @@ dependencies = [ [[package]] name = "rustix" -version = "0.37.14" +version = "0.37.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9b864d3c18a5785a05953adeed93e2dca37ed30f18e69bba9f30079d51f363f" +checksum = "acf8729d8542766f1b2cf77eb034d52f40d375bb8b615d0b147089946e16613d" dependencies = [ - "bitflags", + "bitflags 1.3.2", "errno", "io-lifetimes", "libc", @@ -5936,12 +5967,6 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd" -[[package]] -name = "scratch" -version = "1.0.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1792db035ce95be60c3f8853017b3999209281c24e2ba5bc8e59bf97a0c590c1" - [[package]] name = "sct" version = "0.7.0" @@ -5966,11 +5991,11 @@ checksum = "1c107b6f4780854c8b126e228ea8869f4d7b71260f962fefb57b996b8959ba6b" [[package]] name = "security-framework" -version = "2.8.2" +version = "2.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a332be01508d814fed64bf28f798a146d73792121129962fdf335bb3c49a4254" +checksum = "ca2855b3715770894e67cbfa3df957790aa0c9edc3bf06efa1a84d77fa0839d1" dependencies = [ - "bitflags", + "bitflags 1.3.2", "core-foundation", "core-foundation-sys", "libc", @@ -5979,9 +6004,9 @@ dependencies = [ [[package]] name = "security-framework-sys" -version = "2.8.0" +version = "2.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "31c9bb296072e961fcbd8853511dd39c2d8be2deb1e17c6860b1d30732b323b4" +checksum = "f51d0c0d83bec45f16480d0ce0058397a69e48fcdc52d1dc8855fb68acbd31a7" dependencies = [ "core-foundation-sys", "libc", @@ -6031,9 +6056,9 @@ dependencies = [ [[package]] name = "serde" -version = "1.0.160" +version = "1.0.163" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb2f3770c8bce3bcda7e149193a069a0f4365bda1fa5cd88e03bca26afc1216c" +checksum = "2113ab51b87a539ae008b5c6c02dc020ffa39afd2d83cffcb3f4eb2722cebec2" dependencies = [ "serde_derive", ] @@ -6058,13 +6083,13 @@ dependencies = [ [[package]] name = "serde_derive" -version = "1.0.160" +version = "1.0.163" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "291a097c63d8497e00160b166a967a4a79c64f3facdd01cbd7502231688d77df" +checksum = "8c805777e3930c8883389c602315a24224bcc738b63905ef87cd1420353ea93e" dependencies = [ "proc-macro2", "quote", - "syn 2.0.15", + "syn 2.0.16", ] [[package]] @@ -6226,7 +6251,7 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e63e6744142336dfb606fe2b068afa2e1cca1ee6a5d8377277a92945d81fa331" dependencies = [ - "bitflags", + "bitflags 1.3.2", "itertools 0.8.2", "proc-macro2", "quote", @@ -6313,11 +6338,21 @@ dependencies = [ "winapi 0.3.9", ] +[[package]] +name = "socket2" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2538b18701741680e0322a2302176d3253a35388e2e62f172f64f4f16605f877" +dependencies = [ + "libc", + "windows-sys 0.48.0", +] + [[package]] name = "sodoken" -version = "0.0.7" +version = "0.0.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c6c18e49cbf5a8b8bae94ce992b4ae019fdcb5872a318348e97de3d1f671776" +checksum = "4ebd7d30290221181652f7a08112f5e7871e3deffde718dfa621025aa0e9c290" dependencies = [ "libc", "libsodium-sys-stable", @@ -6325,7 +6360,7 @@ dependencies = [ "once_cell", "one_err", "parking_lot 0.12.1", - "tokio 1.27.0", + "tokio 1.28.1", ] [[package]] @@ -6334,6 +6369,12 @@ version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d" +[[package]] +name = "spin" +version = "0.9.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67" + [[package]] name = "sqlformat" version = "0.1.8" @@ -6389,7 +6430,7 @@ checksum = "7b0a9eb2715209fb8cc0d942fcdff45674bfc9f0090a0d897e85a22955ad159b" dependencies = [ "futures-core", "pin-project", - "tokio 1.27.0", + "tokio 1.28.1", ] [[package]] @@ -6512,9 +6553,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.15" +version = "2.0.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a34fcf3e8b60f57e6a14301a2e916d323af98b0ea63c599441eec8558660c822" +checksum = "a6f671d4b5ffdb8eadec19c0ae67fe2639df8684bd7bc4b83d986b8db549cf01" dependencies = [ "proc-macro2", "quote", @@ -6548,6 +6589,27 @@ dependencies = [ "winapi 0.3.9", ] +[[package]] +name = "sysinfo" +version = "0.28.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b4c2f3ca6693feb29a89724516f016488e9aafc7f37264f898593ee4b942f31b" +dependencies = [ + "cfg-if 1.0.0", + "core-foundation-sys", + "libc", + "ntapi", + "once_cell", + "rayon", + "winapi 0.3.9", +] + +[[package]] +name = "tap" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" + [[package]] name = "tar" version = "0.4.38" @@ -6573,7 +6635,7 @@ checksum = "767559c8f4ccd87d0191b0ca6bf4480a06bb7e8d98de2169e48d6b6ed18af1a6" dependencies = [ "futures 0.3.28", "parking_lot 0.12.1", - "tokio 1.27.0", + "tokio 1.28.1", "tracing", ] @@ -6605,16 +6667,6 @@ dependencies = [ "winapi-util", ] -[[package]] -name = "terminal_size" -version = "0.2.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e6bf6f19e9f8ed8d4048dc22981458ebcf406d67e94cd422e5ecd73d63b3237" -dependencies = [ - "rustix", - "windows-sys 0.48.0", -] - [[package]] name = "termtree" version = "0.4.1" @@ -6716,7 +6768,7 @@ checksum = "f9456a42c5b0d803c8cd86e73dd7cc9edd429499f37a3550d286d5e86720569f" dependencies = [ "proc-macro2", "quote", - "syn 2.0.15", + "syn 2.0.16", ] [[package]] @@ -6753,9 +6805,9 @@ dependencies = [ [[package]] name = "time" -version = "0.3.20" +version = "0.3.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd0cbfecb4d19b5ea75bb31ad904eb5b9fa13f21079c3b92017ebdf4999a5890" +checksum = "8f3403384eaacbca9923fa06940178ac13e4edb725486d70e8e15881d0c836cc" dependencies = [ "itoa 1.0.6", "serde", @@ -6765,15 +6817,15 @@ dependencies = [ [[package]] name = "time-core" -version = "0.1.0" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e153e1f1acaef8acc537e68b44906d2db6436e2b35ac2c6b42640fff91f00fd" +checksum = "7300fbefb4dadc1af235a9cef3737cea692a9d97e1b9cbcd4ebdae6f8868e6fb" [[package]] name = "time-macros" -version = "0.2.8" +version = "0.2.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fd80a657e71da814b8e5d60d3374fc6d35045062245d80224748ae522dd76f36" +checksum = "372950940a5f07bf38dbe211d7283c9e6d7327df53794992d293e534c733d09b" dependencies = [ "time-core", ] @@ -6823,9 +6875,9 @@ dependencies = [ [[package]] name = "tokio" -version = "1.27.0" +version = "1.28.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d0de47a4eecbe11f498978a9b29d792f0d2692d1dd003650c24c76510e3bc001" +checksum = "0aa32867d44e6f2ce3385e89dceb990188b8bb0fb25b0cf576647a6f98ac5105" dependencies = [ "autocfg 1.1.0", "bytes 1.4.0", @@ -6835,9 +6887,9 @@ dependencies = [ "parking_lot 0.12.1", "pin-project-lite", "signal-hook-registry", - "socket2", + "socket2 0.4.9", "tokio-macros", - "windows-sys 0.45.0", + "windows-sys 0.48.0", ] [[package]] @@ -6884,13 +6936,13 @@ dependencies = [ [[package]] name = "tokio-macros" -version = "2.0.0" +version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61a573bdc87985e9d6ddeed1b3d864e8a302c847e40d647746df2f1de209d1ce" +checksum = "630bdcf245f78637c13ec01ffae6187cca34625e8c63150d424b59e55af2675e" dependencies = [ "proc-macro2", "quote", - "syn 2.0.15", + "syn 2.0.16", ] [[package]] @@ -6900,7 +6952,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bbae76ab933c85776efabc971569dd6119c580d8f5d448769dec1764bf796ef2" dependencies = [ "native-tls", - "tokio 1.27.0", + "tokio 1.28.1", ] [[package]] @@ -6929,19 +6981,19 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c43ee83903113e03984cb9e5cebe6c04a5116269e900e3ddba8f068a62adda59" dependencies = [ "rustls", - "tokio 1.27.0", + "tokio 1.28.1", "webpki 0.22.0", ] [[package]] name = "tokio-stream" -version = "0.1.12" +version = "0.1.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8fb52b74f05dbf495a8fba459fdc331812b96aa086d9eb78101fa0d4569c3313" +checksum = "397c988d37662c7dda6d2208364a706264bf3d6138b11d436cbac0ad38832842" dependencies = [ "futures-core", "pin-project-lite", - "tokio 1.27.0", + "tokio 1.28.1", "tokio-util", ] @@ -7008,50 +7060,38 @@ dependencies = [ "log", "native-tls", "pin-project", - "tokio 1.27.0", + "tokio 1.28.1", "tokio-native-tls", "tungstenite 0.12.0", ] [[package]] name = "tokio-tungstenite" -version = "0.17.2" +version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f714dd15bead90401d77e04243611caec13726c2408afd5b31901dfcdcb3b181" +checksum = "54319c93411147bced34cb5609a80e0a8e44c5999c93903a81cd866630ec0bfd" dependencies = [ "futures-util", "log", "rustls", "rustls-native-certs", - "tokio 1.27.0", + "tokio 1.28.1", "tokio-rustls", - "tungstenite 0.17.3", - "webpki 0.22.0", -] - -[[package]] -name = "tokio-tungstenite" -version = "0.18.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "54319c93411147bced34cb5609a80e0a8e44c5999c93903a81cd866630ec0bfd" -dependencies = [ - "futures-util", - "log", - "tokio 1.27.0", "tungstenite 0.18.0", + "webpki 0.22.0", ] [[package]] name = "tokio-util" -version = "0.7.7" +version = "0.7.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5427d89453009325de0d8f342c9490009f76e999cb7672d77e46267448f7e6b2" +checksum = "806fe8c2c87eccc8b3267cbae29ed3ab2d0bd37fca70ab622e46aaa9375ddb7d" dependencies = [ "bytes 1.4.0", "futures-core", "futures-sink", "pin-project-lite", - "tokio 1.27.0", + "tokio 1.28.1", "tracing", ] @@ -7138,14 +7178,14 @@ checksum = "0f57e3ca2a01450b1a921183a9c9cbfda207fd822cef4ccb00a65402cbba7a74" dependencies = [ "proc-macro2", "quote", - "syn 2.0.15", + "syn 2.0.16", ] [[package]] name = "tracing-core" -version = "0.1.30" +version = "0.1.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24eb03ba0eab1fd845050058ce5e616558e8f8d8fca633e6b163fe25c797213a" +checksum = "0955b8137a1df6f1a2e9a37d8a6656291ff0297c1a97c24e0d8425fe2312f79a" dependencies = [ "once_cell", "valuable", @@ -7197,7 +7237,7 @@ dependencies = [ "sharded-slab", "smallvec 1.10.0", "thread_local", - "time 0.3.20", + "time 0.3.21", "tracing", "tracing-core", "tracing-log", @@ -7245,27 +7285,6 @@ dependencies = [ "utf-8", ] -[[package]] -name = "tungstenite" -version = "0.17.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e27992fd6a8c29ee7eef28fc78349aa244134e10ad447ce3b9f0ac0ed0fa4ce0" -dependencies = [ - "base64 0.13.1", - "byteorder", - "bytes 1.4.0", - "http 0.2.9", - "httparse", - "log", - "rand 0.8.5", - "rustls", - "sha-1 0.10.1", - "thiserror", - "url 2.3.1", - "utf-8", - "webpki 0.22.0", -] - [[package]] name = "tungstenite" version = "0.18.0" @@ -7279,17 +7298,19 @@ dependencies = [ "httparse", "log", "rand 0.8.5", + "rustls", "sha1", "thiserror", "url 2.3.1", "utf-8", + "webpki 0.22.0", ] [[package]] name = "tx5" -version = "0.0.1-alpha.11" +version = "0.0.1-alpha.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c73f036c327aa5ded5d7795be94b43ffc4fec34a70b6859127c166ae4ea9286d" +checksum = "68877bfd419597a6aba9269a8890bad5fa0519af523252d529fa48afe52dd186" dependencies = [ "bytes 1.4.0", "futures 0.3.28", @@ -7299,7 +7320,7 @@ dependencies = [ "rand 0.8.5", "rand-utf8", "serde_json", - "tokio 1.27.0", + "tokio 1.28.1", "tracing", "tx5-core", "tx5-go-pion", @@ -7309,26 +7330,30 @@ dependencies = [ [[package]] name = "tx5-core" -version = "0.0.1-alpha.5" +version = "0.0.1-alpha.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ceeeff809f86347164035661f475c0a9bbf4040c4a6755183d0b84c8c6491d25" +checksum = "6de3181cafaf2cd7d1cd60c3367db5daf53a818159afa596f420bc2da1d7243d" dependencies = [ "base64 0.13.1", + "dirs 5.0.1", "once_cell", "rand 0.8.5", "serde", "serde_json", + "sha2", + "tempfile", + "tracing", "url 2.3.1", ] [[package]] name = "tx5-go-pion" -version = "0.0.1-alpha.8" +version = "0.0.1-alpha.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3f4cf8c2763b07e1eac6a60030c0456685142ac85741a761949a7ea275e8591" +checksum = "086338e5770a83d0811ac18bddfbfb3f70240796c34b682e3c25df3a22faf358" dependencies = [ "parking_lot 0.12.1", - "tokio 1.27.0", + "tokio 1.28.1", "tracing", "tx5-go-pion-sys", "url 2.3.1", @@ -7336,14 +7361,13 @@ dependencies = [ [[package]] name = "tx5-go-pion-sys" -version = "0.0.1-alpha.10" +version = "0.0.1-alpha.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8967286bdd9d20c56b2f32d8f48db754cf7b6e7eca2de4cf880a45dcca70091d" +checksum = "b249cfddf59d1a7593017785f9b73cb396145166c0a3fd1bc39214757a416d7a" dependencies = [ "Inflector", "base64 0.13.1", - "dirs 5.0.0", - "dunce", + "dirs 5.0.1", "libc", "libloading 0.8.0", "once_cell", @@ -7354,29 +7378,11 @@ dependencies = [ "zip", ] -[[package]] -name = "tx5-go-pion-turn" -version = "0.0.1-alpha.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "71db717f9fe2e83925a4489f0a3f542546a8797e225f23afd125799214c44a8f" -dependencies = [ - "base64 0.13.1", - "dirs 5.0.0", - "dunce", - "if-addrs 0.10.1", - "once_cell", - "sha2", - "tokio 1.27.0", - "tracing", - "tx5-core", - "zip", -] - [[package]] name = "tx5-signal" -version = "0.0.1-alpha.5" +version = "0.0.1-alpha.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "864e07dcea8bbefff8074ca920e8dcc3bb414f9b71f8f06e0e227010b89af75f" +checksum = "5f3c853c5f4203d1d26d22cfac3b57980c7146c1f289dc7a26334ff7725b8e42" dependencies = [ "futures 0.3.28", "lair_keystore_api", @@ -7384,43 +7390,22 @@ dependencies = [ "parking_lot 0.12.1", "rand 0.8.5", "rand-utf8", - "rcgen 0.9.3", + "rcgen 0.10.0", "ring", "rustls", "rustls-native-certs", "rustls-pemfile 1.0.2", "serde_json", "sha2", - "socket2", - "tokio 1.27.0", + "socket2 0.5.3", + "tokio 1.28.1", "tokio-rustls", - "tokio-tungstenite 0.17.2", + "tokio-tungstenite 0.18.0", "tracing", "tx5-core", "url 2.3.1", ] -[[package]] -name = "tx5-signal-srv" -version = "0.0.1-alpha.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3c93ec8a0c5ea84e09c3068db716584959c925428a25972cdae200a6e60e3e6" -dependencies = [ - "clap 4.2.4", - "dirs 4.0.0", - "futures 0.3.28", - "get_if_addrs", - "once_cell", - "prometheus", - "rand 0.8.5", - "sodoken", - "tokio 1.27.0", - "tracing", - "tracing-subscriber", - "tx5-core", - "warp", -] - [[package]] name = "typenum" version = "1.16.0" @@ -7598,9 +7583,9 @@ dependencies = [ [[package]] name = "uuid" -version = "1.3.1" +version = "1.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b55a3fef2a1e3b3a00ce878640918820d3c51081576ac657d23af9fc7928fdb" +checksum = "345444e32442451b267fc254ae85a209c64be56d2890e601a0c37ff0c3c5ecd2" dependencies = [ "getrandom", ] @@ -7687,9 +7672,9 @@ dependencies = [ [[package]] name = "warp" -version = "0.3.4" +version = "0.3.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "27e1a710288f0f91a98dd8a74f05b76a10768db245ce183edf64dc1afdc3016c" +checksum = "ba431ef570df1287f7f8b07e376491ad54f84d26ac473489427231e1718e1f69" dependencies = [ "bytes 1.4.0", "futures-channel", @@ -7700,7 +7685,7 @@ dependencies = [ "log", "mime", "mime_guess", - "multiparty", + "multer", "percent-encoding 2.2.0", "pin-project", "rustls-pemfile 1.0.2", @@ -7708,7 +7693,7 @@ dependencies = [ "serde", "serde_json", "serde_urlencoded 0.7.1", - "tokio 1.27.0", + "tokio 1.28.1", "tokio-stream", "tokio-tungstenite 0.18.0", "tokio-util", @@ -7730,9 +7715,9 @@ checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" [[package]] name = "wasm-bindgen" -version = "0.2.84" +version = "0.2.85" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "31f8dcbc21f30d9b8f2ea926ecb58f6b91192c17e9d33594b3df58b2007ca53b" +checksum = "5b6cb788c4e39112fbe1822277ef6fb3c55cd86b95cb3d3c4c1c9597e4ac74b4" dependencies = [ "cfg-if 1.0.0", "wasm-bindgen-macro", @@ -7740,24 +7725,24 @@ dependencies = [ [[package]] name = "wasm-bindgen-backend" -version = "0.2.84" +version = "0.2.85" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95ce90fd5bcc06af55a641a86428ee4229e44e07033963a2290a8e241607ccb9" +checksum = "35e522ed4105a9d626d885b35d62501b30d9666283a5c8be12c14a8bdafe7822" dependencies = [ "bumpalo", "log", "once_cell", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.16", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-futures" -version = "0.4.34" +version = "0.4.35" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f219e0d211ba40266969f6dbdd90636da12f75bee4fc9d6c23d1260dadb51454" +checksum = "083abe15c5d88556b77bdf7aef403625be9e327ad37c62c4e4129af740168163" dependencies = [ "cfg-if 1.0.0", "js-sys", @@ -7767,9 +7752,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro" -version = "0.2.84" +version = "0.2.85" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c21f77c0bedc37fd5dc21f897894a5ca01e7bb159884559461862ae90c0b4c5" +checksum = "358a79a0cb89d21db8120cbfb91392335913e4890665b1a7981d9e956903b434" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -7777,28 +7762,28 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.84" +version = "0.2.85" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2aff81306fcac3c7515ad4e177f521b5c9a15f2b08f4e32d823066102f35a5f6" +checksum = "4783ce29f09b9d93134d41297aded3a712b7b979e9c6f28c32cb88c973a94869" dependencies = [ "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.16", "wasm-bindgen-backend", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-shared" -version = "0.2.84" +version = "0.2.85" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0046fef7e28c3804e5e38bfa31ea2a0f73905319b677e57ebe37e49358989b5d" +checksum = "a901d592cafaa4d711bc324edfaff879ac700b19c3dfd60058d2b445be2691eb" [[package]] name = "wasm-encoder" -version = "0.25.0" +version = "0.26.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4eff853c4f09eec94d76af527eddad4e9de13b11d6286a1ef7134bc30135a2b7" +checksum = "d05d0b6fcd0aeb98adf16e7975331b3c17222aa815148f5b976370ce589d80ef" dependencies = [ "leb128", ] @@ -8054,9 +8039,9 @@ checksum = "718ed7c55c2add6548cca3ddd6383d738cd73b892df400e96b9aa876f0141d7a" [[package]] name = "wast" -version = "56.0.0" +version = "57.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b54185c051d7bbe23757d50fe575880a2426a2f06d2e9f6a10fd9a4a42920c0" +checksum = "6eb0f5ed17ac4421193c7477da05892c2edafd67f9639e3c11a82086416662dc" dependencies = [ "leb128", "memchr", @@ -8066,18 +8051,18 @@ dependencies = [ [[package]] name = "wat" -version = "1.0.62" +version = "1.0.63" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56681922808216ab86d96bb750f70d500b5a7800e41564290fd46bb773581299" +checksum = "ab9ab0d87337c3be2bb6fc5cd331c4ba9fd6bcb4ee85048a0dd59ed9ecf92e53" dependencies = [ "wast", ] [[package]] name = "web-sys" -version = "0.3.61" +version = "0.3.62" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e33b99f4b23ba3eec1a53ac264e35a755f00e966e0065077d6027c0f575b0b97" +checksum = "16b5f940c7edfdc6d12126d98c9ef4d1b3d470011c47c76a6581df47ad9ba721" dependencies = [ "js-sys", "wasm-bindgen", @@ -8367,9 +8352,9 @@ checksum = "1a515f5799fe4961cb532f983ce2b23082366b898e52ffbce459c86f67c8378a" [[package]] name = "winnow" -version = "0.4.1" +version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae8970b36c66498d8ff1d66685dc86b91b29db0c7739899012f63a63814b4b28" +checksum = "61de7bac303dc551fe038e2b3cef0f571087a47571ea6e79a87692ac99b99699" dependencies = [ "memchr", ] @@ -8402,6 +8387,15 @@ dependencies = [ "winapi-build", ] +[[package]] +name = "wyz" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "05f360fc0b24296329c78fda852a1e9ae82de9cf7b27dae4b7f62f118f77b9ed" +dependencies = [ + "tap", +] + [[package]] name = "xattr" version = "0.2.3" @@ -8432,7 +8426,7 @@ version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e17bb3549cc1321ae1296b9cdc2698e2b6cb1992adfa19a8c72e5b7a738f44cd" dependencies = [ - "time 0.3.20", + "time 0.3.21", ] [[package]] @@ -8443,9 +8437,9 @@ checksum = "2a0956f1ba7c7909bfb66c2e9e4124ab6f6482560f6628b5aaeba39207c9aad9" [[package]] name = "zip" -version = "0.6.4" +version = "0.6.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0445d0fbc924bb93539b4316c11afb121ea39296f99a3c4c9edad09e3658cdef" +checksum = "7e92305c174683d78035cbf1b70e18db6329cc0f1b9cae0a52ca90bf5bfe7125" dependencies = [ "byteorder", "crc32fast", diff --git a/Cargo.toml b/Cargo.toml index 0ab47fbb2..6239e11e9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,14 +18,10 @@ name = "holochain_scaffolding_cli" path = "src/lib.rs" [dependencies] -holochain = "0.2.0-beta-rc.6" -holochain_types = "0.2.0-beta-rc.6" -holochain_util = { features = ["backtrace"], version = "0.2.0-beta-rc.0" } -mr_bundle = "0.2.0-beta-rc.0" - -# TODO: We should be able to remove these tx dependencies once they've been moved into holochain itself -tx5 = "=0.0.1-alpha.11" -tx5-signal-srv = "=0.0.1-alpha.5" +holochain = { default-features = false, features = ["sweetest"], version = "0.2.1-beta-dev.0" } +holochain_types = "0.2.1-beta-dev.0" +holochain_util = { features = ["backtrace"], version = "0.2.1-beta-dev.0" } +mr_bundle = "0.2.1-beta-dev.0" dirs = "4.0.0" ignore = "0.4" diff --git a/flake.lock b/flake.lock index 1b59d93fc..9c6f04e29 100644 --- a/flake.lock +++ b/flake.lock @@ -17,6 +17,23 @@ "type": "github" } }, + "cargo-chef_2": { + "flake": false, + "locked": { + "lastModified": 1672901199, + "narHash": "sha256-MHTuR4aQ1rQaBKx1vWDy2wbvcT0ZAzpkVB2zylSC+k0=", + "owner": "LukeMathWalker", + "repo": "cargo-chef", + "rev": "5c9f11578a2e0783cce27666737d50f84510b8b5", + "type": "github" + }, + "original": { + "owner": "LukeMathWalker", + "ref": "main", + "repo": "cargo-chef", + "type": "github" + } + }, "cargo-rdme": { "flake": false, "locked": { @@ -34,6 +51,23 @@ "type": "github" } }, + "cargo-rdme_2": { + "flake": false, + "locked": { + "lastModified": 1675118998, + "narHash": "sha256-lrYWqu3h88fr8gG3Yo5GbFGYaq5/1Os7UtM+Af0Bg4k=", + "owner": "orium", + "repo": "cargo-rdme", + "rev": "f9dbb6bccc078f4869f45ae270a2890ac9a75877", + "type": "github" + }, + "original": { + "owner": "orium", + "ref": "v1.1.0", + "repo": "cargo-rdme", + "type": "github" + } + }, "crane": { "inputs": { "flake-compat": "flake-compat", @@ -58,6 +92,31 @@ "type": "github" } }, + "crane_2": { + "inputs": { + "flake-compat": "flake-compat_3", + "flake-utils": "flake-utils_2", + "nixpkgs": [ + "holochain-flake", + "holochain", + "nixpkgs" + ], + "rust-overlay": "rust-overlay_2" + }, + "locked": { + "lastModified": 1675475924, + "narHash": "sha256-KWdfV9a6+zG6Ij/7PZYLnomjBZZUu8gdRy+hfjGrrJQ=", + "owner": "ipetkov", + "repo": "crane", + "rev": "1bde9c762ebf26de9f8ecf502357c92105bc4577", + "type": "github" + }, + "original": { + "owner": "ipetkov", + "repo": "crane", + "type": "github" + } + }, "crate2nix": { "flake": false, "locked": { @@ -74,6 +133,22 @@ "type": "github" } }, + "crate2nix_2": { + "flake": false, + "locked": { + "lastModified": 1675642992, + "narHash": "sha256-uDBDZuiq7qyg82Udp82/r4zg5HKfIzBQqgl2U9THiQM=", + "owner": "kolloch", + "repo": "crate2nix", + "rev": "45fc83132c8c91c77a1cd61fe0c945411d1edba8", + "type": "github" + }, + "original": { + "owner": "kolloch", + "repo": "crate2nix", + "type": "github" + } + }, "empty": { "flake": false, "locked": { @@ -122,6 +197,38 @@ "type": "github" } }, + "flake-compat_3": { + "flake": false, + "locked": { + "lastModified": 1673956053, + "narHash": "sha256-4gtG9iQuiKITOjNQQeQIpoIB6b16fm+504Ch3sNKLd8=", + "owner": "edolstra", + "repo": "flake-compat", + "rev": "35bb57c0c8d8b62bbfd284272c928ceb64ddbde9", + "type": "github" + }, + "original": { + "owner": "edolstra", + "repo": "flake-compat", + "type": "github" + } + }, + "flake-compat_4": { + "flake": false, + "locked": { + "lastModified": 1673956053, + "narHash": "sha256-4gtG9iQuiKITOjNQQeQIpoIB6b16fm+504Ch3sNKLd8=", + "owner": "edolstra", + "repo": "flake-compat", + "rev": "35bb57c0c8d8b62bbfd284272c928ceb64ddbde9", + "type": "github" + }, + "original": { + "owner": "edolstra", + "repo": "flake-compat", + "type": "github" + } + }, "flake-parts": { "inputs": { "nixpkgs-lib": "nixpkgs-lib" @@ -139,6 +246,23 @@ "type": "indirect" } }, + "flake-parts_2": { + "inputs": { + "nixpkgs-lib": "nixpkgs-lib_2" + }, + "locked": { + "lastModified": 1675295133, + "narHash": "sha256-dU8fuLL98WFXG0VnRgM00bqKX6CEPBLybhiIDIgO45o=", + "owner": "hercules-ci", + "repo": "flake-parts", + "rev": "bf53492df08f3178ce85e0c9df8ed8d03c030c9f", + "type": "github" + }, + "original": { + "id": "flake-parts", + "type": "indirect" + } + }, "flake-utils": { "locked": { "lastModified": 1667395993, @@ -155,6 +279,21 @@ } }, "flake-utils_2": { + "locked": { + "lastModified": 1667395993, + "narHash": "sha256-nuEHfE/LcWyuSWnS8t12N1wc105Qtau+/OdUAjtQ0rA=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "5aed5285a952e0b949eb3ba02c12fa4fcfef535f", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, + "flake-utils_3": { "inputs": { "systems": "systems" }, @@ -172,19 +311,73 @@ "type": "github" } }, + "flake-utils_4": { + "inputs": { + "systems": "systems_2" + }, + "locked": { + "lastModified": 1681202837, + "narHash": "sha256-H+Rh19JDwRtpVPAWp64F+rlEtxUWBAQW28eAi3SRSzg=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "cfacdce06f30d2b68473a46042957675eebb3401", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, "holochain": { - "flake": false, + "inputs": { + "cargo-chef": "cargo-chef_2", + "cargo-rdme": "cargo-rdme_2", + "crane": "crane_2", + "crate2nix": "crate2nix_2", + "flake-compat": "flake-compat_4", + "flake-parts": "flake-parts_2", + "holochain": [ + "holochain-flake", + "holochain", + "versions", + "holochain" + ], + "lair": [ + "holochain-flake", + "holochain", + "versions", + "lair" + ], + "launcher": [ + "holochain-flake", + "holochain", + "versions", + "launcher" + ], + "nix-filter": "nix-filter", + "nixpkgs": "nixpkgs", + "pre-commit-hooks-nix": "pre-commit-hooks-nix", + "rust-overlay": "rust-overlay_3", + "scaffolding": [ + "holochain-flake", + "holochain", + "versions", + "scaffolding" + ], + "versions": "versions" + }, "locked": { - "lastModified": 1682615969, - "narHash": "sha256-jnlWB6FHITXa6JzaBzHcyaAQimWDVOGySjDayHDjvJs=", + "lastModified": 1684139928, + "narHash": "sha256-uno5MTiBwf9RiEiX6iKzJsB+3srJFKwV/1ReXzaZVVw=", "owner": "holochain", "repo": "holochain", - "rev": "efe64a7f5dfbddc257945bf368db81c7b68de1bd", + "rev": "a91b262e87653f5f2e3a50c06eaac2bb81fb88d3", "type": "github" }, "original": { "owner": "holochain", - "ref": "holochain-0.2.0", + "ref": "holochain-0.2.1-beta-dev.0", "repo": "holochain", "type": "github" } @@ -198,10 +391,7 @@ "empty": "empty", "flake-compat": "flake-compat_2", "flake-parts": "flake-parts", - "holochain": [ - "holochain-flake", - "empty" - ], + "holochain": "holochain", "lair": [ "holochain-flake", "empty" @@ -210,10 +400,10 @@ "holochain-flake", "empty" ], - "nix-filter": "nix-filter", - "nixpkgs": "nixpkgs", - "pre-commit-hooks-nix": "pre-commit-hooks-nix", - "rust-overlay": "rust-overlay_2", + "nix-filter": "nix-filter_2", + "nixpkgs": "nixpkgs_2", + "pre-commit-hooks-nix": "pre-commit-hooks-nix_2", + "rust-overlay": "rust-overlay_4", "scaffolding": [ "holochain-flake", "empty" @@ -223,11 +413,11 @@ ] }, "locked": { - "lastModified": 1683799738, - "narHash": "sha256-y5QffuklMpD6o4ehzd8E6xUpfrGG+nIiNNy6/ORMPe4=", + "lastModified": 1684163217, + "narHash": "sha256-haXBmyqyufhckmsVd9BnquhhlbmJF7vKrN9u7SmPeYA=", "owner": "holochain", "repo": "holochain", - "rev": "0d75a45106e847e93e69f477b575cc91f97c9404", + "rev": "8d9d5837a46599fb165b08cdeb8ecd0ed023de07", "type": "github" }, "original": { @@ -236,7 +426,58 @@ "type": "github" } }, + "holochain_2": { + "flake": false, + "locked": { + "lastModified": 1681507583, + "narHash": "sha256-lRnums2gv1oXVwo4gMF2QAnzEu8prwxg1uKjUzNwJV4=", + "owner": "holochain", + "repo": "holochain", + "rev": "ac50baed6b53e9d0552729e69e1e20312e4edc08", + "type": "github" + }, + "original": { + "owner": "holochain", + "ref": "holochain-0.1.4", + "repo": "holochain", + "type": "github" + } + }, + "holochain_3": { + "flake": false, + "locked": { + "lastModified": 1684139928, + "narHash": "sha256-uno5MTiBwf9RiEiX6iKzJsB+3srJFKwV/1ReXzaZVVw=", + "owner": "holochain", + "repo": "holochain", + "rev": "a91b262e87653f5f2e3a50c06eaac2bb81fb88d3", + "type": "github" + }, + "original": { + "owner": "holochain", + "ref": "holochain-0.2.1-beta-dev.0", + "repo": "holochain", + "type": "github" + } + }, "lair": { + "flake": false, + "locked": { + "lastModified": 1670953460, + "narHash": "sha256-cqOr7iWzsNeomYQiiFggzG5Dr4X0ysnTkjtA8iwDLAQ=", + "owner": "holochain", + "repo": "lair", + "rev": "cbfbefefe43073904a914c8181a450209a74167b", + "type": "github" + }, + "original": { + "owner": "holochain", + "ref": "lair_keystore-v0.2.3", + "repo": "lair", + "type": "github" + } + }, + "lair_2": { "flake": false, "locked": { "lastModified": 1682356264, @@ -254,6 +495,23 @@ } }, "launcher": { + "flake": false, + "locked": { + "lastModified": 1677270906, + "narHash": "sha256-/xT//6nqhjpKLMMv41JE0W3H5sE9jKMr8Dedr88D4N8=", + "owner": "holochain", + "repo": "launcher", + "rev": "1ad188a43900c139e52df10a21e3722f41dfb967", + "type": "github" + }, + "original": { + "owner": "holochain", + "ref": "holochain-0.1", + "repo": "launcher", + "type": "github" + } + }, + "launcher_2": { "flake": false, "locked": { "lastModified": 1683619203, @@ -285,13 +543,28 @@ "type": "github" } }, + "nix-filter_2": { + "locked": { + "lastModified": 1675361037, + "narHash": "sha256-CTbDuDxFD3U3g/dWUB+r+B/snIe+qqP1R+1myuFGe2I=", + "owner": "numtide", + "repo": "nix-filter", + "rev": "e1b2f96c2a31415f362268bc48c3fccf47dff6eb", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "nix-filter", + "type": "github" + } + }, "nixpkgs": { "locked": { - "lastModified": 1683408522, - "narHash": "sha256-9kcPh6Uxo17a3kK3XCHhcWiV1Yu1kYj22RHiymUhMkU=", + "lastModified": 1682453498, + "narHash": "sha256-WoWiAd7KZt5Eh6n+qojcivaVpnXKqBsVgpixpV2L9CE=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "897876e4c484f1e8f92009fd11b7d988a121a4e7", + "rev": "c8018361fa1d1650ee8d4b96294783cf564e8a7f", "type": "github" }, "original": { @@ -318,6 +591,39 @@ "type": "github" } }, + "nixpkgs-lib_2": { + "locked": { + "dir": "lib", + "lastModified": 1675183161, + "narHash": "sha256-Zq8sNgAxDckpn7tJo7V1afRSk2eoVbu3OjI1QklGLNg=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "e1e1b192c1a5aab2960bf0a0bd53a2e8124fa18e", + "type": "github" + }, + "original": { + "dir": "lib", + "owner": "NixOS", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_2": { + "locked": { + "lastModified": 1684049129, + "narHash": "sha256-7WB9LpnPNAS8oI7hMoHeKLNhRX7k3CI9uWBRSfmOCCE=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "0470f36b02ef01d4f43c641bbf07020bcab71bf1", + "type": "github" + }, + "original": { + "id": "nixpkgs", + "ref": "nixos-unstable", + "type": "indirect" + } + }, "pre-commit-hooks-nix": { "flake": false, "locked": { @@ -334,6 +640,22 @@ "type": "github" } }, + "pre-commit-hooks-nix_2": { + "flake": false, + "locked": { + "lastModified": 1676513100, + "narHash": "sha256-MK39nQV86L2ag4TmcK5/+r1ULpzRLPbbfvWbPvIoYJE=", + "owner": "cachix", + "repo": "pre-commit-hooks.nix", + "rev": "5f0cba88ac4d6dd8cad5c6f6f1540b3d6a21a798", + "type": "github" + }, + "original": { + "owner": "cachix", + "repo": "pre-commit-hooks.nix", + "type": "github" + } + }, "root": { "inputs": { "holochain-flake": "holochain-flake", @@ -341,7 +663,7 @@ "holochain-flake", "nixpkgs" ], - "versions": "versions" + "versions": "versions_2" } }, "rust-overlay": { @@ -373,18 +695,70 @@ }, "rust-overlay_2": { "inputs": { - "flake-utils": "flake-utils_2", + "flake-utils": [ + "holochain-flake", + "holochain", + "crane", + "flake-utils" + ], "nixpkgs": [ "holochain-flake", + "holochain", + "crane", "nixpkgs" ] }, "locked": { - "lastModified": 1683771545, - "narHash": "sha256-we0GYcKTo2jRQGmUGrzQ9VH0OYAUsJMCsK8UkF+vZUA=", + "lastModified": 1675391458, + "narHash": "sha256-ukDKZw922BnK5ohL9LhwtaDAdCsJL7L6ScNEyF1lO9w=", "owner": "oxalica", "repo": "rust-overlay", - "rev": "c57e210faf68e5d5386f18f1b17ad8365d25e4ed", + "rev": "383a4acfd11d778d5c2efcf28376cbd845eeaedf", + "type": "github" + }, + "original": { + "owner": "oxalica", + "repo": "rust-overlay", + "type": "github" + } + }, + "rust-overlay_3": { + "inputs": { + "flake-utils": "flake-utils_3", + "nixpkgs": [ + "holochain-flake", + "holochain", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1682561982, + "narHash": "sha256-x0LtoiGT9gQ7Sn8SvjV3CIUqGu/GLDBDAoa5lXyef/8=", + "owner": "oxalica", + "repo": "rust-overlay", + "rev": "cc85c38ed6f7ecb9d7eb3d71be3c6f01b87e92f9", + "type": "github" + }, + "original": { + "owner": "oxalica", + "repo": "rust-overlay", + "type": "github" + } + }, + "rust-overlay_4": { + "inputs": { + "flake-utils": "flake-utils_4", + "nixpkgs": [ + "holochain-flake", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1684117262, + "narHash": "sha256-ZSF4CZqeyk6QwTjal73KPMuTWiU6w/p8ygEimrPb7u4=", + "owner": "oxalica", + "repo": "rust-overlay", + "rev": "4679872d2dd3e94ffef75efcbf77ea11549d90a7", "type": "github" }, "original": { @@ -396,11 +770,28 @@ "scaffolding": { "flake": false, "locked": { - "lastModified": 1682522152, - "narHash": "sha256-8ivQwNEzaW48eMBI4i4wwgmE+PUjSf1NEjotGtDKp4g=", + "lastModified": 1682016510, + "narHash": "sha256-U6V453QPUGI6PhtO7kkQCFxEB9WZPiU6hjwyPUdEHaE=", + "owner": "holochain", + "repo": "scaffolding", + "rev": "85997cbc4c92f0fea87447d7c7daed1245b47700", + "type": "github" + }, + "original": { + "owner": "holochain", + "ref": "holochain-0.1", + "repo": "scaffolding", + "type": "github" + } + }, + "scaffolding_2": { + "flake": false, + "locked": { + "lastModified": 1683890859, + "narHash": "sha256-/nG2TGU4Q7zy0KGS/opcW1836LZ7FJhA+/OEh5gNj34=", "owner": "holochain", "repo": "scaffolding", - "rev": "43908464b85917156b6326a0e95477d4ded51865", + "rev": "1ca1092ad5d147bd23a75444874830cc033aa9cf", "type": "github" }, "original": { @@ -425,20 +816,55 @@ "type": "github" } }, + "systems_2": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } + }, "versions": { "inputs": { - "holochain": "holochain", + "holochain": "holochain_2", "lair": "lair", "launcher": "launcher", "scaffolding": "scaffolding" }, + "locked": { + "lastModified": 1682016678, + "narHash": "sha256-LeDONDrsLwNRhoJVy/bHAR0nGgeGnc3OTGTvxeR3e5I=", + "path": "./versions/0_1", + "type": "path" + }, + "original": { + "dir": "versions/0_1", + "owner": "holochain", + "repo": "holochain", + "type": "github" + } + }, + "versions_2": { + "inputs": { + "holochain": "holochain_3", + "lair": "lair_2", + "launcher": "launcher_2", + "scaffolding": "scaffolding_2" + }, "locked": { "dir": "versions/0_2", - "lastModified": 1683799738, - "narHash": "sha256-y5QffuklMpD6o4ehzd8E6xUpfrGG+nIiNNy6/ORMPe4=", + "lastModified": 1684163217, + "narHash": "sha256-haXBmyqyufhckmsVd9BnquhhlbmJF7vKrN9u7SmPeYA=", "owner": "holochain", "repo": "holochain", - "rev": "0d75a45106e847e93e69f477b575cc91f97c9404", + "rev": "8d9d5837a46599fb165b08cdeb8ecd0ed023de07", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index 0435a0200..d5eedf2f3 100644 --- a/flake.nix +++ b/flake.nix @@ -8,6 +8,7 @@ holochain-flake = { url = "github:holochain/holochain"; inputs.versions.follows = "versions"; + inputs.holochain.url = "github:holochain/holochain/holochain-0.2.1-beta-dev.0"; }; }; diff --git a/src/scaffold/app/nix.rs b/src/scaffold/app/nix.rs index c77d052a9..c3ff4179f 100644 --- a/src/scaffold/app/nix.rs +++ b/src/scaffold/app/nix.rs @@ -20,6 +20,7 @@ pub fn flake_nix() -> FileTree { holochain-flake = {{ url = "github:holochain/holochain"; inputs.versions.follows = "holochain-nix-versions"; + inputs.holochain.url = "github:holochain/holochain/holochain-0.2.1-beta-dev.0"; }}; nixpkgs.follows = "holochain-flake/nixpkgs"; diff --git a/src/scaffold/dna/coordinator.rs b/src/scaffold/dna/coordinator.rs index 4b3c322ca..4d0968ce5 100644 --- a/src/scaffold/dna/coordinator.rs +++ b/src/scaffold/dna/coordinator.rs @@ -17,13 +17,14 @@ pub fn new_coordinator_zome_manifest( let location = zome_wasm_location(&dna_file_tree, &name); let zome_manifest = ZomeManifest { name: name.clone().into(), - hash: None, + hash: None, location, dependencies: maybe_dependencies.clone().map(|dz| { dz.into_iter() .map(|d| ZomeDependency { name: d.into() }) .collect() }), + dylib: None, }; Ok(zome_manifest) diff --git a/src/scaffold/dna/integrity.rs b/src/scaffold/dna/integrity.rs index 56ead30af..c30450f5b 100644 --- a/src/scaffold/dna/integrity.rs +++ b/src/scaffold/dna/integrity.rs @@ -14,6 +14,7 @@ pub fn new_integrity_zome_manifest( hash: None, location, dependencies: None, + dylib: None, }; Ok(zome_manifest) From 56e53ead924db3c62dcbe775923742e5009c83d6 Mon Sep 17 00:00:00 2001 From: = <=> Date: Tue, 16 May 2023 13:51:57 +0200 Subject: [PATCH 26/50] Add `hc run-local-services` to scripts --- Cargo.lock | 48 +++++++++++----------- templates/lit/web-app/package.json.hbs | 2 +- templates/svelte/web-app/package.json.hbs | 2 +- templates/vanilla/web-app/package.json.hbs | 2 +- templates/vue/web-app/package.json.hbs | 2 +- 5 files changed, 28 insertions(+), 28 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b9a11b727..bdcc5b0b7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3450,9 +3450,9 @@ checksum = "453ad9f582a441959e5f0d088b02ce04cfe8d51a8eaf077f12ac6d3e94164ca6" [[package]] name = "js-sys" -version = "0.3.62" +version = "0.3.63" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68c16e1bfd491478ab155fd8b4896b86f9ede344949b641e61501e07c2b8b4d5" +checksum = "2f37a4a5928311ac501dee68b3c7613a1037d0edb30c8e5427bd832d55d1b790" dependencies = [ "wasm-bindgen", ] @@ -7715,9 +7715,9 @@ checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" [[package]] name = "wasm-bindgen" -version = "0.2.85" +version = "0.2.86" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b6cb788c4e39112fbe1822277ef6fb3c55cd86b95cb3d3c4c1c9597e4ac74b4" +checksum = "5bba0e8cb82ba49ff4e229459ff22a191bbe9a1cb3a341610c9c33efc27ddf73" dependencies = [ "cfg-if 1.0.0", "wasm-bindgen-macro", @@ -7725,9 +7725,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-backend" -version = "0.2.85" +version = "0.2.86" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35e522ed4105a9d626d885b35d62501b30d9666283a5c8be12c14a8bdafe7822" +checksum = "19b04bc93f9d6bdee709f6bd2118f57dd6679cf1176a1af464fca3ab0d66d8fb" dependencies = [ "bumpalo", "log", @@ -7740,9 +7740,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-futures" -version = "0.4.35" +version = "0.4.36" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "083abe15c5d88556b77bdf7aef403625be9e327ad37c62c4e4129af740168163" +checksum = "2d1985d03709c53167ce907ff394f5316aa22cb4e12761295c5dc57dacb6297e" dependencies = [ "cfg-if 1.0.0", "js-sys", @@ -7752,9 +7752,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro" -version = "0.2.85" +version = "0.2.86" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "358a79a0cb89d21db8120cbfb91392335913e4890665b1a7981d9e956903b434" +checksum = "14d6b024f1a526bb0234f52840389927257beb670610081360e5a03c5df9c258" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -7762,9 +7762,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.85" +version = "0.2.86" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4783ce29f09b9d93134d41297aded3a712b7b979e9c6f28c32cb88c973a94869" +checksum = "e128beba882dd1eb6200e1dc92ae6c5dbaa4311aa7bb211ca035779e5efc39f8" dependencies = [ "proc-macro2", "quote", @@ -7775,15 +7775,15 @@ dependencies = [ [[package]] name = "wasm-bindgen-shared" -version = "0.2.85" +version = "0.2.86" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a901d592cafaa4d711bc324edfaff879ac700b19c3dfd60058d2b445be2691eb" +checksum = "ed9d5b4305409d1fc9482fee2d7f9bcbf24b3972bf59817ef757e23982242a93" [[package]] name = "wasm-encoder" -version = "0.26.0" +version = "0.27.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d05d0b6fcd0aeb98adf16e7975331b3c17222aa815148f5b976370ce589d80ef" +checksum = "e77053dc709db790691d3732cfc458adc5acc881dec524965c608effdcd9c581" dependencies = [ "leb128", ] @@ -8039,9 +8039,9 @@ checksum = "718ed7c55c2add6548cca3ddd6383d738cd73b892df400e96b9aa876f0141d7a" [[package]] name = "wast" -version = "57.0.0" +version = "58.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6eb0f5ed17ac4421193c7477da05892c2edafd67f9639e3c11a82086416662dc" +checksum = "372eecae2d10a5091c2005b32377d7ecd6feecdf2c05838056d02d8b4f07c429" dependencies = [ "leb128", "memchr", @@ -8051,18 +8051,18 @@ dependencies = [ [[package]] name = "wat" -version = "1.0.63" +version = "1.0.64" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab9ab0d87337c3be2bb6fc5cd331c4ba9fd6bcb4ee85048a0dd59ed9ecf92e53" +checksum = "6d47446190e112ab1579ab40b3ad7e319d859d74e5134683f04e9f0747bf4173" dependencies = [ "wast", ] [[package]] name = "web-sys" -version = "0.3.62" +version = "0.3.63" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "16b5f940c7edfdc6d12126d98c9ef4d1b3d470011c47c76a6581df47ad9ba721" +checksum = "3bdd9ef4e984da1187bf8110c5cf5b845fbc87a23602cdf912386a76fcd3a7c2" dependencies = [ "js-sys", "wasm-bindgen", @@ -8437,9 +8437,9 @@ checksum = "2a0956f1ba7c7909bfb66c2e9e4124ab6f6482560f6628b5aaeba39207c9aad9" [[package]] name = "zip" -version = "0.6.5" +version = "0.6.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e92305c174683d78035cbf1b70e18db6329cc0f1b9cae0a52ca90bf5bfe7125" +checksum = "760394e246e4c28189f19d488c058bf16f564016aefac5d32bb1f3b51d5e9261" dependencies = [ "byteorder", "crc32fast", diff --git a/templates/lit/web-app/package.json.hbs b/templates/lit/web-app/package.json.hbs index a7307d5a3..42dde5ee6 100644 --- a/templates/lit/web-app/package.json.hbs +++ b/templates/lit/web-app/package.json.hbs @@ -9,7 +9,7 @@ "start": "AGENTS=2 npm run network", "network": "hc s clean && npm run build:happ && UI_PORT=8888 concurrently \"npm start -w ui\" \"npm run launch:happ\" \"holochain-playground\"", "test": "npm run build:zomes && hc app pack workdir --recursive && npm t -w tests", - "launch:happ": "echo \"pass\" | RUST_LOG=warn hc launch --piped -n $AGENTS workdir/{{app_name}}.happ --ui-port $UI_PORT network mdns", + "launch:happ": "SIGNAL_SRV_PORT=9999 concurrently \"hc run-local-services --signal-port $SIGNAL_SRV_PORT\" \"echo pass | RUST_LOG=warn hc launch --piped -n $AGENTS workdir/{{app_name}}.happ --ui-port $UI_PORT network webrtc wss://127.0.0.1:$SIGNAL_SRV_PORT\"", "package": "npm run build:happ && npm run package -w ui && hc web-app pack workdir --recursive", "build:happ": "npm run build:zomes && hc app pack workdir --recursive", "build:zomes": "RUSTFLAGS='' CARGO_TARGET_DIR=target cargo build --release --target wasm32-unknown-unknown" diff --git a/templates/svelte/web-app/package.json.hbs b/templates/svelte/web-app/package.json.hbs index a7307d5a3..42dde5ee6 100644 --- a/templates/svelte/web-app/package.json.hbs +++ b/templates/svelte/web-app/package.json.hbs @@ -9,7 +9,7 @@ "start": "AGENTS=2 npm run network", "network": "hc s clean && npm run build:happ && UI_PORT=8888 concurrently \"npm start -w ui\" \"npm run launch:happ\" \"holochain-playground\"", "test": "npm run build:zomes && hc app pack workdir --recursive && npm t -w tests", - "launch:happ": "echo \"pass\" | RUST_LOG=warn hc launch --piped -n $AGENTS workdir/{{app_name}}.happ --ui-port $UI_PORT network mdns", + "launch:happ": "SIGNAL_SRV_PORT=9999 concurrently \"hc run-local-services --signal-port $SIGNAL_SRV_PORT\" \"echo pass | RUST_LOG=warn hc launch --piped -n $AGENTS workdir/{{app_name}}.happ --ui-port $UI_PORT network webrtc wss://127.0.0.1:$SIGNAL_SRV_PORT\"", "package": "npm run build:happ && npm run package -w ui && hc web-app pack workdir --recursive", "build:happ": "npm run build:zomes && hc app pack workdir --recursive", "build:zomes": "RUSTFLAGS='' CARGO_TARGET_DIR=target cargo build --release --target wasm32-unknown-unknown" diff --git a/templates/vanilla/web-app/package.json.hbs b/templates/vanilla/web-app/package.json.hbs index a7307d5a3..42dde5ee6 100644 --- a/templates/vanilla/web-app/package.json.hbs +++ b/templates/vanilla/web-app/package.json.hbs @@ -9,7 +9,7 @@ "start": "AGENTS=2 npm run network", "network": "hc s clean && npm run build:happ && UI_PORT=8888 concurrently \"npm start -w ui\" \"npm run launch:happ\" \"holochain-playground\"", "test": "npm run build:zomes && hc app pack workdir --recursive && npm t -w tests", - "launch:happ": "echo \"pass\" | RUST_LOG=warn hc launch --piped -n $AGENTS workdir/{{app_name}}.happ --ui-port $UI_PORT network mdns", + "launch:happ": "SIGNAL_SRV_PORT=9999 concurrently \"hc run-local-services --signal-port $SIGNAL_SRV_PORT\" \"echo pass | RUST_LOG=warn hc launch --piped -n $AGENTS workdir/{{app_name}}.happ --ui-port $UI_PORT network webrtc wss://127.0.0.1:$SIGNAL_SRV_PORT\"", "package": "npm run build:happ && npm run package -w ui && hc web-app pack workdir --recursive", "build:happ": "npm run build:zomes && hc app pack workdir --recursive", "build:zomes": "RUSTFLAGS='' CARGO_TARGET_DIR=target cargo build --release --target wasm32-unknown-unknown" diff --git a/templates/vue/web-app/package.json.hbs b/templates/vue/web-app/package.json.hbs index a7307d5a3..42dde5ee6 100644 --- a/templates/vue/web-app/package.json.hbs +++ b/templates/vue/web-app/package.json.hbs @@ -9,7 +9,7 @@ "start": "AGENTS=2 npm run network", "network": "hc s clean && npm run build:happ && UI_PORT=8888 concurrently \"npm start -w ui\" \"npm run launch:happ\" \"holochain-playground\"", "test": "npm run build:zomes && hc app pack workdir --recursive && npm t -w tests", - "launch:happ": "echo \"pass\" | RUST_LOG=warn hc launch --piped -n $AGENTS workdir/{{app_name}}.happ --ui-port $UI_PORT network mdns", + "launch:happ": "SIGNAL_SRV_PORT=9999 concurrently \"hc run-local-services --signal-port $SIGNAL_SRV_PORT\" \"echo pass | RUST_LOG=warn hc launch --piped -n $AGENTS workdir/{{app_name}}.happ --ui-port $UI_PORT network webrtc wss://127.0.0.1:$SIGNAL_SRV_PORT\"", "package": "npm run build:happ && npm run package -w ui && hc web-app pack workdir --recursive", "build:happ": "npm run build:zomes && hc app pack workdir --recursive", "build:zomes": "RUSTFLAGS='' CARGO_TARGET_DIR=target cargo build --release --target wasm32-unknown-unknown" From f1d4a96ba8507f7ebcda0e8930c5c2b367bba313 Mon Sep 17 00:00:00 2001 From: = <=> Date: Tue, 16 May 2023 15:14:30 +0200 Subject: [PATCH 27/50] add bootstrap server --- templates/lit/web-app/package.json.hbs | 2 +- templates/svelte/web-app/package.json.hbs | 2 +- templates/vanilla/web-app/package.json.hbs | 2 +- templates/vue/web-app/package.json.hbs | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/lit/web-app/package.json.hbs b/templates/lit/web-app/package.json.hbs index 42dde5ee6..3e5da0f7b 100644 --- a/templates/lit/web-app/package.json.hbs +++ b/templates/lit/web-app/package.json.hbs @@ -9,7 +9,7 @@ "start": "AGENTS=2 npm run network", "network": "hc s clean && npm run build:happ && UI_PORT=8888 concurrently \"npm start -w ui\" \"npm run launch:happ\" \"holochain-playground\"", "test": "npm run build:zomes && hc app pack workdir --recursive && npm t -w tests", - "launch:happ": "SIGNAL_SRV_PORT=9999 concurrently \"hc run-local-services --signal-port $SIGNAL_SRV_PORT\" \"echo pass | RUST_LOG=warn hc launch --piped -n $AGENTS workdir/{{app_name}}.happ --ui-port $UI_PORT network webrtc wss://127.0.0.1:$SIGNAL_SRV_PORT\"", + "launch:happ": "concurrently \"hc run-local-services --bootstrap-port 9998 --signal-port 9999\" \"echo pass | RUST_LOG=warn hc launch --piped -n $AGENTS workdir/{{app_name}}.happ --ui-port $UI_PORT network --bootstrap http://127.0.0.1:9998 webrtc ws://127.0.0.1:9999\"", "package": "npm run build:happ && npm run package -w ui && hc web-app pack workdir --recursive", "build:happ": "npm run build:zomes && hc app pack workdir --recursive", "build:zomes": "RUSTFLAGS='' CARGO_TARGET_DIR=target cargo build --release --target wasm32-unknown-unknown" diff --git a/templates/svelte/web-app/package.json.hbs b/templates/svelte/web-app/package.json.hbs index 42dde5ee6..3e5da0f7b 100644 --- a/templates/svelte/web-app/package.json.hbs +++ b/templates/svelte/web-app/package.json.hbs @@ -9,7 +9,7 @@ "start": "AGENTS=2 npm run network", "network": "hc s clean && npm run build:happ && UI_PORT=8888 concurrently \"npm start -w ui\" \"npm run launch:happ\" \"holochain-playground\"", "test": "npm run build:zomes && hc app pack workdir --recursive && npm t -w tests", - "launch:happ": "SIGNAL_SRV_PORT=9999 concurrently \"hc run-local-services --signal-port $SIGNAL_SRV_PORT\" \"echo pass | RUST_LOG=warn hc launch --piped -n $AGENTS workdir/{{app_name}}.happ --ui-port $UI_PORT network webrtc wss://127.0.0.1:$SIGNAL_SRV_PORT\"", + "launch:happ": "concurrently \"hc run-local-services --bootstrap-port 9998 --signal-port 9999\" \"echo pass | RUST_LOG=warn hc launch --piped -n $AGENTS workdir/{{app_name}}.happ --ui-port $UI_PORT network --bootstrap http://127.0.0.1:9998 webrtc ws://127.0.0.1:9999\"", "package": "npm run build:happ && npm run package -w ui && hc web-app pack workdir --recursive", "build:happ": "npm run build:zomes && hc app pack workdir --recursive", "build:zomes": "RUSTFLAGS='' CARGO_TARGET_DIR=target cargo build --release --target wasm32-unknown-unknown" diff --git a/templates/vanilla/web-app/package.json.hbs b/templates/vanilla/web-app/package.json.hbs index 42dde5ee6..3e5da0f7b 100644 --- a/templates/vanilla/web-app/package.json.hbs +++ b/templates/vanilla/web-app/package.json.hbs @@ -9,7 +9,7 @@ "start": "AGENTS=2 npm run network", "network": "hc s clean && npm run build:happ && UI_PORT=8888 concurrently \"npm start -w ui\" \"npm run launch:happ\" \"holochain-playground\"", "test": "npm run build:zomes && hc app pack workdir --recursive && npm t -w tests", - "launch:happ": "SIGNAL_SRV_PORT=9999 concurrently \"hc run-local-services --signal-port $SIGNAL_SRV_PORT\" \"echo pass | RUST_LOG=warn hc launch --piped -n $AGENTS workdir/{{app_name}}.happ --ui-port $UI_PORT network webrtc wss://127.0.0.1:$SIGNAL_SRV_PORT\"", + "launch:happ": "concurrently \"hc run-local-services --bootstrap-port 9998 --signal-port 9999\" \"echo pass | RUST_LOG=warn hc launch --piped -n $AGENTS workdir/{{app_name}}.happ --ui-port $UI_PORT network --bootstrap http://127.0.0.1:9998 webrtc ws://127.0.0.1:9999\"", "package": "npm run build:happ && npm run package -w ui && hc web-app pack workdir --recursive", "build:happ": "npm run build:zomes && hc app pack workdir --recursive", "build:zomes": "RUSTFLAGS='' CARGO_TARGET_DIR=target cargo build --release --target wasm32-unknown-unknown" diff --git a/templates/vue/web-app/package.json.hbs b/templates/vue/web-app/package.json.hbs index 42dde5ee6..3e5da0f7b 100644 --- a/templates/vue/web-app/package.json.hbs +++ b/templates/vue/web-app/package.json.hbs @@ -9,7 +9,7 @@ "start": "AGENTS=2 npm run network", "network": "hc s clean && npm run build:happ && UI_PORT=8888 concurrently \"npm start -w ui\" \"npm run launch:happ\" \"holochain-playground\"", "test": "npm run build:zomes && hc app pack workdir --recursive && npm t -w tests", - "launch:happ": "SIGNAL_SRV_PORT=9999 concurrently \"hc run-local-services --signal-port $SIGNAL_SRV_PORT\" \"echo pass | RUST_LOG=warn hc launch --piped -n $AGENTS workdir/{{app_name}}.happ --ui-port $UI_PORT network webrtc wss://127.0.0.1:$SIGNAL_SRV_PORT\"", + "launch:happ": "concurrently \"hc run-local-services --bootstrap-port 9998 --signal-port 9999\" \"echo pass | RUST_LOG=warn hc launch --piped -n $AGENTS workdir/{{app_name}}.happ --ui-port $UI_PORT network --bootstrap http://127.0.0.1:9998 webrtc ws://127.0.0.1:9999\"", "package": "npm run build:happ && npm run package -w ui && hc web-app pack workdir --recursive", "build:happ": "npm run build:zomes && hc app pack workdir --recursive", "build:zomes": "RUSTFLAGS='' CARGO_TARGET_DIR=target cargo build --release --target wasm32-unknown-unknown" From 683d73a4bb5d0ed5de2307ddede049888ceb0387 Mon Sep 17 00:00:00 2001 From: = <=> Date: Tue, 16 May 2023 16:24:58 +0200 Subject: [PATCH 28/50] Bump versions --- Cargo.lock | 2 +- Cargo.toml | 2 +- run_test.sh | 2 ++ src/versions.rs | 4 ++-- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index bdcc5b0b7..4120d9269 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2612,7 +2612,7 @@ dependencies = [ [[package]] name = "holochain_scaffolding_cli" -version = "0.1.8" +version = "0.1.9" dependencies = [ "anyhow", "assert_cmd", diff --git a/Cargo.toml b/Cargo.toml index 6239e11e9..14e79b1fc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] edition = "2021" name = "holochain_scaffolding_cli" -version = "0.1.8" +version = "0.1.9" description = "CLI to easily generate and modify holochain apps" license-file = "LICENSE_CAL-1.0" homepage = "https://developer.holochain.org" diff --git a/run_test.sh b/run_test.sh index 0172e73e1..fb9b1d38d 100755 --- a/run_test.sh +++ b/run_test.sh @@ -5,6 +5,8 @@ rm -rf /tmp/forum-svelte cd /tmp +echo $(hc-scaffold --version) + hc-scaffold web-app forum-svelte --setup-nix true --template svelte cd forum-svelte diff --git a/src/versions.rs b/src/versions.rs index c4ef15372..0438a37ae 100644 --- a/src/versions.rs +++ b/src/versions.rs @@ -1,9 +1,9 @@ pub fn tryorama_version() -> String { - String::from("^0.11.0") + String::from("^0.13.0") } pub fn holochain_client_version() -> String { - String::from("^0.12.2") + String::from("^0.14.1") } pub fn hdi_version() -> String { From ff00888ed3d2d3ba22ed30669b004ef9a635dc28 Mon Sep 17 00:00:00 2001 From: = <=> Date: Tue, 23 May 2023 14:29:38 +0200 Subject: [PATCH 29/50] Tryorama v0.14.0-rc.0 --- Cargo.lock | 146 +++++++++++++++++++++++++++--------------------- flake.lock | 24 ++++---- src/versions.rs | 2 +- 3 files changed, 96 insertions(+), 76 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 4120d9269..b12b80cf1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -459,9 +459,9 @@ checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8" [[package]] name = "base64" -version = "0.21.0" +version = "0.21.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4a4ddaa51a5bc52a6948f74c06d20aaaddb71924eab79b8c97a8c556e942d6a" +checksum = "3f1e31e207a6b8fb791a38ea3105e6cb541f55e4d029902d3039a4ad07cc4105" [[package]] name = "bimap" @@ -504,9 +504,9 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" [[package]] name = "bitflags" -version = "2.2.1" +version = "2.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24a6904aef64d73cf10ab17ebace7befb918b82164785cb89907993be7f83813" +checksum = "6776fc96284a0bb647b615056fc496d1fe1644a7ab01829818a6d91cae888b84" [[package]] name = "bitvec" @@ -599,9 +599,9 @@ dependencies = [ [[package]] name = "bstr" -version = "1.4.0" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3d4260bcc2e8fc9df1eac4919a720effeb63a3f0952f5bf4944adfa18897f09" +checksum = "a246e68bb43f6cd9db24bea052a53e40405417c5fb372e3d1a8a7f770a564ef5" dependencies = [ "memchr", "serde", @@ -623,9 +623,9 @@ dependencies = [ [[package]] name = "bumpalo" -version = "3.12.2" +version = "3.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c6ed94e98ecff0c12dd1b04c15ec0d7d9458ca8fe806cea6f12954efe74c63b" +checksum = "a3e2c3daef883ecc1b5d58c15adae93470a91d425f3532ba1695849656af3fc1" [[package]] name = "bytecheck" @@ -794,25 +794,25 @@ dependencies = [ [[package]] name = "clap" -version = "4.2.7" +version = "4.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34d21f9bf1b425d2968943631ec91202fe5e837264063503708b83013f8fc938" +checksum = "93aae7a4192245f70fe75dd9157fc7b4a5bf53e88d30bd4396f7d8f9284d5acc" dependencies = [ "clap_builder", - "clap_derive 4.2.0", + "clap_derive 4.3.0", "once_cell", ] [[package]] name = "clap_builder" -version = "4.2.7" +version = "4.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "914c8c79fb560f238ef6429439a30023c862f7a28e688c58f7203f12b29970bd" +checksum = "4f423e341edefb78c9caba2d9c7f7687d0e72e89df3ce3394554754393ac3990" dependencies = [ "anstream", "anstyle", "bitflags 1.3.2", - "clap_lex 0.4.1", + "clap_lex 0.5.0", "strsim 0.10.0", ] @@ -831,9 +831,9 @@ dependencies = [ [[package]] name = "clap_derive" -version = "4.2.0" +version = "4.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f9644cd56d6b87dbe899ef8b053e331c0637664e9e21a33dfcdc36093f5c5c4" +checksum = "191d9573962933b4027f932c600cd252ce27a8ad5979418fe78e43c07996f27b" dependencies = [ "heck 0.4.1", "proc-macro2", @@ -852,9 +852,9 @@ dependencies = [ [[package]] name = "clap_lex" -version = "0.4.1" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a2dd5a6fe8c6e3502f568a6353e5273bbb15193ad9a89e457b9970798efbea1" +checksum = "2da6da31387c7e4ef160ffab6d5e7f00c42626fe39aea70a7b0f1773f7dd6c1b" [[package]] name = "cloudabi" @@ -893,15 +893,15 @@ dependencies = [ [[package]] name = "console" -version = "0.15.5" +version = "0.15.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3d79fbe8970a77e3e34151cc13d3b3e248aa0faaecb9f6091fa07ebefe5ad60" +checksum = "c926e00cc70edefdc64d3a5ff31cc65bb97a3460097762bd23afb4d8145fccf8" dependencies = [ "encode_unicode", "lazy_static", "libc", "unicode-width", - "windows-sys 0.42.0", + "windows-sys 0.45.0", ] [[package]] @@ -1485,9 +1485,9 @@ dependencies = [ [[package]] name = "digest" -version = "0.10.6" +version = "0.10.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8168378f4e5023e7218c89c891c0fd8ecdb5e5e4f18cb78f38cf245dd021e76f" +checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" dependencies = [ "block-buffer 0.10.4", "crypto-common", @@ -2099,7 +2099,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "029d74589adefde59de1a0c4f4732695c32805624aec7b68d91503d4dba79afc" dependencies = [ "aho-corasick 0.7.20", - "bstr 1.4.0", + "bstr 1.5.0", "fnv", "log", "regex", @@ -3079,7 +3079,7 @@ dependencies = [ "os_info", "serde", "serde_derive", - "toml 0.7.3", + "toml 0.7.4", "uuid 1.3.3", ] @@ -3323,7 +3323,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2fb7c1b80a1dfa604bb4a649a5c5aeef3d913f7c520cb42b40e534e8a61bcdfc" dependencies = [ "ahash 0.8.3", - "clap 4.2.7", + "clap 4.3.0", "crossbeam-channel", "crossbeam-utils 0.8.15", "dashmap 5.4.0", @@ -3510,7 +3510,7 @@ dependencies = [ "once_cell", "parking_lot 0.11.2", "rand 0.8.5", - "reqwest 0.11.17", + "reqwest 0.11.18", "serde", "serde_bytes", "serde_json", @@ -3786,7 +3786,7 @@ dependencies = [ "serde_yaml 0.9.21", "tokio 1.28.1", "toml 0.5.11", - "toml 0.7.3", + "toml 0.7.4", "tracing", "url 2.3.1", "winapi 0.3.9", @@ -3813,9 +3813,9 @@ checksum = "2b00cc1c228a6782d0f076e7b232802e0c5689d41bb5df366f2a6b6621cfdfe1" [[package]] name = "libflate" -version = "1.3.0" +version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97822bf791bd4d5b403713886a5fbe8bf49520fe78e323b0dc480ca1a03e50b0" +checksum = "5ff4ae71b685bbad2f2f391fe74f6b7659a34871c08b210fdc039e43bee07d18" dependencies = [ "adler32", "crc32fast", @@ -3879,9 +3879,9 @@ dependencies = [ [[package]] name = "libsodium-sys-stable" -version = "1.19.27" +version = "1.19.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c2e36a6759ec7f4d772d2e01af0bf5ba63eb114bbab488cbcf53884c6408bb9" +checksum = "c380d5be44ec310e371ff404e923e39464ca21ebef0a1468f4bfbbc92af547f5" dependencies = [ "cc", "libc", @@ -3913,9 +3913,9 @@ checksum = "0717cef1bc8b636c6e1c1bbdefc09e6322da8a9321966e8928ef80d20f7f770f" [[package]] name = "linux-raw-sys" -version = "0.3.7" +version = "0.3.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ece97ea872ece730aed82664c424eb4c8291e1ff2480247ccf7409044bc6479f" +checksum = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519" [[package]] name = "lock_api" @@ -4230,7 +4230,7 @@ dependencies = [ "flate2", "futures 0.3.28", "holochain_util", - "reqwest 0.11.17", + "reqwest 0.11.18", "rmp-serde 0.15.5", "serde", "serde_bytes", @@ -5110,9 +5110,9 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.57" +version = "1.0.58" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4ec6d5fe0b140acb27c9a0444118cf55bfbb4e0b259739429abb4521dd67c16" +checksum = "fa1fb82fc0c281dd9671101b66b771ebbe1eaf967b96ac8740dcba4b70005ca8" dependencies = [ "unicode-ident", ] @@ -5560,13 +5560,13 @@ dependencies = [ [[package]] name = "regex" -version = "1.8.1" +version = "1.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af83e617f331cc6ae2da5443c602dfa5af81e517212d9d611a5b3ba1777b5370" +checksum = "d1a59b5d8e97dee33696bf13c5ba8ab85341c002922fba050069326b9c498974" dependencies = [ "aho-corasick 1.0.1", "memchr", - "regex-syntax 0.7.1", + "regex-syntax 0.7.2", ] [[package]] @@ -5586,9 +5586,9 @@ checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1" [[package]] name = "regex-syntax" -version = "0.7.1" +version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a5996294f19bd3aae0453a862ad728f60e6600695733dd5df01da90c54363a3c" +checksum = "436b050e76ed2903236f032a59761c1eb99e1b0aead2c257922771dab1fc8c78" [[package]] name = "region" @@ -5647,11 +5647,11 @@ dependencies = [ [[package]] name = "reqwest" -version = "0.11.17" +version = "0.11.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "13293b639a097af28fc8a90f22add145a9c954e49d77da06263d58cf44d5fb91" +checksum = "cde824a14b7c14f85caff81225f411faacc04a2013f41670f41443742b1c1c55" dependencies = [ - "base64 0.21.0", + "base64 0.21.1", "bytes 1.4.0", "encoding_rs", "futures-core", @@ -5822,7 +5822,7 @@ version = "0.29.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "549b9d036d571d42e6e85d1c1425e2ac83491075078ca9a15be021c56b1641f2" dependencies = [ - "bitflags 2.2.1", + "bitflags 2.3.1", "fallible-iterator", "fallible-streaming-iterator", "hashlink", @@ -5913,7 +5913,17 @@ version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d194b56d58803a43635bdc398cd17e383d6f71f9182b9a192c127ca42494a59b" dependencies = [ - "base64 0.21.0", + "base64 0.21.1", +] + +[[package]] +name = "rustls-webpki" +version = "0.100.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d6207cd5ed3d8dca7816f8f3725513a34609c0c765bf652b8c3cb4cfd87db46b" +dependencies = [ + "ring", + "untrusted", ] [[package]] @@ -5991,9 +6001,9 @@ checksum = "1c107b6f4780854c8b126e228ea8869f4d7b71260f962fefb57b996b8959ba6b" [[package]] name = "security-framework" -version = "2.9.0" +version = "2.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca2855b3715770894e67cbfa3df957790aa0c9edc3bf06efa1a84d77fa0839d1" +checksum = "1fc758eb7bffce5b308734e9b0c1468893cae9ff70ebf13e7090be8dcbcc83a8" dependencies = [ "bitflags 1.3.2", "core-foundation", @@ -6106,9 +6116,9 @@ dependencies = [ [[package]] name = "serde_spanned" -version = "0.6.1" +version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0efd8caf556a6cebd3b285caf480045fcc1ac04f6bd786b09a6f11af30c4fcf4" +checksum = "93107647184f6027e3b7dcb2e11034cf95ffa1e3a682c67951963ac69c1c007d" dependencies = [ "serde", ] @@ -6205,7 +6215,7 @@ checksum = "f5058ada175748e33390e40e872bd0fe59a19f265d0158daa551c5a88a76009c" dependencies = [ "cfg-if 1.0.0", "cpufeatures", - "digest 0.10.6", + "digest 0.10.7", ] [[package]] @@ -6216,7 +6226,7 @@ checksum = "f04293dc80c3993519f2d7f6f511707ee7094fe0c6d3406feb330cdb3540eba3" dependencies = [ "cfg-if 1.0.0", "cpufeatures", - "digest 0.10.6", + "digest 0.10.7", ] [[package]] @@ -6227,7 +6237,7 @@ checksum = "82e6b795fe2e3b1e845bafcb27aa35405c4d47cdfc92af5fc8d3002f76cebdc0" dependencies = [ "cfg-if 1.0.0", "cpufeatures", - "digest 0.10.6", + "digest 0.10.7", ] [[package]] @@ -7106,9 +7116,9 @@ dependencies = [ [[package]] name = "toml" -version = "0.7.3" +version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b403acf6f2bb0859c93c7f0d967cb4a75a7ac552100f9322faf64dc047669b21" +checksum = "d6135d499e69981f9ff0ef2167955a5333c35e36f6937d382974566b3d5b94ec" dependencies = [ "serde", "serde_spanned", @@ -7118,18 +7128,18 @@ dependencies = [ [[package]] name = "toml_datetime" -version = "0.6.1" +version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ab8ed2edee10b50132aed5f331333428b011c99402b5a534154ed15746f9622" +checksum = "5a76a9312f5ba4c2dec6b9161fdf25d87ad8a09256ccea5a556fef03c706a10f" dependencies = [ "serde", ] [[package]] name = "toml_edit" -version = "0.19.8" +version = "0.19.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "239410c8609e8125456927e6707163a3b1fdb40561e4b803bc041f466ccfdc13" +checksum = "92d964908cec0d030b812013af25a0e57fddfadb1e066ecc6681d86253129d4f" dependencies = [ "indexmap", "serde", @@ -7380,9 +7390,9 @@ dependencies = [ [[package]] name = "tx5-signal" -version = "0.0.1-alpha.9" +version = "0.0.1-alpha.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f3c853c5f4203d1d26d22cfac3b57980c7146c1f289dc7a26334ff7725b8e42" +checksum = "7e26fee2c1c3e227c8bae711545c7536d17a508af0a5e317296cce18afaff5b7" dependencies = [ "futures 0.3.28", "lair_keystore_api", @@ -7404,6 +7414,7 @@ dependencies = [ "tracing", "tx5-core", "url 2.3.1", + "webpki-roots 0.23.0", ] [[package]] @@ -7513,7 +7524,7 @@ dependencies = [ "rustls", "url 2.3.1", "webpki 0.22.0", - "webpki-roots", + "webpki-roots 0.22.6", ] [[package]] @@ -8097,6 +8108,15 @@ dependencies = [ "webpki 0.22.0", ] +[[package]] +name = "webpki-roots" +version = "0.23.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aa54963694b65584e170cf5dc46aeb4dcaa5584e652ff5f3952e56d66aff0125" +dependencies = [ + "rustls-webpki", +] + [[package]] name = "which" version = "4.4.0" diff --git a/flake.lock b/flake.lock index 9c6f04e29..71b509d02 100644 --- a/flake.lock +++ b/flake.lock @@ -413,11 +413,11 @@ ] }, "locked": { - "lastModified": 1684163217, - "narHash": "sha256-haXBmyqyufhckmsVd9BnquhhlbmJF7vKrN9u7SmPeYA=", + "lastModified": 1684218489, + "narHash": "sha256-k6FKy1k+/8qhnXWwWZcAR5F28Ip3CV+/ERoJ1xCSsCA=", "owner": "holochain", "repo": "holochain", - "rev": "8d9d5837a46599fb165b08cdeb8ecd0ed023de07", + "rev": "e6d3e965814d0bf8f4c77a2f7c4116a27446ab4a", "type": "github" }, "original": { @@ -611,11 +611,11 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1684049129, - "narHash": "sha256-7WB9LpnPNAS8oI7hMoHeKLNhRX7k3CI9uWBRSfmOCCE=", + "lastModified": 1684139381, + "narHash": "sha256-YPLMeYE+UzxxP0qbkBzv3RBDvyGR5I4d7v2n8dI3+fY=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "0470f36b02ef01d4f43c641bbf07020bcab71bf1", + "rev": "17a689596b72d1906883484838eb1aaf51ab8001", "type": "github" }, "original": { @@ -754,11 +754,11 @@ ] }, "locked": { - "lastModified": 1684117262, - "narHash": "sha256-ZSF4CZqeyk6QwTjal73KPMuTWiU6w/p8ygEimrPb7u4=", + "lastModified": 1684203630, + "narHash": "sha256-ZOWNixdHU4qFZUgYNEULFB3ifctMQO9H4Oo+Zrz+4L8=", "owner": "oxalica", "repo": "rust-overlay", - "rev": "4679872d2dd3e94ffef75efcbf77ea11549d90a7", + "rev": "65c3f2655f52a81e1b3e629d4c07df4873d0f2bb", "type": "github" }, "original": { @@ -860,11 +860,11 @@ }, "locked": { "dir": "versions/0_2", - "lastModified": 1684163217, - "narHash": "sha256-haXBmyqyufhckmsVd9BnquhhlbmJF7vKrN9u7SmPeYA=", + "lastModified": 1684218489, + "narHash": "sha256-k6FKy1k+/8qhnXWwWZcAR5F28Ip3CV+/ERoJ1xCSsCA=", "owner": "holochain", "repo": "holochain", - "rev": "8d9d5837a46599fb165b08cdeb8ecd0ed023de07", + "rev": "e6d3e965814d0bf8f4c77a2f7c4116a27446ab4a", "type": "github" }, "original": { diff --git a/src/versions.rs b/src/versions.rs index 0438a37ae..2e9ea5bc0 100644 --- a/src/versions.rs +++ b/src/versions.rs @@ -1,5 +1,5 @@ pub fn tryorama_version() -> String { - String::from("^0.13.0") + String::from("0.14.0-rc.0") } pub fn holochain_client_version() -> String { From 72820696df211e3d88c3e8ae54d232a99bce9c5d Mon Sep 17 00:00:00 2001 From: = <=> Date: Tue, 23 May 2023 15:44:34 +0200 Subject: [PATCH 30/50] add holochain-0.2 to CI --- .github/workflows/test.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 786869206..3da4ff264 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -3,9 +3,9 @@ on: # Trigger the workflow on push or pull request, # but only for the main branch push: - branches: [ main, develop, holochain-0.1 ] + branches: [ main, develop, holochain-0.1, holochain-0.2 ] pull_request: - branches: [ main, develop, holochain-0.1 ] + branches: [ main, develop, holochain-0.1, holochain-0.2 ] jobs: testbuild: From fecd4668fc6358fa47a3cbbf9bdf50c48555badb Mon Sep 17 00:00:00 2001 From: = <=> Date: Tue, 23 May 2023 15:46:08 +0200 Subject: [PATCH 31/50] add holochain-0.2 to check-lockfile action --- .github/workflows/check-offline.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check-offline.yaml b/.github/workflows/check-offline.yaml index 3fbdb1c6a..7d116b091 100644 --- a/.github/workflows/check-offline.yaml +++ b/.github/workflows/check-offline.yaml @@ -3,9 +3,9 @@ on: # Trigger the workflow on push or pull request, # but only for the main branch push: - branches: [ main, develop, holochain-0.1 ] + branches: [ main, develop, holochain-0.1, holochain-0.2 ] pull_request: - branches: [ main, develop, holochain-0.1 ] + branches: [ main, develop, holochain-0.1, holochain-0.2 ] jobs: check-lockfile: From ea5b855d98d7348d5d850bd00394d8e0dc6ea43a Mon Sep 17 00:00:00 2001 From: = <=> Date: Mon, 17 Jul 2023 11:18:56 -0600 Subject: [PATCH 32/50] Bump to holochain 0.3.0-beta-dev.9 --- Cargo.lock | 495 +++++++++++------- Cargo.toml | 12 +- flake.lock | 6 +- flake.nix | 1 + src/scaffold/app/nix.rs | 3 + src/scaffold/dna/coordinator.rs | 1 + src/scaffold/dna/integrity.rs | 1 + src/versions.rs | 4 +- .../lit/example/ui/src/holochain-app.ts.hbs | 2 +- .../lit/web-app/ui/src/holochain-app.ts.hbs | 2 +- .../svelte/example/ui/src/App.svelte.hbs | 2 +- .../svelte/web-app/ui/src/App.svelte.hbs | 2 +- templates/vanilla/example/ui/index.html.hbs | 2 +- templates/vanilla/web-app/ui/index.html.hbs | 2 +- templates/vue/example/ui/src/App.vue.hbs | 2 +- templates/vue/web-app/ui/src/App.vue.hbs | 2 +- 16 files changed, 325 insertions(+), 214 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index ea5cca8b6..8c77497b2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -45,7 +45,7 @@ version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fcb51a0695d8f838b1ee009b3fbf66bda078cd64590202a864a8f3e8c4315c47" dependencies = [ - "getrandom", + "getrandom 0.2.9", "once_cell", "version_check", ] @@ -57,7 +57,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2c99f64d1e06488f620f932677e24bc6e2897582980441ae90a671415bd7ec2f" dependencies = [ "cfg-if 1.0.0", - "getrandom", + "getrandom 0.2.9", "once_cell", "version_check", ] @@ -275,7 +275,7 @@ dependencies = [ "polling", "rustix", "slab", - "socket2", + "socket2 0.4.9", "waker-fn", ] @@ -502,6 +502,12 @@ version = "1.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" +[[package]] +name = "bitflags" +version = "2.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "630be753d4e58660abd17930c71b647fe46c27ea6b63cc59e1e3851406972e42" + [[package]] name = "blake2b_simd" version = "0.5.11" @@ -564,7 +570,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8129c0ab340c1b0caf6dbc587e814d04ba811e336dcf8fc268c04e047428ebb0" dependencies = [ "bit-vec", - "getrandom", + "getrandom 0.2.9", "siphasher", ] @@ -750,7 +756,7 @@ checksum = "a0610544180c38b88101fecf2dd634b174a62eef6946f84dfc6a7127512b381c" dependencies = [ "ansi_term", "atty", - "bitflags", + "bitflags 1.3.2", "strsim 0.8.0", "textwrap 0.11.0", "unicode-width", @@ -764,7 +770,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "71655c45cb9845d3270c9d6df84ebe72b4dad3c2ba3f7023ad47c144e4e473a5" dependencies = [ "atty", - "bitflags", + "bitflags 1.3.2", "clap_derive 3.2.18", "clap_lex 0.2.4", "indexmap", @@ -793,7 +799,7 @@ checksum = "84080e799e54cff944f4b4a4b0e71630b0e0443b25b985175c7dddc1a859b749" dependencies = [ "anstream", "anstyle", - "bitflags", + "bitflags 1.3.2", "clap_lex 0.4.1", "strsim 0.10.0", "terminal_size", @@ -845,7 +851,7 @@ version = "0.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ddfc5b9aa5d4507acaf872de71051dfd0e309860e88966e1051e462a077aac4f" dependencies = [ - "bitflags", + "bitflags 1.3.2", ] [[package]] @@ -911,15 +917,17 @@ checksum = "13418e745008f7349ec7e449155f419a61b92b58a99cc3616942b926825ec76b" [[package]] name = "contrafact" -version = "0.1.0-dev.1" +version = "0.2.0-rc.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6231a9c847846745ffad14917538e99182408b3987e89a11d86a37677dbb3c01" +checksum = "65bfae7a2ef93841d7e9e5ef69e387b26e70f7b156434b6b95714006cc00e1f9" dependencies = [ - "anyhow", "arbitrary", "derive_more", + "either", "itertools 0.10.5", "num", + "once_cell", + "rand 0.7.3", "tracing", ] @@ -1749,9 +1757,9 @@ dependencies = [ [[package]] name = "fixt" -version = "0.2.0-beta-rc.0" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c82e720f809f69c9c3329cfc6b7c212196f0c2b6c8d1668d5a3ca6ee604fc82" +checksum = "9ce0c5ad1ad54b1f4eecacf6b3982f482a8406460f8c5c0784e007c357f0924f" dependencies = [ "holochain_serialized_bytes", "lazy_static", @@ -1840,7 +1848,7 @@ version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2e9763c69ebaae630ba35f74888db465e49e259ba1bc0eda7d06f4a067615d82" dependencies = [ - "bitflags", + "bitflags 1.3.2", "fuchsia-zircon-sys", ] @@ -2035,6 +2043,17 @@ dependencies = [ "libc", ] +[[package]] +name = "getrandom" +version = "0.1.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8fc3cb4d91f53b50155bdcfd23f6a4c39ae1969c2ae85982b135750cccaf5fce" +dependencies = [ + "cfg-if 1.0.0", + "libc", + "wasi 0.9.0+wasi-snapshot-preview1", +] + [[package]] name = "getrandom" version = "0.2.9" @@ -2048,15 +2067,16 @@ dependencies = [ [[package]] name = "ghost_actor" -version = "0.3.0-alpha.5" +version = "0.3.0-alpha.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b0f758b0048e5f55f4d927932a32eb4ab8a850c4b9a7951b259ba6c8792d5c38" +checksum = "8a34addaffa7d2c80637807444f171c646cad7549fcdac8019544034678f76d5" dependencies = [ "futures 0.3.28", "mockall", "must_future", "paste", "thiserror", + "tokio 1.27.0", "tracing", "tracing-futures", ] @@ -2209,6 +2229,15 @@ dependencies = [ "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.3", +] + [[package]] name = "hashlink" version = "0.8.1" @@ -2220,9 +2249,9 @@ dependencies = [ [[package]] name = "hc_seed_bundle" -version = "0.1.5" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6bfd1584a885bb064bd877e78a43465261c5bd369c001e7095ab5b00cb57b3c5" +checksum = "63bba5629a49d90007bb81a27a9ba8f9c597a82246d44e73126130617f11c52b" dependencies = [ "futures 0.3.28", "one_err", @@ -2235,9 +2264,9 @@ dependencies = [ [[package]] name = "hdi" -version = "0.3.0-beta-rc.4" +version = "0.4.0-beta-dev.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8533b6fdd0e33f34846fac69b231fb0908b3d67ff09fa28be709b08f592d2bbe" +checksum = "c6e0352aefff46fa9e1b9172fd5326b4cc75bc1346712100fde8e87143d1ab09" dependencies = [ "hdk_derive", "holo_hash", @@ -2252,11 +2281,11 @@ dependencies = [ [[package]] name = "hdk" -version = "0.2.0-beta-rc.5" +version = "0.3.0-beta-dev.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ef12c14920790e7dbe7d10c2010b88c2838c113b2fe3f2b17388a0309f8e237" +checksum = "ad6aa4fcf47e9bb0904d353d48f596152c903c8d35925466f8266de90d15296b" dependencies = [ - "getrandom", + "getrandom 0.2.9", "hdi", "hdk_derive", "holo_hash", @@ -2272,9 +2301,9 @@ dependencies = [ [[package]] name = "hdk_derive" -version = "0.2.0-beta-rc.4" +version = "0.3.0-beta-dev.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7a40da52b7fa195f618728686538b8bf0573efd1e6bd2f70abf0b880447e87f" +checksum = "32bad9b4735c59bc1b3b70ce7fe1270e1051afc0e8d0186d8c195550717e58ad" dependencies = [ "darling 0.14.4", "heck 0.4.1", @@ -2293,7 +2322,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f3e372db8e5c0d213e0cd0b9be18be2aca3d44cf2fe30a9d46a65581cd454584" dependencies = [ "base64 0.13.1", - "bitflags", + "bitflags 1.3.2", "bytes 1.4.0", "headers-core", "http 0.2.9", @@ -2358,9 +2387,9 @@ checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" [[package]] name = "holo_hash" -version = "0.2.0-beta-rc.4" +version = "0.3.0-beta-dev.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "348a44e5d76ad10ffb1ecf25581baf55b39731bd79f5ed45b9d4db097321aa60" +checksum = "8f77366144e6ff54b1ecfd95fb528c470c5ba3d86cb1d4d7c5553f2b5677124c" dependencies = [ "arbitrary", "base64 0.13.1", @@ -2369,6 +2398,7 @@ dependencies = [ "fixt", "futures 0.3.28", "holochain_serialized_bytes", + "holochain_wasmer_common", "kitsune_p2p_dht_arc", "must_future", "rand 0.8.5", @@ -2380,11 +2410,12 @@ dependencies = [ [[package]] name = "holochain" -version = "0.2.0-beta-rc.6" +version = "0.3.0-beta-dev.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "374c74b9d92d8c00bb090843661ff09f64103799f381e879f70503933aa6521d" +checksum = "acf0abe1f83fb55e76d9050dd875b0e959d3bdec4c39daf0f8148e6301c3e16d" dependencies = [ "anyhow", + "arbitrary", "async-recursion", "async-trait", "base64 0.13.1", @@ -2392,14 +2423,15 @@ dependencies = [ "cfg-if 0.1.10", "chrono", "derive_more", + "diff", "directories", "either", "fallible-iterator", "fixt", "futures 0.3.28", "get_if_addrs", - "getrandom", - "ghost_actor 0.3.0-alpha.5", + "getrandom 0.2.9", + "ghost_actor 0.3.0-alpha.6", "hdk", "holo_hash", "holochain_cascade", @@ -2470,9 +2502,9 @@ dependencies = [ [[package]] name = "holochain_cascade" -version = "0.2.0-beta-rc.6" +version = "0.3.0-beta-dev.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b3770afe66cdcc95b469191dd3fd59e29b6d52a3c3d164f82ac388ce4934274d" +checksum = "e3076928043aa242825fa605a3fc2012fd1613e0ea2ef36689bb49b51dd06d05" dependencies = [ "async-trait", "derive_more", @@ -2480,7 +2512,7 @@ dependencies = [ "fallible-iterator", "fixt", "futures 0.3.28", - "ghost_actor 0.3.0-alpha.5", + "ghost_actor 0.3.0-alpha.6", "hdk", "hdk_derive", "holo_hash", @@ -2503,9 +2535,9 @@ dependencies = [ [[package]] name = "holochain_conductor_api" -version = "0.2.0-beta-rc.6" +version = "0.3.0-beta-dev.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b966af279183c00ae8a6e88462953d720bed3574f60690fe0ffb66210880e31" +checksum = "39253f86cb0202d5b915fe6b045a8b9fe31c891766619b61f33e1b4cad8cfe78" dependencies = [ "derive_more", "directories", @@ -2528,26 +2560,29 @@ dependencies = [ [[package]] name = "holochain_integrity_types" -version = "0.2.0-beta-rc.4" +version = "0.3.0-beta-dev.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c5fd8255f4d6cc77d75287eea080bec65c85eca55741e54f18819808bf895e7b" +checksum = "56dec8f48078b5c348d6cdefcea9922d587c1c672b7c10ff0cb5fa72353809b7" dependencies = [ "arbitrary", + "derive_builder", "holo_hash", "holochain_serialized_bytes", + "kitsune_p2p_dht", "kitsune_p2p_timestamp", "paste", "serde", "serde_bytes", "subtle", + "subtle-encoding", "tracing", ] [[package]] name = "holochain_keystore" -version = "0.2.0-beta-rc.5" +version = "0.3.0-beta-dev.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "047d050dd3b23445c0cce9dfe94ab72cde83fd49943e5cd45a1287c2a82f271f" +checksum = "2f135ca7507c1021e27be053c94ac936fcc32b2a4811a7926878b0829ca413b8" dependencies = [ "base64 0.13.1", "futures 0.3.28", @@ -2570,15 +2605,15 @@ dependencies = [ [[package]] name = "holochain_p2p" -version = "0.2.0-beta-rc.6" +version = "0.3.0-beta-dev.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c07f96a1bada1a51ec680b479d31633e8a26ba6400d2ae366e33fe548125ea67" +checksum = "7d502c94a4cc5e46a32ecc1a3ad66a9c3ff37533da0299c0382e0d579fa8c679" dependencies = [ "async-trait", "derive_more", "fixt", "futures 0.3.28", - "ghost_actor 0.3.0-alpha.5", + "ghost_actor 0.3.0-alpha.6", "holo_hash", "holochain_keystore", "holochain_serialized_bytes", @@ -2634,8 +2669,6 @@ dependencies = [ "thiserror", "tokio 1.27.0", "toml 0.5.11", - "tx5", - "tx5-signal-srv", ] [[package]] @@ -2666,9 +2699,9 @@ dependencies = [ [[package]] name = "holochain_sqlite" -version = "0.2.0-beta-rc.5" +version = "0.3.0-beta-dev.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad83709ac73786fb3ee1b3aa9c37bd1e3c4a7ea708208aeb432ff2c70a124623" +checksum = "707959db94ea094887b2c210d60f077553bbf3c4785d57226fe180bbe2a7de38" dependencies = [ "anyhow", "async-trait", @@ -2682,7 +2715,7 @@ dependencies = [ "fallible-iterator", "fixt", "futures 0.3.28", - "getrandom", + "getrandom 0.2.9", "holo_hash", "holochain_serialized_bytes", "holochain_util", @@ -2698,7 +2731,7 @@ dependencies = [ "parking_lot 0.10.2", "pretty_assertions 0.7.2", "r2d2", - "r2d2_sqlite", + "r2d2_sqlite_neonphog", "rand 0.8.5", "rmp-serde 0.15.5", "rusqlite", @@ -2717,9 +2750,9 @@ dependencies = [ [[package]] name = "holochain_state" -version = "0.2.0-beta-rc.6" +version = "0.3.0-beta-dev.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2778daac4d1351b4728b7659c805e4c6748c0bb8af100881a90185ca33cd7948" +checksum = "fb008c55893be92d4bfbd4e0a0d9e6eb65b2a6b89d4ee6de09f4ab9ba0499ab7" dependencies = [ "async-recursion", "base64 0.13.1", @@ -2732,7 +2765,7 @@ dependencies = [ "either", "fallible-iterator", "futures 0.3.28", - "getrandom", + "getrandom 0.2.9", "holo_hash", "holochain_keystore", "holochain_p2p", @@ -2759,9 +2792,9 @@ dependencies = [ [[package]] name = "holochain_test_wasm_common" -version = "0.2.0-beta-rc.5" +version = "0.3.0-beta-dev.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "afded13dddb292fc348ad4484ebf5f9bcec1318f012365b86885def3f8b7cf45" +checksum = "d432396b246e9da9ea424df53b68e2c05821d58e5ed6932aeb0249885549621c" dependencies = [ "hdk", "serde", @@ -2769,9 +2802,9 @@ dependencies = [ [[package]] name = "holochain_trace" -version = "0.2.0-beta-rc.1" +version = "0.3.0-beta-dev.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34c88f9b428d1165912f63a6c38f7299f954fd15d1c53fb423fdf99cc5d87bd0" +checksum = "79123f87eed68619077d1730d58745bb365f1073de732211149fd88a879a98de" dependencies = [ "chrono", "derive_more", @@ -2787,9 +2820,9 @@ dependencies = [ [[package]] name = "holochain_types" -version = "0.2.0-beta-rc.6" +version = "0.3.0-beta-dev.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab516a9d23c197b3f29b4b079a44eb2937368f33fad753655e89cc21a1f6c39e" +checksum = "818dfe336ba90491b0e614b566269e28fa615a8702cc3edb83263bd32faf057c" dependencies = [ "anyhow", "arbitrary", @@ -2812,6 +2845,7 @@ dependencies = [ "holochain_sqlite", "holochain_trace", "holochain_util", + "holochain_wasmer_host", "holochain_zome_types", "isotest", "itertools 0.10.5", @@ -2838,13 +2872,14 @@ dependencies = [ "thiserror", "tokio 1.27.0", "tracing", + "wasmer-middlewares", ] [[package]] name = "holochain_util" -version = "0.2.0-beta-rc.0" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af58b8c262a81cc0dfb17dec77a636ff03bcdd31a7076f13070a2fd133fdabe4" +checksum = "6adb6c2f8470016da35dba7f1b6d45ce9d2650f102a8913f7dae906001ff78d8" dependencies = [ "backtrace", "cfg-if 0.1.10", @@ -2860,9 +2895,9 @@ dependencies = [ [[package]] name = "holochain_wasm_test_utils" -version = "0.2.0-beta-rc.6" +version = "0.3.0-beta-dev.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4cd87ad65c3669063b1a68cfb3a8eb8ec3f08419e965952244442bff522c7a0" +checksum = "e1435a669baf5b0d620bde9fb4a680f3cf69a6deda6bed2c709eef9bf64059ef" dependencies = [ "holochain_types", "holochain_util", @@ -2874,9 +2909,9 @@ dependencies = [ [[package]] name = "holochain_wasmer_common" -version = "0.0.83" +version = "0.0.84" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce2c50cfaf43ccfaf9c584eae3864dffb3f010f140dad6e52368f0969ce680d7" +checksum = "223daec7ca62d4e36841a99d8799b29cc616f5976ad0e2975e6ca6810de8f14f" dependencies = [ "holochain_serialized_bytes", "serde", @@ -2889,9 +2924,9 @@ dependencies = [ [[package]] name = "holochain_wasmer_guest" -version = "0.0.83" +version = "0.0.84" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f5539ab71791a3f9d0febbd2822ba398ef34e18f55f86eafc4918a776d12d7db" +checksum = "92b2026e44595cb16108464973622577936605582aa22932933a5130ad32ce42" dependencies = [ "holochain_serialized_bytes", "holochain_wasmer_common", @@ -2903,9 +2938,9 @@ dependencies = [ [[package]] name = "holochain_wasmer_host" -version = "0.0.83" +version = "0.0.84" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22765ece4cda73be1bb004f849e8c71b921916fd9fb05bfc7110dfb5b1864cdd" +checksum = "65912ef579fa53ca4ad7713f13379fae53a0d79ef2d91b87670201044eae0d5e" dependencies = [ "bimap", "holochain_serialized_bytes", @@ -2920,9 +2955,9 @@ dependencies = [ [[package]] name = "holochain_websocket" -version = "0.2.0-beta-rc.2" +version = "0.3.0-beta-dev.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5959d1a899dbe385d4ac30735519f70da362a966e0ce7848fe8738dd79c5d909" +checksum = "9be564666d2cc78a7cdbca222eb7b2c5d21692c63d82ae3011069d162f2a385d" dependencies = [ "futures 0.3.28", "ghost_actor 0.4.0-alpha.5", @@ -2945,9 +2980,9 @@ dependencies = [ [[package]] name = "holochain_zome_types" -version = "0.2.0-beta-rc.5" +version = "0.3.0-beta-dev.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "039fd4bc5621f8ca9ff788b0d9defa0411701890d45e026cd3e89106c7c85129" +checksum = "56a1bb8fbc9799fe79730f43d2c3b0a944f68f2487b4b2db2c752d435e0fc6a0" dependencies = [ "arbitrary", "contrafact", @@ -3124,7 +3159,7 @@ dependencies = [ "httpdate", "itoa 1.0.6", "pin-project-lite", - "socket2", + "socket2 0.4.9", "tokio 1.27.0", "tower-service", "tracing", @@ -3477,9 +3512,9 @@ dependencies = [ [[package]] name = "kitsune_p2p" -version = "0.2.0-beta-rc.5" +version = "0.3.0-beta-dev.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95d060975b7aab0d809e0eba90d588221d0430d70244c3b05abce0dbfdb1724e" +checksum = "f153bd1de166ec479a85b5d778754091914d13198f08c618fa8dbe912ce96cc9" dependencies = [ "arbitrary", "arrayref", @@ -3490,7 +3525,7 @@ dependencies = [ "derive_more", "fixt", "futures 0.3.28", - "ghost_actor 0.3.0-alpha.5", + "ghost_actor 0.3.0-alpha.6", "governor", "holochain_trace", "itertools 0.10.5", @@ -3524,9 +3559,9 @@ dependencies = [ [[package]] name = "kitsune_p2p_bin_data" -version = "0.2.0-beta-rc.2" +version = "0.3.0-beta-dev.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d5b07c7ffba37f0eb4c89415438cfb8fc6ec0844027ff6bb5ce1cb79a199a645" +checksum = "aaa50a12a5755c2b9109cbc435a6565fe4b324f149c07848fc3e8655b4b0577c" dependencies = [ "arbitrary", "base64 0.13.1", @@ -3539,9 +3574,9 @@ dependencies = [ [[package]] name = "kitsune_p2p_block" -version = "0.2.0-beta-rc.3" +version = "0.3.0-beta-dev.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ab3bd845cccb2d1a444f52128f59f4369cf575919667b404f3ba25dd0fa0722" +checksum = "e6a757e1dd315d66086fc9f013cb85d9c263eef7569db63ce0990e4ec12d6fd2" dependencies = [ "kitsune_p2p_bin_data", "kitsune_p2p_timestamp", @@ -3551,9 +3586,9 @@ dependencies = [ [[package]] name = "kitsune_p2p_bootstrap" -version = "0.1.0-beta-rc.3" +version = "0.2.0-beta-dev.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8f42b341dd868a6273d3b2ecbfd62b711752eda916b00747bdc199ea96111a4" +checksum = "4154fdcd6a8278e98d6c1e97e6e55218486e38cfb7d06acb9a16900cba6cbb79" dependencies = [ "clap 3.2.23", "futures 0.3.28", @@ -3571,9 +3606,9 @@ dependencies = [ [[package]] name = "kitsune_p2p_dht" -version = "0.2.0-beta-rc.2" +version = "0.3.0-beta-dev.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "71579df8a75bbaf9701c61d18f070e21e0d5e4891b74bb53f12f07e92c671c81" +checksum = "643901283087a01ee85fa3f2a650b2eb1931d7d9916a80d0ce836066b2a37758" dependencies = [ "colored", "derivative", @@ -3595,9 +3630,9 @@ dependencies = [ [[package]] name = "kitsune_p2p_dht_arc" -version = "0.2.0-beta-rc.2" +version = "0.3.0-beta-dev.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd04c2c6417bee91cd4f99bef673fbdecd457c8c204443cd1a542fd69c29fec6" +checksum = "bfbbc1c930888d6aa22099497139f0225e7dcdb90dd3e7fc2cc01dc9e2ba9f0e" dependencies = [ "derive_more", "gcollections", @@ -3609,9 +3644,9 @@ dependencies = [ [[package]] name = "kitsune_p2p_fetch" -version = "0.2.0-beta-rc.4" +version = "0.3.0-beta-dev.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9688cdbfd82d1c2aa5d210e831744c1e58f6fdb23019d164ea5b19ecf0ea0ab9" +checksum = "63e157c009ac8f25e7601c4cdfa32d9c3bdfbdf39ba3f01cccddbb107a158de9" dependencies = [ "derive_more", "futures 0.3.28", @@ -3630,9 +3665,9 @@ dependencies = [ [[package]] name = "kitsune_p2p_mdns" -version = "0.2.0-beta-rc.0" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5987b068f071156f91479e1c0fc6d37b7de18ab86d9ef2fa16ae06b421a169e4" +checksum = "3f27c2e4097c5463ee373260fc095d1c71cf68a7d0ba810a1a6a6a8b59aab83b" dependencies = [ "async-stream", "base64 0.13.1", @@ -3647,9 +3682,9 @@ dependencies = [ [[package]] name = "kitsune_p2p_proxy" -version = "0.2.0-beta-rc.4" +version = "0.3.0-beta-dev.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c267aaeb4ee409b477bf0ed5bc114ea05d7116476f2b794f6b70f433a4bcd161" +checksum = "92d53d654f2d70c4a3242b53c2d855a1823cb49d03f614373d302695c6cfda45" dependencies = [ "base64 0.13.1", "blake2b_simd 0.5.11", @@ -3672,9 +3707,9 @@ dependencies = [ [[package]] name = "kitsune_p2p_timestamp" -version = "0.2.0-beta-rc.1" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f47c85cd7195c37bcfd719f11316e7e98046078865c36b0eda98a50adff57084" +checksum = "be6483b304900c20fa104c50947cc1adf0e277fccdba8e26134d7b49dbdfd2a0" dependencies = [ "arbitrary", "chrono", @@ -3685,9 +3720,9 @@ dependencies = [ [[package]] name = "kitsune_p2p_transport_quic" -version = "0.2.0-beta-rc.4" +version = "0.3.0-beta-dev.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "894d4fea7926aa38b2c5d4c7239f424450c5e52e869e6766ad71c30b6efdb2b3" +checksum = "43e045eb8830403e2e39c9564b7feb147d8b11e7ffed6dec925620acf4e3653e" dependencies = [ "blake2b_simd 1.0.1", "futures 0.3.28", @@ -3705,22 +3740,22 @@ dependencies = [ [[package]] name = "kitsune_p2p_types" -version = "0.2.0-beta-rc.4" +version = "0.3.0-beta-dev.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0abd7ae42f876d82caabe6f65738d8163ef4dd2921283d95bd2119be32a20c36" +checksum = "efadd5c117d784451bcc84410c982bd045965df0d07e1ec9983d2511ca7c6b25" dependencies = [ "arbitrary", "base64 0.13.1", "derive_more", "futures 0.3.28", - "ghost_actor 0.3.0-alpha.5", + "ghost_actor 0.3.0-alpha.6", "holochain_trace", "kitsune_p2p_bin_data", "kitsune_p2p_block", "kitsune_p2p_dht", "kitsune_p2p_dht_arc", "lair_keystore_api", - "lru", + "lru 0.8.1", "mockall", "nanoid 0.3.0", "once_cell", @@ -3732,7 +3767,7 @@ dependencies = [ "serde_bytes", "serde_json", "shrinkwraprs", - "sysinfo", + "sysinfo 0.27.8", "thiserror", "tokio 1.27.0", "tokio-stream", @@ -3752,9 +3787,9 @@ dependencies = [ [[package]] name = "lair_keystore" -version = "0.2.3" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aaa5e8f029253e54888ad85db4d3843904f5814c6c5d14985257f5263dd8e97b" +checksum = "d453c328fa04779277f6f4b8e4a71f2bd20e0f0566cb837e6f800bc58777e4a8" dependencies = [ "lair_keystore_api", "pretty_assertions 1.3.0", @@ -3762,20 +3797,20 @@ dependencies = [ "rusqlite", "sqlformat 0.2.1", "structopt", - "sysinfo", + "sysinfo 0.28.4", "tracing-subscriber", ] [[package]] name = "lair_keystore_api" -version = "0.2.3" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "00cbc9276859e19728b03e65ab8f25903f8e9a70dd3d5e63b19ced26e25dd479" +checksum = "b379baacc103ee1939976fb8f32e6b8ae887a245fbde78bf1ef95e95b3035216" dependencies = [ "base64 0.13.1", "dunce", "hc_seed_bundle", - "lru", + "lru 0.10.1", "nanoid 0.4.0", "once_cell", "parking_lot 0.12.1", @@ -3785,6 +3820,7 @@ dependencies = [ "serde_yaml 0.9.21", "tokio 1.27.0", "toml 0.5.11", + "toml 0.7.3", "tracing", "url 2.3.1", "winapi 0.3.9", @@ -3869,7 +3905,7 @@ dependencies = [ "multimap", "nix", "rand 0.8.5", - "socket2", + "socket2 0.4.9", "thiserror", "tokio 1.27.0", "winapi 0.3.9", @@ -3894,9 +3930,9 @@ dependencies = [ [[package]] name = "libsqlite3-sys" -version = "0.25.2" +version = "0.26.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29f835d03d717946d28b1d1ed632eb6f0e24a299388ee623d0c23118d3e8a7fa" +checksum = "afc22eff61b133b115c6e8c74e818c628d6d5e7a502afea6f64dee076dd94326" dependencies = [ "cc", "pkg-config", @@ -3983,6 +4019,15 @@ dependencies = [ "hashbrown 0.12.3", ] +[[package]] +name = "lru" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "718e8fae447df0c7e1ba7f5189829e63fd536945c8988d61444c19039f16b670" +dependencies = [ + "hashbrown 0.13.2", +] + [[package]] name = "mach" version = "0.3.2" @@ -4207,9 +4252,9 @@ checksum = "7843ec2de400bcbc6a6328c958dc38e5359da6e93e72e37bc5246bf1ae776389" [[package]] name = "mr_bundle" -version = "0.2.0-beta-rc.0" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f16f6e347f401b6ef896f6ab130da4e6b28c09a3b256611c3806c40959db702" +checksum = "e726d84eb94b1e9407908b6181d377c02d3f3ac52be9632427d197b3c6075896" dependencies = [ "arbitrary", "bytes 1.4.0", @@ -4342,7 +4387,7 @@ version = "0.23.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8f3790c00a0150112de0f4cd161e3d7fc4b2d8a5542ffc35f099a2562aecb35c" dependencies = [ - "bitflags", + "bitflags 1.3.2", "cc", "cfg-if 1.0.0", "libc", @@ -4586,7 +4631,7 @@ version = "0.10.52" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "01b8574602df80f7b85fdfc5392fa884a4e3b3f4f35402c070ab34c3d3f78d56" dependencies = [ - "bitflags", + "bitflags 1.3.2", "cfg-if 1.0.0", "foreign-types", "libc", @@ -4960,7 +5005,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4b2d323e8ca7996b3e23126511a523f7e62924d93ecd5ae73b333815b0eb3dce" dependencies = [ "autocfg 1.1.0", - "bitflags", + "bitflags 1.3.2", "cfg-if 1.0.0", "concurrent-queue", "libc", @@ -5219,7 +5264,7 @@ dependencies = [ "futures-util", "libc", "quinn-proto", - "socket2", + "socket2 0.4.9", "tokio 1.27.0", "tracing", ] @@ -5245,10 +5290,10 @@ dependencies = [ ] [[package]] -name = "r2d2_sqlite" -version = "0.21.0" +name = "r2d2_sqlite_neonphog" +version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4f5d0337e99cd5cacd91ffc326c6cc9d8078def459df560c4f9bf9ba4a51034" +checksum = "4d1e95b387a49ce52c5e4994fbe18af7b6cd52510f74c9a243b12abfc207f49c" dependencies = [ "r2d2", "rusqlite", @@ -5277,7 +5322,7 @@ dependencies = [ "libc", "rand_chacha 0.1.1", "rand_core 0.4.2", - "rand_hc", + "rand_hc 0.1.0", "rand_isaac", "rand_jitter", "rand_os", @@ -5286,6 +5331,19 @@ dependencies = [ "winapi 0.3.9", ] +[[package]] +name = "rand" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03" +dependencies = [ + "getrandom 0.1.16", + "libc", + "rand_chacha 0.2.2", + "rand_core 0.5.1", + "rand_hc 0.2.0", +] + [[package]] name = "rand" version = "0.8.5" @@ -5316,6 +5374,16 @@ dependencies = [ "rand_core 0.3.1", ] +[[package]] +name = "rand_chacha" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f4c8ed856279c9737206bf725bf36935d8666ead7aa69b52be55af369d193402" +dependencies = [ + "ppv-lite86", + "rand_core 0.5.1", +] + [[package]] name = "rand_chacha" version = "0.3.1" @@ -5341,13 +5409,22 @@ version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9c33a3c44ca05fa6f1807d8e6743f3824e8509beca625669633be0acbdf509dc" +[[package]] +name = "rand_core" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19" +dependencies = [ + "getrandom 0.1.16", +] + [[package]] name = "rand_core" version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" dependencies = [ - "getrandom", + "getrandom 0.2.9", ] [[package]] @@ -5369,6 +5446,15 @@ dependencies = [ "rand_core 0.3.1", ] +[[package]] +name = "rand_hc" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c" +dependencies = [ + "rand_core 0.5.1", +] + [[package]] name = "rand_isaac" version = "0.1.1" @@ -5496,7 +5582,7 @@ version = "0.2.16" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a" dependencies = [ - "bitflags", + "bitflags 1.3.2", ] [[package]] @@ -5505,7 +5591,7 @@ version = "0.3.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "567664f262709473930a4bf9e51bf2ebf3348f2e748ccc50dea20646858f8f29" dependencies = [ - "bitflags", + "bitflags 1.3.2", ] [[package]] @@ -5514,7 +5600,7 @@ version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b033d837a7cf162d7993aded9304e30a83213c648b6e389db233191f891e5c2b" dependencies = [ - "getrandom", + "getrandom 0.2.9", "redox_syscall 0.2.16", "thiserror", ] @@ -5568,7 +5654,7 @@ version = "3.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "76e189c2369884dce920945e2ddf79b3dff49e071a167dd1817fa9c4c00d512e" dependencies = [ - "bitflags", + "bitflags 1.3.2", "libc", "mach", "winapi 0.3.9", @@ -5787,11 +5873,11 @@ dependencies = [ [[package]] name = "rusqlite" -version = "0.28.0" +version = "0.29.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01e213bc3ecb39ac32e81e51ebe31fd888a940515173e3a18a35f8c6e896422a" +checksum = "549b9d036d571d42e6e85d1c1425e2ac83491075078ca9a15be021c56b1641f2" dependencies = [ - "bitflags", + "bitflags 2.3.3", "fallible-iterator", "fallible-streaming-iterator", "hashlink", @@ -5835,7 +5921,7 @@ version = "0.37.14" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d9b864d3c18a5785a05953adeed93e2dca37ed30f18e69bba9f30079d51f363f" dependencies = [ - "bitflags", + "bitflags 1.3.2", "errno", "io-lifetimes", "libc", @@ -5885,6 +5971,16 @@ dependencies = [ "base64 0.21.0", ] +[[package]] +name = "rustls-webpki" +version = "0.100.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d6207cd5ed3d8dca7816f8f3725513a34609c0c765bf652b8c3cb4cfd87db46b" +dependencies = [ + "ring", + "untrusted", +] + [[package]] name = "rustversion" version = "1.0.12" @@ -5970,7 +6066,7 @@ version = "2.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a332be01508d814fed64bf28f798a146d73792121129962fdf335bb3c49a4254" dependencies = [ - "bitflags", + "bitflags 1.3.2", "core-foundation", "core-foundation-sys", "libc", @@ -6226,7 +6322,7 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e63e6744142336dfb606fe2b068afa2e1cca1ee6a5d8377277a92945d81fa331" dependencies = [ - "bitflags", + "bitflags 1.3.2", "itertools 0.8.2", "proc-macro2", "quote", @@ -6313,11 +6409,21 @@ dependencies = [ "winapi 0.3.9", ] +[[package]] +name = "socket2" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2538b18701741680e0322a2302176d3253a35388e2e62f172f64f4f16605f877" +dependencies = [ + "libc", + "windows-sys 0.48.0", +] + [[package]] name = "sodoken" -version = "0.0.7" +version = "0.0.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c6c18e49cbf5a8b8bae94ce992b4ae019fdcb5872a318348e97de3d1f671776" +checksum = "4ebd7d30290221181652f7a08112f5e7871e3deffde718dfa621025aa0e9c290" dependencies = [ "libc", "libsodium-sys-stable", @@ -6548,6 +6654,21 @@ dependencies = [ "winapi 0.3.9", ] +[[package]] +name = "sysinfo" +version = "0.28.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b4c2f3ca6693feb29a89724516f016488e9aafc7f37264f898593ee4b942f31b" +dependencies = [ + "cfg-if 1.0.0", + "core-foundation-sys", + "libc", + "ntapi", + "once_cell", + "rayon", + "winapi 0.3.9", +] + [[package]] name = "tar" version = "0.4.38" @@ -6835,7 +6956,7 @@ dependencies = [ "parking_lot 0.12.1", "pin-project-lite", "signal-hook-registry", - "socket2", + "socket2 0.4.9", "tokio-macros", "windows-sys 0.45.0", ] @@ -7015,9 +7136,9 @@ dependencies = [ [[package]] name = "tokio-tungstenite" -version = "0.17.2" +version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f714dd15bead90401d77e04243611caec13726c2408afd5b31901dfcdcb3b181" +checksum = "54319c93411147bced34cb5609a80e0a8e44c5999c93903a81cd866630ec0bfd" dependencies = [ "futures-util", "log", @@ -7025,20 +7146,8 @@ dependencies = [ "rustls-native-certs", "tokio 1.27.0", "tokio-rustls", - "tungstenite 0.17.3", - "webpki 0.22.0", -] - -[[package]] -name = "tokio-tungstenite" -version = "0.18.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "54319c93411147bced34cb5609a80e0a8e44c5999c93903a81cd866630ec0bfd" -dependencies = [ - "futures-util", - "log", - "tokio 1.27.0", "tungstenite 0.18.0", + "webpki 0.22.0", ] [[package]] @@ -7245,27 +7354,6 @@ dependencies = [ "utf-8", ] -[[package]] -name = "tungstenite" -version = "0.17.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e27992fd6a8c29ee7eef28fc78349aa244134e10ad447ce3b9f0ac0ed0fa4ce0" -dependencies = [ - "base64 0.13.1", - "byteorder", - "bytes 1.4.0", - "http 0.2.9", - "httparse", - "log", - "rand 0.8.5", - "rustls", - "sha-1 0.10.1", - "thiserror", - "url 2.3.1", - "utf-8", - "webpki 0.22.0", -] - [[package]] name = "tungstenite" version = "0.18.0" @@ -7279,17 +7367,19 @@ dependencies = [ "httparse", "log", "rand 0.8.5", + "rustls", "sha1", "thiserror", "url 2.3.1", "utf-8", + "webpki 0.22.0", ] [[package]] name = "tx5" -version = "0.0.1-alpha.11" +version = "0.0.1-alpha.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c73f036c327aa5ded5d7795be94b43ffc4fec34a70b6859127c166ae4ea9286d" +checksum = "54f5df4bf08ddcfd702f1b6a46f7ba81feaa55c4dc53685d02cb29c3fc1a0f2d" dependencies = [ "bytes 1.4.0", "futures 0.3.28", @@ -7309,23 +7399,27 @@ dependencies = [ [[package]] name = "tx5-core" -version = "0.0.1-alpha.5" +version = "0.0.1-alpha.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ceeeff809f86347164035661f475c0a9bbf4040c4a6755183d0b84c8c6491d25" +checksum = "6de3181cafaf2cd7d1cd60c3367db5daf53a818159afa596f420bc2da1d7243d" dependencies = [ "base64 0.13.1", + "dirs 5.0.0", "once_cell", "rand 0.8.5", "serde", "serde_json", + "sha2", + "tempfile", + "tracing", "url 2.3.1", ] [[package]] name = "tx5-go-pion" -version = "0.0.1-alpha.8" +version = "0.0.1-alpha.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3f4cf8c2763b07e1eac6a60030c0456685142ac85741a761949a7ea275e8591" +checksum = "15d7118da8a1353717e9a42b21d922933097c069e13ef8547c7be07efa8ea8a8" dependencies = [ "parking_lot 0.12.1", "tokio 1.27.0", @@ -7336,14 +7430,13 @@ dependencies = [ [[package]] name = "tx5-go-pion-sys" -version = "0.0.1-alpha.10" +version = "0.0.1-alpha.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8967286bdd9d20c56b2f32d8f48db754cf7b6e7eca2de4cf880a45dcca70091d" +checksum = "b249cfddf59d1a7593017785f9b73cb396145166c0a3fd1bc39214757a416d7a" dependencies = [ "Inflector", "base64 0.13.1", "dirs 5.0.0", - "dunce", "libc", "libloading 0.8.0", "once_cell", @@ -7356,9 +7449,9 @@ dependencies = [ [[package]] name = "tx5-go-pion-turn" -version = "0.0.1-alpha.5" +version = "0.0.1-alpha.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "71db717f9fe2e83925a4489f0a3f542546a8797e225f23afd125799214c44a8f" +checksum = "925f258966cedc265cb2e1ba5a19be3007b562b203068d0c33967458695a680a" dependencies = [ "base64 0.13.1", "dirs 5.0.0", @@ -7374,9 +7467,9 @@ dependencies = [ [[package]] name = "tx5-signal" -version = "0.0.1-alpha.5" +version = "0.0.1-alpha.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "864e07dcea8bbefff8074ca920e8dcc3bb414f9b71f8f06e0e227010b89af75f" +checksum = "7e26fee2c1c3e227c8bae711545c7536d17a508af0a5e317296cce18afaff5b7" dependencies = [ "futures 0.3.28", "lair_keystore_api", @@ -7384,32 +7477,33 @@ dependencies = [ "parking_lot 0.12.1", "rand 0.8.5", "rand-utf8", - "rcgen 0.9.3", + "rcgen 0.10.0", "ring", "rustls", "rustls-native-certs", "rustls-pemfile 1.0.2", "serde_json", "sha2", - "socket2", + "socket2 0.5.3", "tokio 1.27.0", "tokio-rustls", - "tokio-tungstenite 0.17.2", + "tokio-tungstenite 0.18.0", "tracing", "tx5-core", "url 2.3.1", + "webpki-roots 0.23.1", ] [[package]] name = "tx5-signal-srv" -version = "0.0.1-alpha.5" +version = "0.0.1-alpha.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3c93ec8a0c5ea84e09c3068db716584959c925428a25972cdae200a6e60e3e6" +checksum = "8359558d90ae7c4b2ff885619fcd75186cccdb62f575252c95c0c06484ce7de0" dependencies = [ "clap 4.2.4", - "dirs 4.0.0", + "dirs 5.0.0", "futures 0.3.28", - "get_if_addrs", + "if-addrs 0.10.1", "once_cell", "prometheus", "rand 0.8.5", @@ -7528,7 +7622,7 @@ dependencies = [ "rustls", "url 2.3.1", "webpki 0.22.0", - "webpki-roots", + "webpki-roots 0.22.6", ] [[package]] @@ -7602,7 +7696,7 @@ version = "1.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5b55a3fef2a1e3b3a00ce878640918820d3c51081576ac657d23af9fc7928fdb" dependencies = [ - "getrandom", + "getrandom 0.2.9", ] [[package]] @@ -7716,6 +7810,12 @@ dependencies = [ "tracing", ] +[[package]] +name = "wasi" +version = "0.9.0+wasi-snapshot-preview1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519" + [[package]] name = "wasi" version = "0.10.0+wasi-snapshot-preview1" @@ -8112,6 +8212,15 @@ dependencies = [ "webpki 0.22.0", ] +[[package]] +name = "webpki-roots" +version = "0.23.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b03058f88386e5ff5310d9111d53f48b17d732b401aeb83a8d5190f2ac459338" +dependencies = [ + "rustls-webpki", +] + [[package]] name = "which" version = "4.4.0" diff --git a/Cargo.toml b/Cargo.toml index 0ab47fbb2..34334a4b9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,14 +18,10 @@ name = "holochain_scaffolding_cli" path = "src/lib.rs" [dependencies] -holochain = "0.2.0-beta-rc.6" -holochain_types = "0.2.0-beta-rc.6" -holochain_util = { features = ["backtrace"], version = "0.2.0-beta-rc.0" } -mr_bundle = "0.2.0-beta-rc.0" - -# TODO: We should be able to remove these tx dependencies once they've been moved into holochain itself -tx5 = "=0.0.1-alpha.11" -tx5-signal-srv = "=0.0.1-alpha.5" +holochain = { features=["test_utils"], version = "0.3.0-beta-dev.9"} +holochain_types = "0.3.0-beta-dev.8" +holochain_util = { features = ["backtrace"], version = "0.2.0" } +mr_bundle = "0.2.0" dirs = "4.0.0" ignore = "0.4" diff --git a/flake.lock b/flake.lock index 1b59d93fc..68795b63c 100644 --- a/flake.lock +++ b/flake.lock @@ -175,11 +175,11 @@ "holochain": { "flake": false, "locked": { - "lastModified": 1682615969, - "narHash": "sha256-jnlWB6FHITXa6JzaBzHcyaAQimWDVOGySjDayHDjvJs=", + "lastModified": 1689122921, + "narHash": "sha256-svp33+JS3EFftd3Pw1pVgedRt0K7Okof6NSLRp2nXJY=", "owner": "holochain", "repo": "holochain", - "rev": "efe64a7f5dfbddc257945bf368db81c7b68de1bd", + "rev": "738e3c1db87a5af11d7f86c63f3e142d04629495", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index 0435a0200..47cf7f277 100644 --- a/flake.nix +++ b/flake.nix @@ -4,6 +4,7 @@ inputs = { nixpkgs.follows = "holochain-flake/nixpkgs"; versions.url = "github:holochain/holochain?dir=versions/0_2"; + versions.inputs.holochain.url = "github:holochain/holochain/holochain-0.3.0-beta-dev.9"; holochain-flake = { url = "github:holochain/holochain"; diff --git a/src/scaffold/app/nix.rs b/src/scaffold/app/nix.rs index c77d052a9..9cf680721 100644 --- a/src/scaffold/app/nix.rs +++ b/src/scaffold/app/nix.rs @@ -17,6 +17,9 @@ pub fn flake_nix() -> FileTree { inputs = {{ holochain-nix-versions.url = "github:holochain/holochain?dir=versions/{holochain_nix_version}"; + # TODO: next line is temporary. Only necessary for pinning this specific version of 0.3.x + holochain-nix-versions.inputs.holochain.url = "github:holochain/holochain/holochain-0.3.0-beta-dev.9"; + holochain-flake = {{ url = "github:holochain/holochain"; inputs.versions.follows = "holochain-nix-versions"; diff --git a/src/scaffold/dna/coordinator.rs b/src/scaffold/dna/coordinator.rs index 4b3c322ca..c2a3ce3a7 100644 --- a/src/scaffold/dna/coordinator.rs +++ b/src/scaffold/dna/coordinator.rs @@ -24,6 +24,7 @@ pub fn new_coordinator_zome_manifest( .map(|d| ZomeDependency { name: d.into() }) .collect() }), + dylib: None }; Ok(zome_manifest) diff --git a/src/scaffold/dna/integrity.rs b/src/scaffold/dna/integrity.rs index 56ead30af..2f80dae8f 100644 --- a/src/scaffold/dna/integrity.rs +++ b/src/scaffold/dna/integrity.rs @@ -14,6 +14,7 @@ pub fn new_integrity_zome_manifest( hash: None, location, dependencies: None, + dylib: None }; Ok(zome_manifest) diff --git a/src/versions.rs b/src/versions.rs index c4ef15372..8fdfaccd5 100644 --- a/src/versions.rs +++ b/src/versions.rs @@ -1,9 +1,9 @@ pub fn tryorama_version() -> String { - String::from("^0.11.0") + String::from("^0.15.0-rc.1") } pub fn holochain_client_version() -> String { - String::from("^0.12.2") + String::from("^0.15.0") } pub fn hdi_version() -> String { diff --git a/templates/lit/example/ui/src/holochain-app.ts.hbs b/templates/lit/example/ui/src/holochain-app.ts.hbs index c903d8880..4f5537624 100644 --- a/templates/lit/example/ui/src/holochain-app.ts.hbs +++ b/templates/lit/example/ui/src/holochain-app.ts.hbs @@ -21,7 +21,7 @@ export class HolochainApp extends LitElement { client!: AppAgentClient; async firstUpdated() { - this.client = await AppAgentWebsocket.connect(``, 'forum'); + this.client = await AppAgentWebsocket.connect(new Url(``), 'forum'); this.loading = false; } diff --git a/templates/lit/web-app/ui/src/holochain-app.ts.hbs b/templates/lit/web-app/ui/src/holochain-app.ts.hbs index 56e82128e..e1b8724d5 100644 --- a/templates/lit/web-app/ui/src/holochain-app.ts.hbs +++ b/templates/lit/web-app/ui/src/holochain-app.ts.hbs @@ -20,7 +20,7 @@ export class HolochainApp extends LitElement { async firstUpdated() { // We pass '' as url because it will dynamically be replaced in launcher environments - this.client = await AppAgentWebsocket.connect('', '{{app_name}}'); + this.client = await AppAgentWebsocket.connect(new Url(''), '{{app_name}}'); this.loading = false; } diff --git a/templates/svelte/example/ui/src/App.svelte.hbs b/templates/svelte/example/ui/src/App.svelte.hbs index 01854a8ef..32d83e812 100644 --- a/templates/svelte/example/ui/src/App.svelte.hbs +++ b/templates/svelte/example/ui/src/App.svelte.hbs @@ -15,7 +15,7 @@ onMount(async () => { // We pass '' as url because it will dynamically be replaced in launcher environments - client = await AppAgentWebsocket.connect('', 'forum'); + client = await AppAgentWebsocket.connect(new Url(''), 'forum'); loading = false; }); diff --git a/templates/svelte/web-app/ui/src/App.svelte.hbs b/templates/svelte/web-app/ui/src/App.svelte.hbs index 54d5328e4..006a257cc 100644 --- a/templates/svelte/web-app/ui/src/App.svelte.hbs +++ b/templates/svelte/web-app/ui/src/App.svelte.hbs @@ -13,7 +13,7 @@ onMount(async () => { // We pass '' as url because it will dynamically be replaced in launcher environments - client = await AppAgentWebsocket.connect('', '{{app_name}}'); + client = await AppAgentWebsocket.connect(new Url(''), '{{app_name}}'); loading = false; }); diff --git a/templates/vanilla/example/ui/index.html.hbs b/templates/vanilla/example/ui/index.html.hbs index 97d5c0ae1..17d9509b8 100644 --- a/templates/vanilla/example/ui/index.html.hbs +++ b/templates/vanilla/example/ui/index.html.hbs @@ -29,7 +29,7 @@ async function connect() { // We pass '' as url because it will dynamically be replaced in launcher environments - const client = await AppAgentWebsocket.connect('', 'hello-world'); + const client = await AppAgentWebsocket.connect(new Url(''), 'hello-world'); const result = await client.callZome({ cap_secret: null, diff --git a/templates/vanilla/web-app/ui/index.html.hbs b/templates/vanilla/web-app/ui/index.html.hbs index 9bbc1f001..2ff937a3f 100644 --- a/templates/vanilla/web-app/ui/index.html.hbs +++ b/templates/vanilla/web-app/ui/index.html.hbs @@ -29,7 +29,7 @@ async function connect() { // We pass '' as url because it will dynamically be replaced in launcher environments - const appAgentWebsocket = await AppAgentWebsocket.connect('', '{{app_name}}'); + const appAgentWebsocket = await AppAgentWebsocket.connect(new Url(''), '{{app_name}}'); alert("Connected to holochain!"); } diff --git a/templates/vue/example/ui/src/App.vue.hbs b/templates/vue/example/ui/src/App.vue.hbs index f09a27e37..c279bc744 100644 --- a/templates/vue/example/ui/src/App.vue.hbs +++ b/templates/vue/example/ui/src/App.vue.hbs @@ -41,7 +41,7 @@ export default defineComponent({ }, async mounted() { // We pass '' as url because it will dynamically be replaced in launcher environments - this.client = await AppAgentWebsocket.connect('', 'forum'); + this.client = await AppAgentWebsocket.connect(new Url(''), 'forum'); this.loading = false; }, diff --git a/templates/vue/web-app/ui/src/App.vue.hbs b/templates/vue/web-app/ui/src/App.vue.hbs index a3b8908b7..085922e3f 100644 --- a/templates/vue/web-app/ui/src/App.vue.hbs +++ b/templates/vue/web-app/ui/src/App.vue.hbs @@ -56,7 +56,7 @@ export default defineComponent({ }, async mounted() { // We pass '' as url because it will dynamically be replaced in launcher environments - this.client = await AppAgentWebsocket.connect('', '{{app_name}}'); + this.client = await AppAgentWebsocket.connect(new Url(''), '{{app_name}}'); this.loading = false; }, From 92ecae3855cc5887859bd9a7233aae9b9e5e535f Mon Sep 17 00:00:00 2001 From: = <=> Date: Mon, 17 Jul 2023 12:25:56 -0600 Subject: [PATCH 33/50] Fix URLs in AppAgentWebsocket.connect --- Cargo.lock | 100 ++++++++++-------- .../lit/example/ui/src/holochain-app.ts.hbs | 2 +- .../lit/web-app/ui/src/holochain-app.ts.hbs | 4 +- .../svelte/example/ui/src/App.svelte.hbs | 4 +- .../svelte/web-app/ui/src/App.svelte.hbs | 4 +- templates/vanilla/example/ui/index.html.hbs | 4 +- templates/vanilla/web-app/ui/index.html.hbs | 4 +- templates/vue/example/ui/src/App.vue.hbs | 4 +- templates/vue/web-app/ui/src/App.vue.hbs | 4 +- 9 files changed, 71 insertions(+), 59 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b5f66511b..7ba4c0205 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -508,6 +508,18 @@ version = "2.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "630be753d4e58660abd17930c71b647fe46c27ea6b63cc59e1e3851406972e42" +[[package]] +name = "bitvec" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1bc2832c24239b0141d5674bb9174f9d68a8b5b3f2753311927c172ca46f7e9c" +dependencies = [ + "funty", + "radium", + "tap", + "wyz", +] + [[package]] name = "blake2b_simd" version = "0.5.11" @@ -771,7 +783,7 @@ checksum = "4ea181bf566f71cb9a5d17a59e1871af638180a18fb0035c92ae62b705207123" dependencies = [ "atty", "bitflags 1.3.2", - "clap_derive 3.2.18", + "clap_derive 3.2.25", "clap_lex 0.2.4", "indexmap", "once_cell", @@ -800,8 +812,9 @@ dependencies = [ "anstream", "anstyle", "bitflags 1.3.2", - "clap_lex 0.4.1", + "clap_lex 0.5.0", "strsim 0.10.0", + "terminal_size", ] [[package]] @@ -853,16 +866,6 @@ dependencies = [ "bitflags 1.3.2", ] -[[package]] -name = "codespan-reporting" -version = "0.11.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3538270d33cc669650c4b093848450d380def10c331d38c768e34cac80576e6e" -dependencies = [ - "termcolor", - "unicode-width", -] - [[package]] name = "colorchoice" version = "1.0.0" @@ -2072,7 +2075,7 @@ dependencies = [ "must_future", "paste", "thiserror", - "tokio 1.27.0", + "tokio 1.28.1", "tracing", "tracing-futures", ] @@ -2234,15 +2237,6 @@ dependencies = [ "ahash 0.8.3", ] -[[package]] -name = "hashlink" -version = "0.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e" -dependencies = [ - "ahash 0.8.3", -] - [[package]] name = "hashlink" version = "0.8.2" @@ -2495,6 +2489,8 @@ dependencies = [ "tracing", "tracing-futures", "tracing-subscriber", + "tx5-go-pion-turn", + "tx5-signal-srv", "unwrap_to", "url 1.7.2", "url2", @@ -3163,7 +3159,7 @@ dependencies = [ "itoa 1.0.6", "pin-project-lite", "socket2 0.4.9", - "tokio 1.27.0", + "tokio 1.28.1", "tower-service", "tracing", "want 0.3.0", @@ -3276,6 +3272,16 @@ dependencies = [ "windows-sys 0.42.0", ] +[[package]] +name = "if-addrs" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2cfc4a06638d2fd0dda83b01126fefd38ef9f04f54d2fc717a938df68b83a68d" +dependencies = [ + "libc", + "windows-sys 0.45.0", +] + [[package]] name = "if_chain" version = "1.0.2" @@ -3812,7 +3818,7 @@ dependencies = [ "serde_yaml 0.9.21", "tokio 1.28.1", "toml 0.5.11", - "toml 0.7.3", + "toml 0.7.4", "tracing", "url 2.3.1", "winapi 0.3.9", @@ -5268,7 +5274,7 @@ dependencies = [ "libc", "quinn-proto", "socket2 0.4.9", - "tokio 1.27.0", + "tokio 1.28.1", "tracing", ] @@ -5993,16 +5999,6 @@ dependencies = [ "untrusted", ] -[[package]] -name = "rustls-webpki" -version = "0.100.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d6207cd5ed3d8dca7816f8f3725513a34609c0c765bf652b8c3cb4cfd87db46b" -dependencies = [ - "ring", - "untrusted", -] - [[package]] name = "rustversion" version = "1.0.12" @@ -6691,6 +6687,12 @@ dependencies = [ "winapi 0.3.9", ] +[[package]] +name = "tap" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" + [[package]] name = "tar" version = "0.4.38" @@ -6748,6 +6750,16 @@ dependencies = [ "winapi-util", ] +[[package]] +name = "terminal_size" +version = "0.2.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e6bf6f19e9f8ed8d4048dc22981458ebcf406d67e94cd422e5ecd73d63b3237" +dependencies = [ + "rustix", + "windows-sys 0.48.0", +] + [[package]] name = "termtree" version = "0.4.1" @@ -7156,7 +7168,7 @@ dependencies = [ "log", "rustls", "rustls-native-certs", - "tokio 1.27.0", + "tokio 1.28.1", "tokio-rustls", "tungstenite 0.18.0", "webpki 0.22.0", @@ -7416,7 +7428,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6de3181cafaf2cd7d1cd60c3367db5daf53a818159afa596f420bc2da1d7243d" dependencies = [ "base64 0.13.1", - "dirs 5.0.0", + "dirs 5.0.1", "once_cell", "rand 0.8.5", "serde", @@ -7448,7 +7460,7 @@ checksum = "b249cfddf59d1a7593017785f9b73cb396145166c0a3fd1bc39214757a416d7a" dependencies = [ "Inflector", "base64 0.13.1", - "dirs 5.0.0", + "dirs 5.0.1", "libc", "libloading 0.8.0", "once_cell", @@ -7466,12 +7478,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "925f258966cedc265cb2e1ba5a19be3007b562b203068d0c33967458695a680a" dependencies = [ "base64 0.13.1", - "dirs 5.0.0", + "dirs 5.0.1", "dunce", "if-addrs 0.10.1", "once_cell", "sha2", - "tokio 1.27.0", + "tokio 1.28.1", "tracing", "tx5-core", "zip", @@ -7497,7 +7509,7 @@ dependencies = [ "serde_json", "sha2", "socket2 0.5.3", - "tokio 1.27.0", + "tokio 1.28.1", "tokio-rustls", "tokio-tungstenite 0.18.0", "tracing", @@ -7512,15 +7524,15 @@ version = "0.0.1-alpha.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8359558d90ae7c4b2ff885619fcd75186cccdb62f575252c95c0c06484ce7de0" dependencies = [ - "clap 4.2.4", - "dirs 5.0.0", + "clap 4.3.0", + "dirs 5.0.1", "futures 0.3.28", "if-addrs 0.10.1", "once_cell", "prometheus", "rand 0.8.5", "sodoken", - "tokio 1.27.0", + "tokio 1.28.1", "tracing", "tracing-subscriber", "tx5-core", diff --git a/templates/lit/example/ui/src/holochain-app.ts.hbs b/templates/lit/example/ui/src/holochain-app.ts.hbs index 4f5537624..7b0ee04a7 100644 --- a/templates/lit/example/ui/src/holochain-app.ts.hbs +++ b/templates/lit/example/ui/src/holochain-app.ts.hbs @@ -21,7 +21,7 @@ export class HolochainApp extends LitElement { client!: AppAgentClient; async firstUpdated() { - this.client = await AppAgentWebsocket.connect(new Url(``), 'forum'); + this.client = await AppAgentWebsocket.connect(new URL(``), 'forum'); this.loading = false; } diff --git a/templates/lit/web-app/ui/src/holochain-app.ts.hbs b/templates/lit/web-app/ui/src/holochain-app.ts.hbs index e1b8724d5..09562134f 100644 --- a/templates/lit/web-app/ui/src/holochain-app.ts.hbs +++ b/templates/lit/web-app/ui/src/holochain-app.ts.hbs @@ -19,8 +19,8 @@ export class HolochainApp extends LitElement { client!: AppAgentClient; async firstUpdated() { - // We pass '' as url because it will dynamically be replaced in launcher environments - this.client = await AppAgentWebsocket.connect(new Url(''), '{{app_name}}'); + // We pass an unused string as the url because it will dynamically be replaced in launcher environments + this.client = await AppAgentWebsocket.connect(new URL('https://UNUSED'), '{{app_name}}'); this.loading = false; } diff --git a/templates/svelte/example/ui/src/App.svelte.hbs b/templates/svelte/example/ui/src/App.svelte.hbs index 32d83e812..6a1da70cf 100644 --- a/templates/svelte/example/ui/src/App.svelte.hbs +++ b/templates/svelte/example/ui/src/App.svelte.hbs @@ -14,8 +14,8 @@ $: client, loading; onMount(async () => { - // We pass '' as url because it will dynamically be replaced in launcher environments - client = await AppAgentWebsocket.connect(new Url(''), 'forum'); + // We pass an unused string as the url because it will dynamically be replaced in launcher environments + client = await AppAgentWebsocket.connect(new URL('https://UNUSED'), 'forum'); loading = false; }); diff --git a/templates/svelte/web-app/ui/src/App.svelte.hbs b/templates/svelte/web-app/ui/src/App.svelte.hbs index 006a257cc..9329f866c 100644 --- a/templates/svelte/web-app/ui/src/App.svelte.hbs +++ b/templates/svelte/web-app/ui/src/App.svelte.hbs @@ -12,8 +12,8 @@ $: client, loading; onMount(async () => { - // We pass '' as url because it will dynamically be replaced in launcher environments - client = await AppAgentWebsocket.connect(new Url(''), '{{app_name}}'); + // We pass an unused string as the url because it will dynamically be replaced in launcher environments + client = await AppAgentWebsocket.connect(new URL('https://UNUSED'), '{{app_name}}'); loading = false; }); diff --git a/templates/vanilla/example/ui/index.html.hbs b/templates/vanilla/example/ui/index.html.hbs index 17d9509b8..db52a680f 100644 --- a/templates/vanilla/example/ui/index.html.hbs +++ b/templates/vanilla/example/ui/index.html.hbs @@ -28,8 +28,8 @@ import { AppWebsocket, AppAgentWebsocket } from '@holochain/client'; async function connect() { - // We pass '' as url because it will dynamically be replaced in launcher environments - const client = await AppAgentWebsocket.connect(new Url(''), 'hello-world'); + // We pass an unused string as the url because it will dynamically be replaced in launcher environments + const client = await AppAgentWebsocket.connect(new URL('https://UNUSED'), 'hello-world'); const result = await client.callZome({ cap_secret: null, diff --git a/templates/vanilla/web-app/ui/index.html.hbs b/templates/vanilla/web-app/ui/index.html.hbs index 2ff937a3f..2258bd94b 100644 --- a/templates/vanilla/web-app/ui/index.html.hbs +++ b/templates/vanilla/web-app/ui/index.html.hbs @@ -28,8 +28,8 @@ import { AppWebsocket, AppAgentWebsocket } from '@holochain/client'; async function connect() { - // We pass '' as url because it will dynamically be replaced in launcher environments - const appAgentWebsocket = await AppAgentWebsocket.connect(new Url(''), '{{app_name}}'); + // We pass an unused string as the url because it will dynamically be replaced in launcher environments + const appAgentWebsocket = await AppAgentWebsocket.connect(new URL('https://UNUSED'), '{{app_name}}'); alert("Connected to holochain!"); } diff --git a/templates/vue/example/ui/src/App.vue.hbs b/templates/vue/example/ui/src/App.vue.hbs index c279bc744..20d2e15e8 100644 --- a/templates/vue/example/ui/src/App.vue.hbs +++ b/templates/vue/example/ui/src/App.vue.hbs @@ -40,8 +40,8 @@ export default defineComponent({ }; }, async mounted() { - // We pass '' as url because it will dynamically be replaced in launcher environments - this.client = await AppAgentWebsocket.connect(new Url(''), 'forum'); + // We pass an unused string as the url because it will dynamically be replaced in launcher environments + this.client = await AppAgentWebsocket.connect(new URL('https://UNUSED'), 'forum'); this.loading = false; }, diff --git a/templates/vue/web-app/ui/src/App.vue.hbs b/templates/vue/web-app/ui/src/App.vue.hbs index 085922e3f..d689663ac 100644 --- a/templates/vue/web-app/ui/src/App.vue.hbs +++ b/templates/vue/web-app/ui/src/App.vue.hbs @@ -55,8 +55,8 @@ export default defineComponent({ }; }, async mounted() { - // We pass '' as url because it will dynamically be replaced in launcher environments - this.client = await AppAgentWebsocket.connect(new Url(''), '{{app_name}}'); + // We pass an unused string as the url because it will dynamically be replaced in launcher environments + this.client = await AppAgentWebsocket.connect(new URL('https://UNUSED'), '{{app_name}}'); this.loading = false; }, From 39201f70e7010f8bea6f48cce8b90631e1322d20 Mon Sep 17 00:00:00 2001 From: = <=> Date: Mon, 24 Jul 2023 13:01:04 -0600 Subject: [PATCH 34/50] Fix flake and update flake.lock --- flake.lock | 893 +++++++++++++++++++++++++++++++++++++++++++++++++++++ flake.nix | 5 +- 2 files changed, 895 insertions(+), 3 deletions(-) create mode 100644 flake.lock diff --git a/flake.lock b/flake.lock new file mode 100644 index 000000000..75b008082 --- /dev/null +++ b/flake.lock @@ -0,0 +1,893 @@ +{ + "nodes": { + "cargo-chef": { + "flake": false, + "locked": { + "lastModified": 1672901199, + "narHash": "sha256-MHTuR4aQ1rQaBKx1vWDy2wbvcT0ZAzpkVB2zylSC+k0=", + "owner": "LukeMathWalker", + "repo": "cargo-chef", + "rev": "5c9f11578a2e0783cce27666737d50f84510b8b5", + "type": "github" + }, + "original": { + "owner": "LukeMathWalker", + "ref": "main", + "repo": "cargo-chef", + "type": "github" + } + }, + "cargo-chef_2": { + "flake": false, + "locked": { + "lastModified": 1672901199, + "narHash": "sha256-MHTuR4aQ1rQaBKx1vWDy2wbvcT0ZAzpkVB2zylSC+k0=", + "owner": "LukeMathWalker", + "repo": "cargo-chef", + "rev": "5c9f11578a2e0783cce27666737d50f84510b8b5", + "type": "github" + }, + "original": { + "owner": "LukeMathWalker", + "ref": "main", + "repo": "cargo-chef", + "type": "github" + } + }, + "cargo-rdme": { + "flake": false, + "locked": { + "lastModified": 1675118998, + "narHash": "sha256-lrYWqu3h88fr8gG3Yo5GbFGYaq5/1Os7UtM+Af0Bg4k=", + "owner": "orium", + "repo": "cargo-rdme", + "rev": "f9dbb6bccc078f4869f45ae270a2890ac9a75877", + "type": "github" + }, + "original": { + "owner": "orium", + "ref": "v1.1.0", + "repo": "cargo-rdme", + "type": "github" + } + }, + "cargo-rdme_2": { + "flake": false, + "locked": { + "lastModified": 1675118998, + "narHash": "sha256-lrYWqu3h88fr8gG3Yo5GbFGYaq5/1Os7UtM+Af0Bg4k=", + "owner": "orium", + "repo": "cargo-rdme", + "rev": "f9dbb6bccc078f4869f45ae270a2890ac9a75877", + "type": "github" + }, + "original": { + "owner": "orium", + "ref": "v1.1.0", + "repo": "cargo-rdme", + "type": "github" + } + }, + "crane": { + "inputs": { + "flake-compat": "flake-compat", + "flake-utils": "flake-utils", + "nixpkgs": [ + "holochain-flake", + "nixpkgs" + ], + "rust-overlay": "rust-overlay" + }, + "locked": { + "lastModified": 1675475924, + "narHash": "sha256-KWdfV9a6+zG6Ij/7PZYLnomjBZZUu8gdRy+hfjGrrJQ=", + "owner": "ipetkov", + "repo": "crane", + "rev": "1bde9c762ebf26de9f8ecf502357c92105bc4577", + "type": "github" + }, + "original": { + "owner": "ipetkov", + "repo": "crane", + "type": "github" + } + }, + "crane_2": { + "inputs": { + "flake-compat": "flake-compat_3", + "flake-utils": "flake-utils_2", + "nixpkgs": [ + "holochain-flake", + "holochain", + "nixpkgs" + ], + "rust-overlay": "rust-overlay_2" + }, + "locked": { + "lastModified": 1675475924, + "narHash": "sha256-KWdfV9a6+zG6Ij/7PZYLnomjBZZUu8gdRy+hfjGrrJQ=", + "owner": "ipetkov", + "repo": "crane", + "rev": "1bde9c762ebf26de9f8ecf502357c92105bc4577", + "type": "github" + }, + "original": { + "owner": "ipetkov", + "repo": "crane", + "type": "github" + } + }, + "crate2nix": { + "flake": false, + "locked": { + "lastModified": 1675642992, + "narHash": "sha256-uDBDZuiq7qyg82Udp82/r4zg5HKfIzBQqgl2U9THiQM=", + "owner": "kolloch", + "repo": "crate2nix", + "rev": "45fc83132c8c91c77a1cd61fe0c945411d1edba8", + "type": "github" + }, + "original": { + "owner": "kolloch", + "repo": "crate2nix", + "type": "github" + } + }, + "crate2nix_2": { + "flake": false, + "locked": { + "lastModified": 1675642992, + "narHash": "sha256-uDBDZuiq7qyg82Udp82/r4zg5HKfIzBQqgl2U9THiQM=", + "owner": "kolloch", + "repo": "crate2nix", + "rev": "45fc83132c8c91c77a1cd61fe0c945411d1edba8", + "type": "github" + }, + "original": { + "owner": "kolloch", + "repo": "crate2nix", + "type": "github" + } + }, + "empty": { + "flake": false, + "locked": { + "lastModified": 1683792623, + "narHash": "sha256-pQpattmS9VmO3ZIQUFn66az8GSmB4IvYhTTCFn6SUmo=", + "owner": "steveej", + "repo": "empty", + "rev": "8e328e450e4cd32e072eba9e99fe92cf2a1ef5cf", + "type": "github" + }, + "original": { + "owner": "steveej", + "repo": "empty", + "type": "github" + } + }, + "empty_2": { + "flake": false, + "locked": { + "lastModified": 1683792623, + "narHash": "sha256-pQpattmS9VmO3ZIQUFn66az8GSmB4IvYhTTCFn6SUmo=", + "owner": "steveej", + "repo": "empty", + "rev": "8e328e450e4cd32e072eba9e99fe92cf2a1ef5cf", + "type": "github" + }, + "original": { + "owner": "steveej", + "repo": "empty", + "type": "github" + } + }, + "flake-compat": { + "flake": false, + "locked": { + "lastModified": 1673956053, + "narHash": "sha256-4gtG9iQuiKITOjNQQeQIpoIB6b16fm+504Ch3sNKLd8=", + "owner": "edolstra", + "repo": "flake-compat", + "rev": "35bb57c0c8d8b62bbfd284272c928ceb64ddbde9", + "type": "github" + }, + "original": { + "owner": "edolstra", + "repo": "flake-compat", + "type": "github" + } + }, + "flake-compat_2": { + "flake": false, + "locked": { + "lastModified": 1673956053, + "narHash": "sha256-4gtG9iQuiKITOjNQQeQIpoIB6b16fm+504Ch3sNKLd8=", + "owner": "edolstra", + "repo": "flake-compat", + "rev": "35bb57c0c8d8b62bbfd284272c928ceb64ddbde9", + "type": "github" + }, + "original": { + "owner": "edolstra", + "repo": "flake-compat", + "type": "github" + } + }, + "flake-compat_3": { + "flake": false, + "locked": { + "lastModified": 1673956053, + "narHash": "sha256-4gtG9iQuiKITOjNQQeQIpoIB6b16fm+504Ch3sNKLd8=", + "owner": "edolstra", + "repo": "flake-compat", + "rev": "35bb57c0c8d8b62bbfd284272c928ceb64ddbde9", + "type": "github" + }, + "original": { + "owner": "edolstra", + "repo": "flake-compat", + "type": "github" + } + }, + "flake-compat_4": { + "flake": false, + "locked": { + "lastModified": 1673956053, + "narHash": "sha256-4gtG9iQuiKITOjNQQeQIpoIB6b16fm+504Ch3sNKLd8=", + "owner": "edolstra", + "repo": "flake-compat", + "rev": "35bb57c0c8d8b62bbfd284272c928ceb64ddbde9", + "type": "github" + }, + "original": { + "owner": "edolstra", + "repo": "flake-compat", + "type": "github" + } + }, + "flake-parts": { + "inputs": { + "nixpkgs-lib": "nixpkgs-lib" + }, + "locked": { + "lastModified": 1675295133, + "narHash": "sha256-dU8fuLL98WFXG0VnRgM00bqKX6CEPBLybhiIDIgO45o=", + "owner": "hercules-ci", + "repo": "flake-parts", + "rev": "bf53492df08f3178ce85e0c9df8ed8d03c030c9f", + "type": "github" + }, + "original": { + "id": "flake-parts", + "type": "indirect" + } + }, + "flake-parts_2": { + "inputs": { + "nixpkgs-lib": "nixpkgs-lib_2" + }, + "locked": { + "lastModified": 1675295133, + "narHash": "sha256-dU8fuLL98WFXG0VnRgM00bqKX6CEPBLybhiIDIgO45o=", + "owner": "hercules-ci", + "repo": "flake-parts", + "rev": "bf53492df08f3178ce85e0c9df8ed8d03c030c9f", + "type": "github" + }, + "original": { + "id": "flake-parts", + "type": "indirect" + } + }, + "flake-utils": { + "locked": { + "lastModified": 1667395993, + "narHash": "sha256-nuEHfE/LcWyuSWnS8t12N1wc105Qtau+/OdUAjtQ0rA=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "5aed5285a952e0b949eb3ba02c12fa4fcfef535f", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, + "flake-utils_2": { + "locked": { + "lastModified": 1667395993, + "narHash": "sha256-nuEHfE/LcWyuSWnS8t12N1wc105Qtau+/OdUAjtQ0rA=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "5aed5285a952e0b949eb3ba02c12fa4fcfef535f", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, + "flake-utils_3": { + "inputs": { + "systems": "systems" + }, + "locked": { + "lastModified": 1681202837, + "narHash": "sha256-H+Rh19JDwRtpVPAWp64F+rlEtxUWBAQW28eAi3SRSzg=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "cfacdce06f30d2b68473a46042957675eebb3401", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, + "flake-utils_4": { + "inputs": { + "systems": "systems_2" + }, + "locked": { + "lastModified": 1681202837, + "narHash": "sha256-H+Rh19JDwRtpVPAWp64F+rlEtxUWBAQW28eAi3SRSzg=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "cfacdce06f30d2b68473a46042957675eebb3401", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, + "holochain": { + "inputs": { + "cargo-chef": "cargo-chef_2", + "cargo-rdme": "cargo-rdme_2", + "crane": "crane_2", + "crate2nix": "crate2nix_2", + "empty": "empty_2", + "flake-compat": "flake-compat_4", + "flake-parts": "flake-parts_2", + "holochain": [ + "holochain-flake", + "holochain", + "empty" + ], + "lair": [ + "holochain-flake", + "holochain", + "empty" + ], + "launcher": [ + "holochain-flake", + "holochain", + "empty" + ], + "nix-filter": "nix-filter", + "nixpkgs": "nixpkgs", + "pre-commit-hooks-nix": "pre-commit-hooks-nix", + "rust-overlay": "rust-overlay_3", + "scaffolding": [ + "holochain-flake", + "holochain", + "empty" + ], + "versions": "versions" + }, + "locked": { + "lastModified": 1689122921, + "narHash": "sha256-svp33+JS3EFftd3Pw1pVgedRt0K7Okof6NSLRp2nXJY=", + "owner": "holochain", + "repo": "holochain", + "rev": "738e3c1db87a5af11d7f86c63f3e142d04629495", + "type": "github" + }, + "original": { + "owner": "holochain", + "ref": "holochain-0.3.0-beta-dev.9", + "repo": "holochain", + "type": "github" + } + }, + "holochain-flake": { + "inputs": { + "cargo-chef": "cargo-chef", + "cargo-rdme": "cargo-rdme", + "crane": "crane", + "crate2nix": "crate2nix", + "empty": "empty", + "flake-compat": "flake-compat_2", + "flake-parts": "flake-parts", + "holochain": "holochain", + "lair": [ + "holochain-flake", + "empty" + ], + "launcher": [ + "holochain-flake", + "empty" + ], + "nix-filter": "nix-filter_2", + "nixpkgs": "nixpkgs_2", + "pre-commit-hooks-nix": "pre-commit-hooks-nix_2", + "rust-overlay": "rust-overlay_4", + "scaffolding": [ + "holochain-flake", + "empty" + ], + "versions": [ + "versions" + ] + }, + "locked": { + "lastModified": 1690179718, + "narHash": "sha256-xOd5Tivn2+faUEO8NlhXEq2AVoWjKqKG+jKNoCEri6k=", + "owner": "holochain", + "repo": "holochain", + "rev": "e38537e545d663788f69a62547e3087065cb310a", + "type": "github" + }, + "original": { + "owner": "holochain", + "repo": "holochain", + "type": "github" + } + }, + "holochain_2": { + "flake": false, + "locked": { + "lastModified": 1686257124, + "narHash": "sha256-SvXGHOr96ob/NfQCeVJ2J4LWc83qkZn+/pnE9qVNB+I=", + "owner": "holochain", + "repo": "holochain", + "rev": "db5b8b27da3bf296958c3bf54ac3950dc60a39c8", + "type": "github" + }, + "original": { + "owner": "holochain", + "ref": "holochain-0.1.5", + "repo": "holochain", + "type": "github" + } + }, + "holochain_3": { + "flake": false, + "locked": { + "lastModified": 1689700874, + "narHash": "sha256-mmWMY2vxzQqUsUCOcxy7/dJJWvDrFRHED6do1YQuQtM=", + "owner": "holochain", + "repo": "holochain", + "rev": "265a80c3b7993447412e9e6a63291e55ad08f403", + "type": "github" + }, + "original": { + "owner": "holochain", + "ref": "holochain-0.2.1-beta-rc.0", + "repo": "holochain", + "type": "github" + } + }, + "lair": { + "flake": false, + "locked": { + "lastModified": 1682356264, + "narHash": "sha256-5ZYJ1gyyL3hLR8hCjcN5yremg8cSV6w1iKCOrpJvCmc=", + "owner": "holochain", + "repo": "lair", + "rev": "43be404da0fd9d57bf4429c44def405bd6490f61", + "type": "github" + }, + "original": { + "owner": "holochain", + "ref": "lair_keystore-v0.2.4", + "repo": "lair", + "type": "github" + } + }, + "lair_2": { + "flake": false, + "locked": { + "lastModified": 1682356264, + "narHash": "sha256-5ZYJ1gyyL3hLR8hCjcN5yremg8cSV6w1iKCOrpJvCmc=", + "owner": "holochain", + "repo": "lair", + "rev": "43be404da0fd9d57bf4429c44def405bd6490f61", + "type": "github" + }, + "original": { + "owner": "holochain", + "ref": "lair_keystore-v0.2.4", + "repo": "lair", + "type": "github" + } + }, + "launcher": { + "flake": false, + "locked": { + "lastModified": 1677270906, + "narHash": "sha256-/xT//6nqhjpKLMMv41JE0W3H5sE9jKMr8Dedr88D4N8=", + "owner": "holochain", + "repo": "launcher", + "rev": "1ad188a43900c139e52df10a21e3722f41dfb967", + "type": "github" + }, + "original": { + "owner": "holochain", + "ref": "holochain-0.1", + "repo": "launcher", + "type": "github" + } + }, + "launcher_2": { + "flake": false, + "locked": { + "lastModified": 1684183666, + "narHash": "sha256-rOE/W/BBYyZKOyypKb8X9Vpc4ty1TNRoI/fV5+01JPw=", + "owner": "holochain", + "repo": "launcher", + "rev": "75ecdd0aa191ed830cc209a984a6030e656042ff", + "type": "github" + }, + "original": { + "owner": "holochain", + "ref": "holochain-0.2", + "repo": "launcher", + "type": "github" + } + }, + "nix-filter": { + "locked": { + "lastModified": 1675361037, + "narHash": "sha256-CTbDuDxFD3U3g/dWUB+r+B/snIe+qqP1R+1myuFGe2I=", + "owner": "numtide", + "repo": "nix-filter", + "rev": "e1b2f96c2a31415f362268bc48c3fccf47dff6eb", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "nix-filter", + "type": "github" + } + }, + "nix-filter_2": { + "locked": { + "lastModified": 1675361037, + "narHash": "sha256-CTbDuDxFD3U3g/dWUB+r+B/snIe+qqP1R+1myuFGe2I=", + "owner": "numtide", + "repo": "nix-filter", + "rev": "e1b2f96c2a31415f362268bc48c3fccf47dff6eb", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "nix-filter", + "type": "github" + } + }, + "nixpkgs": { + "locked": { + "lastModified": 1686869522, + "narHash": "sha256-tbJ9B8WLCTnVP/LwESRlg0dII6Zyg2LmUU/mB9Lu98E=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "7c67f006ea0e7d0265f16d7df07cc076fdffd91f", + "type": "github" + }, + "original": { + "id": "nixpkgs", + "ref": "nixos-unstable", + "type": "indirect" + } + }, + "nixpkgs-lib": { + "locked": { + "dir": "lib", + "lastModified": 1675183161, + "narHash": "sha256-Zq8sNgAxDckpn7tJo7V1afRSk2eoVbu3OjI1QklGLNg=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "e1e1b192c1a5aab2960bf0a0bd53a2e8124fa18e", + "type": "github" + }, + "original": { + "dir": "lib", + "owner": "NixOS", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs-lib_2": { + "locked": { + "dir": "lib", + "lastModified": 1675183161, + "narHash": "sha256-Zq8sNgAxDckpn7tJo7V1afRSk2eoVbu3OjI1QklGLNg=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "e1e1b192c1a5aab2960bf0a0bd53a2e8124fa18e", + "type": "github" + }, + "original": { + "dir": "lib", + "owner": "NixOS", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_2": { + "locked": { + "lastModified": 1686869522, + "narHash": "sha256-tbJ9B8WLCTnVP/LwESRlg0dII6Zyg2LmUU/mB9Lu98E=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "7c67f006ea0e7d0265f16d7df07cc076fdffd91f", + "type": "github" + }, + "original": { + "id": "nixpkgs", + "ref": "nixos-unstable", + "type": "indirect" + } + }, + "pre-commit-hooks-nix": { + "flake": false, + "locked": { + "lastModified": 1676513100, + "narHash": "sha256-MK39nQV86L2ag4TmcK5/+r1ULpzRLPbbfvWbPvIoYJE=", + "owner": "cachix", + "repo": "pre-commit-hooks.nix", + "rev": "5f0cba88ac4d6dd8cad5c6f6f1540b3d6a21a798", + "type": "github" + }, + "original": { + "owner": "cachix", + "repo": "pre-commit-hooks.nix", + "type": "github" + } + }, + "pre-commit-hooks-nix_2": { + "flake": false, + "locked": { + "lastModified": 1676513100, + "narHash": "sha256-MK39nQV86L2ag4TmcK5/+r1ULpzRLPbbfvWbPvIoYJE=", + "owner": "cachix", + "repo": "pre-commit-hooks.nix", + "rev": "5f0cba88ac4d6dd8cad5c6f6f1540b3d6a21a798", + "type": "github" + }, + "original": { + "owner": "cachix", + "repo": "pre-commit-hooks.nix", + "type": "github" + } + }, + "root": { + "inputs": { + "holochain-flake": "holochain-flake", + "nixpkgs": [ + "holochain-flake", + "nixpkgs" + ], + "versions": "versions_2" + } + }, + "rust-overlay": { + "inputs": { + "flake-utils": [ + "holochain-flake", + "crane", + "flake-utils" + ], + "nixpkgs": [ + "holochain-flake", + "crane", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1675391458, + "narHash": "sha256-ukDKZw922BnK5ohL9LhwtaDAdCsJL7L6ScNEyF1lO9w=", + "owner": "oxalica", + "repo": "rust-overlay", + "rev": "383a4acfd11d778d5c2efcf28376cbd845eeaedf", + "type": "github" + }, + "original": { + "owner": "oxalica", + "repo": "rust-overlay", + "type": "github" + } + }, + "rust-overlay_2": { + "inputs": { + "flake-utils": [ + "holochain-flake", + "holochain", + "crane", + "flake-utils" + ], + "nixpkgs": [ + "holochain-flake", + "holochain", + "crane", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1675391458, + "narHash": "sha256-ukDKZw922BnK5ohL9LhwtaDAdCsJL7L6ScNEyF1lO9w=", + "owner": "oxalica", + "repo": "rust-overlay", + "rev": "383a4acfd11d778d5c2efcf28376cbd845eeaedf", + "type": "github" + }, + "original": { + "owner": "oxalica", + "repo": "rust-overlay", + "type": "github" + } + }, + "rust-overlay_3": { + "inputs": { + "flake-utils": "flake-utils_3", + "nixpkgs": [ + "holochain-flake", + "holochain", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1689042658, + "narHash": "sha256-p7cQAFNt5kX19sZvK74CmY0nTrtujpZg6sZUiV1ntAk=", + "owner": "oxalica", + "repo": "rust-overlay", + "rev": "d7181bb2237035df17cab9295c95f987f5c527e6", + "type": "github" + }, + "original": { + "owner": "oxalica", + "repo": "rust-overlay", + "type": "github" + } + }, + "rust-overlay_4": { + "inputs": { + "flake-utils": "flake-utils_4", + "nixpkgs": [ + "holochain-flake", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1690165277, + "narHash": "sha256-P3X8iSAu12z+UFxquuntZnR8sXjKwgYHf0wTzgO8I7M=", + "owner": "oxalica", + "repo": "rust-overlay", + "rev": "317c523c09218f27f1da1ec0d06bbd2cbc0c1939", + "type": "github" + }, + "original": { + "owner": "oxalica", + "repo": "rust-overlay", + "type": "github" + } + }, + "scaffolding": { + "flake": false, + "locked": { + "lastModified": 1686617155, + "narHash": "sha256-ZeWnh27JNb/abu/ii8e3u4DHns49MOFMNXGPGFPqS0k=", + "owner": "holochain", + "repo": "scaffolding", + "rev": "861397c975542306be6d8529e5c6bdb21c7ba6a6", + "type": "github" + }, + "original": { + "owner": "holochain", + "ref": "holochain-0.1", + "repo": "scaffolding", + "type": "github" + } + }, + "scaffolding_2": { + "flake": false, + "locked": { + "lastModified": 1683890859, + "narHash": "sha256-/nG2TGU4Q7zy0KGS/opcW1836LZ7FJhA+/OEh5gNj34=", + "owner": "holochain", + "repo": "scaffolding", + "rev": "1ca1092ad5d147bd23a75444874830cc033aa9cf", + "type": "github" + }, + "original": { + "owner": "holochain", + "ref": "holochain-0.2", + "repo": "scaffolding", + "type": "github" + } + }, + "systems": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } + }, + "systems_2": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } + }, + "versions": { + "inputs": { + "holochain": "holochain_2", + "lair": "lair", + "launcher": "launcher", + "scaffolding": "scaffolding" + }, + "locked": { + "lastModified": 1686618210, + "narHash": "sha256-lXY9ob0WAekcoEgWcFL3cJiPkwoKlsR2OMqG0S3vXzA=", + "path": "./versions/0_1", + "type": "path" + }, + "original": { + "dir": "versions/0_1", + "owner": "holochain", + "repo": "holochain", + "type": "github" + } + }, + "versions_2": { + "inputs": { + "holochain": "holochain_3", + "lair": "lair_2", + "launcher": "launcher_2", + "scaffolding": "scaffolding_2" + }, + "locked": { + "dir": "versions/0_2", + "lastModified": 1690179718, + "narHash": "sha256-xOd5Tivn2+faUEO8NlhXEq2AVoWjKqKG+jKNoCEri6k=", + "owner": "holochain", + "repo": "holochain", + "rev": "e38537e545d663788f69a62547e3087065cb310a", + "type": "github" + }, + "original": { + "dir": "versions/0_2", + "owner": "holochain", + "repo": "holochain", + "type": "github" + } + } + }, + "root": "root", + "version": 7 +} diff --git a/flake.nix b/flake.nix index 721c5a47b..bc07cb5e5 100644 --- a/flake.nix +++ b/flake.nix @@ -1,15 +1,14 @@ { description = "Template for Holochain app development"; - inputs = { +inputs = { nixpkgs.follows = "holochain-flake/nixpkgs"; versions.url = "github:holochain/holochain?dir=versions/0_2"; - versions.inputs.holochain.url = "github:holochain/holochain/holochain-0.3.0-beta-dev.9"; holochain-flake = { url = "github:holochain/holochain"; inputs.versions.follows = "versions"; - inputs.holochain.url = "github:holochain/holochain/holochain-0.2.1-beta-dev.0"; + inputs.holochain.url = "github:holochain/holochain/holochain-0.3.0-beta-dev.9"; }; }; From 6001b8ee9401a359dce19d00e7a528c7ea67ac23 Mon Sep 17 00:00:00 2001 From: = <=> Date: Mon, 24 Jul 2023 19:30:01 -0600 Subject: [PATCH 35/50] Update nix.rs inputs --- src/scaffold/app/nix.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/scaffold/app/nix.rs b/src/scaffold/app/nix.rs index 3467f5b20..d4293c541 100644 --- a/src/scaffold/app/nix.rs +++ b/src/scaffold/app/nix.rs @@ -17,13 +17,11 @@ pub fn flake_nix() -> FileTree { inputs = {{ holochain-nix-versions.url = "github:holochain/holochain?dir=versions/{holochain_nix_version}"; - # TODO: next line is temporary. Only necessary for pinning this specific version of 0.3.x - holochain-nix-versions.inputs.holochain.url = "github:holochain/holochain/holochain-0.3.0-beta-dev.9"; holochain-flake = {{ url = "github:holochain/holochain"; inputs.versions.follows = "holochain-nix-versions"; - inputs.holochain.url = "github:holochain/holochain/holochain-0.2.1-beta-dev.0"; + inputs.holochain.url = "github:holochain/holochain/holochain-0.3.0-beta-dev.9"; }}; nixpkgs.follows = "holochain-flake/nixpkgs"; From e46e92d443f51a3e9abba29d15b35ae69c52fb8f Mon Sep 17 00:00:00 2001 From: = <=> Date: Tue, 25 Jul 2023 14:45:53 -0600 Subject: [PATCH 36/50] bump to holochain 0.2.1 --- Cargo.lock | 187 +++++++-------- Cargo.toml | 8 +- flake.lock | 489 ++-------------------------------------- flake.nix | 1 - src/scaffold/app/nix.rs | 1 - 5 files changed, 124 insertions(+), 562 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 7ba4c0205..f7199a509 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1750,9 +1750,9 @@ dependencies = [ [[package]] name = "fixt" -version = "0.2.0" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ce0c5ad1ad54b1f4eecacf6b3982f482a8406460f8c5c0784e007c357f0924f" +checksum = "7639bc73b1f77c02a3346d265af7f76a66d4954686eb1112ea32955ca76a018a" dependencies = [ "holochain_serialized_bytes", "lazy_static", @@ -1816,11 +1816,11 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "form_urlencoded" -version = "1.1.0" +version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9c384f161156f5260c24a097c56119f9be8c798586aecc13afbcbe7b7e26bf8" +checksum = "a62bc1cf6f830c2ec14a513a9fb124d0a213a629668a4186f329db21fe045652" dependencies = [ - "percent-encoding 2.2.0", + "percent-encoding 2.3.0", ] [[package]] @@ -2263,9 +2263,9 @@ dependencies = [ [[package]] name = "hdi" -version = "0.4.0-beta-dev.5" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c6e0352aefff46fa9e1b9172fd5326b4cc75bc1346712100fde8e87143d1ab09" +checksum = "6115e6d52f5da0fe55ec9608ff93e5e61211a66a3628f97e0cbbfd4131787cf6" dependencies = [ "hdk_derive", "holo_hash", @@ -2280,9 +2280,9 @@ dependencies = [ [[package]] name = "hdk" -version = "0.3.0-beta-dev.8" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad6aa4fcf47e9bb0904d353d48f596152c903c8d35925466f8266de90d15296b" +checksum = "8f5690ef906744725fcd16ae3d13b0e2ba22f046f4a9be2dc21ec2e4b3cf049a" dependencies = [ "getrandom 0.2.9", "hdi", @@ -2300,9 +2300,9 @@ dependencies = [ [[package]] name = "hdk_derive" -version = "0.3.0-beta-dev.5" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32bad9b4735c59bc1b3b70ce7fe1270e1051afc0e8d0186d8c195550717e58ad" +checksum = "d220ca3a6c5992600052e025f0c3f2342d6a4cf7fe52687135acda9128a62eae" dependencies = [ "darling 0.14.4", "heck 0.4.1", @@ -2386,9 +2386,9 @@ checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" [[package]] name = "holo_hash" -version = "0.3.0-beta-dev.4" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f77366144e6ff54b1ecfd95fb528c470c5ba3d86cb1d4d7c5553f2b5677124c" +checksum = "a39f740985893adf2be5ad75987456ed2ce2f1d6d53cdf534e4fbe96ebae0940" dependencies = [ "arbitrary", "base64 0.13.1", @@ -2409,9 +2409,9 @@ dependencies = [ [[package]] name = "holochain" -version = "0.3.0-beta-dev.9" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "acf0abe1f83fb55e76d9050dd875b0e959d3bdec4c39daf0f8148e6301c3e16d" +checksum = "6717d0444096739dcf2dbbbe1cdb5fea57a8539c269e8d86e63782a53d55a789" dependencies = [ "anyhow", "arbitrary", @@ -2421,6 +2421,7 @@ dependencies = [ "byteorder", "cfg-if 0.1.10", "chrono", + "contrafact", "derive_more", "diff", "directories", @@ -2492,7 +2493,7 @@ dependencies = [ "tx5-go-pion-turn", "tx5-signal-srv", "unwrap_to", - "url 1.7.2", + "url 2.4.0", "url2", "url_serde", "uuid 0.7.4", @@ -2501,9 +2502,9 @@ dependencies = [ [[package]] name = "holochain_cascade" -version = "0.3.0-beta-dev.9" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3076928043aa242825fa605a3fc2012fd1613e0ea2ef36689bb49b51dd06d05" +checksum = "759af44ee481c3fb87aa01d6e03e49a3e4566d1e12bf3c84836ab0045638ec16" dependencies = [ "async-trait", "derive_more", @@ -2534,9 +2535,9 @@ dependencies = [ [[package]] name = "holochain_conductor_api" -version = "0.3.0-beta-dev.9" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "39253f86cb0202d5b915fe6b045a8b9fe31c891766619b61f33e1b4cad8cfe78" +checksum = "3a282296cd73598921ca2c7a2da57557d0a3c7edf641d12f9064f7afb2bc546d" dependencies = [ "derive_more", "directories", @@ -2559,9 +2560,9 @@ dependencies = [ [[package]] name = "holochain_integrity_types" -version = "0.3.0-beta-dev.5" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56dec8f48078b5c348d6cdefcea9922d587c1c672b7c10ff0cb5fa72353809b7" +checksum = "f92876d5a2fa142858efe38fe4f6b9f25ae1be9441bf90cb516ed613df77f50d" dependencies = [ "arbitrary", "derive_builder", @@ -2579,9 +2580,9 @@ dependencies = [ [[package]] name = "holochain_keystore" -version = "0.3.0-beta-dev.7" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f135ca7507c1021e27be053c94ac936fcc32b2a4811a7926878b0829ca413b8" +checksum = "a627253bdbf969eabf070f3cf204f732ac54fc25010f88ae53fd090d455b5f1a" dependencies = [ "base64 0.13.1", "futures 0.3.28", @@ -2604,9 +2605,9 @@ dependencies = [ [[package]] name = "holochain_p2p" -version = "0.3.0-beta-dev.8" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d502c94a4cc5e46a32ecc1a3ad66a9c3ff37533da0299c0382e0d579fa8c679" +checksum = "7bb3f82cb2665cf3c2a37734bdcc21b369024813dc97878a2cdaf03282fe5c2c" dependencies = [ "async-trait", "derive_more", @@ -2698,9 +2699,9 @@ dependencies = [ [[package]] name = "holochain_sqlite" -version = "0.3.0-beta-dev.8" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "707959db94ea094887b2c210d60f077553bbf3c4785d57226fe180bbe2a7de38" +checksum = "05e18584b515f7a7124c8336837a6b56712cbd8443220983e2fa1088ba961921" dependencies = [ "anyhow", "async-trait", @@ -2749,9 +2750,9 @@ dependencies = [ [[package]] name = "holochain_state" -version = "0.3.0-beta-dev.8" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb008c55893be92d4bfbd4e0a0d9e6eb65b2a6b89d4ee6de09f4ab9ba0499ab7" +checksum = "f369f90075004046ee0f2d0f8ad065b6e817b76fe1836155592d07d23f3479c1" dependencies = [ "async-recursion", "base64 0.13.1", @@ -2791,9 +2792,9 @@ dependencies = [ [[package]] name = "holochain_test_wasm_common" -version = "0.3.0-beta-dev.8" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d432396b246e9da9ea424df53b68e2c05821d58e5ed6932aeb0249885549621c" +checksum = "ec9de21b030f52e9e97b2901eff60ef11985c510513d439348a7292e47f68e66" dependencies = [ "hdk", "serde", @@ -2801,9 +2802,9 @@ dependencies = [ [[package]] name = "holochain_trace" -version = "0.3.0-beta-dev.1" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79123f87eed68619077d1730d58745bb365f1073de732211149fd88a879a98de" +checksum = "7658803d147b559605f6f102aecd9b67b9404de129d2c70adc4e64e78228a1c9" dependencies = [ "chrono", "derive_more", @@ -2819,9 +2820,9 @@ dependencies = [ [[package]] name = "holochain_types" -version = "0.3.0-beta-dev.8" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "818dfe336ba90491b0e614b566269e28fa615a8702cc3edb83263bd32faf057c" +checksum = "d32a88261e5c0251176f44fa44c772ed847fbea91a0d32c071074bacc659b837" dependencies = [ "anyhow", "arbitrary", @@ -2838,6 +2839,7 @@ dependencies = [ "fixt", "flate2", "futures 0.3.28", + "getrandom 0.2.9", "holo_hash", "holochain_keystore", "holochain_serialized_bytes", @@ -2862,6 +2864,7 @@ dependencies = [ "serde", "serde_bytes", "serde_derive", + "serde_json", "serde_with", "serde_yaml 0.9.21", "shrinkwraprs", @@ -2876,9 +2879,9 @@ dependencies = [ [[package]] name = "holochain_util" -version = "0.2.0" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6adb6c2f8470016da35dba7f1b6d45ce9d2650f102a8913f7dae906001ff78d8" +checksum = "2e5661bebd4f4610a8a8802cc7fb6c8000713eca872390df1496790f5324ac62" dependencies = [ "backtrace", "cfg-if 0.1.10", @@ -2894,9 +2897,9 @@ dependencies = [ [[package]] name = "holochain_wasm_test_utils" -version = "0.3.0-beta-dev.8" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1435a669baf5b0d620bde9fb4a680f3cf69a6deda6bed2c709eef9bf64059ef" +checksum = "63ab70aedc0741c7cebbac9f5546069e9d4eda5262bacfc92ecbfdacc3a9e5b4" dependencies = [ "holochain_types", "holochain_util", @@ -2954,9 +2957,9 @@ dependencies = [ [[package]] name = "holochain_websocket" -version = "0.3.0-beta-dev.3" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9be564666d2cc78a7cdbca222eb7b2c5d21692c63d82ae3011069d162f2a385d" +checksum = "bbe693f24b355ba96957100b1c65a3fcb9578b7602ac0c3c56554d11e7b71bca" dependencies = [ "futures 0.3.28", "ghost_actor 0.4.0-alpha.5", @@ -2979,9 +2982,9 @@ dependencies = [ [[package]] name = "holochain_zome_types" -version = "0.3.0-beta-dev.6" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56a1bb8fbc9799fe79730f43d2c3b0a944f68f2487b4b2db2c752d435e0fc6a0" +checksum = "a5017d60431ed65bdb25974fdd98a267fccf0436725952cdd8ac0cce660c6c79" dependencies = [ "arbitrary", "contrafact", @@ -3244,9 +3247,9 @@ dependencies = [ [[package]] name = "idna" -version = "0.3.0" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e14ddfc70884202db2244c223200c204c2bda1bc6e0998d11b5e024d657209e6" +checksum = "7d20d6b07bfbc108882d88ed8e37d39636dcc260e15e30c45e6ba089610b917c" dependencies = [ "unicode-bidi", "unicode-normalization", @@ -3510,9 +3513,9 @@ dependencies = [ [[package]] name = "kitsune_p2p" -version = "0.3.0-beta-dev.7" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f153bd1de166ec479a85b5d778754091914d13198f08c618fa8dbe912ce96cc9" +checksum = "26ab31c7cac92cb81486101ab930588f2fa2b66d517c66ce8534e4373a3622b6" dependencies = [ "arbitrary", "arrayref", @@ -3557,9 +3560,9 @@ dependencies = [ [[package]] name = "kitsune_p2p_bin_data" -version = "0.3.0-beta-dev.4" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aaa50a12a5755c2b9109cbc435a6565fe4b324f149c07848fc3e8655b4b0577c" +checksum = "9845f57ef9189f403609ada819b26ca87e96ccf95fef02bebcdf83faa65b1924" dependencies = [ "arbitrary", "base64 0.13.1", @@ -3572,9 +3575,9 @@ dependencies = [ [[package]] name = "kitsune_p2p_block" -version = "0.3.0-beta-dev.4" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6a757e1dd315d66086fc9f013cb85d9c263eef7569db63ce0990e4ec12d6fd2" +checksum = "3a29e6b5eeb78b37d9d0040855603f3a00c6c7055d933a6e5b6b31aa9529b326" dependencies = [ "kitsune_p2p_bin_data", "kitsune_p2p_timestamp", @@ -3584,9 +3587,9 @@ dependencies = [ [[package]] name = "kitsune_p2p_bootstrap" -version = "0.2.0-beta-dev.5" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4154fdcd6a8278e98d6c1e97e6e55218486e38cfb7d06acb9a16900cba6cbb79" +checksum = "572393c78bb8f9f721a77c3554ebc0d6a2a62cfcdc9c59b026eeb6c676569cd5" dependencies = [ "clap 3.2.25", "futures 0.3.28", @@ -3604,9 +3607,9 @@ dependencies = [ [[package]] name = "kitsune_p2p_dht" -version = "0.3.0-beta-dev.3" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "643901283087a01ee85fa3f2a650b2eb1931d7d9916a80d0ce836066b2a37758" +checksum = "8fb834fef2af5271ec002e2726b2be7755e9d7b7b666a5dcfa3847b3a3a89cfd" dependencies = [ "colored", "derivative", @@ -3628,9 +3631,9 @@ dependencies = [ [[package]] name = "kitsune_p2p_dht_arc" -version = "0.3.0-beta-dev.3" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bfbbc1c930888d6aa22099497139f0225e7dcdb90dd3e7fc2cc01dc9e2ba9f0e" +checksum = "ee2d4d68c154cdc5391ea986eb278f5b34707908cf63674d9fe8e7142d49c449" dependencies = [ "derive_more", "gcollections", @@ -3642,9 +3645,9 @@ dependencies = [ [[package]] name = "kitsune_p2p_fetch" -version = "0.3.0-beta-dev.5" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "63e157c009ac8f25e7601c4cdfa32d9c3bdfbdf39ba3f01cccddbb107a158de9" +checksum = "99ad027b4abae81c8b0c43bbd32644e884acafe4c445662385af413010862b7d" dependencies = [ "derive_more", "futures 0.3.28", @@ -3663,9 +3666,9 @@ dependencies = [ [[package]] name = "kitsune_p2p_mdns" -version = "0.2.0" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f27c2e4097c5463ee373260fc095d1c71cf68a7d0ba810a1a6a6a8b59aab83b" +checksum = "b714dbb2199f2f7d2b22d0bc84982b92f3db3922b70538c5f750e6dbaa82a40f" dependencies = [ "async-stream", "base64 0.13.1", @@ -3680,9 +3683,9 @@ dependencies = [ [[package]] name = "kitsune_p2p_proxy" -version = "0.3.0-beta-dev.5" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "92d53d654f2d70c4a3242b53c2d855a1823cb49d03f614373d302695c6cfda45" +checksum = "edb3a70f5f6b3096a7a255951b9f32318a83c50a305030c776b98a68e3025a90" dependencies = [ "base64 0.13.1", "blake2b_simd 0.5.11", @@ -3705,9 +3708,9 @@ dependencies = [ [[package]] name = "kitsune_p2p_timestamp" -version = "0.2.0" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be6483b304900c20fa104c50947cc1adf0e277fccdba8e26134d7b49dbdfd2a0" +checksum = "b46a356525779ac9b2b4956cee7ea523c8723f1955596d5e070faac2723a0b65" dependencies = [ "arbitrary", "chrono", @@ -3718,9 +3721,9 @@ dependencies = [ [[package]] name = "kitsune_p2p_transport_quic" -version = "0.3.0-beta-dev.5" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43e045eb8830403e2e39c9564b7feb147d8b11e7ffed6dec925620acf4e3653e" +checksum = "a3205d50215550bdad53e0ea32cefe2f29293c61ec2d17e62090d94b39873217" dependencies = [ "blake2b_simd 1.0.1", "futures 0.3.28", @@ -3738,9 +3741,9 @@ dependencies = [ [[package]] name = "kitsune_p2p_types" -version = "0.3.0-beta-dev.5" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "efadd5c117d784451bcc84410c982bd045965df0d07e1ec9983d2511ca7c6b25" +checksum = "9e57f5941a8405e00e456d1b69ac776dbd3fbbf3c1d8c90ce6ad58a18a7052be" dependencies = [ "arbitrary", "base64 0.13.1", @@ -3769,7 +3772,7 @@ dependencies = [ "thiserror", "tokio 1.28.1", "tokio-stream", - "url 2.3.1", + "url 2.4.0", "url2", "webpki 0.22.0", ] @@ -3820,7 +3823,7 @@ dependencies = [ "toml 0.5.11", "toml 0.7.4", "tracing", - "url 2.3.1", + "url 2.4.0", "winapi 0.3.9", "zeroize", ] @@ -4251,9 +4254,9 @@ checksum = "7843ec2de400bcbc6a6328c958dc38e5359da6e93e72e37bc5246bf1ae776389" [[package]] name = "mr_bundle" -version = "0.2.0" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e726d84eb94b1e9407908b6181d377c02d3f3ac52be9632427d197b3c6075896" +checksum = "ac36235a1fedd3db089ebc880bfdee39574363ceabe2da9a9720d116cc5269d5" dependencies = [ "arbitrary", "bytes 1.4.0", @@ -4905,9 +4908,9 @@ checksum = "31010dd2e1ac33d5b46a5b413495239882813e0369f8ed8a5e266f173602f831" [[package]] name = "percent-encoding" -version = "2.2.0" +version = "2.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "478c572c3d73181ff3c2539045f6eb99e5491218eae919370993b890cdbdd98e" +checksum = "9b2a4787296e9989611394c33f193f676704af1686e70b8f8033ab5ba9a35a94" [[package]] name = "pest" @@ -5197,7 +5200,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "95b4ce31ff0a27d93c8de1849cf58162283752f065a90d508f1105fa6c9a213f" dependencies = [ "idna 0.2.3", - "url 2.3.1", + "url 2.4.0", ] [[package]] @@ -5740,7 +5743,7 @@ dependencies = [ "mime", "native-tls", "once_cell", - "percent-encoding 2.2.0", + "percent-encoding 2.3.0", "pin-project-lite", "serde", "serde_json", @@ -5748,7 +5751,7 @@ dependencies = [ "tokio 1.28.1", "tokio-native-tls", "tower-service", - "url 2.3.1", + "url 2.4.0", "wasm-bindgen", "wasm-bindgen-futures", "web-sys", @@ -7374,7 +7377,7 @@ dependencies = [ "native-tls", "rand 0.8.5", "sha-1 0.9.8", - "url 2.3.1", + "url 2.4.0", "utf-8", ] @@ -7394,7 +7397,7 @@ dependencies = [ "rustls", "sha1", "thiserror", - "url 2.3.1", + "url 2.4.0", "utf-8", "webpki 0.22.0", ] @@ -7418,7 +7421,7 @@ dependencies = [ "tx5-core", "tx5-go-pion", "tx5-signal", - "url 2.3.1", + "url 2.4.0", ] [[package]] @@ -7436,7 +7439,7 @@ dependencies = [ "sha2", "tempfile", "tracing", - "url 2.3.1", + "url 2.4.0", ] [[package]] @@ -7449,7 +7452,7 @@ dependencies = [ "tokio 1.28.1", "tracing", "tx5-go-pion-sys", - "url 2.3.1", + "url 2.4.0", ] [[package]] @@ -7514,7 +7517,7 @@ dependencies = [ "tokio-tungstenite 0.18.0", "tracing", "tx5-core", - "url 2.3.1", + "url 2.4.0", "webpki-roots 0.23.1", ] @@ -7644,7 +7647,7 @@ dependencies = [ "log", "once_cell", "rustls", - "url 2.3.1", + "url 2.4.0", "webpki 0.22.0", "webpki-roots 0.22.6", ] @@ -7662,13 +7665,13 @@ dependencies = [ [[package]] name = "url" -version = "2.3.1" +version = "2.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d68c799ae75762b8c3fe375feb6600ef5602c883c5d21eb51c09f22b83c4643" +checksum = "50bff7831e19200a85b17131d085c25d7811bc4e186efdaf54bbd132994a88cb" dependencies = [ "form_urlencoded", - "idna 0.3.0", - "percent-encoding 2.2.0", + "idna 0.4.0", + "percent-encoding 2.3.0", "serde", ] @@ -7679,7 +7682,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c89cd13f1de9862d363308f5ffdadcd2b64b2a4a812fb296a80b7d3e80011b1e" dependencies = [ "serde", - "url 2.3.1", + "url 2.4.0", ] [[package]] @@ -7819,7 +7822,7 @@ dependencies = [ "mime", "mime_guess", "multer", - "percent-encoding 2.2.0", + "percent-encoding 2.3.0", "pin-project", "rustls-pemfile 1.0.2", "scoped-tls", diff --git a/Cargo.toml b/Cargo.toml index 118705bf8..51576afdc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,10 +18,10 @@ name = "holochain_scaffolding_cli" path = "src/lib.rs" [dependencies] -holochain = { features=["test_utils"], version = "0.3.0-beta-dev.9"} -holochain_types = "0.3.0-beta-dev.8" -holochain_util = { features = ["backtrace"], version = "0.2.0" } -mr_bundle = "0.2.0" +holochain = { features=["test_utils"], version = "0.2.1"} +holochain_types = "0.2.1" +holochain_util = { features = ["backtrace"], version = "0.2.1" } +mr_bundle = "0.2.1" dirs = "4.0.0" ignore = "0.4" diff --git a/flake.lock b/flake.lock index 75b008082..f8ad53779 100644 --- a/flake.lock +++ b/flake.lock @@ -17,23 +17,6 @@ "type": "github" } }, - "cargo-chef_2": { - "flake": false, - "locked": { - "lastModified": 1672901199, - "narHash": "sha256-MHTuR4aQ1rQaBKx1vWDy2wbvcT0ZAzpkVB2zylSC+k0=", - "owner": "LukeMathWalker", - "repo": "cargo-chef", - "rev": "5c9f11578a2e0783cce27666737d50f84510b8b5", - "type": "github" - }, - "original": { - "owner": "LukeMathWalker", - "ref": "main", - "repo": "cargo-chef", - "type": "github" - } - }, "cargo-rdme": { "flake": false, "locked": { @@ -51,23 +34,6 @@ "type": "github" } }, - "cargo-rdme_2": { - "flake": false, - "locked": { - "lastModified": 1675118998, - "narHash": "sha256-lrYWqu3h88fr8gG3Yo5GbFGYaq5/1Os7UtM+Af0Bg4k=", - "owner": "orium", - "repo": "cargo-rdme", - "rev": "f9dbb6bccc078f4869f45ae270a2890ac9a75877", - "type": "github" - }, - "original": { - "owner": "orium", - "ref": "v1.1.0", - "repo": "cargo-rdme", - "type": "github" - } - }, "crane": { "inputs": { "flake-compat": "flake-compat", @@ -92,31 +58,6 @@ "type": "github" } }, - "crane_2": { - "inputs": { - "flake-compat": "flake-compat_3", - "flake-utils": "flake-utils_2", - "nixpkgs": [ - "holochain-flake", - "holochain", - "nixpkgs" - ], - "rust-overlay": "rust-overlay_2" - }, - "locked": { - "lastModified": 1675475924, - "narHash": "sha256-KWdfV9a6+zG6Ij/7PZYLnomjBZZUu8gdRy+hfjGrrJQ=", - "owner": "ipetkov", - "repo": "crane", - "rev": "1bde9c762ebf26de9f8ecf502357c92105bc4577", - "type": "github" - }, - "original": { - "owner": "ipetkov", - "repo": "crane", - "type": "github" - } - }, "crate2nix": { "flake": false, "locked": { @@ -133,22 +74,6 @@ "type": "github" } }, - "crate2nix_2": { - "flake": false, - "locked": { - "lastModified": 1675642992, - "narHash": "sha256-uDBDZuiq7qyg82Udp82/r4zg5HKfIzBQqgl2U9THiQM=", - "owner": "kolloch", - "repo": "crate2nix", - "rev": "45fc83132c8c91c77a1cd61fe0c945411d1edba8", - "type": "github" - }, - "original": { - "owner": "kolloch", - "repo": "crate2nix", - "type": "github" - } - }, "empty": { "flake": false, "locked": { @@ -165,22 +90,6 @@ "type": "github" } }, - "empty_2": { - "flake": false, - "locked": { - "lastModified": 1683792623, - "narHash": "sha256-pQpattmS9VmO3ZIQUFn66az8GSmB4IvYhTTCFn6SUmo=", - "owner": "steveej", - "repo": "empty", - "rev": "8e328e450e4cd32e072eba9e99fe92cf2a1ef5cf", - "type": "github" - }, - "original": { - "owner": "steveej", - "repo": "empty", - "type": "github" - } - }, "flake-compat": { "flake": false, "locked": { @@ -213,38 +122,6 @@ "type": "github" } }, - "flake-compat_3": { - "flake": false, - "locked": { - "lastModified": 1673956053, - "narHash": "sha256-4gtG9iQuiKITOjNQQeQIpoIB6b16fm+504Ch3sNKLd8=", - "owner": "edolstra", - "repo": "flake-compat", - "rev": "35bb57c0c8d8b62bbfd284272c928ceb64ddbde9", - "type": "github" - }, - "original": { - "owner": "edolstra", - "repo": "flake-compat", - "type": "github" - } - }, - "flake-compat_4": { - "flake": false, - "locked": { - "lastModified": 1673956053, - "narHash": "sha256-4gtG9iQuiKITOjNQQeQIpoIB6b16fm+504Ch3sNKLd8=", - "owner": "edolstra", - "repo": "flake-compat", - "rev": "35bb57c0c8d8b62bbfd284272c928ceb64ddbde9", - "type": "github" - }, - "original": { - "owner": "edolstra", - "repo": "flake-compat", - "type": "github" - } - }, "flake-parts": { "inputs": { "nixpkgs-lib": "nixpkgs-lib" @@ -262,23 +139,6 @@ "type": "indirect" } }, - "flake-parts_2": { - "inputs": { - "nixpkgs-lib": "nixpkgs-lib_2" - }, - "locked": { - "lastModified": 1675295133, - "narHash": "sha256-dU8fuLL98WFXG0VnRgM00bqKX6CEPBLybhiIDIgO45o=", - "owner": "hercules-ci", - "repo": "flake-parts", - "rev": "bf53492df08f3178ce85e0c9df8ed8d03c030c9f", - "type": "github" - }, - "original": { - "id": "flake-parts", - "type": "indirect" - } - }, "flake-utils": { "locked": { "lastModified": 1667395993, @@ -295,21 +155,6 @@ } }, "flake-utils_2": { - "locked": { - "lastModified": 1667395993, - "narHash": "sha256-nuEHfE/LcWyuSWnS8t12N1wc105Qtau+/OdUAjtQ0rA=", - "owner": "numtide", - "repo": "flake-utils", - "rev": "5aed5285a952e0b949eb3ba02c12fa4fcfef535f", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "flake-utils", - "type": "github" - } - }, - "flake-utils_3": { "inputs": { "systems": "systems" }, @@ -327,70 +172,19 @@ "type": "github" } }, - "flake-utils_4": { - "inputs": { - "systems": "systems_2" - }, - "locked": { - "lastModified": 1681202837, - "narHash": "sha256-H+Rh19JDwRtpVPAWp64F+rlEtxUWBAQW28eAi3SRSzg=", - "owner": "numtide", - "repo": "flake-utils", - "rev": "cfacdce06f30d2b68473a46042957675eebb3401", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "flake-utils", - "type": "github" - } - }, "holochain": { - "inputs": { - "cargo-chef": "cargo-chef_2", - "cargo-rdme": "cargo-rdme_2", - "crane": "crane_2", - "crate2nix": "crate2nix_2", - "empty": "empty_2", - "flake-compat": "flake-compat_4", - "flake-parts": "flake-parts_2", - "holochain": [ - "holochain-flake", - "holochain", - "empty" - ], - "lair": [ - "holochain-flake", - "holochain", - "empty" - ], - "launcher": [ - "holochain-flake", - "holochain", - "empty" - ], - "nix-filter": "nix-filter", - "nixpkgs": "nixpkgs", - "pre-commit-hooks-nix": "pre-commit-hooks-nix", - "rust-overlay": "rust-overlay_3", - "scaffolding": [ - "holochain-flake", - "holochain", - "empty" - ], - "versions": "versions" - }, + "flake": false, "locked": { - "lastModified": 1689122921, - "narHash": "sha256-svp33+JS3EFftd3Pw1pVgedRt0K7Okof6NSLRp2nXJY=", + "lastModified": 1690227710, + "narHash": "sha256-HRVEz5Ldg2+pqciOpZ9fNdMfU93r/3LmUsbTA9jfDIY=", "owner": "holochain", "repo": "holochain", - "rev": "738e3c1db87a5af11d7f86c63f3e142d04629495", + "rev": "3f594f1a5cef41e896b99b6b46d336d54da3299d", "type": "github" }, "original": { "owner": "holochain", - "ref": "holochain-0.3.0-beta-dev.9", + "ref": "holochain-0.2.1", "repo": "holochain", "type": "github" } @@ -404,7 +198,10 @@ "empty": "empty", "flake-compat": "flake-compat_2", "flake-parts": "flake-parts", - "holochain": "holochain", + "holochain": [ + "holochain-flake", + "empty" + ], "lair": [ "holochain-flake", "empty" @@ -413,10 +210,10 @@ "holochain-flake", "empty" ], - "nix-filter": "nix-filter_2", - "nixpkgs": "nixpkgs_2", - "pre-commit-hooks-nix": "pre-commit-hooks-nix_2", - "rust-overlay": "rust-overlay_4", + "nix-filter": "nix-filter", + "nixpkgs": "nixpkgs", + "pre-commit-hooks-nix": "pre-commit-hooks-nix", + "rust-overlay": "rust-overlay_2", "scaffolding": [ "holochain-flake", "empty" @@ -426,11 +223,11 @@ ] }, "locked": { - "lastModified": 1690179718, - "narHash": "sha256-xOd5Tivn2+faUEO8NlhXEq2AVoWjKqKG+jKNoCEri6k=", + "lastModified": 1690302341, + "narHash": "sha256-ZVPP+5Lb8fyaKGI1zXFuh3fJn3hP5RoYxX5zb8b6QYA=", "owner": "holochain", "repo": "holochain", - "rev": "e38537e545d663788f69a62547e3087065cb310a", + "rev": "378dd3bb620e54663147af634ce4014651a156ec", "type": "github" }, "original": { @@ -439,40 +236,6 @@ "type": "github" } }, - "holochain_2": { - "flake": false, - "locked": { - "lastModified": 1686257124, - "narHash": "sha256-SvXGHOr96ob/NfQCeVJ2J4LWc83qkZn+/pnE9qVNB+I=", - "owner": "holochain", - "repo": "holochain", - "rev": "db5b8b27da3bf296958c3bf54ac3950dc60a39c8", - "type": "github" - }, - "original": { - "owner": "holochain", - "ref": "holochain-0.1.5", - "repo": "holochain", - "type": "github" - } - }, - "holochain_3": { - "flake": false, - "locked": { - "lastModified": 1689700874, - "narHash": "sha256-mmWMY2vxzQqUsUCOcxy7/dJJWvDrFRHED6do1YQuQtM=", - "owner": "holochain", - "repo": "holochain", - "rev": "265a80c3b7993447412e9e6a63291e55ad08f403", - "type": "github" - }, - "original": { - "owner": "holochain", - "ref": "holochain-0.2.1-beta-rc.0", - "repo": "holochain", - "type": "github" - } - }, "lair": { "flake": false, "locked": { @@ -490,41 +253,7 @@ "type": "github" } }, - "lair_2": { - "flake": false, - "locked": { - "lastModified": 1682356264, - "narHash": "sha256-5ZYJ1gyyL3hLR8hCjcN5yremg8cSV6w1iKCOrpJvCmc=", - "owner": "holochain", - "repo": "lair", - "rev": "43be404da0fd9d57bf4429c44def405bd6490f61", - "type": "github" - }, - "original": { - "owner": "holochain", - "ref": "lair_keystore-v0.2.4", - "repo": "lair", - "type": "github" - } - }, "launcher": { - "flake": false, - "locked": { - "lastModified": 1677270906, - "narHash": "sha256-/xT//6nqhjpKLMMv41JE0W3H5sE9jKMr8Dedr88D4N8=", - "owner": "holochain", - "repo": "launcher", - "rev": "1ad188a43900c139e52df10a21e3722f41dfb967", - "type": "github" - }, - "original": { - "owner": "holochain", - "ref": "holochain-0.1", - "repo": "launcher", - "type": "github" - } - }, - "launcher_2": { "flake": false, "locked": { "lastModified": 1684183666, @@ -556,21 +285,6 @@ "type": "github" } }, - "nix-filter_2": { - "locked": { - "lastModified": 1675361037, - "narHash": "sha256-CTbDuDxFD3U3g/dWUB+r+B/snIe+qqP1R+1myuFGe2I=", - "owner": "numtide", - "repo": "nix-filter", - "rev": "e1b2f96c2a31415f362268bc48c3fccf47dff6eb", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "nix-filter", - "type": "github" - } - }, "nixpkgs": { "locked": { "lastModified": 1686869522, @@ -604,39 +318,6 @@ "type": "github" } }, - "nixpkgs-lib_2": { - "locked": { - "dir": "lib", - "lastModified": 1675183161, - "narHash": "sha256-Zq8sNgAxDckpn7tJo7V1afRSk2eoVbu3OjI1QklGLNg=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "e1e1b192c1a5aab2960bf0a0bd53a2e8124fa18e", - "type": "github" - }, - "original": { - "dir": "lib", - "owner": "NixOS", - "ref": "nixos-unstable", - "repo": "nixpkgs", - "type": "github" - } - }, - "nixpkgs_2": { - "locked": { - "lastModified": 1686869522, - "narHash": "sha256-tbJ9B8WLCTnVP/LwESRlg0dII6Zyg2LmUU/mB9Lu98E=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "7c67f006ea0e7d0265f16d7df07cc076fdffd91f", - "type": "github" - }, - "original": { - "id": "nixpkgs", - "ref": "nixos-unstable", - "type": "indirect" - } - }, "pre-commit-hooks-nix": { "flake": false, "locked": { @@ -653,22 +334,6 @@ "type": "github" } }, - "pre-commit-hooks-nix_2": { - "flake": false, - "locked": { - "lastModified": 1676513100, - "narHash": "sha256-MK39nQV86L2ag4TmcK5/+r1ULpzRLPbbfvWbPvIoYJE=", - "owner": "cachix", - "repo": "pre-commit-hooks.nix", - "rev": "5f0cba88ac4d6dd8cad5c6f6f1540b3d6a21a798", - "type": "github" - }, - "original": { - "owner": "cachix", - "repo": "pre-commit-hooks.nix", - "type": "github" - } - }, "root": { "inputs": { "holochain-flake": "holochain-flake", @@ -676,7 +341,7 @@ "holochain-flake", "nixpkgs" ], - "versions": "versions_2" + "versions": "versions" } }, "rust-overlay": { @@ -708,70 +373,18 @@ }, "rust-overlay_2": { "inputs": { - "flake-utils": [ - "holochain-flake", - "holochain", - "crane", - "flake-utils" - ], - "nixpkgs": [ - "holochain-flake", - "holochain", - "crane", - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1675391458, - "narHash": "sha256-ukDKZw922BnK5ohL9LhwtaDAdCsJL7L6ScNEyF1lO9w=", - "owner": "oxalica", - "repo": "rust-overlay", - "rev": "383a4acfd11d778d5c2efcf28376cbd845eeaedf", - "type": "github" - }, - "original": { - "owner": "oxalica", - "repo": "rust-overlay", - "type": "github" - } - }, - "rust-overlay_3": { - "inputs": { - "flake-utils": "flake-utils_3", - "nixpkgs": [ - "holochain-flake", - "holochain", - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1689042658, - "narHash": "sha256-p7cQAFNt5kX19sZvK74CmY0nTrtujpZg6sZUiV1ntAk=", - "owner": "oxalica", - "repo": "rust-overlay", - "rev": "d7181bb2237035df17cab9295c95f987f5c527e6", - "type": "github" - }, - "original": { - "owner": "oxalica", - "repo": "rust-overlay", - "type": "github" - } - }, - "rust-overlay_4": { - "inputs": { - "flake-utils": "flake-utils_4", + "flake-utils": "flake-utils_2", "nixpkgs": [ "holochain-flake", "nixpkgs" ] }, "locked": { - "lastModified": 1690165277, - "narHash": "sha256-P3X8iSAu12z+UFxquuntZnR8sXjKwgYHf0wTzgO8I7M=", + "lastModified": 1690252178, + "narHash": "sha256-9oEz822bvbHobfCUjJLDor2BqW3I5tycIauzDlzOALY=", "owner": "oxalica", "repo": "rust-overlay", - "rev": "317c523c09218f27f1da1ec0d06bbd2cbc0c1939", + "rev": "8d64353ca827002fb8459e44d49116c78d868eba", "type": "github" }, "original": { @@ -781,23 +394,6 @@ } }, "scaffolding": { - "flake": false, - "locked": { - "lastModified": 1686617155, - "narHash": "sha256-ZeWnh27JNb/abu/ii8e3u4DHns49MOFMNXGPGFPqS0k=", - "owner": "holochain", - "repo": "scaffolding", - "rev": "861397c975542306be6d8529e5c6bdb21c7ba6a6", - "type": "github" - }, - "original": { - "owner": "holochain", - "ref": "holochain-0.1", - "repo": "scaffolding", - "type": "github" - } - }, - "scaffolding_2": { "flake": false, "locked": { "lastModified": 1683890859, @@ -829,55 +425,20 @@ "type": "github" } }, - "systems_2": { - "locked": { - "lastModified": 1681028828, - "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", - "owner": "nix-systems", - "repo": "default", - "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", - "type": "github" - }, - "original": { - "owner": "nix-systems", - "repo": "default", - "type": "github" - } - }, "versions": { "inputs": { - "holochain": "holochain_2", + "holochain": "holochain", "lair": "lair", "launcher": "launcher", "scaffolding": "scaffolding" }, - "locked": { - "lastModified": 1686618210, - "narHash": "sha256-lXY9ob0WAekcoEgWcFL3cJiPkwoKlsR2OMqG0S3vXzA=", - "path": "./versions/0_1", - "type": "path" - }, - "original": { - "dir": "versions/0_1", - "owner": "holochain", - "repo": "holochain", - "type": "github" - } - }, - "versions_2": { - "inputs": { - "holochain": "holochain_3", - "lair": "lair_2", - "launcher": "launcher_2", - "scaffolding": "scaffolding_2" - }, "locked": { "dir": "versions/0_2", - "lastModified": 1690179718, - "narHash": "sha256-xOd5Tivn2+faUEO8NlhXEq2AVoWjKqKG+jKNoCEri6k=", + "lastModified": 1690302341, + "narHash": "sha256-ZVPP+5Lb8fyaKGI1zXFuh3fJn3hP5RoYxX5zb8b6QYA=", "owner": "holochain", "repo": "holochain", - "rev": "e38537e545d663788f69a62547e3087065cb310a", + "rev": "378dd3bb620e54663147af634ce4014651a156ec", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index bc07cb5e5..6380dbf9f 100644 --- a/flake.nix +++ b/flake.nix @@ -8,7 +8,6 @@ inputs = { holochain-flake = { url = "github:holochain/holochain"; inputs.versions.follows = "versions"; - inputs.holochain.url = "github:holochain/holochain/holochain-0.3.0-beta-dev.9"; }; }; diff --git a/src/scaffold/app/nix.rs b/src/scaffold/app/nix.rs index d4293c541..e706ca0eb 100644 --- a/src/scaffold/app/nix.rs +++ b/src/scaffold/app/nix.rs @@ -21,7 +21,6 @@ pub fn flake_nix() -> FileTree { holochain-flake = {{ url = "github:holochain/holochain"; inputs.versions.follows = "holochain-nix-versions"; - inputs.holochain.url = "github:holochain/holochain/holochain-0.3.0-beta-dev.9"; }}; nixpkgs.follows = "holochain-flake/nixpkgs"; From d7be5fb9cdab33b142033e5f977c742b42999929 Mon Sep 17 00:00:00 2001 From: = <=> Date: Wed, 26 Jul 2023 10:12:39 -0600 Subject: [PATCH 37/50] use new-port to find unused ports for bootstrap and signal servers --- templates/lit/web-app/package.json.hbs | 7 ++++--- templates/svelte/web-app/package.json.hbs | 7 ++++--- templates/vue/web-app/package.json.hbs | 7 ++++--- 3 files changed, 12 insertions(+), 9 deletions(-) diff --git a/templates/lit/web-app/package.json.hbs b/templates/lit/web-app/package.json.hbs index 3e5da0f7b..62060d4b2 100644 --- a/templates/lit/web-app/package.json.hbs +++ b/templates/lit/web-app/package.json.hbs @@ -6,10 +6,10 @@ "tests" ], "scripts": { - "start": "AGENTS=2 npm run network", + "start": "AGENTS=2 BOOTSTRAP_PORT=$(port) SIGNAL_PORT=$(port) npm run network", "network": "hc s clean && npm run build:happ && UI_PORT=8888 concurrently \"npm start -w ui\" \"npm run launch:happ\" \"holochain-playground\"", "test": "npm run build:zomes && hc app pack workdir --recursive && npm t -w tests", - "launch:happ": "concurrently \"hc run-local-services --bootstrap-port 9998 --signal-port 9999\" \"echo pass | RUST_LOG=warn hc launch --piped -n $AGENTS workdir/{{app_name}}.happ --ui-port $UI_PORT network --bootstrap http://127.0.0.1:9998 webrtc ws://127.0.0.1:9999\"", + "launch:happ": "concurrently \"hc run-local-services --bootstrap-port $BOOTSTRAP_PORT --signal-port $SIGNAL_PORT\" \"echo pass | RUST_LOG=warn hc launch --piped -n $AGENTS workdir/{{app_name}}.happ --ui-port $UI_PORT network --bootstrap http://127.0.0.1:\"$BOOTSTRAP_PORT\" webrtc ws://127.0.0.1:\"$SIGNAL_PORT\"\"", "package": "npm run build:happ && npm run package -w ui && hc web-app pack workdir --recursive", "build:happ": "npm run build:zomes && hc app pack workdir --recursive", "build:zomes": "RUSTFLAGS='' CARGO_TARGET_DIR=target cargo build --release --target wasm32-unknown-unknown" @@ -17,7 +17,8 @@ "devDependencies": { "@holochain-playground/cli": "^0.1.1", "concurrently": "^6.2.1", - "rimraf": "^3.0.2" + "rimraf": "^3.0.2", + "new-port-cli": "^1.0.0" }, "engines": { "npm": ">=7.0.0" diff --git a/templates/svelte/web-app/package.json.hbs b/templates/svelte/web-app/package.json.hbs index 3e5da0f7b..62060d4b2 100644 --- a/templates/svelte/web-app/package.json.hbs +++ b/templates/svelte/web-app/package.json.hbs @@ -6,10 +6,10 @@ "tests" ], "scripts": { - "start": "AGENTS=2 npm run network", + "start": "AGENTS=2 BOOTSTRAP_PORT=$(port) SIGNAL_PORT=$(port) npm run network", "network": "hc s clean && npm run build:happ && UI_PORT=8888 concurrently \"npm start -w ui\" \"npm run launch:happ\" \"holochain-playground\"", "test": "npm run build:zomes && hc app pack workdir --recursive && npm t -w tests", - "launch:happ": "concurrently \"hc run-local-services --bootstrap-port 9998 --signal-port 9999\" \"echo pass | RUST_LOG=warn hc launch --piped -n $AGENTS workdir/{{app_name}}.happ --ui-port $UI_PORT network --bootstrap http://127.0.0.1:9998 webrtc ws://127.0.0.1:9999\"", + "launch:happ": "concurrently \"hc run-local-services --bootstrap-port $BOOTSTRAP_PORT --signal-port $SIGNAL_PORT\" \"echo pass | RUST_LOG=warn hc launch --piped -n $AGENTS workdir/{{app_name}}.happ --ui-port $UI_PORT network --bootstrap http://127.0.0.1:\"$BOOTSTRAP_PORT\" webrtc ws://127.0.0.1:\"$SIGNAL_PORT\"\"", "package": "npm run build:happ && npm run package -w ui && hc web-app pack workdir --recursive", "build:happ": "npm run build:zomes && hc app pack workdir --recursive", "build:zomes": "RUSTFLAGS='' CARGO_TARGET_DIR=target cargo build --release --target wasm32-unknown-unknown" @@ -17,7 +17,8 @@ "devDependencies": { "@holochain-playground/cli": "^0.1.1", "concurrently": "^6.2.1", - "rimraf": "^3.0.2" + "rimraf": "^3.0.2", + "new-port-cli": "^1.0.0" }, "engines": { "npm": ">=7.0.0" diff --git a/templates/vue/web-app/package.json.hbs b/templates/vue/web-app/package.json.hbs index 3e5da0f7b..62060d4b2 100644 --- a/templates/vue/web-app/package.json.hbs +++ b/templates/vue/web-app/package.json.hbs @@ -6,10 +6,10 @@ "tests" ], "scripts": { - "start": "AGENTS=2 npm run network", + "start": "AGENTS=2 BOOTSTRAP_PORT=$(port) SIGNAL_PORT=$(port) npm run network", "network": "hc s clean && npm run build:happ && UI_PORT=8888 concurrently \"npm start -w ui\" \"npm run launch:happ\" \"holochain-playground\"", "test": "npm run build:zomes && hc app pack workdir --recursive && npm t -w tests", - "launch:happ": "concurrently \"hc run-local-services --bootstrap-port 9998 --signal-port 9999\" \"echo pass | RUST_LOG=warn hc launch --piped -n $AGENTS workdir/{{app_name}}.happ --ui-port $UI_PORT network --bootstrap http://127.0.0.1:9998 webrtc ws://127.0.0.1:9999\"", + "launch:happ": "concurrently \"hc run-local-services --bootstrap-port $BOOTSTRAP_PORT --signal-port $SIGNAL_PORT\" \"echo pass | RUST_LOG=warn hc launch --piped -n $AGENTS workdir/{{app_name}}.happ --ui-port $UI_PORT network --bootstrap http://127.0.0.1:\"$BOOTSTRAP_PORT\" webrtc ws://127.0.0.1:\"$SIGNAL_PORT\"\"", "package": "npm run build:happ && npm run package -w ui && hc web-app pack workdir --recursive", "build:happ": "npm run build:zomes && hc app pack workdir --recursive", "build:zomes": "RUSTFLAGS='' CARGO_TARGET_DIR=target cargo build --release --target wasm32-unknown-unknown" @@ -17,7 +17,8 @@ "devDependencies": { "@holochain-playground/cli": "^0.1.1", "concurrently": "^6.2.1", - "rimraf": "^3.0.2" + "rimraf": "^3.0.2", + "new-port-cli": "^1.0.0" }, "engines": { "npm": ">=7.0.0" From 3075bc64004396632de832e02c2f7c049db3aaca Mon Sep 17 00:00:00 2001 From: = <=> Date: Tue, 15 Aug 2023 12:25:38 -0600 Subject: [PATCH 38/50] Pin serde 1.0.166 --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/scaffold/zome.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f7199a509..cb0af9437 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2635,7 +2635,7 @@ dependencies = [ [[package]] name = "holochain_scaffolding_cli" -version = "0.1.9" +version = "0.1.11" dependencies = [ "anyhow", "assert_cmd", diff --git a/Cargo.toml b/Cargo.toml index 51576afdc..fd7b6bb1c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] edition = "2021" name = "holochain_scaffolding_cli" -version = "0.1.9" +version = "0.1.11" description = "CLI to easily generate and modify holochain apps" license-file = "LICENSE_CAL-1.0" homepage = "https://developer.holochain.org" diff --git a/src/scaffold/zome.rs b/src/scaffold/zome.rs index 615fc5ee4..619c77efc 100644 --- a/src/scaffold/zome.rs +++ b/src/scaffold/zome.rs @@ -346,7 +346,7 @@ pub fn add_common_zome_dependencies_to_workspace_cargo( &"=0.1.2".to_string(), )?; let file_tree = - add_workspace_external_dependency(file_tree, &"serde".to_string(), &"1".to_string())?; + add_workspace_external_dependency(file_tree, &"serde".to_string(), &"=1.0.166".to_string())?; Ok(file_tree) } From 03b1e85c704aa3e63a44f38230456fd6844f542b Mon Sep 17 00:00:00 2001 From: = <=> Date: Tue, 15 Aug 2023 16:19:51 -0600 Subject: [PATCH 39/50] Pin time and rmpv --- Cargo.lock | 1180 ++++++++++++++++++++++++++++------------------------ Cargo.toml | 2 + 2 files changed, 629 insertions(+), 553 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index cb0af9437..9a1e5fc74 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -14,11 +14,11 @@ dependencies = [ [[package]] name = "addr2line" -version = "0.19.0" +version = "0.20.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a76fd60b23679b7d19bd066031410fb7e458ccc5e958eb5c325888ce4baedc97" +checksum = "f4fa78e18c64fce05e902adecd7a5eed15a5e0a3439f7b0e169f0252214865e3" dependencies = [ - "gimli 0.27.2", + "gimli 0.27.3", ] [[package]] @@ -45,7 +45,7 @@ version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fcb51a0695d8f838b1ee009b3fbf66bda078cd64590202a864a8f3e8c4315c47" dependencies = [ - "getrandom 0.2.9", + "getrandom 0.2.10", "once_cell", "version_check", ] @@ -57,25 +57,16 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2c99f64d1e06488f620f932677e24bc6e2897582980441ae90a671415bd7ec2f" dependencies = [ "cfg-if 1.0.0", - "getrandom 0.2.9", + "getrandom 0.2.10", "once_cell", "version_check", ] [[package]] name = "aho-corasick" -version = "0.7.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cc936419f96fa211c1b9166887b38e5e40b19958e5b895be7c1f93adec7071ac" -dependencies = [ - "memchr", -] - -[[package]] -name = "aho-corasick" -version = "1.0.1" +version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67fc08ce920c31afb70f013dcce1bfc3a3195de6a228474e45e1f145b36f8d04" +checksum = "6748e8def348ed4d14996fa801f4122cd763fff530258cdc03f64b25f89d3a5a" dependencies = [ "memchr", ] @@ -86,6 +77,18 @@ version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "250f629c0161ad8107cf89319e990051fae62832fd343083bea452d93e2205fd" +[[package]] +name = "allocator-api2" +version = "0.2.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0942ffc6dcaadf03badf6e6a2d0228460359d5e34b57ccdc720b7382dfbd5ec5" + +[[package]] +name = "android-tzdata" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e999941b234f3131b00bc13c22d06e8c5ff726d1b6318ac7eb276997bbb4fef0" + [[package]] name = "android_system_properties" version = "0.1.5" @@ -121,15 +124,15 @@ dependencies = [ [[package]] name = "anstyle" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41ed9a86bf92ae6580e0a31281f65a1b1d867c0cc68d5346e2ae128dddfa6a7d" +checksum = "3a30da5c5f2d5e72842e00bcb57657162cdabef0931f40e2deb9b4140440cecd" [[package]] name = "anstyle-parse" -version = "0.2.0" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e765fd216e48e067936442276d1d57399e37bce53c264d6fefbe298080cb57ee" +checksum = "938874ff5980b03a87c5524b3ae5b59cf99b1d6bc836848df7bc5ada9643c333" dependencies = [ "utf8parse", ] @@ -145,9 +148,9 @@ dependencies = [ [[package]] name = "anstyle-wincon" -version = "1.0.1" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "180abfa45703aebe0093f79badacc01b8fd4ea2e35118747e5811127f926e188" +checksum = "c677ab05e09154296dd37acecd46420c17b9713e8366facafa8fc0885167cf4c" dependencies = [ "anstyle", "windows-sys 0.48.0", @@ -155,9 +158,9 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.71" +version = "1.0.74" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c7d0618f0e0b7e8ff11427422b64564d5fb0be1940354bfe2e0529b18a9d9b8" +checksum = "8c6f84b74db2535ebae81eede2f39b947dcbf01d093ae5f791e5dd414a1bf289" [[package]] name = "approx" @@ -191,9 +194,9 @@ checksum = "23b62fc65de8e4e7f52534fb52b0f3ed04746ae267519eef2a83941e8085068b" [[package]] name = "arrayvec" -version = "0.7.2" +version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8da52d66c7071e2e3fa2a1e5c6d088fec47b593032b254f5e980de8ea54454d6" +checksum = "96d30a06541fbafbc7f82ed10c06164cfbd2c401138f6addd8404629c4b16711" [[package]] name = "assert_cmd" @@ -221,9 +224,9 @@ dependencies = [ [[package]] name = "async-channel" -version = "1.8.0" +version = "1.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf46fee83e5ccffc220104713af3292ff9bc7c64c7de289f66dae8e38d826833" +checksum = "81953c529336010edd6d8e358f886d9581267795c61b19475b71314bffa46d35" dependencies = [ "concurrent-queue", "event-listener", @@ -239,7 +242,7 @@ dependencies = [ "async-lock", "async-task", "concurrent-queue", - "fastrand", + "fastrand 1.9.0", "futures-lite", "slab", ] @@ -273,7 +276,7 @@ dependencies = [ "log", "parking", "polling", - "rustix", + "rustix 0.37.23", "slab", "socket2 0.4.9", "waker-fn", @@ -281,9 +284,9 @@ dependencies = [ [[package]] name = "async-lock" -version = "2.7.0" +version = "2.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa24f727524730b077666307f2734b4a1a1c57acb79193127dcc8914d5242dd7" +checksum = "287272293e9d8c41773cec55e365490fe034813a2f172f502d6ddcf75b2f582b" dependencies = [ "event-listener", ] @@ -301,7 +304,7 @@ dependencies = [ "cfg-if 1.0.0", "event-listener", "futures-lite", - "rustix", + "rustix 0.37.23", "signal-hook", "windows-sys 0.48.0", ] @@ -329,7 +332,7 @@ dependencies = [ "async-io", "async-lock", "async-process", - "crossbeam-utils 0.8.15", + "crossbeam-utils 0.8.16", "futures-channel", "futures-core", "futures-io", @@ -374,13 +377,13 @@ checksum = "ecc7ab41815b3c653ccd2978ec3255c81349336702dfdf62ee6f7069b12a3aae" [[package]] name = "async-trait" -version = "0.1.68" +version = "0.1.73" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9ccdd8f2a161be9bd5c023df56f1b2a0bd1d83872ae53b71a84a12c9bf6e842" +checksum = "bc00ceb34980c03614e35a3a4e218276a0a824e911d07651cd0d858a51e8c0f0" dependencies = [ "proc-macro2", "quote", - "syn 2.0.16", + "syn 2.0.28", ] [[package]] @@ -429,16 +432,16 @@ dependencies = [ [[package]] name = "backtrace" -version = "0.3.67" +version = "0.3.68" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "233d376d6d185f2a3093e58f283f60f880315b6c60075b01f36b3b85154564ca" +checksum = "4319208da049c43661739c5fade2ba182f09d1dc2299b32298d3a31692b17e12" dependencies = [ "addr2line", "cc", "cfg-if 1.0.0", "libc", - "miniz_oxide 0.6.2", - "object 0.30.3", + "miniz_oxide", + "object 0.31.1", "rustc-demangle", ] @@ -459,9 +462,9 @@ checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8" [[package]] name = "base64" -version = "0.21.1" +version = "0.21.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f1e31e207a6b8fb791a38ea3105e6cb541f55e4d029902d3039a4ad07cc4105" +checksum = "604178f6c5c21f02dc555784810edfb88d34ac2c73b2eae109655649ee73ce3d" [[package]] name = "bimap" @@ -504,9 +507,9 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" [[package]] name = "bitflags" -version = "2.3.3" +version = "2.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "630be753d4e58660abd17930c71b647fe46c27ea6b63cc59e1e3851406972e42" +checksum = "b4682ae6287fcf752ecaabbfcc7b6f9b72aa33933dc23a554d853aea8eea8635" [[package]] name = "bitvec" @@ -538,8 +541,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3c2f0dc9a68c6317d884f97cc36cf5a3d20ba14ce404227df55e1af708ab04bc" dependencies = [ "arrayref", - "arrayvec 0.7.2", - "constant_time_eq 0.2.5", + "arrayvec 0.7.4", + "constant_time_eq 0.2.6", ] [[package]] @@ -570,7 +573,7 @@ dependencies = [ "async-lock", "async-task", "atomic-waker", - "fastrand", + "fastrand 1.9.0", "futures-lite", "log", ] @@ -582,7 +585,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8129c0ab340c1b0caf6dbc587e814d04ba811e336dcf8fc268c04e047428ebb0" dependencies = [ "bit-vec", - "getrandom 0.2.9", + "getrandom 0.2.10", "siphasher", ] @@ -594,14 +597,14 @@ checksum = "ba3569f383e8f1598449f1a423e72e99569137b47740b1da11ef19af3d5c3223" dependencies = [ "lazy_static", "memchr", - "regex-automata", + "regex-automata 0.1.10", ] [[package]] name = "bstr" -version = "1.5.0" +version = "1.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a246e68bb43f6cd9db24bea052a53e40405417c5fb372e3d1a8a7f770a564ef5" +checksum = "6798148dccfbff0fae41c7574d2fa8f1ef3492fba0face179de5d8d447d67b05" dependencies = [ "memchr", "serde", @@ -616,7 +619,7 @@ dependencies = [ "derive_more", "pipe-trait", "serde", - "serde_yaml 0.9.21", + "serde_yaml 0.9.25", "text-block-macros", "thiserror", ] @@ -686,18 +689,18 @@ checksum = "4964518bd3b4a8190e832886cdc0da9794f12e8e6c1613a9e90ff331c4c8724b" [[package]] name = "camino" -version = "1.1.4" +version = "1.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c530edf18f37068ac2d977409ed5cd50d53d73bc653c7647b48eb78976ac9ae2" +checksum = "c59e92b5a388f549b863a7bea62612c09f24c8393560709a54558a9abdfb3b9c" dependencies = [ "serde", ] [[package]] name = "cargo-platform" -version = "0.1.2" +version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cbdb825da8a5df079a43676dbe042702f1707b1109f713a01420fbb4cc71fa27" +checksum = "2cfa25e60aea747ec7e1124f238816749faa93759c6ff5b31f1ccdda137f4479" dependencies = [ "serde", ] @@ -710,7 +713,7 @@ checksum = "eee4243f1f26fc7a42710e7439c149e2b10b05472f88090acce52632f231a73a" dependencies = [ "camino", "cargo-platform", - "semver 1.0.17", + "semver 1.0.18", "serde", "serde_json", "thiserror", @@ -718,9 +721,12 @@ dependencies = [ [[package]] name = "cc" -version = "1.0.79" +version = "1.0.82" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50d30906286121d95be3d479533b458f87493b30a4b5f79a607db8f5d11aa91f" +checksum = "305fe645edc1442a0fa8b6726ba61d422798d37a52e12eaecf4b022ebbb88f01" +dependencies = [ + "libc", +] [[package]] name = "cfg-if" @@ -746,13 +752,13 @@ dependencies = [ [[package]] name = "chrono" -version = "0.4.24" +version = "0.4.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e3c5919066adf22df73762e50cffcde3a758f2a848b113b586d1f86728b673b" +checksum = "ec837a71355b28f6556dbd569b37b3f363091c0bd4b2e735674521b4c5fd9bc5" dependencies = [ + "android-tzdata", "iana-time-zone", "js-sys", - "num-integer", "num-traits", "serde", "time 0.1.45", @@ -785,7 +791,7 @@ dependencies = [ "bitflags 1.3.2", "clap_derive 3.2.25", "clap_lex 0.2.4", - "indexmap", + "indexmap 1.9.3", "once_cell", "strsim 0.10.0", "termcolor", @@ -794,24 +800,23 @@ dependencies = [ [[package]] name = "clap" -version = "4.3.0" +version = "4.3.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93aae7a4192245f70fe75dd9157fc7b4a5bf53e88d30bd4396f7d8f9284d5acc" +checksum = "c27cdf28c0f604ba3f512b0c9a409f8de8513e4816705deb0498b627e7c3a3fd" dependencies = [ "clap_builder", - "clap_derive 4.3.0", + "clap_derive 4.3.12", "once_cell", ] [[package]] name = "clap_builder" -version = "4.3.0" +version = "4.3.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4f423e341edefb78c9caba2d9c7f7687d0e72e89df3ce3394554754393ac3990" +checksum = "08a9f1ab5e9f01a9b81f202e8562eb9a10de70abf9eaeac1be465c28b75aa4aa" dependencies = [ "anstream", "anstyle", - "bitflags 1.3.2", "clap_lex 0.5.0", "strsim 0.10.0", "terminal_size", @@ -832,14 +837,14 @@ dependencies = [ [[package]] name = "clap_derive" -version = "4.3.0" +version = "4.3.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "191d9573962933b4027f932c600cd252ce27a8ad5979418fe78e43c07996f27b" +checksum = "54a9bb5758fc5dfe728d1019941681eccaf0cf8a4189b692a0ee2f2ecf90a050" dependencies = [ "heck 0.4.1", "proc-macro2", "quote", - "syn 2.0.16", + "syn 2.0.28", ] [[package]] @@ -874,11 +879,11 @@ checksum = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7" [[package]] name = "colored" -version = "1.9.3" +version = "1.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4ffc801dacf156c5854b9df4f425a626539c3a6ef7893cc0c5084a23f0b6c59" +checksum = "5a5f741c91823341bebf717d4c71bda820630ce065443b58bd1b7451af008355" dependencies = [ - "atty", + "is-terminal", "lazy_static", "winapi 0.3.9", ] @@ -889,7 +894,7 @@ version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "62ec6771ecfa0762d24683ee5a32ad78487a3d3afdc0fb8cae19d2c5deb50b7c" dependencies = [ - "crossbeam-utils 0.8.15", + "crossbeam-utils 0.8.16", ] [[package]] @@ -913,9 +918,9 @@ checksum = "245097e9a4535ee1e3e3931fcfcd55a796a44c643e8596ff6566d68f09b87bbc" [[package]] name = "constant_time_eq" -version = "0.2.5" +version = "0.2.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "13418e745008f7349ec7e449155f419a61b92b58a99cc3616942b926825ec76b" +checksum = "21a53c0a4d288377e7415b53dcfc3c04da5cdc2cc95c8d5ac178b58f0b861ad6" [[package]] name = "contrafact" @@ -992,6 +997,15 @@ version = "0.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e496a50fda8aacccc86d7529e2c1e0892dbd0f898a6b5645b5561b89c3210efa" +[[package]] +name = "core2" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b49ba7ef1ad6107f8824dbe97de947cbaac53c44e7f9756a1fba0d37c1eec505" +dependencies = [ + "memchr", +] + [[package]] name = "corosensei" version = "0.1.3" @@ -1007,9 +1021,9 @@ dependencies = [ [[package]] name = "cpufeatures" -version = "0.2.7" +version = "0.2.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e4c1eaa2012c47becbbad2ab175484c2a84d1185b566fb2cc5b8707343dfe58" +checksum = "a17b76ff3a4162b0b27f354a0c87015ddad39d35f9c0c36607a3bdd175dde1f1" dependencies = [ "libc", ] @@ -1036,7 +1050,7 @@ dependencies = [ "gimli 0.26.2", "log", "regalloc", - "smallvec 1.10.0", + "smallvec 1.11.0", "target-lexicon", ] @@ -1069,7 +1083,7 @@ checksum = "a006e3e32d80ce0e4ba7f1f9ddf66066d052a8c884a110b91d05404d6ce26dce" dependencies = [ "cranelift-codegen", "log", - "smallvec 1.10.0", + "smallvec 1.11.0", "target-lexicon", ] @@ -1100,7 +1114,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a33c2bf77f2df06183c3aa30d1e96c0695a313d4f9c453cc3762a6db39f99200" dependencies = [ "cfg-if 1.0.0", - "crossbeam-utils 0.8.15", + "crossbeam-utils 0.8.16", ] [[package]] @@ -1121,8 +1135,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ce6fd6f855243022dcecf8702fef0c297d4338e226845fe067f6341ad9fa0cef" dependencies = [ "cfg-if 1.0.0", - "crossbeam-epoch 0.9.14", - "crossbeam-utils 0.8.15", + "crossbeam-epoch 0.9.15", + "crossbeam-utils 0.8.16", ] [[package]] @@ -1142,14 +1156,14 @@ dependencies = [ [[package]] name = "crossbeam-epoch" -version = "0.9.14" +version = "0.9.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "46bd5f3f85273295a9d14aedfb86f6aadbff6d8f5295c4a9edb08e819dcf5695" +checksum = "ae211234986c545741a7dc064309f67ee1e5ad243d0e48335adc0484d960bcc7" dependencies = [ "autocfg 1.1.0", "cfg-if 1.0.0", - "crossbeam-utils 0.8.15", - "memoffset 0.8.0", + "crossbeam-utils 0.8.16", + "memoffset 0.9.0", "scopeguard", ] @@ -1177,9 +1191,9 @@ dependencies = [ [[package]] name = "crossbeam-utils" -version = "0.8.15" +version = "0.8.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c063cd8cc95f5c377ed0d4b49a4b21f632396ff690e8470c29b3359b346984b" +checksum = "5a22b2d63d4d1dc0b7f1b6b2747dd0088008a9be28b6ddf0b1e7d335e3037294" dependencies = [ "cfg-if 1.0.0", ] @@ -1242,12 +1256,12 @@ dependencies = [ [[package]] name = "darling" -version = "0.20.1" +version = "0.20.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0558d22a7b463ed0241e993f76f09f30b126687447751a8638587b864e4b3944" +checksum = "0209d94da627ab5605dcccf08bb18afa5009cfbef48d8a8b7d7bdbc79be25c5e" dependencies = [ - "darling_core 0.20.1", - "darling_macro 0.20.1", + "darling_core 0.20.3", + "darling_macro 0.20.3", ] [[package]] @@ -1294,15 +1308,15 @@ dependencies = [ [[package]] name = "darling_core" -version = "0.20.1" +version = "0.20.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab8bfa2e259f8ee1ce5e97824a3c55ec4404a0d772ca7fa96bf19f0752a046eb" +checksum = "177e3443818124b357d8e76f53be906d60937f0d3a90773a664fa63fa253e621" dependencies = [ "fnv", "ident_case", "proc-macro2", "quote", - "syn 2.0.16", + "syn 2.0.28", ] [[package]] @@ -1340,15 +1354,21 @@ dependencies = [ [[package]] name = "darling_macro" -version = "0.20.1" +version = "0.20.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29a358ff9f12ec09c3e61fef9b5a9902623a695a46a917b07f269bff1445611a" +checksum = "836a9bbc7ad63342d6d6e7b815ccab164bc77a2d95d84bc3117a8c0d5c98e2d5" dependencies = [ - "darling_core 0.20.1", + "darling_core 0.20.3", "quote", - "syn 2.0.16", + "syn 2.0.28", ] +[[package]] +name = "dary_heap" +version = "0.3.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7762d17f1241643615821a8455a0b2c3e803784b058693d990b11f2dce25a0ca" + [[package]] name = "dashmap" version = "4.0.2" @@ -1361,15 +1381,15 @@ dependencies = [ [[package]] name = "dashmap" -version = "5.4.0" +version = "5.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "907076dfda823b0b36d2a1bb5f90c96660a5bbcd7729e10727f07858f22c4edc" +checksum = "6943ae99c34386c84a470c499d3414f66502a41340aa895406e0d2e4a207b91d" dependencies = [ "cfg-if 1.0.0", - "hashbrown 0.12.3", - "lock_api 0.4.9", + "hashbrown 0.14.0", + "lock_api 0.4.10", "once_cell", - "parking_lot_core 0.9.7", + "parking_lot_core 0.9.8", ] [[package]] @@ -1400,13 +1420,13 @@ dependencies = [ [[package]] name = "derive_arbitrary" -version = "1.3.0" +version = "1.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3cdeb9ec472d588e539a818b2dee436825730da08ad0017c4b1a17676bdc8b7" +checksum = "53e0efad4403bfc52dc201159c4b842a246a14b98c64b55dfd0f2d89729dfeb8" dependencies = [ "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.28", ] [[package]] @@ -1583,9 +1603,9 @@ checksum = "56ce8c6da7551ec6c462cbaf3bfbc75131ebbfa1c944aeaa9dab51ca1c5f0c3b" [[package]] name = "either" -version = "1.8.1" +version = "1.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7fcaabb2fef8c910e7f4c7ce9f67a1283a1715879a7c230ca9d6d1ae31f16d91" +checksum = "a26ae43d7bcc3b814de94796a5e736d4029efb0ee900c12e2d54c993ad1a1e07" [[package]] name = "encode_unicode" @@ -1637,10 +1657,10 @@ version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e08b6c6ab82d70f08844964ba10c7babb716de2ecaeab9be5717918a5177d3af" dependencies = [ - "darling 0.20.1", + "darling 0.20.3", "proc-macro2", "quote", - "syn 2.0.16", + "syn 2.0.28", ] [[package]] @@ -1652,6 +1672,12 @@ dependencies = [ "log", ] +[[package]] +name = "equivalent" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" + [[package]] name = "err-derive" version = "0.2.4" @@ -1668,9 +1694,9 @@ dependencies = [ [[package]] name = "errno" -version = "0.3.1" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4bcfec3a70f97c962c307b2d2c56e358cf1d00b558d74262b5f929ee8cc7e73a" +checksum = "6b30f669a7961ef1631673d2766cc92f52d64f7ef354d4fe0ddfd30ed52f0f4f" dependencies = [ "errno-dragonfly", "libc", @@ -1736,15 +1762,21 @@ dependencies = [ "instant", ] +[[package]] +name = "fastrand" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6999dc1837253364c2ebb0704ba97994bd874e8f195d665c50b7548f6ea92764" + [[package]] name = "filetime" -version = "0.2.21" +version = "0.2.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5cbc844cecaee9d4443931972e1289c8ff485cb4cc2767cb03ca139ed6885153" +checksum = "d4029edd3e734da6fe05b6cd7bd2960760a616bd2ddd0d59a0124746d6272af0" dependencies = [ "cfg-if 1.0.0", "libc", - "redox_syscall 0.2.16", + "redox_syscall 0.3.5", "windows-sys 0.48.0", ] @@ -1767,12 +1799,12 @@ dependencies = [ [[package]] name = "flate2" -version = "1.0.26" +version = "1.0.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b9429470923de8e8cbd4d2dc513535400b4b3fef0319fb5c4e1f520a7bef743" +checksum = "c6c98ee8095e9d1dcbf2fcc6d95acccb90d1c81db1e44725c6a984b1dbdfb010" dependencies = [ "crc32fast", - "miniz_oxide 0.7.1", + "miniz_oxide", ] [[package]] @@ -1927,7 +1959,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", @@ -1944,7 +1976,7 @@ checksum = "89ca545a94061b6365f2c7355b4b32bd20df3ff95f02da9329b34ccc3bd6ee72" dependencies = [ "proc-macro2", "quote", - "syn 2.0.16", + "syn 2.0.28", ] [[package]] @@ -2055,9 +2087,9 @@ dependencies = [ [[package]] name = "getrandom" -version = "0.2.9" +version = "0.2.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c85e1d9ab2eadba7e5040d4e09cbd6d072b76a557ad64e797c2cb9d4da21d7e4" +checksum = "be4136b2a15dd319360be1c07d9933517ccf0be8f16bf62a3bee4f0d618df427" dependencies = [ "cfg-if 1.0.0", "libc", @@ -2075,7 +2107,7 @@ dependencies = [ "must_future", "paste", "thiserror", - "tokio 1.28.1", + "tokio 1.31.0", "tracing", "tracing-futures", ] @@ -2097,24 +2129,24 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "22030e2c5a68ec659fde1e949a745124b48e6fa8b045b7ed5bd1fe4ccc5c4e5d" dependencies = [ "fallible-iterator", - "indexmap", + "indexmap 1.9.3", "stable_deref_trait", ] [[package]] name = "gimli" -version = "0.27.2" +version = "0.27.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad0a93d233ebf96623465aad4046a8d3aa4da22d4f4beba5388838c8a434bbb4" +checksum = "b6c80984affa11d98d1b88b66ac8853f143217b399d3c74116778ff8fdb4ed2e" [[package]] name = "globset" -version = "0.4.10" +version = "0.4.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "029d74589adefde59de1a0c4f4732695c32805624aec7b68d91503d4dba79afc" +checksum = "759c97c1e17c55525b57192c06a267cda0ac5210b222d6b82189a2338fa1c13d" dependencies = [ - "aho-corasick 0.7.20", - "bstr 1.5.0", + "aho-corasick", + "bstr 1.6.0", "fnv", "log", "regex", @@ -2146,7 +2178,7 @@ dependencies = [ "parking_lot 0.11.2", "quanta", "rand 0.8.5", - "smallvec 1.10.0", + "smallvec 1.11.0", ] [[package]] @@ -2160,7 +2192,7 @@ dependencies = [ "fnv", "futures 0.1.31", "http 0.1.21", - "indexmap", + "indexmap 1.9.3", "log", "slab", "string", @@ -2169,9 +2201,9 @@ dependencies = [ [[package]] name = "h2" -version = "0.3.19" +version = "0.3.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d357c7ae988e7d2182f7d7871d0b963962420b0678b0997ce7de72001aeab782" +checksum = "97ec8491ebaf99c8eaa73058b045fe58073cd6be7f596ac993ced0b0a0c01049" dependencies = [ "bytes 1.4.0", "fnv", @@ -2179,9 +2211,9 @@ dependencies = [ "futures-sink", "futures-util", "http 0.2.9", - "indexmap", + "indexmap 1.9.3", "slab", - "tokio 1.28.1", + "tokio 1.31.0", "tokio-util", "tracing", ] @@ -2237,13 +2269,23 @@ dependencies = [ "ahash 0.8.3", ] +[[package]] +name = "hashbrown" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2c6201b9ff9fd90a5a3bac2e56a830d0caa509576f0e503818ee82c181b3437a" +dependencies = [ + "ahash 0.8.3", + "allocator-api2", +] + [[package]] name = "hashlink" -version = "0.8.2" +version = "0.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0761a1b9491c4f2e3d66aa0f62d0fba0af9a0e2852e4d48ea506632a4b56e6aa" +checksum = "312f66718a2d7789ffef4f4b7b213138ed9f1eb3aa1d0d82fc99f88fb3ffd26f" dependencies = [ - "hashbrown 0.13.2", + "hashbrown 0.14.0", ] [[package]] @@ -2254,7 +2296,7 @@ checksum = "63bba5629a49d90007bb81a27a9ba8f9c597a82246d44e73126130617f11c52b" dependencies = [ "futures 0.3.28", "one_err", - "rmp-serde 1.1.1", + "rmp-serde 1.1.2", "rmpv", "serde", "serde_bytes", @@ -2284,7 +2326,7 @@ version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8f5690ef906744725fcd16ae3d13b0e2ba22f046f4a9be2dc21ec2e4b3cf049a" dependencies = [ - "getrandom 0.2.9", + "getrandom 0.2.10", "hdi", "hdk_derive", "holo_hash", @@ -2365,18 +2407,9 @@ dependencies = [ [[package]] name = "hermit-abi" -version = "0.2.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee512640fe35acbfb4bb779db6f0d80704c2cacfa2e39b601ef3e3f47d1ae4c7" -dependencies = [ - "libc", -] - -[[package]] -name = "hermit-abi" -version = "0.3.1" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fed44880c466736ef9a5c5b5facefb5ed0785676d0c02d612db14e54f0d84286" +checksum = "443144c8cdadd93ebf52ddb4056d257f5b52c04d3c804e657d19eb73fc33668b" [[package]] name = "hex" @@ -2430,7 +2463,7 @@ dependencies = [ "fixt", "futures 0.3.28", "get_if_addrs", - "getrandom 0.2.9", + "getrandom 0.2.10", "ghost_actor 0.3.0-alpha.6", "hdk", "holo_hash", @@ -2474,7 +2507,7 @@ dependencies = [ "sd-notify", "serde", "serde_json", - "serde_yaml 0.9.21", + "serde_yaml 0.9.25", "shrinkwraprs", "sodoken", "structopt", @@ -2484,7 +2517,7 @@ dependencies = [ "tempfile", "thiserror", "tiny-keccak", - "tokio 1.28.1", + "tokio 1.31.0", "tokio-stream", "toml 0.5.11", "tracing", @@ -2528,7 +2561,7 @@ dependencies = [ "serde", "serde_derive", "thiserror", - "tokio 1.28.1", + "tokio 1.31.0", "tracing", "tracing-futures", ] @@ -2551,7 +2584,7 @@ dependencies = [ "kitsune_p2p", "serde", "serde_derive", - "serde_yaml 0.9.21", + "serde_yaml 0.9.25", "structopt", "thiserror", "tracing", @@ -2599,7 +2632,7 @@ dependencies = [ "serde_bytes", "sodoken", "thiserror", - "tokio 1.28.1", + "tokio 1.31.0", "tracing", ] @@ -2629,7 +2662,7 @@ dependencies = [ "serde_bytes", "serde_json", "thiserror", - "tokio 1.28.1", + "tokio 1.31.0", "tokio-stream", ] @@ -2659,7 +2692,8 @@ dependencies = [ "proc-macro2", "quote", "regex", - "semver 1.0.17", + "rmpv", + "semver 1.0.18", "serde", "serde_json", "serde_yaml 0.8.26", @@ -2667,7 +2701,8 @@ dependencies = [ "syn 1.0.109", "temp-dir", "thiserror", - "tokio 1.28.1", + "time 0.3.23", + "tokio 1.31.0", "toml 0.5.11", ] @@ -2715,7 +2750,7 @@ dependencies = [ "fallible-iterator", "fixt", "futures 0.3.28", - "getrandom 0.2.9", + "getrandom 0.2.10", "holo_hash", "holochain_serialized_bytes", "holochain_util", @@ -2743,7 +2778,7 @@ dependencies = [ "sqlformat 0.1.8", "tempfile", "thiserror", - "tokio 1.28.1", + "tokio 1.31.0", "tracing", "tracing-futures", ] @@ -2765,7 +2800,7 @@ dependencies = [ "either", "fallible-iterator", "futures 0.3.28", - "getrandom 0.2.9", + "getrandom 0.2.10", "holo_hash", "holochain_keystore", "holochain_p2p", @@ -2785,7 +2820,7 @@ dependencies = [ "shrinkwraprs", "tempfile", "thiserror", - "tokio 1.28.1", + "tokio 1.31.0", "tracing", "tracing-futures", ] @@ -2839,7 +2874,7 @@ dependencies = [ "fixt", "flate2", "futures 0.3.28", - "getrandom 0.2.9", + "getrandom 0.2.10", "holo_hash", "holochain_keystore", "holochain_serialized_bytes", @@ -2866,13 +2901,13 @@ dependencies = [ "serde_derive", "serde_json", "serde_with", - "serde_yaml 0.9.21", + "serde_yaml 0.9.25", "shrinkwraprs", "strum", "strum_macros 0.18.0", "tempfile", "thiserror", - "tokio 1.28.1", + "tokio 1.31.0", "tracing", "wasmer-middlewares", ] @@ -2892,7 +2927,7 @@ dependencies = [ "once_cell", "rpassword 7.2.0", "sodoken", - "tokio 1.28.1", + "tokio 1.31.0", ] [[package]] @@ -2971,7 +3006,7 @@ dependencies = [ "serde_bytes", "stream-cancel", "thiserror", - "tokio 1.28.1", + "tokio 1.31.0", "tokio-stream", "tokio-tungstenite 0.13.0", "tracing", @@ -3006,7 +3041,7 @@ dependencies = [ "rusqlite", "serde", "serde_bytes", - "serde_yaml 0.9.21", + "serde_yaml 0.9.25", "shrinkwraprs", "strum", "subtle", @@ -3054,7 +3089,7 @@ checksum = "bd6effc99afb63425aff9b05836f029929e345a6148a14b7ecd5ab67af944482" dependencies = [ "bytes 1.4.0", "fnv", - "itoa 1.0.6", + "itoa 1.0.9", ] [[package]] @@ -3088,15 +3123,15 @@ checksum = "d897f394bad6a705d5f4104762e116a75639e470d80901eed05a860a95cb1904" [[package]] name = "httpdate" -version = "1.0.2" +version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4a1e36c821dbe04574f602848a19f742f4fb3c98d40449f11bcad18d6b17421" +checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9" [[package]] name = "human-panic" -version = "1.1.4" +version = "1.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c16465f6227e18e5a64eba488245d7b2974d4db0c4404ca5a69b550defa18d0a" +checksum = "38a841f87949b0dd751864e769a870be79dc34abcee1cf31d737a61d498b22b6" dependencies = [ "anstream", "anstyle", @@ -3104,8 +3139,8 @@ dependencies = [ "os_info", "serde", "serde_derive", - "toml 0.7.4", - "uuid 1.3.3", + "toml 0.7.6", + "uuid 1.4.1", ] [[package]] @@ -3146,26 +3181,26 @@ dependencies = [ [[package]] name = "hyper" -version = "0.14.26" +version = "0.14.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab302d72a6f11a3b910431ff93aae7e773078c769f0a3ef15fb9ec692ed147d4" +checksum = "ffb1cfd654a8219eaef89881fdb3bb3b1cdc5fa75ded05d6933b2b382e395468" dependencies = [ "bytes 1.4.0", "futures-channel", "futures-core", "futures-util", - "h2 0.3.19", + "h2 0.3.20", "http 0.2.9", "http-body 0.4.5", "httparse", "httpdate", - "itoa 1.0.6", + "itoa 1.0.9", "pin-project-lite", "socket2 0.4.9", - "tokio 1.28.1", + "tokio 1.31.0", "tower-service", "tracing", - "want 0.3.0", + "want 0.3.1", ] [[package]] @@ -3188,17 +3223,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d6183ddfa99b85da61a140bea0efc93fdf56ceaa041b37d553518030827f9905" dependencies = [ "bytes 1.4.0", - "hyper 0.14.26", + "hyper 0.14.27", "native-tls", - "tokio 1.28.1", + "tokio 1.31.0", "tokio-native-tls", ] [[package]] name = "iana-time-zone" -version = "0.1.56" +version = "0.1.57" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0722cd7114b7de04316e7ea5456a0bbb20e4adb46fd27a3697adb812cff0f37c" +checksum = "2fad5b825842d2b38bd206f3e81d6957625fd7f0a361e345c30e01a0ae2dd613" dependencies = [ "android_system_properties", "core-foundation-sys", @@ -3338,6 +3373,16 @@ dependencies = [ "serde", ] +[[package]] +name = "indexmap" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d5477fe2230a79769d8dc68e0eabf5437907c0457a5614a9e8dddb67f65eb65d" +dependencies = [ + "equivalent", + "hashbrown 0.14.0", +] + [[package]] name = "indicatif" version = "0.11.0" @@ -3358,14 +3403,14 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2fb7c1b80a1dfa604bb4a649a5c5aeef3d913f7c520cb42b40e534e8a61bcdfc" dependencies = [ "ahash 0.8.3", - "clap 4.3.0", + "clap 4.3.21", "crossbeam-channel", - "crossbeam-utils 0.8.15", - "dashmap 5.4.0", + "crossbeam-utils 0.8.16", + "dashmap 5.5.0", "env_logger", - "indexmap", + "indexmap 1.9.3", "is-terminal", - "itoa 1.0.6", + "itoa 1.0.9", "log", "num-format", "once_cell", @@ -3407,11 +3452,11 @@ dependencies = [ [[package]] name = "io-lifetimes" -version = "1.0.10" +version = "1.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c66c74d2ae7e79a5a8f7ac924adbe38ee42a859c6539ad869eb51f0b52dc220" +checksum = "eae7b9aee968036d54dce06cebaefd919e4472e753296daccd6d344e3e2df0c2" dependencies = [ - "hermit-abi 0.3.1", + "hermit-abi 0.3.2", "libc", "windows-sys 0.48.0", ] @@ -3427,19 +3472,18 @@ dependencies = [ [[package]] name = "ipnet" -version = "2.7.2" +version = "2.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "12b6ee2129af8d4fb011108c73d99a1b83a85977f23b82460c0ae2e25bb4b57f" +checksum = "28b29a3cd74f0f4598934efe3aeba42bae0eb4680554128851ebbecb02af14e6" [[package]] name = "is-terminal" -version = "0.4.7" +version = "0.4.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "adcf93614601c8129ddf72e2d5633df827ba6551541c6d8c59520a371475be1f" +checksum = "cb0889898416213fab133e1d33a0e5858a48177452750691bde3666d0fdbaf8b" dependencies = [ - "hermit-abi 0.3.1", - "io-lifetimes", - "rustix", + "hermit-abi 0.3.2", + "rustix 0.38.8", "windows-sys 0.48.0", ] @@ -3479,15 +3523,15 @@ checksum = "b71991ff56294aa922b450139ee08b3bfc70982c6b2c7562771375cf73542dd4" [[package]] name = "itoa" -version = "1.0.6" +version = "1.0.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "453ad9f582a441959e5f0d088b02ce04cfe8d51a8eaf077f12ac6d3e94164ca6" +checksum = "af150ab688ff2122fcef229be89cb50dd66af9e01a4ff320cc137eecc9bacc38" [[package]] name = "js-sys" -version = "0.3.63" +version = "0.3.64" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f37a4a5928311ac501dee68b3c7613a1037d0edb30c8e5427bd832d55d1b790" +checksum = "c5f195fe497f702db0f318b07fdd68edb16955aed830df8363d837542f8f935a" dependencies = [ "wasm-bindgen", ] @@ -3551,7 +3595,7 @@ dependencies = [ "serde_json", "shrinkwraprs", "thiserror", - "tokio 1.28.1", + "tokio 1.31.0", "tokio-stream", "tracing", "tx5", @@ -3601,7 +3645,7 @@ dependencies = [ "serde", "serde_bytes", "serde_json", - "tokio 1.28.1", + "tokio 1.31.0", "warp", ] @@ -3660,7 +3704,7 @@ dependencies = [ "serde", "serde_bytes", "thiserror", - "tokio 1.28.1", + "tokio 1.31.0", "tracing", ] @@ -3677,7 +3721,7 @@ dependencies = [ "futures-util", "libmdns", "mdns", - "tokio 1.28.1", + "tokio 1.31.0", "tokio-stream", ] @@ -3697,11 +3741,11 @@ dependencies = [ "nanoid 0.3.0", "parking_lot 0.11.2", "rmp-serde 0.15.5", - "rustls", + "rustls 0.20.8", "serde", "serde_bytes", "structopt", - "tokio 1.28.1", + "tokio 1.31.0", "tracing-subscriber", "webpki 0.21.4", ] @@ -3733,9 +3777,9 @@ dependencies = [ "once_cell", "quinn", "rcgen 0.9.3", - "rustls", + "rustls 0.20.8", "serde", - "tokio 1.28.1", + "tokio 1.31.0", "webpki 0.22.0", ] @@ -3763,14 +3807,14 @@ dependencies = [ "parking_lot 0.11.2", "paste", "rmp-serde 0.15.5", - "rustls", + "rustls 0.20.8", "serde", "serde_bytes", "serde_json", "shrinkwraprs", "sysinfo 0.27.8", "thiserror", - "tokio 1.28.1", + "tokio 1.31.0", "tokio-stream", "url 2.4.0", "url2", @@ -3793,7 +3837,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d453c328fa04779277f6f4b8e4a71f2bd20e0f0566cb837e6f800bc58777e4a8" dependencies = [ "lair_keystore_api", - "pretty_assertions 1.3.0", + "pretty_assertions 1.4.0", "rpassword 7.2.0", "rusqlite", "sqlformat 0.2.1", @@ -3818,10 +3862,10 @@ dependencies = [ "rcgen 0.10.0", "serde", "serde_json", - "serde_yaml 0.9.21", - "tokio 1.28.1", + "serde_yaml 0.9.25", + "tokio 1.31.0", "toml 0.5.11", - "toml 0.7.4", + "toml 0.7.6", "tracing", "url 2.4.0", "winapi 0.3.9", @@ -3842,27 +3886,31 @@ checksum = "884e2677b40cc8c339eaefcb701c32ef1fd2493d71118dc0ca4b6a736c93bd67" [[package]] name = "libc" -version = "0.2.144" +version = "0.2.147" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b00cc1c228a6782d0f076e7b232802e0c5689d41bb5df366f2a6b6621cfdfe1" +checksum = "b4668fb0ea861c1df094127ac5f1da3409a82116a4ba74fca2e58ef927159bb3" [[package]] name = "libflate" -version = "1.4.0" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ff4ae71b685bbad2f2f391fe74f6b7659a34871c08b210fdc039e43bee07d18" +checksum = "9f7d5654ae1795afc7ff76f4365c2c8791b0feb18e8996a96adad8ffd7c3b2bf" dependencies = [ "adler32", + "core2", "crc32fast", + "dary_heap", "libflate_lz77", ] [[package]] name = "libflate_lz77" -version = "1.2.0" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a52d3a8bfc85f250440e4424db7d857e241a3aebbbe301f3eb606ab15c39acbf" +checksum = "be5f52fb8c451576ec6b79d3f4deb327398bc05bbdbd99021a6e77a4c855d524" dependencies = [ + "core2", + "hashbrown 0.13.2", "rle-decode-fast", ] @@ -3908,15 +3956,15 @@ dependencies = [ "rand 0.8.5", "socket2 0.4.9", "thiserror", - "tokio 1.28.1", + "tokio 1.31.0", "winapi 0.3.9", ] [[package]] name = "libsodium-sys-stable" -version = "1.19.28" +version = "1.19.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c380d5be44ec310e371ff404e923e39464ca21ebef0a1468f4bfbbc92af547f5" +checksum = "2cf9c3bd17952580efd8f57e3d01d724cfb18d51fbd9dc00a65e5911f71521ba" dependencies = [ "cc", "libc", @@ -3952,6 +4000,12 @@ version = "0.3.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519" +[[package]] +name = "linux-raw-sys" +version = "0.4.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "57bcfdad1b858c2db7c38303a6d2ad4dfaf5eb53dfeb0910128b2c26d6158503" + [[package]] name = "lock_api" version = "0.3.4" @@ -3963,9 +4017,9 @@ dependencies = [ [[package]] name = "lock_api" -version = "0.4.9" +version = "0.4.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "435011366fe56583b16cf956f9df0095b405b82d76425bc8981c0e22e60ec4df" +checksum = "c1cc9717a20b1bb222f333e6a92fd32f7d8a18ddc5a3191a11af45dcbf4dcd16" dependencies = [ "autocfg 1.1.0", "scopeguard", @@ -3973,11 +4027,10 @@ dependencies = [ [[package]] name = "log" -version = "0.4.17" +version = "0.4.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "abb12e687cfb44aa40f41fc3978ef76448f9b6038cad6aef4259d3c095a2382e" +checksum = "b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f" dependencies = [ - "cfg-if 1.0.0", "value-bag", ] @@ -3987,7 +4040,7 @@ version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9b6a72dfa44fe15b5e76b94307eeb2ff995a8c5b283b55008940c02e0c5b634d" dependencies = [ - "indexmap", + "indexmap 1.9.3", "loupe-derive", "rustversion", ] @@ -4047,7 +4100,7 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8263075bb86c5a1b1427b5ae862e8889656f126e9f77c484496e8b47cf5c5558" dependencies = [ - "regex-automata", + "regex-automata 0.1.10", ] [[package]] @@ -4123,9 +4176,9 @@ dependencies = [ [[package]] name = "memoffset" -version = "0.8.0" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d61c719bcfbcf5d62b3a09efa6088de8c54bc0bfcd3ea7ae39fcc186108b8de1" +checksum = "5a634b1c61a95585bd15607c6ab0c4e5b226e695ff2800ba0cdccddf208c406c" dependencies = [ "autocfg 1.1.0", ] @@ -4158,15 +4211,6 @@ version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "933dca44d65cdd53b355d0b73d380a2ff5da71f87f036053188bf1eab6a19881" -[[package]] -name = "miniz_oxide" -version = "0.6.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b275950c28b37e794e8c55d88aeb5e139d0ce23fdbbeda68f8d7174abdf9e8fa" -dependencies = [ - "adler", -] - [[package]] name = "miniz_oxide" version = "0.7.1" @@ -4197,14 +4241,13 @@ dependencies = [ [[package]] name = "mio" -version = "0.8.6" +version = "0.8.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b9d9a46eff5b4ff64b45a9e316a6d1e0bc719ef429cbec4dc630684212bfdf9" +checksum = "927a765cd3fc26206e66b296465fa9d3e5ab003e651c1b3c060e7956d96b19d2" dependencies = [ "libc", - "log", "wasi 0.11.0+wasi-snapshot-preview1", - "windows-sys 0.45.0", + "windows-sys 0.48.0", ] [[package]] @@ -4270,7 +4313,7 @@ dependencies = [ "serde", "serde_bytes", "serde_derive", - "serde_yaml 0.9.21", + "serde_yaml 0.9.25", "thiserror", ] @@ -4378,9 +4421,9 @@ dependencies = [ [[package]] name = "net2" -version = "0.2.38" +version = "0.2.39" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "74d0df99cfcd2530b2e694f6e17e7f37b8e26bb23983ac530c0c97408837c631" +checksum = "b13b648036a2339d06de780866fbdfda0dde886de7b3af2ddeba8b14f4ee34ac" dependencies = [ "cfg-if 0.1.10", "libc", @@ -4461,9 +4504,9 @@ dependencies = [ [[package]] name = "num" -version = "0.4.0" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43db66d1170d347f9a065114077f7dccb00c1b9478c89384490a3425279a4606" +checksum = "b05180d69e3da0e530ba2a1dae5110317e49e3b7f3d41be227dc5f92e49ee7af" dependencies = [ "num-bigint", "num-complex", @@ -4486,9 +4529,9 @@ dependencies = [ [[package]] name = "num-complex" -version = "0.4.3" +version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "02e0d21255c828d6f128a1e41534206671e8c3ea0c62f32291e808dc82cff17d" +checksum = "1ba157ca0885411de85d6ca030ba7e2a83a28636056c7c699b07c8b6f7383214" dependencies = [ "num-traits", ] @@ -4499,8 +4542,8 @@ version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a652d9771a63711fd3c3deb670acfbe5c30a4072e664d7a3bf5a9e1056ac72c3" dependencies = [ - "arrayvec 0.7.2", - "itoa 1.0.6", + "arrayvec 0.7.4", + "itoa 1.0.9", ] [[package]] @@ -4538,9 +4581,9 @@ dependencies = [ [[package]] name = "num-traits" -version = "0.2.15" +version = "0.2.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "578ede34cf02f8924ab9447f50c28075b4d3e5b269972345e7e0372b38c6cdcd" +checksum = "f30b0abd723be7e2ffca1272140fac1a2f084c77ec3e123c192b66af1ee9e6c2" dependencies = [ "autocfg 1.1.0", "libm", @@ -4548,11 +4591,11 @@ dependencies = [ [[package]] name = "num_cpus" -version = "1.15.0" +version = "1.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fac9e2da13b5eb447a6ce3d392f23a29d8694bff781bf03a16cd9ac8697593b" +checksum = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43" dependencies = [ - "hermit-abi 0.2.6", + "hermit-abi 0.3.2", "libc", ] @@ -4594,24 +4637,24 @@ checksum = "e42c982f2d955fac81dd7e1d0e1426a7d702acd9c98d19ab01083a6a0328c424" dependencies = [ "crc32fast", "hashbrown 0.11.2", - "indexmap", + "indexmap 1.9.3", "memchr", ] [[package]] name = "object" -version = "0.30.3" +version = "0.31.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea86265d3d3dcb6a27fc51bd29a4bf387fae9d2986b823079d4986af253eb439" +checksum = "8bda667d9f2b5051b8833f59f3bf748b28ef54f850f4fcb389a252aa383866d1" dependencies = [ "memchr", ] [[package]] name = "once_cell" -version = "1.17.1" +version = "1.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b7e5500299e16ebb147ae15a00a942af264cf3688f47923b8fc2cd5858f23ad3" +checksum = "dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d" [[package]] name = "one_err" @@ -4619,7 +4662,7 @@ version = "0.0.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e81851974d8bb6cc9a643cca68afdce7f0a3b80e08a4620388836bb99a680554" dependencies = [ - "indexmap", + "indexmap 1.9.3", "libc", "serde", "serde_json", @@ -4633,9 +4676,9 @@ checksum = "624a8340c38c1b80fd549087862da4ba43e08858af025b236e509b6649fc13d5" [[package]] name = "openssl" -version = "0.10.52" +version = "0.10.56" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01b8574602df80f7b85fdfc5392fa884a4e3b3f4f35402c070ab34c3d3f78d56" +checksum = "729b745ad4a5575dd06a3e1af1414bd330ee561c01b3899eb584baeaa8def17e" dependencies = [ "bitflags 1.3.2", "cfg-if 1.0.0", @@ -4654,7 +4697,7 @@ checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.16", + "syn 2.0.28", ] [[package]] @@ -4665,9 +4708,9 @@ checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" [[package]] name = "openssl-sys" -version = "0.9.87" +version = "0.9.91" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e17f59264b2809d77ae94f0e1ebabc434773f370d6ca667bd223ea10e06cc7e" +checksum = "866b5f16f90776b9bb8dc1e1802ac6f0513de3a7a7465867bfbc563dc737faac" dependencies = [ "cc", "libc", @@ -4694,9 +4737,9 @@ dependencies = [ [[package]] name = "os_str_bytes" -version = "6.5.0" +version = "6.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ceedf44fb00f2d1984b0bc98102627ce622e083e49a5bacdb3e514fa4238e267" +checksum = "4d5d9eb14b174ee9aa2ef96dc2b94637a2d4b6e7cb873c7e171f0c20c6cf3eac" [[package]] name = "ouroboros" @@ -4797,7 +4840,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7d17b78036a60663b797adeaee46f5c9dfebb86948d1255007a1d6be0271ff99" dependencies = [ "instant", - "lock_api 0.4.9", + "lock_api 0.4.10", "parking_lot_core 0.8.6", ] @@ -4807,8 +4850,8 @@ version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f" dependencies = [ - "lock_api 0.4.9", - "parking_lot_core 0.9.7", + "lock_api 0.4.10", + "parking_lot_core 0.9.8", ] [[package]] @@ -4848,7 +4891,7 @@ dependencies = [ "cloudabi", "libc", "redox_syscall 0.1.57", - "smallvec 1.10.0", + "smallvec 1.11.0", "winapi 0.3.9", ] @@ -4862,28 +4905,28 @@ dependencies = [ "instant", "libc", "redox_syscall 0.2.16", - "smallvec 1.10.0", + "smallvec 1.11.0", "winapi 0.3.9", ] [[package]] name = "parking_lot_core" -version = "0.9.7" +version = "0.9.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9069cbb9f99e3a5083476ccb29ceb1de18b9118cafa53e90c9551235de2b9521" +checksum = "93f00c865fe7cabf650081affecd3871070f26767e7b2070a3ffae14c654b447" dependencies = [ "cfg-if 1.0.0", "libc", - "redox_syscall 0.2.16", - "smallvec 1.10.0", - "windows-sys 0.45.0", + "redox_syscall 0.3.5", + "smallvec 1.11.0", + "windows-targets 0.48.2", ] [[package]] name = "paste" -version = "1.0.12" +version = "1.0.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f746c4065a8fa3fe23974dd82f15431cc8d40779821001404d10d2e79ca7d79" +checksum = "de3145af08024dea9fa9914f381a17b8fc6034dfb00f3a84013f7ff43f29ed4c" [[package]] name = "path-clean" @@ -4914,9 +4957,9 @@ checksum = "9b2a4787296e9989611394c33f193f676704af1686e70b8f8033ab5ba9a35a94" [[package]] name = "pest" -version = "2.6.0" +version = "2.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e68e84bfb01f0507134eac1e9b410a12ba379d064eab48c50ba4ce329a527b70" +checksum = "1acb4a4365a13f749a93f1a094a7805e5cfa0955373a9de860d962eaa3a5fe5a" dependencies = [ "thiserror", "ucd-trie", @@ -4924,9 +4967,9 @@ dependencies = [ [[package]] name = "pest_derive" -version = "2.6.0" +version = "2.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b79d4c71c865a25a4322296122e3924d30bc8ee0834c8bfc8b95f7f054afbfb" +checksum = "666d00490d4ac815001da55838c500eafb0320019bbaa44444137c48b443a853" dependencies = [ "pest", "pest_generator", @@ -4934,22 +4977,22 @@ dependencies = [ [[package]] name = "pest_generator" -version = "2.6.0" +version = "2.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c435bf1076437b851ebc8edc3a18442796b30f1728ffea6262d59bbe28b077e" +checksum = "68ca01446f50dbda87c1786af8770d535423fa8a53aec03b8f4e3d7eb10e0929" dependencies = [ "pest", "pest_meta", "proc-macro2", "quote", - "syn 2.0.16", + "syn 2.0.28", ] [[package]] name = "pest_meta" -version = "2.6.0" +version = "2.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "745a452f8eb71e39ffd8ee32b3c5f51d03845f99786fa9b68db6ff509c505411" +checksum = "56af0a30af74d0445c0bf6d9d051c979b516a1a5af790d251daee76005420a48" dependencies = [ "once_cell", "pest", @@ -4958,29 +5001,29 @@ dependencies = [ [[package]] name = "pin-project" -version = "1.1.0" +version = "1.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c95a7476719eab1e366eaf73d0260af3021184f18177925b07f54b30089ceead" +checksum = "fda4ed1c6c173e3fc7a83629421152e01d7b1f9b7f65fb301e490e8cfc656422" dependencies = [ "pin-project-internal", ] [[package]] name = "pin-project-internal" -version = "1.1.0" +version = "1.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "39407670928234ebc5e6e580247dd567ad73a3578460c5990f9503df207e8f07" +checksum = "4359fd9c9171ec6e8c62926d6faaf553a8dc3f64e1507e76da7911b4f6a04405" dependencies = [ "proc-macro2", "quote", - "syn 2.0.16", + "syn 2.0.28", ] [[package]] name = "pin-project-lite" -version = "0.2.9" +version = "0.2.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e0a7ae3ac2f1173085d398531c705756c94a4c56843785df85a60c1a0afac116" +checksum = "12cc1b0bf1727a77a54b6654e7b5f1af8604923edc8b81885f8ec92f9e3f0a05" [[package]] name = "pin-utils" @@ -5089,13 +5132,11 @@ dependencies = [ [[package]] name = "pretty_assertions" -version = "1.3.0" +version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a25e9bcb20aa780fd0bb16b72403a9064d6b3f22f026946029acb941a50af755" +checksum = "af7cee1a6c8a5b9208b3cb1061f10c0cb689087b3d8ce85fb9d2dd7a29b6ba66" dependencies = [ - "ctor", "diff", - "output_vt100", "yansi", ] @@ -5145,9 +5186,9 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.58" +version = "1.0.66" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa1fb82fc0c281dd9671101b66b771ebbe1eaf967b96ac8740dcba4b70005ca8" +checksum = "18fb31db3f9bddb2ea821cde30a9f70117e3f119938b5ee630b7403aa6e2ead9" dependencies = [ "unicode-ident", ] @@ -5240,9 +5281,9 @@ dependencies = [ "fxhash", "quinn-proto", "quinn-udp", - "rustls", + "rustls 0.20.8", "thiserror", - "tokio 1.28.1", + "tokio 1.31.0", "tracing", "webpki 0.22.0", ] @@ -5257,7 +5298,7 @@ dependencies = [ "fxhash", "rand 0.8.5", "ring", - "rustls", + "rustls 0.20.8", "rustls-native-certs", "rustls-pemfile 0.2.1", "slab", @@ -5277,15 +5318,15 @@ dependencies = [ "libc", "quinn-proto", "socket2 0.4.9", - "tokio 1.28.1", + "tokio 1.31.0", "tracing", ] [[package]] name = "quote" -version = "1.0.27" +version = "1.0.32" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f4f29d145265ec1c483c7c654450edde0bfe043d3938d6972630663356d9500" +checksum = "50f3b39ccfb720540debaa0164757101c08ecb8d326b15358ce76a62c7e85965" dependencies = [ "proc-macro2", ] @@ -5442,7 +5483,7 @@ version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" dependencies = [ - "getrandom 0.2.9", + "getrandom 0.2.10", ] [[package]] @@ -5550,7 +5591,7 @@ checksum = "4b8f95bd6966f5c87776639160a66bd8ab9895d9d4ab01ddba9fc60661aebe8d" dependencies = [ "crossbeam-channel", "crossbeam-deque 0.8.3", - "crossbeam-utils 0.8.15", + "crossbeam-utils 0.8.16", "num_cpus", ] @@ -5562,7 +5603,7 @@ checksum = "6413f3de1edee53342e6138e75b56d32e7bc6e332b3bd62d497b1929d4cfbcdd" dependencies = [ "pem", "ring", - "time 0.3.21", + "time 0.3.23", "yasna", ] @@ -5574,7 +5615,7 @@ checksum = "ffbe84efe2f38dea12e9bfc1f65377fdf03e53a18cb3b995faedf7934c7e785b" dependencies = [ "pem", "ring", - "time 0.3.21", + "time 0.3.23", "yasna", "zeroize", ] @@ -5618,7 +5659,7 @@ version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b033d837a7cf162d7993aded9304e30a83213c648b6e389db233191f891e5c2b" dependencies = [ - "getrandom 0.2.9", + "getrandom 0.2.10", "redox_syscall 0.2.16", "thiserror", ] @@ -5631,18 +5672,19 @@ checksum = "62446b1d3ebf980bdc68837700af1d77b37bc430e524bf95319c6eada2a4cc02" dependencies = [ "log", "rustc-hash", - "smallvec 1.10.0", + "smallvec 1.11.0", ] [[package]] name = "regex" -version = "1.8.2" +version = "1.9.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d1a59b5d8e97dee33696bf13c5ba8ab85341c002922fba050069326b9c498974" +checksum = "81bc1d4caf89fac26a70747fe603c130093b53c773888797a6329091246d651a" dependencies = [ - "aho-corasick 1.0.1", + "aho-corasick", "memchr", - "regex-syntax 0.7.2", + "regex-automata 0.3.6", + "regex-syntax 0.7.4", ] [[package]] @@ -5654,6 +5696,17 @@ dependencies = [ "regex-syntax 0.6.29", ] +[[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 0.7.4", +] + [[package]] name = "regex-syntax" version = "0.6.29" @@ -5662,9 +5715,9 @@ checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1" [[package]] name = "regex-syntax" -version = "0.7.2" +version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "436b050e76ed2903236f032a59761c1eb99e1b0aead2c257922771dab1fc8c78" +checksum = "e5ea92a5b6195c6ef2a0295ea818b312502c6fc94dde986c5553242e18fd4ce2" [[package]] name = "region" @@ -5727,15 +5780,15 @@ version = "0.11.18" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cde824a14b7c14f85caff81225f411faacc04a2013f41670f41443742b1c1c55" dependencies = [ - "base64 0.21.1", + "base64 0.21.2", "bytes 1.4.0", "encoding_rs", "futures-core", "futures-util", - "h2 0.3.19", + "h2 0.3.20", "http 0.2.9", "http-body 0.4.5", - "hyper 0.14.26", + "hyper 0.14.27", "hyper-tls 0.5.0", "ipnet", "js-sys", @@ -5748,7 +5801,7 @@ dependencies = [ "serde", "serde_json", "serde_urlencoded 0.7.1", - "tokio 1.28.1", + "tokio 1.31.0", "tokio-native-tls", "tower-service", "url 2.4.0", @@ -5796,7 +5849,7 @@ dependencies = [ "rkyv_derive", "seahash", "tinyvec", - "uuid 1.3.3", + "uuid 1.4.1", ] [[package]] @@ -5818,9 +5871,9 @@ checksum = "3582f63211428f83597b51b2ddb88e2a91a9d52d12831f9d08f5e624e8977422" [[package]] name = "rmp" -version = "0.8.11" +version = "0.8.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44519172358fd6d58656c86ab8e7fbc9e1490c3e8f14d35ed78ca0dd07403c9f" +checksum = "7f9860a6cc38ed1da53456442089b4dfa35e7cedaa326df63017af88385e6b20" dependencies = [ "byteorder", "num-traits", @@ -5840,9 +5893,9 @@ dependencies = [ [[package]] name = "rmp-serde" -version = "1.1.1" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c5b13be192e0220b8afb7222aa5813cb62cc269ebb5cac346ca6487681d2913e" +checksum = "bffea85eea980d8a74453e5d02a8d93028f3c34725de143085a844ebe953258a" dependencies = [ "byteorder", "rmp", @@ -5898,12 +5951,12 @@ version = "0.29.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "549b9d036d571d42e6e85d1c1425e2ac83491075078ca9a15be021c56b1641f2" dependencies = [ - "bitflags 2.3.3", + "bitflags 2.4.0", "fallible-iterator", "fallible-streaming-iterator", "hashlink", "libsqlite3-sys", - "smallvec 1.10.0", + "smallvec 1.11.0", ] [[package]] @@ -5933,20 +5986,33 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366" dependencies = [ - "semver 1.0.17", + "semver 1.0.18", ] [[package]] name = "rustix" -version = "0.37.19" +version = "0.37.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "acf8729d8542766f1b2cf77eb034d52f40d375bb8b615d0b147089946e16613d" +checksum = "4d69718bf81c6127a49dc64e44a742e8bb9213c0ff8869a22c308f84c1d4ab06" dependencies = [ "bitflags 1.3.2", "errno", "io-lifetimes", "libc", - "linux-raw-sys", + "linux-raw-sys 0.3.8", + "windows-sys 0.48.0", +] + +[[package]] +name = "rustix" +version = "0.38.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "19ed4fa021d81c8392ce04db050a3da9a60299050b7ae1cf482d862b54a7218f" +dependencies = [ + "bitflags 2.4.0", + "errno", + "libc", + "linux-raw-sys 0.4.5", "windows-sys 0.48.0", ] @@ -5962,14 +6028,26 @@ dependencies = [ "webpki 0.22.0", ] +[[package]] +name = "rustls" +version = "0.21.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d1feddffcfcc0b33f5c6ce9a29e341e4cd59c3f78e7ee45f4a40c038b1d6cbb" +dependencies = [ + "log", + "ring", + "rustls-webpki 0.101.3", + "sct", +] + [[package]] name = "rustls-native-certs" -version = "0.6.2" +version = "0.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0167bac7a9f490495f3c33013e7722b53cb087ecbe082fb0c6387c96f634ea50" +checksum = "a9aace74cb666635c918e9c12bc0d348266037aa8eb599b5cba565709a8dff00" dependencies = [ "openssl-probe", - "rustls-pemfile 1.0.2", + "rustls-pemfile 1.0.3", "schannel", "security-framework", ] @@ -5985,11 +6063,11 @@ dependencies = [ [[package]] name = "rustls-pemfile" -version = "1.0.2" +version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d194b56d58803a43635bdc398cd17e383d6f71f9182b9a192c127ca42494a59b" +checksum = "2d3987094b1d07b653b7dfdc3f70ce9a1da9c51ac18c1b06b662e4f9a0e9f4b2" dependencies = [ - "base64 0.21.1", + "base64 0.21.2", ] [[package]] @@ -6002,17 +6080,27 @@ dependencies = [ "untrusted", ] +[[package]] +name = "rustls-webpki" +version = "0.101.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "261e9e0888cba427c3316e6322805653c9425240b6fd96cee7cb671ab70ab8d0" +dependencies = [ + "ring", + "untrusted", +] + [[package]] name = "rustversion" -version = "1.0.12" +version = "1.0.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4f3208ce4d8448b3f3e7d168a73f5e0c43a61e32930de3bceeccedb388b6bf06" +checksum = "7ffc183a10b4478d04cbbbfc96d0873219d962dd5accaff2ffbd4ceb7df837f4" [[package]] name = "ryu" -version = "1.0.13" +version = "1.0.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f91339c0467de62360649f8d3e185ca8de4224ff281f66000de5eb2a77a79041" +checksum = "1ad4cc8da4ef723ed60bced201181d83791ad433213d8c24efffda1eec85d741" [[package]] name = "same-file" @@ -6025,11 +6113,11 @@ dependencies = [ [[package]] name = "schannel" -version = "0.1.21" +version = "0.1.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "713cfb06c7059f3588fb8044c0fad1d09e3c01d225e25b9220dbfdcf16dbb1b3" +checksum = "0c3733bf4cf7ea0880754e19cb5a462007c4a8c1914bff372ccc95b464f1df88" dependencies = [ - "windows-sys 0.42.0", + "windows-sys 0.48.0", ] [[package]] @@ -6049,9 +6137,9 @@ checksum = "e1cf6437eb19a8f4a6cc0f7dca544973b0b78843adbfeb3683d1a94a0024a294" [[package]] name = "scopeguard" -version = "1.1.0" +version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd" +checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" [[package]] name = "sct" @@ -6077,9 +6165,9 @@ checksum = "1c107b6f4780854c8b126e228ea8869f4d7b71260f962fefb57b996b8959ba6b" [[package]] name = "security-framework" -version = "2.9.1" +version = "2.9.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fc758eb7bffce5b308734e9b0c1468893cae9ff70ebf13e7090be8dcbcc83a8" +checksum = "05b64fb303737d99b81884b2c63433e9ae28abebe5eb5045dcdd175dc2ecf4de" dependencies = [ "bitflags 1.3.2", "core-foundation", @@ -6090,9 +6178,9 @@ dependencies = [ [[package]] name = "security-framework-sys" -version = "2.9.0" +version = "2.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f51d0c0d83bec45f16480d0ce0058397a69e48fcdc52d1dc8855fb68acbd31a7" +checksum = "e932934257d3b408ed8f30db49d85ea163bfe74961f017f405b025af298f0c7a" dependencies = [ "core-foundation-sys", "libc", @@ -6118,9 +6206,9 @@ dependencies = [ [[package]] name = "semver" -version = "1.0.17" +version = "1.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bebd363326d05ec3e2f532ab7660680f3b02130d780c299bca73469d521bc0ed" +checksum = "b0293b4b29daaf487284529cc2f5675b8e57c61f70167ba415a463651fd6a918" dependencies = [ "serde", ] @@ -6142,9 +6230,9 @@ dependencies = [ [[package]] name = "serde" -version = "1.0.163" +version = "1.0.183" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2113ab51b87a539ae008b5c6c02dc020ffa39afd2d83cffcb3f4eb2722cebec2" +checksum = "32ac8da02677876d532745a130fc9d8e6edfa81a269b107c5b00829b91d8eb3c" dependencies = [ "serde_derive", ] @@ -6160,41 +6248,41 @@ dependencies = [ [[package]] name = "serde_bytes" -version = "0.11.9" +version = "0.11.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "416bda436f9aab92e02c8e10d49a15ddd339cea90b6e340fe51ed97abb548294" +checksum = "ab33ec92f677585af6d88c65593ae2375adde54efdbf16d597f2cbc7a6d368ff" dependencies = [ "serde", ] [[package]] name = "serde_derive" -version = "1.0.163" +version = "1.0.183" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c805777e3930c8883389c602315a24224bcc738b63905ef87cd1420353ea93e" +checksum = "aafe972d60b0b9bee71a91b92fee2d4fb3c9d7e8f6b179aa99f27203d99a4816" dependencies = [ "proc-macro2", "quote", - "syn 2.0.16", + "syn 2.0.28", ] [[package]] name = "serde_json" -version = "1.0.96" +version = "1.0.105" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "057d394a50403bcac12672b2b18fb387ab6d289d957dab67dd201875391e52f1" +checksum = "693151e1ac27563d6dbcec9dee9fbd5da8539b20fa14ad3752b2e6d363ace360" dependencies = [ - "indexmap", - "itoa 1.0.6", + "indexmap 2.0.0", + "itoa 1.0.9", "ryu", "serde", ] [[package]] name = "serde_spanned" -version = "0.6.2" +version = "0.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93107647184f6027e3b7dcb2e11034cf95ffa1e3a682c67951963ac69c1c007d" +checksum = "96426c9936fd7a0124915f9185ea1d20aa9445cc9821142f0a73bc9207a2e186" dependencies = [ "serde", ] @@ -6218,7 +6306,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d3491c14715ca2294c4d6a88f15e84739788c1d030eed8c110436aafdaa2f3fd" dependencies = [ "form_urlencoded", - "itoa 1.0.6", + "itoa 1.0.9", "ryu", "serde", ] @@ -6251,7 +6339,7 @@ version = "0.8.26" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "578a7433b776b56a35785ed5ce9a7e777ac0598aac5a6dd1b4b18a307c7fc71b" dependencies = [ - "indexmap", + "indexmap 1.9.3", "ryu", "serde", "yaml-rust", @@ -6259,12 +6347,12 @@ dependencies = [ [[package]] name = "serde_yaml" -version = "0.9.21" +version = "0.9.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9d684e3ec7de3bf5466b32bd75303ac16f0736426e5a4e0d6e489559ce1249c" +checksum = "1a49e178e4452f45cb61d0cd8cebc1b0fafd3e41929e996cef79aa3aca91f574" dependencies = [ - "indexmap", - "itoa 1.0.6", + "indexmap 2.0.0", + "itoa 1.0.9", "ryu", "serde", "unsafe-libyaml", @@ -6307,9 +6395,9 @@ dependencies = [ [[package]] name = "sha2" -version = "0.10.6" +version = "0.10.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "82e6b795fe2e3b1e845bafcb27aa35405c4d47cdfc92af5fc8d3002f76cebdc0" +checksum = "479fb9d862239e610720565ca91403019f2f00410f1864c5aa7479b950a76ed8" dependencies = [ "cfg-if 1.0.0", "cpufeatures", @@ -6346,9 +6434,9 @@ dependencies = [ [[package]] name = "signal-hook" -version = "0.3.15" +version = "0.3.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "732768f1176d21d09e076c23a93123d40bba92d50c4058da34d45c8de8e682b9" +checksum = "8621587d4798caf8eb44879d42e56b9a93ea5dcd315a6487c357130095b62801" dependencies = [ "libc", "signal-hook-registry", @@ -6410,9 +6498,9 @@ dependencies = [ [[package]] name = "smallvec" -version = "1.10.0" +version = "1.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a507befe795404456341dfab10cef66ead4c041f62b8b11bbb92bffe5d0953e0" +checksum = "62bb4feee49fdd9f707ef802e22365a35de4b7b299de4763d44bfea899442ff9" [[package]] name = "socket2" @@ -6446,7 +6534,7 @@ dependencies = [ "once_cell", "one_err", "parking_lot 0.12.1", - "tokio 1.28.1", + "tokio 1.31.0", ] [[package]] @@ -6516,7 +6604,7 @@ checksum = "7b0a9eb2715209fb8cc0d942fcdff45674bfc9f0090a0d897e85a22955ad159b" dependencies = [ "futures-core", "pin-project", - "tokio 1.28.1", + "tokio 1.31.0", ] [[package]] @@ -6639,9 +6727,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.16" +version = "2.0.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a6f671d4b5ffdb8eadec19c0ae67fe2639df8684bd7bc4b83d986b8db549cf01" +checksum = "04361975b3f5e348b2189d8dc55bc942f278b2d482a6a0365de5bdd62d351567" dependencies = [ "proc-macro2", "quote", @@ -6698,9 +6786,9 @@ checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" [[package]] name = "tar" -version = "0.4.38" +version = "0.4.40" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b55807c0344e1e6c04d7c965f5289c39a8d94ae23ed5c0b57aabac549f871c6" +checksum = "b16afcea1f22891c49a00c751c7b63b2233284064f11a200fc624137c51e2ddb" dependencies = [ "filetime", "libc", @@ -6709,9 +6797,9 @@ dependencies = [ [[package]] name = "target-lexicon" -version = "0.12.7" +version = "0.12.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fd1ba337640d60c3e96bc6f0638a939b9c9a7f2c316a1598c279828b3d1dc8c5" +checksum = "9d0e916b1148c8e263850e1ebcbd046f333e0683c724876bb0da63ea4373dc8a" [[package]] name = "task-motel" @@ -6721,7 +6809,7 @@ checksum = "767559c8f4ccd87d0191b0ca6bf4480a06bb7e8d98de2169e48d6b6ed18af1a6" dependencies = [ "futures 0.3.28", "parking_lot 0.12.1", - "tokio 1.28.1", + "tokio 1.31.0", "tracing", ] @@ -6733,15 +6821,15 @@ checksum = "af547b166dd1ea4b472165569fc456cfb6818116f854690b0ff205e636523dab" [[package]] name = "tempfile" -version = "3.5.0" +version = "3.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9fbec84f381d5795b08656e4912bec604d162bff9291d6189a78f4c8ab87998" +checksum = "dc02fddf48964c42031a0b3fe0428320ecf3a73c401040fc0096f97794310651" dependencies = [ "cfg-if 1.0.0", - "fastrand", + "fastrand 2.0.0", "redox_syscall 0.3.5", - "rustix", - "windows-sys 0.45.0", + "rustix 0.38.8", + "windows-sys 0.48.0", ] [[package]] @@ -6759,7 +6847,7 @@ version = "0.2.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8e6bf6f19e9f8ed8d4048dc22981458ebcf406d67e94cd422e5ecd73d63b3237" dependencies = [ - "rustix", + "rustix 0.37.23", "windows-sys 0.48.0", ] @@ -6849,22 +6937,22 @@ checksum = "222a222a5bfe1bba4a77b45ec488a741b3cb8872e5e499451fd7d0129c9c7c3d" [[package]] name = "thiserror" -version = "1.0.40" +version = "1.0.46" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "978c9a314bd8dc99be594bc3c175faaa9794be04a5a5e153caba6915336cebac" +checksum = "d9207952ae1a003f42d3d5e892dac3c6ba42aa6ac0c79a6a91a2b5cb4253e75c" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.40" +version = "1.0.46" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f9456a42c5b0d803c8cd86e73dd7cc9edd429499f37a3550d286d5e86720569f" +checksum = "f1728216d3244de4f14f14f8c15c79be1a7c67867d28d69b719690e2a19fb445" dependencies = [ "proc-macro2", "quote", - "syn 2.0.16", + "syn 2.0.28", ] [[package]] @@ -6901,11 +6989,11 @@ dependencies = [ [[package]] name = "time" -version = "0.3.21" +version = "0.3.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f3403384eaacbca9923fa06940178ac13e4edb725486d70e8e15881d0c836cc" +checksum = "59e399c068f43a5d116fedaf73b203fa4f9c519f17e2b34f63221d3792f81446" dependencies = [ - "itoa 1.0.6", + "itoa 1.0.9", "serde", "time-core", "time-macros", @@ -6919,9 +7007,9 @@ checksum = "7300fbefb4dadc1af235a9cef3737cea692a9d97e1b9cbcd4ebdae6f8868e6fb" [[package]] name = "time-macros" -version = "0.2.9" +version = "0.2.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "372950940a5f07bf38dbe211d7283c9e6d7327df53794992d293e534c733d09b" +checksum = "96ba15a897f3c86766b757e5ac7221554c6750054d74d5b28844fce5fb36a6c4" dependencies = [ "time-core", ] @@ -6971,19 +7059,19 @@ dependencies = [ [[package]] name = "tokio" -version = "1.28.1" +version = "1.31.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0aa32867d44e6f2ce3385e89dceb990188b8bb0fb25b0cf576647a6f98ac5105" +checksum = "40de3a2ba249dcb097e01be5e67a5ff53cf250397715a071a81543e8a832a920" dependencies = [ - "autocfg 1.1.0", + "backtrace", "bytes 1.4.0", "libc", - "mio 0.8.6", + "mio 0.8.8", "num_cpus", "parking_lot 0.12.1", "pin-project-lite", "signal-hook-registry", - "socket2 0.4.9", + "socket2 0.5.3", "tokio-macros", "windows-sys 0.48.0", ] @@ -7038,7 +7126,7 @@ checksum = "630bdcf245f78637c13ec01ffae6187cca34625e8c63150d424b59e55af2675e" dependencies = [ "proc-macro2", "quote", - "syn 2.0.16", + "syn 2.0.28", ] [[package]] @@ -7048,7 +7136,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bbae76ab933c85776efabc971569dd6119c580d8f5d448769dec1764bf796ef2" dependencies = [ "native-tls", - "tokio 1.28.1", + "tokio 1.31.0", ] [[package]] @@ -7076,8 +7164,8 @@ version = "0.23.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c43ee83903113e03984cb9e5cebe6c04a5116269e900e3ddba8f068a62adda59" dependencies = [ - "rustls", - "tokio 1.28.1", + "rustls 0.20.8", + "tokio 1.31.0", "webpki 0.22.0", ] @@ -7089,7 +7177,7 @@ checksum = "397c988d37662c7dda6d2208364a706264bf3d6138b11d436cbac0ad38832842" dependencies = [ "futures-core", "pin-project-lite", - "tokio 1.28.1", + "tokio 1.31.0", "tokio-util", ] @@ -7156,7 +7244,7 @@ dependencies = [ "log", "native-tls", "pin-project", - "tokio 1.28.1", + "tokio 1.31.0", "tokio-native-tls", "tungstenite 0.12.0", ] @@ -7169,9 +7257,9 @@ checksum = "54319c93411147bced34cb5609a80e0a8e44c5999c93903a81cd866630ec0bfd" dependencies = [ "futures-util", "log", - "rustls", + "rustls 0.20.8", "rustls-native-certs", - "tokio 1.28.1", + "tokio 1.31.0", "tokio-rustls", "tungstenite 0.18.0", "webpki 0.22.0", @@ -7187,7 +7275,7 @@ dependencies = [ "futures-core", "futures-sink", "pin-project-lite", - "tokio 1.28.1", + "tokio 1.31.0", "tracing", ] @@ -7202,9 +7290,9 @@ dependencies = [ [[package]] name = "toml" -version = "0.7.4" +version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d6135d499e69981f9ff0ef2167955a5333c35e36f6937d382974566b3d5b94ec" +checksum = "c17e963a819c331dcacd7ab957d80bc2b9a9c1e71c804826d2f283dd65306542" dependencies = [ "serde", "serde_spanned", @@ -7214,20 +7302,20 @@ dependencies = [ [[package]] name = "toml_datetime" -version = "0.6.2" +version = "0.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a76a9312f5ba4c2dec6b9161fdf25d87ad8a09256ccea5a556fef03c706a10f" +checksum = "7cda73e2f1397b1262d6dfdcef8aafae14d1de7748d66822d3bfeeb6d03e5e4b" dependencies = [ "serde", ] [[package]] name = "toml_edit" -version = "0.19.9" +version = "0.19.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "92d964908cec0d030b812013af25a0e57fddfadb1e066ecc6681d86253129d4f" +checksum = "f8123f27e969974a3dfba720fdb560be359f57b44302d280ba72e76a74480e8a" dependencies = [ - "indexmap", + "indexmap 2.0.0", "serde", "serde_spanned", "toml_datetime", @@ -7268,13 +7356,13 @@ dependencies = [ [[package]] name = "tracing-attributes" -version = "0.1.24" +version = "0.1.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f57e3ca2a01450b1a921183a9c9cbfda207fd822cef4ccb00a65402cbba7a74" +checksum = "5f4f31f56159e98206da9efd823404b79b6ef3143b4a7ab76e67b1751b25a4ab" dependencies = [ "proc-macro2", "quote", - "syn 2.0.16", + "syn 2.0.28", ] [[package]] @@ -7331,9 +7419,9 @@ dependencies = [ "serde", "serde_json", "sharded-slab", - "smallvec 1.10.0", + "smallvec 1.11.0", "thread_local", - "time 0.3.21", + "time 0.3.23", "tracing", "tracing-core", "tracing-log", @@ -7394,7 +7482,7 @@ dependencies = [ "httparse", "log", "rand 0.8.5", - "rustls", + "rustls 0.20.8", "sha1", "thiserror", "url 2.4.0", @@ -7416,7 +7504,7 @@ dependencies = [ "rand 0.8.5", "rand-utf8", "serde_json", - "tokio 1.28.1", + "tokio 1.31.0", "tracing", "tx5-core", "tx5-go-pion", @@ -7449,7 +7537,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "15d7118da8a1353717e9a42b21d922933097c069e13ef8547c7be07efa8ea8a8" dependencies = [ "parking_lot 0.12.1", - "tokio 1.28.1", + "tokio 1.31.0", "tracing", "tx5-go-pion-sys", "url 2.4.0", @@ -7486,7 +7574,7 @@ dependencies = [ "if-addrs 0.10.1", "once_cell", "sha2", - "tokio 1.28.1", + "tokio 1.31.0", "tracing", "tx5-core", "zip", @@ -7506,19 +7594,19 @@ dependencies = [ "rand-utf8", "rcgen 0.10.0", "ring", - "rustls", + "rustls 0.20.8", "rustls-native-certs", - "rustls-pemfile 1.0.2", + "rustls-pemfile 1.0.3", "serde_json", "sha2", "socket2 0.5.3", - "tokio 1.28.1", + "tokio 1.31.0", "tokio-rustls", "tokio-tungstenite 0.18.0", "tracing", "tx5-core", "url 2.4.0", - "webpki-roots 0.23.1", + "webpki-roots", ] [[package]] @@ -7527,7 +7615,7 @@ version = "0.0.1-alpha.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8359558d90ae7c4b2ff885619fcd75186cccdb62f575252c95c0c06484ce7de0" dependencies = [ - "clap 4.3.0", + "clap 4.3.21", "dirs 5.0.1", "futures 0.3.28", "if-addrs 0.10.1", @@ -7535,7 +7623,7 @@ dependencies = [ "prometheus", "rand 0.8.5", "sodoken", - "tokio 1.28.1", + "tokio 1.31.0", "tracing", "tracing-subscriber", "tx5-core", @@ -7550,9 +7638,9 @@ checksum = "497961ef93d974e23eb6f433eb5fe1b7930b659f06d12dec6fc44a8f554c0bba" [[package]] name = "ucd-trie" -version = "0.1.5" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e79c4d996edb816c91e4308506774452e55e95c3c9de07b6729e17e15a5ef81" +checksum = "ed646292ffc8188ef8ea4d1e0e0150fb15a5c2e12ad9b8fc191ae7a8a7f3c4b9" [[package]] name = "unicase" @@ -7571,9 +7659,9 @@ checksum = "92888ba5573ff080736b3648696b70cafad7d250551175acbaa4e0385b3e1460" [[package]] name = "unicode-ident" -version = "1.0.8" +version = "1.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5464a87b239f13a63a501f2701565754bae92d243d4bb7eb12f6d57d2269bf4" +checksum = "301abaae475aa91687eb82514b328ab47a211a533026cb25fc3e519b86adfc3c" [[package]] name = "unicode-normalization" @@ -7610,9 +7698,9 @@ checksum = "39ec24b3121d976906ece63c9daad25b85969647682eee313cb5779fdd69e14e" [[package]] name = "unsafe-libyaml" -version = "0.2.8" +version = "0.2.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1865806a559042e51ab5414598446a5871b561d21b6764f2eabb0dd481d880a6" +checksum = "f28467d3e1d3c6586d8f25fa243f544f5800fec42d97032474e17222c2b75cfa" [[package]] name = "untrusted" @@ -7639,17 +7727,17 @@ dependencies = [ [[package]] name = "ureq" -version = "2.6.2" +version = "2.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "338b31dd1314f68f3aabf3ed57ab922df95ffcd902476ca7ba3c4ce7b908c46d" +checksum = "0b11c96ac7ee530603dcdf68ed1557050f374ce55a5a07193ebf8cbc9f8927e9" dependencies = [ - "base64 0.13.1", + "base64 0.21.2", "log", "once_cell", - "rustls", + "rustls 0.21.6", + "rustls-webpki 0.100.1", "url 2.4.0", - "webpki 0.22.0", - "webpki-roots 0.22.6", + "webpki-roots", ] [[package]] @@ -7719,11 +7807,11 @@ dependencies = [ [[package]] name = "uuid" -version = "1.3.3" +version = "1.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "345444e32442451b267fc254ae85a209c64be56d2890e601a0c37ff0c3c5ecd2" +checksum = "79daa5ed5740825c40b389c5e50312b9c86df53fccd33f281df655642b43869d" dependencies = [ - "getrandom 0.2.9", + "getrandom 0.2.10", ] [[package]] @@ -7734,13 +7822,9 @@ checksum = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d" [[package]] name = "value-bag" -version = "1.0.0-alpha.9" +version = "1.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2209b78d1249f7e6f3293657c9779fe31ced465df091bbd433a1cf88e916ec55" -dependencies = [ - "ctor", - "version_check", -] +checksum = "d92ccd67fb88503048c01b59152a04effd0782d035a83a6d256ce6085f08f4a3" [[package]] name = "vcpkg" @@ -7798,11 +7882,10 @@ dependencies = [ [[package]] name = "want" -version = "0.3.0" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ce8a968cb1cd110d136ff8b819a556d6fb6d919363c61534f6860c7eb172ba0" +checksum = "bfa7760aed19e106de2c7c0b581b509f2f25d3dacaf737cb82ac61bc6d760b0e" dependencies = [ - "log", "try-lock", ] @@ -7817,19 +7900,19 @@ dependencies = [ "futures-util", "headers", "http 0.2.9", - "hyper 0.14.26", + "hyper 0.14.27", "log", "mime", "mime_guess", "multer", "percent-encoding 2.3.0", "pin-project", - "rustls-pemfile 1.0.2", + "rustls-pemfile 1.0.3", "scoped-tls", "serde", "serde_json", "serde_urlencoded 0.7.1", - "tokio 1.28.1", + "tokio 1.31.0", "tokio-stream", "tokio-tungstenite 0.18.0", "tokio-util", @@ -7857,9 +7940,9 @@ checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" [[package]] name = "wasm-bindgen" -version = "0.2.86" +version = "0.2.87" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5bba0e8cb82ba49ff4e229459ff22a191bbe9a1cb3a341610c9c33efc27ddf73" +checksum = "7706a72ab36d8cb1f80ffbf0e071533974a60d0a308d01a5d0375bf60499a342" dependencies = [ "cfg-if 1.0.0", "wasm-bindgen-macro", @@ -7867,24 +7950,24 @@ dependencies = [ [[package]] name = "wasm-bindgen-backend" -version = "0.2.86" +version = "0.2.87" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19b04bc93f9d6bdee709f6bd2118f57dd6679cf1176a1af464fca3ab0d66d8fb" +checksum = "5ef2b6d3c510e9625e5fe6f509ab07d66a760f0885d858736483c32ed7809abd" dependencies = [ "bumpalo", "log", "once_cell", "proc-macro2", "quote", - "syn 2.0.16", + "syn 2.0.28", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-futures" -version = "0.4.36" +version = "0.4.37" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2d1985d03709c53167ce907ff394f5316aa22cb4e12761295c5dc57dacb6297e" +checksum = "c02dbc21516f9f1f04f187958890d7e6026df8d16540b7ad9492bc34a67cea03" dependencies = [ "cfg-if 1.0.0", "js-sys", @@ -7894,9 +7977,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro" -version = "0.2.86" +version = "0.2.87" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "14d6b024f1a526bb0234f52840389927257beb670610081360e5a03c5df9c258" +checksum = "dee495e55982a3bd48105a7b947fd2a9b4a8ae3010041b9e0faab3f9cd028f1d" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -7904,28 +7987,28 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.86" +version = "0.2.87" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e128beba882dd1eb6200e1dc92ae6c5dbaa4311aa7bb211ca035779e5efc39f8" +checksum = "54681b18a46765f095758388f2d0cf16eb8d4169b639ab575a8f5693af210c7b" dependencies = [ "proc-macro2", "quote", - "syn 2.0.16", + "syn 2.0.28", "wasm-bindgen-backend", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-shared" -version = "0.2.86" +version = "0.2.87" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed9d5b4305409d1fc9482fee2d7f9bcbf24b3972bf59817ef757e23982242a93" +checksum = "ca6ad05a4870b2bf5fe995117d3728437bd27d7cd5f06f13c17443ef369775a1" [[package]] name = "wasm-encoder" -version = "0.27.0" +version = "0.31.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e77053dc709db790691d3732cfc458adc5acc881dec524965c608effdcd9c581" +checksum = "41763f20eafed1399fff1afb466496d3a959f58241436cfdc17e3f5ca954de16" dependencies = [ "leb128", ] @@ -7937,7 +8020,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ea8d8361c9d006ea3d7797de7bd6b1492ffd0f91a22430cfda6c1658ad57bedf" dependencies = [ "cfg-if 1.0.0", - "indexmap", + "indexmap 1.9.3", "js-sys", "loupe", "more-asserts", @@ -7981,7 +8064,7 @@ dependencies = [ "rkyv", "serde", "serde_bytes", - "smallvec 1.10.0", + "smallvec 1.11.0", "target-lexicon", "thiserror", "wasmer-types", @@ -8001,7 +8084,7 @@ dependencies = [ "loupe", "more-asserts", "rayon", - "smallvec 1.10.0", + "smallvec 1.11.0", "target-lexicon", "tracing", "wasmer-compiler", @@ -8137,7 +8220,7 @@ checksum = "39df01ea05dc0a9bab67e054c7cb01521e53b35a7bb90bd02eca564ed0b2667f" dependencies = [ "backtrace", "enum-iterator", - "indexmap", + "indexmap 1.9.3", "loupe", "more-asserts", "rkyv", @@ -8156,7 +8239,7 @@ dependencies = [ "cfg-if 1.0.0", "corosensei", "enum-iterator", - "indexmap", + "indexmap 1.9.3", "lazy_static", "libc", "loupe", @@ -8181,9 +8264,9 @@ checksum = "718ed7c55c2add6548cca3ddd6383d738cd73b892df400e96b9aa876f0141d7a" [[package]] name = "wast" -version = "58.0.0" +version = "62.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "372eecae2d10a5091c2005b32377d7ecd6feecdf2c05838056d02d8b4f07c429" +checksum = "b8ae06f09dbe377b889fbd620ff8fa21e1d49d1d9d364983c0cdbf9870cb9f1f" dependencies = [ "leb128", "memchr", @@ -8193,18 +8276,18 @@ dependencies = [ [[package]] name = "wat" -version = "1.0.64" +version = "1.0.69" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d47446190e112ab1579ab40b3ad7e319d859d74e5134683f04e9f0747bf4173" +checksum = "842e15861d203fb4a96d314b0751cdeaf0f6f8b35e8d81d2953af2af5e44e637" dependencies = [ "wast", ] [[package]] name = "web-sys" -version = "0.3.63" +version = "0.3.64" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3bdd9ef4e984da1187bf8110c5cf5b845fbc87a23602cdf912386a76fcd3a7c2" +checksum = "9b85cbef8c220a6abc02aefd892dfc0fc23afb1c6a426316ec33253a3877249b" dependencies = [ "js-sys", "wasm-bindgen", @@ -8230,22 +8313,13 @@ dependencies = [ "untrusted", ] -[[package]] -name = "webpki-roots" -version = "0.22.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6c71e40d7d2c34a5106301fb632274ca37242cd0c9d3e64dbece371a40a2d87" -dependencies = [ - "webpki 0.22.0", -] - [[package]] name = "webpki-roots" version = "0.23.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b03058f88386e5ff5310d9111d53f48b17d732b401aeb83a8d5190f2ac459338" dependencies = [ - "rustls-webpki", + "rustls-webpki 0.100.1", ] [[package]] @@ -8308,7 +8382,7 @@ version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e686886bc078bc1b0b600cac0147aadb815089b6e4da64016cbd754b6342700f" dependencies = [ - "windows-targets 0.48.0", + "windows-targets 0.48.2", ] [[package]] @@ -8354,7 +8428,7 @@ version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" dependencies = [ - "windows-targets 0.48.0", + "windows-targets 0.48.2", ] [[package]] @@ -8374,17 +8448,17 @@ dependencies = [ [[package]] name = "windows-targets" -version = "0.48.0" +version = "0.48.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b1eb6f0cd7c80c79759c929114ef071b87354ce476d9d94271031c0497adfd5" +checksum = "d1eeca1c172a285ee6c2c84c341ccea837e7c01b12fbb2d0fe3c9e550ce49ec8" dependencies = [ - "windows_aarch64_gnullvm 0.48.0", - "windows_aarch64_msvc 0.48.0", - "windows_i686_gnu 0.48.0", - "windows_i686_msvc 0.48.0", - "windows_x86_64_gnu 0.48.0", - "windows_x86_64_gnullvm 0.48.0", - "windows_x86_64_msvc 0.48.0", + "windows_aarch64_gnullvm 0.48.2", + "windows_aarch64_msvc 0.48.2", + "windows_i686_gnu 0.48.2", + "windows_i686_msvc 0.48.2", + "windows_x86_64_gnu 0.48.2", + "windows_x86_64_gnullvm 0.48.2", + "windows_x86_64_msvc 0.48.2", ] [[package]] @@ -8395,9 +8469,9 @@ checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8" [[package]] name = "windows_aarch64_gnullvm" -version = "0.48.0" +version = "0.48.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91ae572e1b79dba883e0d315474df7305d12f569b400fcf90581b06062f7e1bc" +checksum = "b10d0c968ba7f6166195e13d593af609ec2e3d24f916f081690695cf5eaffb2f" [[package]] name = "windows_aarch64_msvc" @@ -8413,9 +8487,9 @@ checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43" [[package]] name = "windows_aarch64_msvc" -version = "0.48.0" +version = "0.48.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2ef27e0d7bdfcfc7b868b317c1d32c641a6fe4629c171b8928c7b08d98d7cf3" +checksum = "571d8d4e62f26d4932099a9efe89660e8bd5087775a2ab5cdd8b747b811f1058" [[package]] name = "windows_i686_gnu" @@ -8431,9 +8505,9 @@ checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f" [[package]] name = "windows_i686_gnu" -version = "0.48.0" +version = "0.48.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "622a1962a7db830d6fd0a69683c80a18fda201879f0f447f065a3b7467daa241" +checksum = "2229ad223e178db5fbbc8bd8d3835e51e566b8474bfca58d2e6150c48bb723cd" [[package]] name = "windows_i686_msvc" @@ -8449,9 +8523,9 @@ checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060" [[package]] name = "windows_i686_msvc" -version = "0.48.0" +version = "0.48.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4542c6e364ce21bf45d69fdd2a8e455fa38d316158cfd43b3ac1c5b1b19f8e00" +checksum = "600956e2d840c194eedfc5d18f8242bc2e17c7775b6684488af3a9fff6fe3287" [[package]] name = "windows_x86_64_gnu" @@ -8467,9 +8541,9 @@ checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36" [[package]] name = "windows_x86_64_gnu" -version = "0.48.0" +version = "0.48.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca2b8a661f7628cbd23440e50b05d705db3686f894fc9580820623656af974b1" +checksum = "ea99ff3f8b49fb7a8e0d305e5aec485bd068c2ba691b6e277d29eaeac945868a" [[package]] name = "windows_x86_64_gnullvm" @@ -8479,9 +8553,9 @@ checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3" [[package]] name = "windows_x86_64_gnullvm" -version = "0.48.0" +version = "0.48.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7896dbc1f41e08872e9d5e8f8baa8fdd2677f29468c4e156210174edc7f7b953" +checksum = "8f1a05a1ece9a7a0d5a7ccf30ba2c33e3a61a30e042ffd247567d1de1d94120d" [[package]] name = "windows_x86_64_msvc" @@ -8497,15 +8571,15 @@ checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0" [[package]] name = "windows_x86_64_msvc" -version = "0.48.0" +version = "0.48.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a515f5799fe4961cb532f983ce2b23082366b898e52ffbce459c86f67c8378a" +checksum = "d419259aba16b663966e29e6d7c6ecfa0bb8425818bb96f6f1f3c3eb71a6e7b9" [[package]] name = "winnow" -version = "0.4.6" +version = "0.5.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61de7bac303dc551fe038e2b3cef0f571087a47571ea6e79a87692ac99b99699" +checksum = "1e461589e194280efaa97236b73623445efa195aa633fd7004f39805707a9d53" dependencies = [ "memchr", ] @@ -8549,9 +8623,9 @@ dependencies = [ [[package]] name = "xattr" -version = "0.2.3" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d1526bbe5aaeb5eb06885f4d987bcdfa5e23187055de9b83fe00156a821fabc" +checksum = "f4686009f71ff3e5c4dbcf1a282d0a44db3f021ba69350cd42086b3e5f1c6985" dependencies = [ "libc", ] @@ -8577,7 +8651,7 @@ version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e17bb3549cc1321ae1296b9cdc2698e2b6cb1992adfa19a8c72e5b7a738f44cd" dependencies = [ - "time 0.3.21", + "time 0.3.23", ] [[package]] @@ -8594,6 +8668,6 @@ checksum = "760394e246e4c28189f19d488c058bf16f564016aefac5d32bb1f3b51d5e9261" dependencies = [ "byteorder", "crc32fast", - "crossbeam-utils 0.8.15", + "crossbeam-utils 0.8.16", "flate2", ] diff --git a/Cargo.toml b/Cargo.toml index fd7b6bb1c..f2c4b19ae 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -36,9 +36,11 @@ degit = "0.1" serde_json = "1" structopt = "0.3.11" thiserror = "1.0.22" +time = "=0.3.23" tokio = { version = "1.11", features = ["full"] } toml = "0.5.9" convert_case = "0.6.0" +rmpv = "=1.0.0" syn = { version = "1.0.102", features = ["full", "extra-traits"] } quote = "1.0.21" pluralizer = "0.3.1" From a44156b1ed3c7615caad655091ac5dcc4beafc03 Mon Sep 17 00:00:00 2001 From: Paul d'Aoust Date: Fri, 15 Sep 2023 11:12:22 -0700 Subject: [PATCH 40/50] pass hashes, not records, from FoosForBar template to FooDetail template --- ...inked_from.name}}.svelte{{\302\241if}}{{\302\241each}}.hbs" | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git "a/templates/svelte/entry-type/ui/src/{{dna_role_name}}/{{coordinator_zome_manifest.name}}/{{#each entry_type.fields}}{{#if (and linked_from (not (eq linked_from.hash_type 'AgentPubKey') ) )}}{{pascal_case (plural ..\302\241entry_type.name)}}For{{pascal_case linked_from.name}}.svelte{{\302\241if}}{{\302\241each}}.hbs" "b/templates/svelte/entry-type/ui/src/{{dna_role_name}}/{{coordinator_zome_manifest.name}}/{{#each entry_type.fields}}{{#if (and linked_from (not (eq linked_from.hash_type 'AgentPubKey') ) )}}{{pascal_case (plural ..\302\241entry_type.name)}}For{{pascal_case linked_from.name}}.svelte{{\302\241if}}{{\302\241each}}.hbs" index 9d2ee32bf..cc1f5e514 100644 --- "a/templates/svelte/entry-type/ui/src/{{dna_role_name}}/{{coordinator_zome_manifest.name}}/{{#each entry_type.fields}}{{#if (and linked_from (not (eq linked_from.hash_type 'AgentPubKey') ) )}}{{pascal_case (plural ..\302\241entry_type.name)}}For{{pascal_case linked_from.name}}.svelte{{\302\241if}}{{\302\241each}}.hbs" +++ "b/templates/svelte/entry-type/ui/src/{{dna_role_name}}/{{coordinator_zome_manifest.name}}/{{#each entry_type.fields}}{{#if (and linked_from (not (eq linked_from.hash_type 'AgentPubKey') ) )}}{{pascal_case (plural ..\302\241entry_type.name)}}For{{pascal_case linked_from.name}}.svelte{{\302\241if}}{{\302\241each}}.hbs" @@ -23,13 +23,14 @@ onMount(async () => { } try { - hashes = await client.callZome({ + const records = await client.callZome({ cap_secret: null, role_name: '{{dna_role_name}}', zome_name: '{{../coordinator_zome_manifest.name}}', fn_name: 'get_{{snake_case (plural ../entry_type.name)}}_for_{{snake_case linked_from.name}}', payload: {{camel_case linked_from.singular_arg}} }); + hashes = records.map(r => {{#if (eq referenceable.hash_type "ActionHash")}}r.signed_action.hashed.hash{{else}}(r.signed_action.hashed.content as NewEntryAction).entry_hash{{/if}}); } catch (e) { error = e; } From 88aaedb017f456acec89e0df133503edab0bd710 Mon Sep 17 00:00:00 2001 From: Paul d'Aoust Date: Fri, 15 Sep 2023 11:13:22 -0700 Subject: [PATCH 41/50] remove loading spinner after foos for bar are loaded --- ...linked_from.name}}.svelte{{\302\241if}}{{\302\241each}}.hbs" | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git "a/templates/svelte/entry-type/ui/src/{{dna_role_name}}/{{coordinator_zome_manifest.name}}/{{#each entry_type.fields}}{{#if (and linked_from (not (eq linked_from.hash_type 'AgentPubKey') ) )}}{{pascal_case (plural ..\302\241entry_type.name)}}For{{pascal_case linked_from.name}}.svelte{{\302\241if}}{{\302\241each}}.hbs" "b/templates/svelte/entry-type/ui/src/{{dna_role_name}}/{{coordinator_zome_manifest.name}}/{{#each entry_type.fields}}{{#if (and linked_from (not (eq linked_from.hash_type 'AgentPubKey') ) )}}{{pascal_case (plural ..\302\241entry_type.name)}}For{{pascal_case linked_from.name}}.svelte{{\302\241if}}{{\302\241each}}.hbs" index cc1f5e514..9bb8b7021 100644 --- "a/templates/svelte/entry-type/ui/src/{{dna_role_name}}/{{coordinator_zome_manifest.name}}/{{#each entry_type.fields}}{{#if (and linked_from (not (eq linked_from.hash_type 'AgentPubKey') ) )}}{{pascal_case (plural ..\302\241entry_type.name)}}For{{pascal_case linked_from.name}}.svelte{{\302\241if}}{{\302\241each}}.hbs" +++ "b/templates/svelte/entry-type/ui/src/{{dna_role_name}}/{{coordinator_zome_manifest.name}}/{{#each entry_type.fields}}{{#if (and linked_from (not (eq linked_from.hash_type 'AgentPubKey') ) )}}{{pascal_case (plural ..\302\241entry_type.name)}}For{{pascal_case linked_from.name}}.svelte{{\302\241if}}{{\302\241each}}.hbs" @@ -34,7 +34,7 @@ onMount(async () => { } catch (e) { error = e; } - loading = true; + loading = false; }); From a2f621738619e7e0e91fa72a7fe5f1fbd6f983e5 Mon Sep 17 00:00:00 2001 From: Paul d'Aoust Date: Fri, 15 Sep 2023 14:47:33 -0700 Subject: [PATCH 42/50] correct path to dna_role_name in FoosForBar template --- ...linked_from.name}}.svelte{{\302\241if}}{{\302\241each}}.hbs" | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git "a/templates/svelte/entry-type/ui/src/{{dna_role_name}}/{{coordinator_zome_manifest.name}}/{{#each entry_type.fields}}{{#if (and linked_from (not (eq linked_from.hash_type 'AgentPubKey') ) )}}{{pascal_case (plural ..\302\241entry_type.name)}}For{{pascal_case linked_from.name}}.svelte{{\302\241if}}{{\302\241each}}.hbs" "b/templates/svelte/entry-type/ui/src/{{dna_role_name}}/{{coordinator_zome_manifest.name}}/{{#each entry_type.fields}}{{#if (and linked_from (not (eq linked_from.hash_type 'AgentPubKey') ) )}}{{pascal_case (plural ..\302\241entry_type.name)}}For{{pascal_case linked_from.name}}.svelte{{\302\241if}}{{\302\241each}}.hbs" index 9bb8b7021..0fff3fb62 100644 --- "a/templates/svelte/entry-type/ui/src/{{dna_role_name}}/{{coordinator_zome_manifest.name}}/{{#each entry_type.fields}}{{#if (and linked_from (not (eq linked_from.hash_type 'AgentPubKey') ) )}}{{pascal_case (plural ..\302\241entry_type.name)}}For{{pascal_case linked_from.name}}.svelte{{\302\241if}}{{\302\241each}}.hbs" +++ "b/templates/svelte/entry-type/ui/src/{{dna_role_name}}/{{coordinator_zome_manifest.name}}/{{#each entry_type.fields}}{{#if (and linked_from (not (eq linked_from.hash_type 'AgentPubKey') ) )}}{{pascal_case (plural ..\302\241entry_type.name)}}For{{pascal_case linked_from.name}}.svelte{{\302\241if}}{{\302\241each}}.hbs" @@ -25,7 +25,7 @@ onMount(async () => { try { const records = await client.callZome({ cap_secret: null, - role_name: '{{dna_role_name}}', + role_name: '{{../dna_role_name}}', zome_name: '{{../coordinator_zome_manifest.name}}', fn_name: 'get_{{snake_case (plural ../entry_type.name)}}_for_{{snake_case linked_from.name}}', payload: {{camel_case linked_from.singular_arg}} From 53cf5cd6e5317a8bf81ce18aca1e812d2524a97f Mon Sep 17 00:00:00 2001 From: = <=> Date: Mon, 18 Sep 2023 14:11:37 -0600 Subject: [PATCH 43/50] Flake and workflow changes --- .github/workflows/test.yaml | 10 ++++---- flake.nix | 47 +++++++++++++++++++++---------------- 2 files changed, 32 insertions(+), 25 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 3da4ff264..1f4352810 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -11,15 +11,15 @@ jobs: testbuild: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Extend space uses: ./.github/actions/extend-space - name: Install nix - uses: cachix/install-nix-action@v18 + uses: cachix/install-nix-action@v23 with: - install_url: https://releases.nixos.org/nix/nix-2.12.0/install + install_url: https://releases.nixos.org/nix/nix-2.13.3/install extra_nix_config: | experimental-features = flakes nix-command @@ -27,8 +27,8 @@ jobs: with: name: holochain-ci - - name: Install and test + - name: Build and test run: | cd $GITHUB_WORKSPACE - nix develop --override-input "versions/scaffolding" . --command ./run_test.sh + nix develop --override-input "versions/scaffolding" . .#ci --command ./run_test.sh diff --git a/flake.nix b/flake.nix index 6380dbf9f..27e296872 100644 --- a/flake.nix +++ b/flake.nix @@ -11,25 +11,32 @@ inputs = { }; }; - outputs = inputs @ { ... }: - inputs.holochain-flake.inputs.flake-parts.lib.mkFlake - { - inherit inputs; - } - { - systems = builtins.attrNames inputs.holochain-flake.devShells; - perSystem = - { config - , pkgs - , system - , ... - }: { - devShells.default = pkgs.mkShell { - inputsFrom = [ inputs.holochain-flake.devShells.${system}.holonix ]; - packages = with pkgs; [ - pkgs.nodejs-18_x - ]; - }; - }; + outputs = inputs @ {...}: + inputs.holochain.inputs.flake-parts.lib.mkFlake + { + inherit inputs; + } + { + systems = builtins.attrNames inputs.holochain.devShells; + perSystem = { + self', + inputs', + config, + pkgs, + system, + ... + }: { + devShells.default = pkgs.mkShell { + inputsFrom = [inputs'.holochain.devShells.rustDev]; + packages = [pkgs.nodejs-18_x]; + }; + + devShells.ci = pkgs.mkShell { + inputsFrom = [self'.devShells.default]; + packages = [ + inputs'.holochain.packages.hc-scaffold + ]; + }; }; + }; } From 07a712d52bcba614d7996e5f3f2f9ac4aae94e80 Mon Sep 17 00:00:00 2001 From: = <=> Date: Mon, 18 Sep 2023 14:12:01 -0600 Subject: [PATCH 44/50] update flake.lock --- flake.lock | 65 ++++++++++++++++++++++++++++++++---------------------- 1 file changed, 39 insertions(+), 26 deletions(-) diff --git a/flake.lock b/flake.lock index f8ad53779..482771a87 100644 --- a/flake.lock +++ b/flake.lock @@ -61,11 +61,11 @@ "crate2nix": { "flake": false, "locked": { - "lastModified": 1675642992, - "narHash": "sha256-uDBDZuiq7qyg82Udp82/r4zg5HKfIzBQqgl2U9THiQM=", + "lastModified": 1693149153, + "narHash": "sha256-HUszQcnIal1FFRAWraODDbxTp0HECwczRTD+Zf0v9o0=", "owner": "kolloch", "repo": "crate2nix", - "rev": "45fc83132c8c91c77a1cd61fe0c945411d1edba8", + "rev": "8749f46953b46d44fd181b002399e4a20371f323", "type": "github" }, "original": { @@ -175,16 +175,16 @@ "holochain": { "flake": false, "locked": { - "lastModified": 1690227710, - "narHash": "sha256-HRVEz5Ldg2+pqciOpZ9fNdMfU93r/3LmUsbTA9jfDIY=", + "lastModified": 1694632043, + "narHash": "sha256-5QWUpWnwuzUi3hROrOZyQNla8iGdr+oGCH2nniRePBE=", "owner": "holochain", "repo": "holochain", - "rev": "3f594f1a5cef41e896b99b6b46d336d54da3299d", + "rev": "1f59d33623031eefe76b5f3573970c9c33f21877", "type": "github" }, "original": { "owner": "holochain", - "ref": "holochain-0.2.1", + "ref": "holochain-0.2.2", "repo": "holochain", "type": "github" } @@ -213,6 +213,7 @@ "nix-filter": "nix-filter", "nixpkgs": "nixpkgs", "pre-commit-hooks-nix": "pre-commit-hooks-nix", + "repo-git": "repo-git", "rust-overlay": "rust-overlay_2", "scaffolding": [ "holochain-flake", @@ -223,11 +224,11 @@ ] }, "locked": { - "lastModified": 1690302341, - "narHash": "sha256-ZVPP+5Lb8fyaKGI1zXFuh3fJn3hP5RoYxX5zb8b6QYA=", + "lastModified": 1695063947, + "narHash": "sha256-zjMJ0vEV37BupAkTfhT4E+/fjhYI9mt/XdnlUwrUd4U=", "owner": "holochain", "repo": "holochain", - "rev": "378dd3bb620e54663147af634ce4014651a156ec", + "rev": "2e98f34947005482472cb64f8d6c9a59d0cc941c", "type": "github" }, "original": { @@ -239,16 +240,16 @@ "lair": { "flake": false, "locked": { - "lastModified": 1682356264, - "narHash": "sha256-5ZYJ1gyyL3hLR8hCjcN5yremg8cSV6w1iKCOrpJvCmc=", + "lastModified": 1691746070, + "narHash": "sha256-CHsTI4yIlkfnYWx2sNgzAoDBvKTLIChybzyJNbB1sMU=", "owner": "holochain", "repo": "lair", - "rev": "43be404da0fd9d57bf4429c44def405bd6490f61", + "rev": "6ab41b60744515f1760669db6fc5272298a5f324", "type": "github" }, "original": { "owner": "holochain", - "ref": "lair_keystore-v0.2.4", + "ref": "lair_keystore-v0.3.0", "repo": "lair", "type": "github" } @@ -287,11 +288,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1686869522, - "narHash": "sha256-tbJ9B8WLCTnVP/LwESRlg0dII6Zyg2LmUU/mB9Lu98E=", + "lastModified": 1694767346, + "narHash": "sha256-5uH27SiVFUwsTsqC5rs3kS7pBoNhtoy9QfTP9BmknGk=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "7c67f006ea0e7d0265f16d7df07cc076fdffd91f", + "rev": "ace5093e36ab1e95cb9463863491bee90d5a4183", "type": "github" }, "original": { @@ -334,6 +335,18 @@ "type": "github" } }, + "repo-git": { + "flake": false, + "locked": { + "narHash": "sha256-d6xi4mKdjkX2JFicDIv5niSzpyI0m/Hnm8GGAIU04kY=", + "type": "file", + "url": "file:/dev/null" + }, + "original": { + "type": "file", + "url": "file:/dev/null" + } + }, "root": { "inputs": { "holochain-flake": "holochain-flake", @@ -380,11 +393,11 @@ ] }, "locked": { - "lastModified": 1690252178, - "narHash": "sha256-9oEz822bvbHobfCUjJLDor2BqW3I5tycIauzDlzOALY=", + "lastModified": 1695003086, + "narHash": "sha256-d1/ZKuBRpxifmUf7FaedCqhy0lyVbqj44Oc2s+P5bdA=", "owner": "oxalica", "repo": "rust-overlay", - "rev": "8d64353ca827002fb8459e44d49116c78d868eba", + "rev": "b87a14abea512d956f0b89d0d8a1e9b41f3e20ff", "type": "github" }, "original": { @@ -396,11 +409,11 @@ "scaffolding": { "flake": false, "locked": { - "lastModified": 1683890859, - "narHash": "sha256-/nG2TGU4Q7zy0KGS/opcW1836LZ7FJhA+/OEh5gNj34=", + "lastModified": 1692147670, + "narHash": "sha256-jFt4LTUaUZTiOg2DLlbUqyeV2edfUxiJSljRjVJlObE=", "owner": "holochain", "repo": "scaffolding", - "rev": "1ca1092ad5d147bd23a75444874830cc033aa9cf", + "rev": "8a63d356a0856643769adc567e078796c6509511", "type": "github" }, "original": { @@ -434,11 +447,11 @@ }, "locked": { "dir": "versions/0_2", - "lastModified": 1690302341, - "narHash": "sha256-ZVPP+5Lb8fyaKGI1zXFuh3fJn3hP5RoYxX5zb8b6QYA=", + "lastModified": 1695063947, + "narHash": "sha256-zjMJ0vEV37BupAkTfhT4E+/fjhYI9mt/XdnlUwrUd4U=", "owner": "holochain", "repo": "holochain", - "rev": "378dd3bb620e54663147af634ce4014651a156ec", + "rev": "2e98f34947005482472cb64f8d6c9a59d0cc941c", "type": "github" }, "original": { From 465b03127a6d69ec888e263881d96e2f9d04924e Mon Sep 17 00:00:00 2001 From: = <=> Date: Mon, 18 Sep 2023 14:13:46 -0600 Subject: [PATCH 45/50] standardize flake.nix --- flake.lock | 56 +++++++++++++++++++++++++++--------------------------- flake.nix | 8 ++++---- 2 files changed, 32 insertions(+), 32 deletions(-) diff --git a/flake.lock b/flake.lock index 482771a87..5d955675e 100644 --- a/flake.lock +++ b/flake.lock @@ -39,7 +39,7 @@ "flake-compat": "flake-compat", "flake-utils": "flake-utils", "nixpkgs": [ - "holochain-flake", + "holochain", "nixpkgs" ], "rust-overlay": "rust-overlay" @@ -173,23 +173,6 @@ } }, "holochain": { - "flake": false, - "locked": { - "lastModified": 1694632043, - "narHash": "sha256-5QWUpWnwuzUi3hROrOZyQNla8iGdr+oGCH2nniRePBE=", - "owner": "holochain", - "repo": "holochain", - "rev": "1f59d33623031eefe76b5f3573970c9c33f21877", - "type": "github" - }, - "original": { - "owner": "holochain", - "ref": "holochain-0.2.2", - "repo": "holochain", - "type": "github" - } - }, - "holochain-flake": { "inputs": { "cargo-chef": "cargo-chef", "cargo-rdme": "cargo-rdme", @@ -199,15 +182,15 @@ "flake-compat": "flake-compat_2", "flake-parts": "flake-parts", "holochain": [ - "holochain-flake", + "holochain", "empty" ], "lair": [ - "holochain-flake", + "holochain", "empty" ], "launcher": [ - "holochain-flake", + "holochain", "empty" ], "nix-filter": "nix-filter", @@ -216,7 +199,7 @@ "repo-git": "repo-git", "rust-overlay": "rust-overlay_2", "scaffolding": [ - "holochain-flake", + "holochain", "empty" ], "versions": [ @@ -237,6 +220,23 @@ "type": "github" } }, + "holochain_2": { + "flake": false, + "locked": { + "lastModified": 1694632043, + "narHash": "sha256-5QWUpWnwuzUi3hROrOZyQNla8iGdr+oGCH2nniRePBE=", + "owner": "holochain", + "repo": "holochain", + "rev": "1f59d33623031eefe76b5f3573970c9c33f21877", + "type": "github" + }, + "original": { + "owner": "holochain", + "ref": "holochain-0.2.2", + "repo": "holochain", + "type": "github" + } + }, "lair": { "flake": false, "locked": { @@ -349,9 +349,9 @@ }, "root": { "inputs": { - "holochain-flake": "holochain-flake", + "holochain": "holochain", "nixpkgs": [ - "holochain-flake", + "holochain", "nixpkgs" ], "versions": "versions" @@ -360,12 +360,12 @@ "rust-overlay": { "inputs": { "flake-utils": [ - "holochain-flake", + "holochain", "crane", "flake-utils" ], "nixpkgs": [ - "holochain-flake", + "holochain", "crane", "nixpkgs" ] @@ -388,7 +388,7 @@ "inputs": { "flake-utils": "flake-utils_2", "nixpkgs": [ - "holochain-flake", + "holochain", "nixpkgs" ] }, @@ -440,7 +440,7 @@ }, "versions": { "inputs": { - "holochain": "holochain", + "holochain": "holochain_2", "lair": "lair", "launcher": "launcher", "scaffolding": "scaffolding" diff --git a/flake.nix b/flake.nix index 27e296872..6195aa921 100644 --- a/flake.nix +++ b/flake.nix @@ -1,11 +1,11 @@ { description = "Template for Holochain app development"; -inputs = { - nixpkgs.follows = "holochain-flake/nixpkgs"; + inputs = { + nixpkgs.follows = "holochain/nixpkgs"; versions.url = "github:holochain/holochain?dir=versions/0_2"; - holochain-flake = { + holochain = { url = "github:holochain/holochain"; inputs.versions.follows = "versions"; }; @@ -39,4 +39,4 @@ inputs = { }; }; }; -} +} \ No newline at end of file From 8c49a5665f68f1f395c1c963bc8f0f0c99df4bb1 Mon Sep 17 00:00:00 2001 From: Paul d'Aoust Date: Tue, 19 Sep 2023 13:21:49 -0700 Subject: [PATCH 46/50] get actual hash type for linked entries --- ...linked_from.name}}.svelte{{\302\241if}}{{\302\241each}}.hbs" | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git "a/templates/svelte/entry-type/ui/src/{{dna_role_name}}/{{coordinator_zome_manifest.name}}/{{#each entry_type.fields}}{{#if (and linked_from (not (eq linked_from.hash_type 'AgentPubKey') ) )}}{{pascal_case (plural ..\302\241entry_type.name)}}For{{pascal_case linked_from.name}}.svelte{{\302\241if}}{{\302\241each}}.hbs" "b/templates/svelte/entry-type/ui/src/{{dna_role_name}}/{{coordinator_zome_manifest.name}}/{{#each entry_type.fields}}{{#if (and linked_from (not (eq linked_from.hash_type 'AgentPubKey') ) )}}{{pascal_case (plural ..\302\241entry_type.name)}}For{{pascal_case linked_from.name}}.svelte{{\302\241if}}{{\302\241each}}.hbs" index 0fff3fb62..e78f290b9 100644 --- "a/templates/svelte/entry-type/ui/src/{{dna_role_name}}/{{coordinator_zome_manifest.name}}/{{#each entry_type.fields}}{{#if (and linked_from (not (eq linked_from.hash_type 'AgentPubKey') ) )}}{{pascal_case (plural ..\302\241entry_type.name)}}For{{pascal_case linked_from.name}}.svelte{{\302\241if}}{{\302\241each}}.hbs" +++ "b/templates/svelte/entry-type/ui/src/{{dna_role_name}}/{{coordinator_zome_manifest.name}}/{{#each entry_type.fields}}{{#if (and linked_from (not (eq linked_from.hash_type 'AgentPubKey') ) )}}{{pascal_case (plural ..\302\241entry_type.name)}}For{{pascal_case linked_from.name}}.svelte{{\302\241if}}{{\302\241each}}.hbs" @@ -30,7 +30,7 @@ onMount(async () => { fn_name: 'get_{{snake_case (plural ../entry_type.name)}}_for_{{snake_case linked_from.name}}', payload: {{camel_case linked_from.singular_arg}} }); - hashes = records.map(r => {{#if (eq referenceable.hash_type "ActionHash")}}r.signed_action.hashed.hash{{else}}(r.signed_action.hashed.content as NewEntryAction).entry_hash{{/if}}); + hashes = records.map(r => {{#if ../entry_type.reference_entry_hash}}(r.signed_action.hashed.content as NewEntryAction).entry_hash{{else}}r.signed_action.hashed.hash{{/if}}); } catch (e) { error = e; } From f49002a3fb5325490e8e846d97e23a2abf45ed4d Mon Sep 17 00:00:00 2001 From: Paul d'Aoust Date: Tue, 19 Sep 2023 15:04:24 -0700 Subject: [PATCH 47/50] import newentryaction into barsforfoo template --- ...linked_from.name}}.svelte{{\302\241if}}{{\302\241each}}.hbs" | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git "a/templates/svelte/entry-type/ui/src/{{dna_role_name}}/{{coordinator_zome_manifest.name}}/{{#each entry_type.fields}}{{#if (and linked_from (not (eq linked_from.hash_type 'AgentPubKey') ) )}}{{pascal_case (plural ..\302\241entry_type.name)}}For{{pascal_case linked_from.name}}.svelte{{\302\241if}}{{\302\241each}}.hbs" "b/templates/svelte/entry-type/ui/src/{{dna_role_name}}/{{coordinator_zome_manifest.name}}/{{#each entry_type.fields}}{{#if (and linked_from (not (eq linked_from.hash_type 'AgentPubKey') ) )}}{{pascal_case (plural ..\302\241entry_type.name)}}For{{pascal_case linked_from.name}}.svelte{{\302\241if}}{{\302\241each}}.hbs" index e78f290b9..1b0afd753 100644 --- "a/templates/svelte/entry-type/ui/src/{{dna_role_name}}/{{coordinator_zome_manifest.name}}/{{#each entry_type.fields}}{{#if (and linked_from (not (eq linked_from.hash_type 'AgentPubKey') ) )}}{{pascal_case (plural ..\302\241entry_type.name)}}For{{pascal_case linked_from.name}}.svelte{{\302\241if}}{{\302\241each}}.hbs" +++ "b/templates/svelte/entry-type/ui/src/{{dna_role_name}}/{{coordinator_zome_manifest.name}}/{{#each entry_type.fields}}{{#if (and linked_from (not (eq linked_from.hash_type 'AgentPubKey') ) )}}{{pascal_case (plural ..\302\241entry_type.name)}}For{{pascal_case linked_from.name}}.svelte{{\302\241if}}{{\302\241each}}.hbs" @@ -1,7 +1,7 @@