From 1c4d6e15d899b2102b4a16814281ab3d457b3fce Mon Sep 17 00:00:00 2001 From: Matt Gabrenya Date: Wed, 14 Jun 2023 17:07:48 -0700 Subject: [PATCH 1/9] build: bump holochain 0.2.1-beta-dev.0 & update for compatibility --- Cargo.lock | 396 +++++++++++++++- Cargo.toml | 6 +- dnas/demo/zomes/coordinator/demo/Cargo.toml | 2 +- dnas/demo/zomes/integrity/demo/Cargo.toml | 2 +- flake.lock | 494 ++++++++++++++++++-- flake.nix | 40 +- lib/prefix_index/src/prefix_index.rs | 15 +- lib/prefix_index/src/validate.rs | 38 +- package-lock.json | 47 +- tests/package.json | 6 +- tests/src/demo/demo/prefix-index.test.ts | 16 +- 11 files changed, 941 insertions(+), 121 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b3a50b1..8691658 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -46,6 +46,15 @@ dependencies = [ "libc", ] +[[package]] +name = "approx" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cab112f0a86d568ea0e627cc1d6be74a1e9cd55214684db5561995f6dad897c6" +dependencies = [ + "num-traits", +] + [[package]] name = "arrayref" version = "0.3.7" @@ -58,6 +67,17 @@ version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "23b62fc65de8e4e7f52534fb52b0f3ed04746ae267519eef2a83941e8085068b" +[[package]] +name = "atty" +version = "0.2.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8" +dependencies = [ + "hermit-abi 0.1.19", + "libc", + "winapi", +] + [[package]] name = "autocfg" version = "1.1.0" @@ -237,6 +257,17 @@ dependencies = [ "unicode-width", ] +[[package]] +name = "colored" +version = "1.9.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f4ffc801dacf156c5854b9df4f425a626539c3a6ef7893cc0c5084a23f0b6c59" +dependencies = [ + "atty", + "lazy_static", + "winapi", +] + [[package]] name = "constant_time_eq" version = "0.1.5" @@ -479,7 +510,7 @@ dependencies = [ [[package]] name = "demo" -version = "0.0.1" +version = "0.2.0" dependencies = [ "demo_integrity", "hdk", @@ -490,7 +521,7 @@ dependencies = [ [[package]] name = "demo_integrity" -version = "0.0.1" +version = "0.2.0" dependencies = [ "hdi", "holochain_integrity_types", @@ -498,6 +529,17 @@ dependencies = [ "serde", ] +[[package]] +name = "derivative" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fcc3dd5e9e9c0b295d6e1e4d811fb6f157d5ffd784b8d202fc62eac8035a770b" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.109", +] + [[package]] name = "derive_more" version = "0.99.17" @@ -610,6 +652,95 @@ version = "1.0.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" +[[package]] +name = "futures" +version = "0.3.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23342abe12aba583913b2e62f22225ff9c950774065e4bfb61a19cd9770fec40" +dependencies = [ + "futures-channel", + "futures-core", + "futures-executor", + "futures-io", + "futures-sink", + "futures-task", + "futures-util", +] + +[[package]] +name = "futures-channel" +version = "0.3.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "955518d47e09b25bbebc7a18df10b81f0c766eaf4c4f1cccef2fca5f2a4fb5f2" +dependencies = [ + "futures-core", + "futures-sink", +] + +[[package]] +name = "futures-core" +version = "0.3.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4bca583b7e26f571124fe5b7561d49cb2868d79116cfa0eefce955557c6fee8c" + +[[package]] +name = "futures-executor" +version = "0.3.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ccecee823288125bd88b4d7f565c9e58e41858e47ab72e8ea2d64e93624386e0" +dependencies = [ + "futures-core", + "futures-task", + "futures-util", +] + +[[package]] +name = "futures-io" +version = "0.3.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4fff74096e71ed47f8e023204cfd0aa1289cd54ae5430a9523be060cdb849964" + +[[package]] +name = "futures-macro" +version = "0.3.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "89ca545a94061b6365f2c7355b4b32bd20df3ff95f02da9329b34ccc3bd6ee72" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.15", +] + +[[package]] +name = "futures-sink" +version = "0.3.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f43be4fe21a13b9781a69afa4985b0f6ee0e1afab2c6f454a8cf30e2b2237b6e" + +[[package]] +name = "futures-task" +version = "0.3.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "76d3d132be6c0e6aa1534069c705a74a5997a356c0dc2f86a47765e5617c5b65" + +[[package]] +name = "futures-util" +version = "0.3.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26b01e40b772d54cf6c6d721c1d1abd0647a0106a12ecaa1c186273392a69533" +dependencies = [ + "futures-channel", + "futures-core", + "futures-io", + "futures-macro", + "futures-sink", + "futures-task", + "memchr", + "pin-project-lite", + "pin-utils", + "slab", +] + [[package]] name = "gcollections" version = "1.5.0" @@ -680,9 +811,9 @@ dependencies = [ [[package]] name = "hdi" -version = "0.2.2" +version = "0.3.1-beta-dev.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b9f6105d20d9c8dcac3b967bef3de5c811d43de3079c60f05ddebb86421f362" +checksum = "a886cc9e0c50374c32ae9ca88f84d9dd49976354ac2212dee72036cc6ff49ed8" dependencies = [ "hdk_derive", "holo_hash", @@ -697,9 +828,9 @@ dependencies = [ [[package]] name = "hdk" -version = "0.1.2" +version = "0.2.1-beta-dev.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a354d9b29d879b8e05c2e1e5f5a9657dac2a1f4be6732ecc4d72273cf6d30bbd" +checksum = "8fd3ff014eff9c6849bbe3e6350e28a0156b156afc4b12c51412b4307795c2f2" dependencies = [ "getrandom", "hdi", @@ -717,9 +848,9 @@ dependencies = [ [[package]] name = "hdk_derive" -version = "0.1.2" +version = "0.2.1-beta-dev.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b42de4f722e215382845ca26d6b71d557f843c674dfd9463cb517873c6cade8" +checksum = "4ad315cca0c2b5c3b361b07d0d3ff6adf1a8c99501962b6f833dee1adacbea1a" dependencies = [ "darling", "heck", @@ -737,6 +868,15 @@ version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" +[[package]] +name = "hermit-abi" +version = "0.1.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33" +dependencies = [ + "libc", +] + [[package]] name = "hermit-abi" version = "0.2.6" @@ -760,14 +900,15 @@ checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" [[package]] name = "holo_hash" -version = "0.1.2" +version = "0.2.1-beta-dev.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d8076a1021ca8bf729d4224c4facd24f06c3aebd3fd335080d1460495538dfd" +checksum = "b45b6a6f1d7bfb0b1a73caa16b0f01ab103c93e748f273a0f479ecca6e5977ee" dependencies = [ "base64", "blake2b_simd", "derive_more", "holochain_serialized_bytes", + "holochain_wasmer_common", "kitsune_p2p_dht_arc", "serde", "serde_bytes", @@ -776,9 +917,9 @@ dependencies = [ [[package]] name = "holochain_integrity_types" -version = "0.1.2" +version = "0.2.1-beta-dev.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5755ca3e4d8d3121c8294b8ac21a1da072350519309381336ff9e0aaee80e1b5" +checksum = "968bfd750360632a12329304808cc594ee8d166bf4457c70a7788e725d4d2371" dependencies = [ "holo_hash", "holochain_serialized_bytes", @@ -817,9 +958,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", @@ -832,9 +973,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", @@ -846,14 +987,17 @@ dependencies = [ [[package]] name = "holochain_zome_types" -version = "0.1.2" +version = "0.2.1-beta-dev.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fd45986999baf8590ff444442cdbbd460ae26e8ecaa7494a69f081c897bbe714" +checksum = "c534bd83fcb25cf61e2bb075228a848777b184a56ad4f23e1591fdb28d2e72fd" dependencies = [ "holo_hash", "holochain_integrity_types", "holochain_serialized_bytes", "holochain_wasmer_common", + "kitsune_p2p_bin_data", + "kitsune_p2p_block", + "kitsune_p2p_dht", "kitsune_p2p_timestamp", "paste", "serde", @@ -952,6 +1096,15 @@ dependencies = [ "windows-sys 0.48.0", ] +[[package]] +name = "itertools" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f56a2d0bc861f9165be4eb3442afd3c236d8a98afd426f65d92324ae1091a484" +dependencies = [ + "either", +] + [[package]] name = "itoa" version = "1.0.6" @@ -967,11 +1120,61 @@ dependencies = [ "wasm-bindgen", ] +[[package]] +name = "kitsune_p2p_bin_data" +version = "0.2.1-beta-dev.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "232e06b32338876fd8d0d15ab108d4300b694491e8956f228b10fcc4bbd2ead3" +dependencies = [ + "base64", + "derive_more", + "kitsune_p2p_dht_arc", + "serde", + "serde_bytes", + "shrinkwraprs", +] + +[[package]] +name = "kitsune_p2p_block" +version = "0.2.1-beta-dev.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6c7254bef2b43f10f5b15665d31bf42292c6981fe9d1eb23fbe4e83d1e593ce7" +dependencies = [ + "kitsune_p2p_bin_data", + "kitsune_p2p_timestamp", + "serde", + "serde_bytes", +] + +[[package]] +name = "kitsune_p2p_dht" +version = "0.2.1-beta-dev.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7b2c416fc26e2d89e800177a9b3b9c46e81940f64aba515f1eb05c61de9cb064" +dependencies = [ + "colored", + "derivative", + "derive_more", + "futures", + "gcollections", + "intervallum", + "kitsune_p2p_dht_arc", + "kitsune_p2p_timestamp", + "must_future", + "num-traits", + "once_cell", + "rand", + "serde", + "statrs", + "thiserror", + "tracing", +] + [[package]] name = "kitsune_p2p_dht_arc" -version = "0.1.0" +version = "0.2.1-beta-dev.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0344da4e6309dfa0d7471e4b868e7dc829f109a99b3fd552abfd4d9850593cbf" +checksum = "426d6a7eaf785334ebe1051a038cec1e63b12efde1873e2c03f1faa4215cc286" dependencies = [ "derive_more", "gcollections", @@ -982,9 +1185,9 @@ dependencies = [ [[package]] name = "kitsune_p2p_timestamp" -version = "0.1.0" +version = "0.2.1-beta-dev.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89399225067e17ab204a3d496622dd7ab51959690676eee35c45c6ad9a725165" +checksum = "40905f4ba51df93beb142c2381ff3ee4666ea4d493e2464d929674a141fdc88f" dependencies = [ "chrono", "derive_more", @@ -1019,6 +1222,12 @@ dependencies = [ "winapi", ] +[[package]] +name = "libm" +version = "0.2.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f7012b1bbb0719e1097c47611d3898568c546d597c2e74d66f6087edd5233ff4" + [[package]] name = "link-cplusplus" version = "1.0.8" @@ -1083,6 +1292,16 @@ dependencies = [ "libc", ] +[[package]] +name = "matrixmultiply" +version = "0.3.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "090126dc04f95dc0d1c1c91f61bdd474b3930ca064c1edc8a849da2c6cbe1e77" +dependencies = [ + "autocfg", + "rawpointer", +] + [[package]] name = "memchr" version = "2.5.0" @@ -1131,6 +1350,54 @@ version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7843ec2de400bcbc6a6328c958dc38e5359da6e93e72e37bc5246bf1ae776389" +[[package]] +name = "must_future" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a160ffed3c2f98d2906c67a9b6e4e1f09cca7e17e3f780286a349061459eeebe" +dependencies = [ + "futures", + "pin-utils", +] + +[[package]] +name = "nalgebra" +version = "0.27.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "462fffe4002f4f2e1f6a9dcf12cc1a6fc0e15989014efc02a941d3e0f5dc2120" +dependencies = [ + "approx", + "matrixmultiply", + "nalgebra-macros", + "num-complex", + "num-rational", + "num-traits", + "rand", + "rand_distr", + "simba", + "typenum", +] + +[[package]] +name = "nalgebra-macros" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "01fcc0b8149b4632adc89ac3b7b31a12fb6099a0317a4eb2ebff574ef7de7218" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "num-complex" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "02e0d21255c828d6f128a1e41534206671e8c3ea0c62f32291e808dc82cff17d" +dependencies = [ + "num-traits", +] + [[package]] name = "num-integer" version = "0.1.45" @@ -1141,6 +1408,17 @@ dependencies = [ "num-traits", ] +[[package]] +name = "num-rational" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0638a1c9d0a3c0914158145bc76cff373a75a627e6ecbfb71cbe6f453a5a19b0" +dependencies = [ + "autocfg", + "num-integer", + "num-traits", +] + [[package]] name = "num-traits" version = "0.2.15" @@ -1148,6 +1426,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "578ede34cf02f8924ab9447f50c28075b4d3e5b269972345e7e0372b38c6cdcd" dependencies = [ "autocfg", + "libm", ] [[package]] @@ -1212,9 +1491,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 = "pest" @@ -1232,6 +1511,12 @@ version = "0.2.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e0a7ae3ac2f1173085d398531c705756c94a4c56843785df85a60c1a0afac116" +[[package]] +name = "pin-utils" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" + [[package]] name = "ppv-lite86" version = "0.2.17" @@ -1340,6 +1625,22 @@ dependencies = [ "getrandom", ] +[[package]] +name = "rand_distr" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32cb0b9bc82b0a0876c2dd994a7e7a2683d3e7390ca40e6886785ef0c7e3ee31" +dependencies = [ + "num-traits", + "rand", +] + +[[package]] +name = "rawpointer" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "60a357793950651c4ed0f3f52338f53b2f809f32d83a07f72909fa13e4c6c1e3" + [[package]] name = "rayon" version = "1.7.0" @@ -1638,12 +1939,46 @@ dependencies = [ "digest", ] +[[package]] +name = "shrinkwraprs" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e63e6744142336dfb606fe2b068afa2e1cca1ee6a5d8377277a92945d81fa331" +dependencies = [ + "bitflags", + "itertools", + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "simba" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e82063457853d00243beda9952e910b82593e4b07ae9f721b9278a99a0d3d5c" +dependencies = [ + "approx", + "num-complex", + "num-traits", + "paste", +] + [[package]] name = "simdutf8" version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f27f6278552951f1f2b8cf9da965d10969b2efdea95a6ec47987ab46edfe263a" +[[package]] +name = "slab" +version = "0.4.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6528351c9bc8ab22353f9d776db39a20288e8d6c37ef8cfe3317cf875eecfc2d" +dependencies = [ + "autocfg", +] + [[package]] name = "smallvec" version = "1.10.0" @@ -1656,6 +1991,19 @@ version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" +[[package]] +name = "statrs" +version = "0.15.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "05bdbb8e4e78216a85785a85d3ec3183144f98d0097b9281802c019bb07a6f05" +dependencies = [ + "approx", + "lazy_static", + "nalgebra", + "num-traits", + "rand", +] + [[package]] name = "strsim" version = "0.10.0" diff --git a/Cargo.toml b/Cargo.toml index 5048365..61e30ef 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,9 +8,9 @@ opt-level = "z" members = ["dnas/*/zomes/coordinator/*", "dnas/*/zomes/integrity/*", "lib/*"] [workspace.dependencies] -hdi = "=0.2.2" -hdk = "=0.1.2" -holochain_integrity_types = "=0.1.2" +hdi = "=0.3.1-beta-dev.0" +hdk = "=0.2.1-beta-dev.0" +holochain_integrity_types = "=0.2.1-beta-dev.0" serde = "1" [workspace.dependencies.demo] diff --git a/dnas/demo/zomes/coordinator/demo/Cargo.toml b/dnas/demo/zomes/coordinator/demo/Cargo.toml index dbf7e5a..98930cf 100644 --- a/dnas/demo/zomes/coordinator/demo/Cargo.toml +++ b/dnas/demo/zomes/coordinator/demo/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "demo" -version = "0.0.1" +version = "0.2.0" edition = "2021" [lib] diff --git a/dnas/demo/zomes/integrity/demo/Cargo.toml b/dnas/demo/zomes/integrity/demo/Cargo.toml index 01cd8f6..949b4fe 100644 --- a/dnas/demo/zomes/integrity/demo/Cargo.toml +++ b/dnas/demo/zomes/integrity/demo/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "demo_integrity" -version = "0.0.1" +version = "0.2.0" edition = "2021" [lib] diff --git a/flake.lock b/flake.lock index 062a4b8..7034762 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,12 +51,29 @@ "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", + "holochain-flake", "nixpkgs" ], "rust-overlay": "rust-overlay" @@ -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,38 @@ "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" + } + }, "flake-compat": { "flake": false, "locked": { @@ -106,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" @@ -123,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, @@ -139,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" }, @@ -156,25 +311,46 @@ "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", - "cargo-rdme": "cargo-rdme", - "crane": "crane", - "crate2nix": "crate2nix", - "flake-compat": "flake-compat_2", - "flake-parts": "flake-parts", + "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" @@ -182,8 +358,9 @@ "nix-filter": "nix-filter", "nixpkgs": "nixpkgs", "pre-commit-hooks-nix": "pre-commit-hooks-nix", - "rust-overlay": "rust-overlay_2", + "rust-overlay": "rust-overlay_3", "scaffolding": [ + "holochain-flake", "holochain", "versions", "scaffolding" @@ -191,11 +368,56 @@ "versions": "versions" }, "locked": { - "lastModified": 1682670262, - "narHash": "sha256-2RWsHw4iwG6VzmI4wgwwCH9OZ/M+1Y9qus1Ff0jesks=", + "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" + } + }, + "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": 1686766998, + "narHash": "sha256-n4RAcGrGL4t7thLLSM4aBYF1IUf2PdTiNLVzROnlOSk=", "owner": "holochain", "repo": "holochain", - "rev": "2d4044b8945c051d82cba920d871039a12ffa210", + "rev": "3e0511ce4068bf9d3e5fa19d069f8d873e444e14", "type": "github" }, "original": { @@ -221,6 +443,23 @@ "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": { @@ -238,6 +477,23 @@ "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": { @@ -255,6 +511,23 @@ "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, @@ -270,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": 1682526928, - "narHash": "sha256-2cKh4O6t1rQ8Ok+v16URynmb0rV7oZPEbXkU0owNLQs=", + "lastModified": 1682453498, + "narHash": "sha256-WoWiAd7KZt5Eh6n+qojcivaVpnXKqBsVgpixpV2L9CE=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "d6b863fd9b7bb962e6f9fdf292419a775e772891", + "rev": "c8018361fa1d1650ee8d4b96294783cf564e8a7f", "type": "github" }, "original": { @@ -303,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": 1686592866, + "narHash": "sha256-riGg89eWhXJcPNrQGcSwTEEm7CGxWC06oSX44hajeMw=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "0eeebd64de89e4163f4d3cf34ffe925a5cf67a05", + "type": "github" + }, + "original": { + "id": "nixpkgs", + "ref": "nixos-unstable", + "type": "indirect" + } + }, "pre-commit-hooks-nix": { "flake": false, "locked": { @@ -319,23 +640,69 @@ "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": "holochain", + "holochain-flake": "holochain-flake", "nixpkgs": [ - "holochain", + "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" @@ -355,20 +722,43 @@ "type": "github" } }, - "rust-overlay_2": { + "rust-overlay_3": { "inputs": { - "flake-utils": "flake-utils_2", + "flake-utils": "flake-utils_3", "nixpkgs": [ + "holochain-flake", "holochain", "nixpkgs" ] }, "locked": { - "lastModified": 1682648393, - "narHash": "sha256-VH0/4PXTPHVc3E6NxuB51w2eW1/Yn8NGq+HkB8kA0cU=", + "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": 1686709572, + "narHash": "sha256-WRLfZK8p8mfhdghO4Ot9mcGkU4fMNlpYuJ9/D3HwCes=", "owner": "oxalica", "repo": "rust-overlay", - "rev": "2c22a41baadfac75a4af5303fc3ef8d4145b795b", + "rev": "2d7fe187eff3a98254e8115c85bb67739693f221", "type": "github" }, "original": { @@ -394,6 +784,23 @@ "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, @@ -409,6 +816,21 @@ "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", @@ -417,16 +839,36 @@ "scaffolding": "scaffolding" }, "locked": { + "lastModified": 1682016678, + "narHash": "sha256-LeDONDrsLwNRhoJVy/bHAR0nGgeGnc3OTGTvxeR3e5I=", + "path": "./versions/0_1", + "type": "path" + }, + "original": { "dir": "versions/0_1", - "lastModified": 1684218489, - "narHash": "sha256-k6FKy1k+/8qhnXWwWZcAR5F28Ip3CV+/ERoJ1xCSsCA=", "owner": "holochain", "repo": "holochain", - "rev": "e6d3e965814d0bf8f4c77a2f7c4116a27446ab4a", + "type": "github" + } + }, + "versions_2": { + "inputs": { + "holochain": "holochain_3", + "lair": "lair_2", + "launcher": "launcher_2", + "scaffolding": "scaffolding_2" + }, + "locked": { + "dir": "versions/0_2", + "lastModified": 1686766998, + "narHash": "sha256-n4RAcGrGL4t7thLLSM4aBYF1IUf2PdTiNLVzROnlOSk=", + "owner": "holochain", + "repo": "holochain", + "rev": "3e0511ce4068bf9d3e5fa19d069f8d873e444e14", "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 02ad615..194b8a1 100644 --- a/flake.nix +++ b/flake.nix @@ -1,32 +1,30 @@ { - description = "Template for Holochain app development"; + description = "Flake for Holochain app development"; inputs = { - nixpkgs.follows = "holochain/nixpkgs"; - - holochain = { + 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.versions.follows = "versions"; + inputs.holochain.url = "github:holochain/holochain/holochain-0.2.1-beta-dev.0"; }; + + nixpkgs.follows = "holochain-flake/nixpkgs"; }; outputs = inputs @ { ... }: - inputs.holochain.inputs.flake-parts.lib.mkFlake - { - inherit inputs; - } - { - systems = builtins.attrNames inputs.holochain.devShells; - perSystem = - { config - , pkgs - , system - , ... - }: { + 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.devShells.${system}.holonix ]; - packages = [ pkgs.nodejs-18_x ]; + inputsFrom = [ + inputs.holochain-flake.devShells.${system}.holonix + ]; + packages = [ + pkgs.nodejs-18_x + ]; }; - }; - }; + }; + }; } \ No newline at end of file diff --git a/lib/prefix_index/src/prefix_index.rs b/lib/prefix_index/src/prefix_index.rs index d4d0fd2..23013a9 100644 --- a/lib/prefix_index/src/prefix_index.rs +++ b/lib/prefix_index/src/prefix_index.rs @@ -85,13 +85,22 @@ impl PrefixIndex { let result_children: Vec = children .clone() .into_iter() - .filter(|c| EntryHash::from(c.clone().target) == path_entry_hash) + .filter(|c| -> bool { + let maybe_eh = c.clone().target.into_entry_hash(); + match maybe_eh { + Some(eh) => eh == path_entry_hash, + None => false + } + }) .collect(); // Delete children link corresponding to current path for child in result_children.clone().into_iter() { - if EntryHash::from(child.target) == path.path_entry_hash()? { - delete_link(child.create_link_hash)?; + let maybe_eh = child.target.into_entry_hash(); + if let Some(eh) = maybe_eh { + if eh == path.path_entry_hash()? { + delete_link(child.create_link_hash)?; + } } } diff --git a/lib/prefix_index/src/validate.rs b/lib/prefix_index/src/validate.rs index 43b9030..6e8bd7b 100644 --- a/lib/prefix_index/src/validate.rs +++ b/lib/prefix_index/src/validate.rs @@ -18,25 +18,35 @@ pub fn validate_create_link_prefix_index( // First Component: root hash -> index name let path: Path = Path::from(tag_string.clone()); + // Target is an entry hash + let maybe_target_entryhash = target_address.clone().into_entry_hash(); + if let None = maybe_target_entryhash { + return Ok(ValidateCallbackResult::Invalid( + "PrefixIndex first component: target address must be entry hash".into(), + )) + } + // first component if base_address == root_hash()? { - if EntryHash::from(target_address.clone()) != path.path_entry_hash()? { - return Ok(ValidateCallbackResult::Invalid( - "PrefixIndex first component: target address must be index name".into(), - )); - } - if tag_string != prefix_index.index_name { - return Ok(ValidateCallbackResult::Invalid( - "PrefixIndex first component: tag string must be index name".into(), - )); + if let Some(eh) = maybe_target_entryhash { + if eh != path.path_entry_hash()? { + return Ok(ValidateCallbackResult::Invalid( + "PrefixIndex first component: target address must be index name".into(), + )); + } + if tag_string != prefix_index.index_name { + return Ok(ValidateCallbackResult::Invalid( + "PrefixIndex first component: tag string must be index name".into(), + )); + } } } // second component - else if EntryHash::from(base_address) - == Path::from(prefix_index.index_name.clone()).path_entry_hash()? - { - if tag_string.chars().count() != prefix_index.width { - return Ok(ValidateCallbackResult::Invalid("PrefixIndex second component: tag string must have same number of chars as prefix index width".into())); + else if let Some(eh) = base_address.into_entry_hash() { + if eh == Path::from(prefix_index.index_name.clone()).path_entry_hash()? { + if tag_string.chars().count() != prefix_index.width { + return Ok(ValidateCallbackResult::Invalid("PrefixIndex second component: tag string must have same number of chars as prefix index width".into())); + } } } // third or later component diff --git a/package-lock.json b/package-lock.json index 107b954..efa2e9e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -387,21 +387,22 @@ } }, "node_modules/@holochain/client": { - "version": "0.12.5", - "resolved": "https://registry.npmjs.org/@holochain/client/-/client-0.12.5.tgz", - "integrity": "sha512-9Q1G8sKEGsqnCl067CaRbzwPZZ5zeDCJdvQ8TJpb+psP2kLJBbHZ2qulMXAlNUz7Pg0l4B1Eh/BFJByJHRLlow==", + "version": "0.14.1", + "resolved": "https://registry.npmjs.org/@holochain/client/-/client-0.14.1.tgz", + "integrity": "sha512-5rWPIRdxhvV+SpKHegKsPSw7AcN1JjtLS5RhAlLT7dsXvn70BcMWsImhBs1sqw69QsbEMKlhqaOH+sOS5LkDBQ==", "dependencies": { "@holochain/serialization": "^0.1.0-beta-rc.3", "@msgpack/msgpack": "^2.7.2", + "@noble/ed25519": "^2.0.0", "@tauri-apps/api": "^1.2.0", "emittery": "^1.0.1", "isomorphic-ws": "^5.0.0", "js-base64": "^3.7.3", "lodash-es": "^4.17.21", - "tweetnacl": "^1.0.3" + "ws": "^8.13.0" }, "engines": { - "node": "^14.13.1 || >=16.0.0 || >=18.0.0" + "node": ">=16.0.0 || >=18.0.0" } }, "node_modules/@holochain/serialization": { @@ -410,11 +411,11 @@ "integrity": "sha512-DJx4V2KXHVLciyOGjOYKTM/JLBpBEZ3RsPIRCgf7qmwhQdxXvhi2p+oFFRD51yUT5uC1/MzIVeJCl/R60PwFbw==" }, "node_modules/@holochain/tryorama": { - "version": "0.11.2", - "resolved": "https://registry.npmjs.org/@holochain/tryorama/-/tryorama-0.11.2.tgz", - "integrity": "sha512-RCi7QtGejpzfGIx1EKyTX+QnkooGaUAY0TiFHDc5uamCvNNX1Ya6Esgvyrt2zpO5YBUUrSbdbB1gBB3a8bwr7A==", + "version": "0.14.0-rc.0", + "resolved": "https://registry.npmjs.org/@holochain/tryorama/-/tryorama-0.14.0-rc.0.tgz", + "integrity": "sha512-m5TGamkCsapFoeHe2DhAJXWYkOhj4XGd9gd3pj/iWR9c2lwsSiY1IKfUCWJ0tCVis4i8ZGakeWbbvwlFoS3dhQ==", "dependencies": { - "@holochain/client": "^0.12.0", + "@holochain/client": "^0.14.1", "get-port": "^6.1.2", "lodash": "^4.17.21", "uuid": "^8.3.2", @@ -422,7 +423,7 @@ "ws": "^8.11.0" }, "engines": { - "node": "^14.13.1 || >=16.0.0 || >=18.0.0" + "node": ">=16.0.0 || >=18.0.0" } }, "node_modules/@msgpack/msgpack": { @@ -433,6 +434,17 @@ "node": ">= 10" } }, + "node_modules/@noble/ed25519": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@noble/ed25519/-/ed25519-2.0.0.tgz", + "integrity": "sha512-/extjhkwFupyopDrt80OMWKdLgP429qLZj+z6sYJz90rF2Iz0gjZh2ArMKPImUl13Kx+0EXI2hN9T/KJV0/Zng==", + "funding": [ + { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + ] + }, "node_modules/@tauri-apps/api": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/@tauri-apps/api/-/api-1.2.0.tgz", @@ -1593,11 +1605,6 @@ "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", "dev": true }, - "node_modules/tweetnacl": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-1.0.3.tgz", - "integrity": "sha512-6rt+RN7aOi1nGMyC4Xa5DdYiukl2UWCbcJft7YhxReBGQD7OAM8Pbxw6YMo4r2diNEA8FEmu32YOn9rhaiE5yw==" - }, "node_modules/type-detect": { "version": "4.0.8", "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", @@ -1637,9 +1644,9 @@ } }, "node_modules/vite": { - "version": "4.3.3", - "resolved": "https://registry.npmjs.org/vite/-/vite-4.3.3.tgz", - "integrity": "sha512-MwFlLBO4udZXd+VBcezo3u8mC77YQk+ik+fbc0GZWGgzfbPP+8Kf0fldhARqvSYmtIWoAJ5BXPClUbMTlqFxrA==", + "version": "4.3.9", + "resolved": "https://registry.npmjs.org/vite/-/vite-4.3.9.tgz", + "integrity": "sha512-qsTNZjO9NoJNW7KnOrgYwczm0WctJ8m/yqYAMAK9Lxt4SoySUfS5S8ia9K7JHpa3KEeMfyF8LoJ3c5NeBJy6pg==", "dependencies": { "esbuild": "^0.17.5", "postcss": "^8.4.23", @@ -1912,8 +1919,8 @@ }, "tests": { "dependencies": { - "@holochain/client": "^0.12.2", - "@holochain/tryorama": "^0.11.0", + "@holochain/client": "^0.14.1", + "@holochain/tryorama": "^0.14.0-rc.0", "@msgpack/msgpack": "^2.7.0", "typescript": "^4.9.4", "vitest": "^0.28.4" diff --git a/tests/package.json b/tests/package.json index 88d08e6..23f3a25 100644 --- a/tests/package.json +++ b/tests/package.json @@ -2,12 +2,12 @@ "name": "tests", "private": true, "scripts": { - "test": "vitest run" + "test": "TRYORAMA_LOG_LEVEL=debug vitest run" }, "dependencies": { "@msgpack/msgpack": "^2.7.0", - "@holochain/client": "^0.12.2", - "@holochain/tryorama": "^0.11.0", + "@holochain/client": "^0.14.1", + "@holochain/tryorama": "^0.14.0-rc.0", "typescript": "^4.9.4", "vitest": "^0.28.4" }, diff --git a/tests/src/demo/demo/prefix-index.test.ts b/tests/src/demo/demo/prefix-index.test.ts index a42a72e..75c69d4 100644 --- a/tests/src/demo/demo/prefix-index.test.ts +++ b/tests/src/demo/demo/prefix-index.test.ts @@ -4,22 +4,28 @@ import { assert, test } from "vitest"; test("search prefix index with width=3, depth=3", async () => { await runScenario( async (scenario) => { + console.log('running scenario') // Set up the app to be installed - const appSource = { appBundleSource: { path: "../workdir/prefix-index.happ"}}; - + const appSource = { path: "../workdir/prefix-index.happ"}; + console.log('app source is', appSource); + console.log('sceneario condoutros is', scenario) // Add 2 players with the test app to the Scenario. The returned players // can be destructured. - const [alice] = await scenario.addPlayersWithApps([appSource]); - + const alice = await scenario.addPlayerWithApp(appSource); + console.log('added player with app', alice); // Shortcut peer discovery through gossip and register all agents in every // conductor of the scenario. await scenario.shareAllAgents(); + console.log('shared agents'); + await alice.cells[0].callZome({ zome_name: "demo", fn_name: "add_to_index_a", payload: "superdupercool", }); + console.log('called zome'); + await alice.cells[0].callZome({ zome_name: "demo", fn_name: "add_to_index_a", @@ -164,7 +170,7 @@ test("search prefix index with width=3, depth=3", async () => { assert.lengthOf(results, 0); }, true, - { timeout: 100000 } + { timeout: 30000 } ); }); From ee5e36ec62f6d44f1cca0808fa1d7dec86fd2795 Mon Sep 17 00:00:00 2001 From: Matt Gabrenya Date: Wed, 11 Oct 2023 08:11:37 -0700 Subject: [PATCH 2/9] build: holochain-0.2.3-beta-rc.1 --- Cargo.lock | 117 ++++++++++++-------- Cargo.toml | 5 +- dnas/demo/zomes/coordinator/demo/Cargo.toml | 1 - dnas/demo/zomes/integrity/demo/Cargo.toml | 1 - flake.nix | 2 +- lib/prefix_index/Cargo.toml | 1 - 6 files changed, 75 insertions(+), 52 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 8691658..c879dad 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -92,7 +92,7 @@ checksum = "233d376d6d185f2a3093e58f283f60f880315b6c60075b01f36b3b85154564ca" dependencies = [ "addr2line", "cc", - "cfg-if", + "cfg-if 1.0.0", "libc", "miniz_oxide", "object 0.30.3", @@ -227,6 +227,12 @@ version = "1.0.79" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "50d30906286121d95be3d479533b458f87493b30a4b5f79a607db8f5d11aa91f" +[[package]] +name = "cfg-if" +version = "0.1.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822" + [[package]] name = "cfg-if" version = "1.0.0" @@ -293,7 +299,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9847f90f32a50b0dcbd68bc23ff242798b13080b97b0569f6ed96a45ce4cf2cd" dependencies = [ "autocfg", - "cfg-if", + "cfg-if 1.0.0", "libc", "scopeguard", "windows-sys 0.33.0", @@ -373,7 +379,7 @@ version = "1.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b540bd8bc810d3885c6ea91e2018302f68baba2129ab3e88f32389ee9370880d" dependencies = [ - "cfg-if", + "cfg-if 1.0.0", ] [[package]] @@ -382,7 +388,7 @@ version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a33c2bf77f2df06183c3aa30d1e96c0695a313d4f9c453cc3762a6db39f99200" dependencies = [ - "cfg-if", + "cfg-if 1.0.0", "crossbeam-utils", ] @@ -392,7 +398,7 @@ version = "0.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ce6fd6f855243022dcecf8702fef0c297d4338e226845fe067f6341ad9fa0cef" dependencies = [ - "cfg-if", + "cfg-if 1.0.0", "crossbeam-epoch", "crossbeam-utils", ] @@ -404,7 +410,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "46bd5f3f85273295a9d14aedfb86f6aadbff6d8f5295c4a9edb08e819dcf5695" dependencies = [ "autocfg", - "cfg-if", + "cfg-if 1.0.0", "crossbeam-utils", "memoffset 0.8.0", "scopeguard", @@ -416,7 +422,7 @@ version = "0.8.15" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3c063cd8cc95f5c377ed0d4b49a4b21f632396ff690e8470c29b3359b346984b" dependencies = [ - "cfg-if", + "cfg-if 1.0.0", ] [[package]] @@ -514,7 +520,6 @@ version = "0.2.0" dependencies = [ "demo_integrity", "hdk", - "holochain_integrity_types", "prefix_index", "serde", ] @@ -524,7 +529,6 @@ name = "demo_integrity" version = "0.2.0" dependencies = [ "hdi", - "holochain_integrity_types", "prefix_index", "serde", ] @@ -563,6 +567,12 @@ dependencies = [ "crypto-common", ] +[[package]] +name = "dunce" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "56ce8c6da7551ec6c462cbaf3bfbc75131ebbfa1c944aeaa9dab51ca1c5f0c3b" + [[package]] name = "either" version = "1.8.1" @@ -769,7 +779,7 @@ version = "0.2.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c85e1d9ab2eadba7e5040d4e09cbd6d072b76a557ad64e797c2cb9d4da21d7e4" dependencies = [ - "cfg-if", + "cfg-if 1.0.0", "libc", "wasi 0.11.0+wasi-snapshot-preview1", ] @@ -811,9 +821,9 @@ dependencies = [ [[package]] name = "hdi" -version = "0.3.1-beta-dev.0" +version = "0.3.3-beta-rc.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a886cc9e0c50374c32ae9ca88f84d9dd49976354ac2212dee72036cc6ff49ed8" +checksum = "f3643f277f71ff421d2d5aec634733ebe692a1a4dcc256053b43b48ce894ec2e" dependencies = [ "hdk_derive", "holo_hash", @@ -828,9 +838,9 @@ dependencies = [ [[package]] name = "hdk" -version = "0.2.1-beta-dev.0" +version = "0.2.3-beta-rc.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8fd3ff014eff9c6849bbe3e6350e28a0156b156afc4b12c51412b4307795c2f2" +checksum = "0c6184be153b966718ce64a7d1251fb79fe3bf4a4ec7a50b661d83303695b206" dependencies = [ "getrandom", "hdi", @@ -848,9 +858,9 @@ dependencies = [ [[package]] name = "hdk_derive" -version = "0.2.1-beta-dev.0" +version = "0.2.3-beta-rc.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ad315cca0c2b5c3b361b07d0d3ff6adf1a8c99501962b6f833dee1adacbea1a" +checksum = "5749e92f51bb34acde67e44113f51f3a0796b32d2d93642fdb9bd6b2ff14a588" dependencies = [ "darling", "heck", @@ -900,14 +910,15 @@ checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" [[package]] name = "holo_hash" -version = "0.2.1-beta-dev.0" +version = "0.2.3-beta-rc.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b45b6a6f1d7bfb0b1a73caa16b0f01ab103c93e748f273a0f479ecca6e5977ee" +checksum = "435cfdff816b0b44e467e0a27bbed7527dbf0ef8281b1dd3d2620ead755d2d74" dependencies = [ "base64", "blake2b_simd", "derive_more", "holochain_serialized_bytes", + "holochain_util", "holochain_wasmer_common", "kitsune_p2p_dht_arc", "serde", @@ -917,12 +928,14 @@ dependencies = [ [[package]] name = "holochain_integrity_types" -version = "0.2.1-beta-dev.0" +version = "0.2.3-beta-rc.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "968bfd750360632a12329304808cc594ee8d166bf4457c70a7788e725d4d2371" +checksum = "28a6d35c9549a550012c714da46cb7271650a4a019ef3f6df4b952052a304939" dependencies = [ "holo_hash", "holochain_serialized_bytes", + "holochain_util", + "kitsune_p2p_dht", "kitsune_p2p_timestamp", "paste", "serde", @@ -956,6 +969,20 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "holochain_util" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c507f39c150414b64bb2fe8da311dc4e925435be887f8dfc3a97f8183d829878" +dependencies = [ + "cfg-if 0.1.10", + "derive_more", + "dunce", + "futures", + "num_cpus", + "once_cell", +] + [[package]] name = "holochain_wasmer_common" version = "0.0.84" @@ -987,9 +1014,9 @@ dependencies = [ [[package]] name = "holochain_zome_types" -version = "0.2.1-beta-dev.0" +version = "0.2.3-beta-rc.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c534bd83fcb25cf61e2bb075228a848777b184a56ad4f23e1591fdb28d2e72fd" +checksum = "eb9e6cb4a86934dad05df535128170650d51294a15d1fced6e2fd09633036da6" dependencies = [ "holo_hash", "holochain_integrity_types", @@ -1069,7 +1096,7 @@ version = "0.1.12" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c" dependencies = [ - "cfg-if", + "cfg-if 1.0.0", ] [[package]] @@ -1122,12 +1149,13 @@ dependencies = [ [[package]] name = "kitsune_p2p_bin_data" -version = "0.2.1-beta-dev.0" +version = "0.2.3-beta-rc.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "232e06b32338876fd8d0d15ab108d4300b694491e8956f228b10fcc4bbd2ead3" +checksum = "8afa8a8443e53e33630cac6e8c1ab62f2b0eeeedcbac55cf364ae475b3e0a2a4" dependencies = [ "base64", "derive_more", + "holochain_util", "kitsune_p2p_dht_arc", "serde", "serde_bytes", @@ -1136,9 +1164,9 @@ dependencies = [ [[package]] name = "kitsune_p2p_block" -version = "0.2.1-beta-dev.0" +version = "0.2.3-beta-rc.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c7254bef2b43f10f5b15665d31bf42292c6981fe9d1eb23fbe4e83d1e593ce7" +checksum = "20d2b731570653080783af209d3ef20b171bf433934b30b5e101ff81a44f0a13" dependencies = [ "kitsune_p2p_bin_data", "kitsune_p2p_timestamp", @@ -1148,9 +1176,9 @@ dependencies = [ [[package]] name = "kitsune_p2p_dht" -version = "0.2.1-beta-dev.0" +version = "0.2.3-beta-rc.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b2c416fc26e2d89e800177a9b3b9c46e81940f64aba515f1eb05c61de9cb064" +checksum = "3df476d31342f60edacd1eca957373667f6462b22733e88b6a622dab204424b7" dependencies = [ "colored", "derivative", @@ -1172,9 +1200,9 @@ dependencies = [ [[package]] name = "kitsune_p2p_dht_arc" -version = "0.2.1-beta-dev.0" +version = "0.2.3-beta-rc.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "426d6a7eaf785334ebe1051a038cec1e63b12efde1873e2c03f1faa4215cc286" +checksum = "3e3ae4467354e63f5f1fc62400977d1bd2722ec794065d8fa3366af752365bea" dependencies = [ "derive_more", "gcollections", @@ -1185,9 +1213,9 @@ dependencies = [ [[package]] name = "kitsune_p2p_timestamp" -version = "0.2.1-beta-dev.0" +version = "0.2.3-beta-rc.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "40905f4ba51df93beb142c2381ff3ee4666ea4d493e2464d929674a141fdc88f" +checksum = "b9f55a6bc3bca9280f86778a7436f12f2c6d2cfc6f1612a9ff5ad77944559673" dependencies = [ "chrono", "derive_more", @@ -1218,7 +1246,7 @@ version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b67380fd3b2fbe7527a606e18729d21c6f3951633d0500574c4dc22d2d638b9f" dependencies = [ - "cfg-if", + "cfg-if 1.0.0", "winapi", ] @@ -1259,7 +1287,7 @@ version = "0.4.17" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "abb12e687cfb44aa40f41fc3978ef76448f9b6038cad6aef4259d3c095a2382e" dependencies = [ - "cfg-if", + "cfg-if 1.0.0", ] [[package]] @@ -1482,7 +1510,7 @@ version = "0.9.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9069cbb9f99e3a5083476ccb29ceb1de18b9118cafa53e90c9551235de2b9521" dependencies = [ - "cfg-if", + "cfg-if 1.0.0", "libc", "redox_syscall 0.2.16", "smallvec", @@ -1528,7 +1556,6 @@ name = "prefix_index" version = "0.5.0" dependencies = [ "hdk", - "holochain_integrity_types", "rand", "serde", ] @@ -1934,7 +1961,7 @@ version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f5058ada175748e33390e40e872bd0fe59a19f265d0158daa551c5a88a76009c" dependencies = [ - "cfg-if", + "cfg-if 1.0.0", "cpufeatures", "digest", ] @@ -2073,7 +2100,7 @@ version = "3.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b9fbec84f381d5795b08656e4912bec604d162bff9291d6189a78f4c8ab87998" dependencies = [ - "cfg-if", + "cfg-if 1.0.0", "fastrand", "redox_syscall 0.3.5", "rustix", @@ -2196,7 +2223,7 @@ version = "0.1.37" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8ce8c33a8d48bd45d624a6e523445fd21ec13d3653cd51f681abf67418f54eb8" dependencies = [ - "cfg-if", + "cfg-if 1.0.0", "log", "pin-project-lite", "tracing-attributes", @@ -2305,7 +2332,7 @@ version = "0.2.84" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "31f8dcbc21f30d9b8f2ea926ecb58f6b91192c17e9d33594b3df58b2007ca53b" dependencies = [ - "cfg-if", + "cfg-if 1.0.0", "wasm-bindgen-macro", ] @@ -2368,7 +2395,7 @@ version = "2.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ea8d8361c9d006ea3d7797de7bd6b1492ffd0f91a22430cfda6c1658ad57bedf" dependencies = [ - "cfg-if", + "cfg-if 1.0.0", "indexmap", "js-sys", "loupe", @@ -2481,7 +2508,7 @@ version = "2.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ad0358af9c154724587731175553805648d9acb8f6657880d165e378672b7e53" dependencies = [ - "cfg-if", + "cfg-if 1.0.0", "enum-iterator", "enumset", "leb128", @@ -2507,7 +2534,7 @@ version = "2.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "440dc3d93c9ca47865a4f4edd037ea81bf983b5796b59b3d712d844b32dbef15" dependencies = [ - "cfg-if", + "cfg-if 1.0.0", "enumset", "leb128", "loupe", @@ -2573,7 +2600,7 @@ checksum = "30d965fa61f4dc4cdb35a54daaf7ecec3563fbb94154a6c35433f879466247dd" dependencies = [ "backtrace", "cc", - "cfg-if", + "cfg-if 1.0.0", "corosensei", "enum-iterator", "indexmap", diff --git a/Cargo.toml b/Cargo.toml index 61e30ef..3b75465 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,9 +8,8 @@ opt-level = "z" members = ["dnas/*/zomes/coordinator/*", "dnas/*/zomes/integrity/*", "lib/*"] [workspace.dependencies] -hdi = "=0.3.1-beta-dev.0" -hdk = "=0.2.1-beta-dev.0" -holochain_integrity_types = "=0.2.1-beta-dev.0" +hdi = "=0.3.3-beta-rc.0" +hdk = "=0.2.3-beta-rc.0" serde = "1" [workspace.dependencies.demo] diff --git a/dnas/demo/zomes/coordinator/demo/Cargo.toml b/dnas/demo/zomes/coordinator/demo/Cargo.toml index 98930cf..d97e821 100644 --- a/dnas/demo/zomes/coordinator/demo/Cargo.toml +++ b/dnas/demo/zomes/coordinator/demo/Cargo.toml @@ -9,7 +9,6 @@ name = "demo" [dependencies] hdk = { workspace = true } -holochain_integrity_types = { workspace = true } serde = { workspace = true } diff --git a/dnas/demo/zomes/integrity/demo/Cargo.toml b/dnas/demo/zomes/integrity/demo/Cargo.toml index 949b4fe..1f65cc2 100644 --- a/dnas/demo/zomes/integrity/demo/Cargo.toml +++ b/dnas/demo/zomes/integrity/demo/Cargo.toml @@ -9,7 +9,6 @@ name = "demo_integrity" [dependencies] hdi = { workspace = true } -holochain_integrity_types = { workspace = true } serde = { workspace = true } prefix_index = { workspace = true } \ No newline at end of file diff --git a/flake.nix b/flake.nix index 194b8a1..4c675a7 100644 --- a/flake.nix +++ b/flake.nix @@ -6,7 +6,7 @@ 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.2.3-beta-rc.1"; }; nixpkgs.follows = "holochain-flake/nixpkgs"; diff --git a/lib/prefix_index/Cargo.toml b/lib/prefix_index/Cargo.toml index ff04c54..385c719 100644 --- a/lib/prefix_index/Cargo.toml +++ b/lib/prefix_index/Cargo.toml @@ -9,6 +9,5 @@ name = "prefix_index" [dependencies] hdk = { workspace = true } -holochain_integrity_types = { workspace = true } serde = { workspace = true } rand = "0.8.5" \ No newline at end of file From ae9cd279430664ca48edae5b0059f91856cc93c6 Mon Sep 17 00:00:00 2001 From: Matt Gabrenya Date: Fri, 15 Dec 2023 13:27:02 -0700 Subject: [PATCH 3/9] build: upgrade holochain to 0.2.4 --- Cargo.lock | 81 +++++----- Cargo.toml | 6 +- flake.lock | 456 ++--------------------------------------------------- flake.nix | 1 - 4 files changed, 58 insertions(+), 486 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c879dad..6057233 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -459,7 +459,7 @@ dependencies = [ "proc-macro2", "quote", "scratch", - "syn 2.0.15", + "syn 2.0.41", ] [[package]] @@ -476,7 +476,7 @@ checksum = "2345488264226bf682893e25de0769f3360aac9957980ec49361b083ddaa5bc5" dependencies = [ "proc-macro2", "quote", - "syn 2.0.15", + "syn 2.0.41", ] [[package]] @@ -718,7 +718,7 @@ checksum = "89ca545a94061b6365f2c7355b4b32bd20df3ff95f02da9329b34ccc3bd6ee72" dependencies = [ "proc-macro2", "quote", - "syn 2.0.15", + "syn 2.0.41", ] [[package]] @@ -821,9 +821,9 @@ dependencies = [ [[package]] name = "hdi" -version = "0.3.3-beta-rc.0" +version = "0.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3643f277f71ff421d2d5aec634733ebe692a1a4dcc256053b43b48ce894ec2e" +checksum = "433896b20fa55c3b571567d0a8904be61f71c91eb49f6cdeef338ac8598e3e2b" dependencies = [ "hdk_derive", "holo_hash", @@ -838,9 +838,9 @@ dependencies = [ [[package]] name = "hdk" -version = "0.2.3-beta-rc.0" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c6184be153b966718ce64a7d1251fb79fe3bf4a4ec7a50b661d83303695b206" +checksum = "32b49aec7019a737dc1104814edd970315954f477f4508e317f7cc10938ffa36" dependencies = [ "getrandom", "hdi", @@ -858,9 +858,9 @@ dependencies = [ [[package]] name = "hdk_derive" -version = "0.2.3-beta-rc.0" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5749e92f51bb34acde67e44113f51f3a0796b32d2d93642fdb9bd6b2ff14a588" +checksum = "bf3dfc8932e6668d5a93a1a2d678977fb32acb92c5a4bdbd48beafba32af570d" dependencies = [ "darling", "heck", @@ -910,9 +910,9 @@ checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" [[package]] name = "holo_hash" -version = "0.2.3-beta-rc.0" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "435cfdff816b0b44e467e0a27bbed7527dbf0ef8281b1dd3d2620ead755d2d74" +checksum = "25fb90402dbfcf179f2f96a8dc247bde1d86ccf4ed2ecbbe7fe34446027e30fd" dependencies = [ "base64", "blake2b_simd", @@ -928,9 +928,9 @@ dependencies = [ [[package]] name = "holochain_integrity_types" -version = "0.2.3-beta-rc.0" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28a6d35c9549a550012c714da46cb7271650a4a019ef3f6df4b952052a304939" +checksum = "294ba29e9e11b31137544f07d51c1b132dd336fbb7ca5b6ce33ca6619e416189" dependencies = [ "holo_hash", "holochain_serialized_bytes", @@ -971,9 +971,9 @@ dependencies = [ [[package]] name = "holochain_util" -version = "0.2.2" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c507f39c150414b64bb2fe8da311dc4e925435be887f8dfc3a97f8183d829878" +checksum = "a19dfedf84953843a45ebbe273b59daabb444146e98499f136c3b2bfb2fc3d5d" dependencies = [ "cfg-if 0.1.10", "derive_more", @@ -1014,9 +1014,9 @@ dependencies = [ [[package]] name = "holochain_zome_types" -version = "0.2.3-beta-rc.0" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb9e6cb4a86934dad05df535128170650d51294a15d1fced6e2fd09633036da6" +checksum = "2c0366fdc03fd8cad948456579183124b2778be4b5e21230ceb221dc4818523e" dependencies = [ "holo_hash", "holochain_integrity_types", @@ -1024,7 +1024,6 @@ dependencies = [ "holochain_wasmer_common", "kitsune_p2p_bin_data", "kitsune_p2p_block", - "kitsune_p2p_dht", "kitsune_p2p_timestamp", "paste", "serde", @@ -1149,9 +1148,9 @@ dependencies = [ [[package]] name = "kitsune_p2p_bin_data" -version = "0.2.3-beta-rc.0" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8afa8a8443e53e33630cac6e8c1ab62f2b0eeeedcbac55cf364ae475b3e0a2a4" +checksum = "26a444a4508397be02027442fa3bc106db8a8ff79a02e680a652146ef07802aa" dependencies = [ "base64", "derive_more", @@ -1164,9 +1163,9 @@ dependencies = [ [[package]] name = "kitsune_p2p_block" -version = "0.2.3-beta-rc.0" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "20d2b731570653080783af209d3ef20b171bf433934b30b5e101ff81a44f0a13" +checksum = "c49c5cde7b3a68e0c8759a4be3820af90a0e79d5697254538d183823ecada823" dependencies = [ "kitsune_p2p_bin_data", "kitsune_p2p_timestamp", @@ -1176,9 +1175,9 @@ dependencies = [ [[package]] name = "kitsune_p2p_dht" -version = "0.2.3-beta-rc.0" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3df476d31342f60edacd1eca957373667f6462b22733e88b6a622dab204424b7" +checksum = "ea8a9866ba8cb51f443aeda15646d0cc6ea35eac7dc82e2ca3e101e2089ed109" dependencies = [ "colored", "derivative", @@ -1200,9 +1199,9 @@ dependencies = [ [[package]] name = "kitsune_p2p_dht_arc" -version = "0.2.3-beta-rc.0" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e3ae4467354e63f5f1fc62400977d1bd2722ec794065d8fa3366af752365bea" +checksum = "c6ab2c05e469ccade1e6a3f50138998148ff25330d83a4a334516fd0daec35c7" dependencies = [ "derive_more", "gcollections", @@ -1213,9 +1212,9 @@ dependencies = [ [[package]] name = "kitsune_p2p_timestamp" -version = "0.2.3-beta-rc.0" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9f55a6bc3bca9280f86778a7436f12f2c6d2cfc6f1612a9ff5ad77944559673" +checksum = "8f1b199e027c58d7cd55530431dddbdfe622258fda3e9aa0b61b4e938fcf463d" dependencies = [ "chrono", "derive_more", @@ -1586,9 +1585,9 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.56" +version = "1.0.70" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b63bdb0cd06f1f4dedf69b254734f9b45af66e4a031e42a7480257d9898b435" +checksum = "39278fbbf5fb4f646ce651690877f89d1c5811a3d4acb27700c1cb3cdb78fd3b" dependencies = [ "unicode-ident", ] @@ -1615,9 +1614,9 @@ dependencies = [ [[package]] name = "quote" -version = "1.0.26" +version = "1.0.33" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4424af4bf778aae2051a77b60283332f386554255d722233d09fbfc7e30da2fc" +checksum = "5267fca4496028628a95160fc423a33e8b2e6af8a5302579e322e4b520293cae" dependencies = [ "proc-macro2", ] @@ -1907,9 +1906,9 @@ dependencies = [ [[package]] name = "serde" -version = "1.0.160" +version = "1.0.166" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb2f3770c8bce3bcda7e149193a069a0f4365bda1fa5cd88e03bca26afc1216c" +checksum = "d01b7404f9d441d3ad40e6a636a7782c377d2abdbe4fa2440e2edcc2f4f10db8" dependencies = [ "serde_derive", ] @@ -1934,13 +1933,13 @@ dependencies = [ [[package]] name = "serde_derive" -version = "1.0.160" +version = "1.0.166" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "291a097c63d8497e00160b166a967a4a79c64f3facdd01cbd7502231688d77df" +checksum = "5dd83d6dde2b6b2d466e14d9d1acce8816dedee94f735eac6395808b3483c6d6" dependencies = [ "proc-macro2", "quote", - "syn 2.0.15", + "syn 2.0.41", ] [[package]] @@ -2079,9 +2078,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.15" +version = "2.0.41" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a34fcf3e8b60f57e6a14301a2e916d323af98b0ea63c599441eec8558660c822" +checksum = "44c8b28c477cc3bf0e7966561e3460130e1255f7a1cf71931075f1c5e7a7e269" dependencies = [ "proc-macro2", "quote", @@ -2190,7 +2189,7 @@ checksum = "f9456a42c5b0d803c8cd86e73dd7cc9edd429499f37a3550d286d5e86720569f" dependencies = [ "proc-macro2", "quote", - "syn 2.0.15", + "syn 2.0.41", ] [[package]] @@ -2238,7 +2237,7 @@ checksum = "0f57e3ca2a01450b1a921183a9c9cbfda207fd822cef4ccb00a65402cbba7a74" dependencies = [ "proc-macro2", "quote", - "syn 2.0.15", + "syn 2.0.41", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index 3b75465..e4a207d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,9 +8,9 @@ opt-level = "z" members = ["dnas/*/zomes/coordinator/*", "dnas/*/zomes/integrity/*", "lib/*"] [workspace.dependencies] -hdi = "=0.3.3-beta-rc.0" -hdk = "=0.2.3-beta-rc.0" -serde = "1" +hdi = "=0.3.4" +hdk = "=0.2.4" +serde = "=1.0.166" [workspace.dependencies.demo] path = "dnas/demo/zomes/coordinator/demo" diff --git a/flake.lock b/flake.lock index 7034762..a7f3b02 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": { @@ -197,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" @@ -246,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, @@ -279,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" }, @@ -311,62 +172,8 @@ "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", - "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" - }, + "flake": false, "locked": { "lastModified": 1684139928, "narHash": "sha256-uno5MTiBwf9RiEiX6iKzJsB+3srJFKwV/1ReXzaZVVw=", @@ -391,7 +198,10 @@ "empty": "empty", "flake-compat": "flake-compat_2", "flake-parts": "flake-parts", - "holochain": "holochain", + "holochain": [ + "holochain-flake", + "empty" + ], "lair": [ "holochain-flake", "empty" @@ -400,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,58 +236,7 @@ "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, @@ -495,23 +254,6 @@ } }, "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, @@ -543,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": 1682453498, - "narHash": "sha256-WoWiAd7KZt5Eh6n+qojcivaVpnXKqBsVgpixpV2L9CE=", + "lastModified": 1686592866, + "narHash": "sha256-riGg89eWhXJcPNrQGcSwTEEm7CGxWC06oSX44hajeMw=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "c8018361fa1d1650ee8d4b96294783cf564e8a7f", + "rev": "0eeebd64de89e4163f4d3cf34ffe925a5cf67a05", "type": "github" }, "original": { @@ -591,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": 1686592866, - "narHash": "sha256-riGg89eWhXJcPNrQGcSwTEEm7CGxWC06oSX44hajeMw=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "0eeebd64de89e4163f4d3cf34ffe925a5cf67a05", - "type": "github" - }, - "original": { - "id": "nixpkgs", - "ref": "nixos-unstable", - "type": "indirect" - } - }, "pre-commit-hooks-nix": { "flake": false, "locked": { @@ -640,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", @@ -663,7 +341,7 @@ "holochain-flake", "nixpkgs" ], - "versions": "versions_2" + "versions": "versions" } }, "rust-overlay": { @@ -695,59 +373,7 @@ }, "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": 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", + "flake-utils": "flake-utils_2", "nixpkgs": [ "holochain-flake", "nixpkgs" @@ -768,23 +394,6 @@ } }, "scaffolding": { - "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" - } - }, - "scaffolding_2": { "flake": false, "locked": { "lastModified": 1683890859, @@ -816,48 +425,13 @@ "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": 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": 1686766998, diff --git a/flake.nix b/flake.nix index 4c675a7..e6f6162 100644 --- a/flake.nix +++ b/flake.nix @@ -6,7 +6,6 @@ holochain-flake = { url = "github:holochain/holochain"; inputs.versions.follows = "versions"; - inputs.holochain.url = "github:holochain/holochain/holochain-0.2.3-beta-rc.1"; }; nixpkgs.follows = "holochain-flake/nixpkgs"; From 5216b5829c6ecb4401657ec4d9fc10d43a335050 Mon Sep 17 00:00:00 2001 From: Matt Gabrenya Date: Fri, 15 Dec 2023 13:27:13 -0700 Subject: [PATCH 4/9] chore: fmt + clippy --- .../coordinator/demo/src/demo_prefix_index.rs | 14 +-- dnas/demo/zomes/coordinator/demo/src/lib.rs | 2 +- dnas/demo/zomes/integrity/demo/src/lib.rs | 62 ++++++------ lib/prefix_index/src/lib.rs | 4 +- lib/prefix_index/src/prefix_index.rs | 95 ++++++++++++------- lib/prefix_index/src/utils.rs | 84 ++++++++-------- lib/prefix_index/src/validate.rs | 14 ++- 7 files changed, 148 insertions(+), 127 deletions(-) diff --git a/dnas/demo/zomes/coordinator/demo/src/demo_prefix_index.rs b/dnas/demo/zomes/coordinator/demo/src/demo_prefix_index.rs index 9f5f940..0d17447 100644 --- a/dnas/demo/zomes/coordinator/demo/src/demo_prefix_index.rs +++ b/dnas/demo/zomes/coordinator/demo/src/demo_prefix_index.rs @@ -142,11 +142,7 @@ pub fn remove_hashtag_from_index_a(hashtag: String) -> ExternResult<()> { } fn make_hashtag_index_text(text: String) -> String { - text - .split('#') - .nth(1) - .unwrap_or(&text) - .to_string() + text.split('#').nth(1).unwrap_or(&text).to_string() } #[hdk_extern] @@ -180,9 +176,5 @@ pub fn remove_cashtag_from_index_a(cashtag: String) -> ExternResult<()> { } fn make_cashtag_index_text(text: String) -> String { - text - .split('$') - .nth(1) - .unwrap_or(&text) - .to_string() -} \ No newline at end of file + text.split('$').nth(1).unwrap_or(&text).to_string() +} diff --git a/dnas/demo/zomes/coordinator/demo/src/lib.rs b/dnas/demo/zomes/coordinator/demo/src/lib.rs index 8dfda2d..77bde24 100644 --- a/dnas/demo/zomes/coordinator/demo/src/lib.rs +++ b/dnas/demo/zomes/coordinator/demo/src/lib.rs @@ -25,6 +25,6 @@ pub fn post_commit(committed_actions: Vec) { } /// Don't modify this function if you want the scaffolding tool to generate appropriate signals for your entries and links -fn signal_action(action: SignedActionHashed) -> ExternResult<()> { +fn signal_action(_action: SignedActionHashed) -> ExternResult<()> { Ok(()) } diff --git a/dnas/demo/zomes/integrity/demo/src/lib.rs b/dnas/demo/zomes/integrity/demo/src/lib.rs index 1ed0114..1b39bf0 100644 --- a/dnas/demo/zomes/integrity/demo/src/lib.rs +++ b/dnas/demo/zomes/integrity/demo/src/lib.rs @@ -82,11 +82,11 @@ pub fn validate(op: Op) -> ExternResult { match op.flattened::<(), LinkTypes>()? { FlatOp::StoreEntry(store_entry) => match store_entry { - OpEntry::CreateEntry { app_entry, action } => Ok(ValidateCallbackResult::Invalid( + OpEntry::CreateEntry { app_entry: _, action: _ } => Ok(ValidateCallbackResult::Invalid( "There are no entry types in this integrity zome".to_string(), )), OpEntry::UpdateEntry { - app_entry, action, .. + .. } => Ok(ValidateCallbackResult::Invalid( "There are no entry types in this integrity zome".to_string(), )), @@ -94,10 +94,10 @@ pub fn validate(op: Op) -> ExternResult { }, FlatOp::RegisterUpdate(update_entry) => match update_entry { OpUpdate::Entry { - original_action, - original_app_entry, - app_entry, - action, + original_action: _, + original_app_entry: _, + app_entry: _, + action: _, } => Ok(ValidateCallbackResult::Invalid( "There are no entry types in this integrity zome".to_string(), )), @@ -105,9 +105,9 @@ pub fn validate(op: Op) -> ExternResult { }, FlatOp::RegisterDelete(delete_entry) => match delete_entry { OpDelete::Entry { - original_action, - original_app_entry, - action, + original_action: _, + original_app_entry: _, + action: _, } => Ok(ValidateCallbackResult::Invalid( "There are no entry types in this integrity zome".to_string(), )), @@ -115,9 +115,9 @@ pub fn validate(op: Op) -> ExternResult { }, FlatOp::RegisterCreateLink { link_type, - base_address, - target_address, - tag, + base_address: _, + target_address: _, + tag: _, action, } => match link_type { LinkTypes::PrefixIndexA => prefix_index_a.validate_create_link(action), @@ -126,9 +126,9 @@ pub fn validate(op: Op) -> ExternResult { }, FlatOp::RegisterDeleteLink { link_type, - base_address, - target_address, - tag, + base_address: _, + target_address: _, + tag: _, original_action, action, } => match link_type { @@ -140,16 +140,16 @@ pub fn validate(op: Op) -> ExternResult { // 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 - OpRecord::CreateEntry { app_entry, action } => Ok(ValidateCallbackResult::Invalid( + OpRecord::CreateEntry { app_entry: _, action: _ } => Ok(ValidateCallbackResult::Invalid( "There are no entry types in this integrity zome".to_string(), )), // Complementary validation to the `RegisterUpdate` 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` and in `RegisterUpdate` // Notice that doing so will cause `must_get_valid_record` for this record to return a valid record even if the other validations failed OpRecord::UpdateEntry { - original_action_hash, - app_entry, - action, + + + .. } => Ok(ValidateCallbackResult::Invalid( "There are no entry types in this integrity zome".to_string(), @@ -158,8 +158,8 @@ pub fn validate(op: Op) -> ExternResult { // If you want to optimize performance, you can remove the validation for an entry type here and keep it in `RegisterDelete` // Notice that doing so will cause `must_get_valid_record` for this record to return a valid record even if the `RegisterDelete` validation failed OpRecord::DeleteEntry { - original_action_hash, - action, + + .. } => Ok(ValidateCallbackResult::Invalid( "There are no entry types in this integrity zome".to_string(), @@ -168,9 +168,9 @@ pub fn validate(op: Op) -> ExternResult { // If you want to optimize performance, you can remove the validation for an entry type here and keep it in `RegisterCreateLink` // Notice that doing so will cause `must_get_valid_record` for this record to return a valid record even if the `RegisterCreateLink` validation failed OpRecord::CreateLink { - base_address, - target_address, - tag, + base_address: _, + target_address: _, + tag: _, link_type, action, } => match link_type { @@ -183,7 +183,7 @@ pub fn validate(op: Op) -> ExternResult { // Notice that doing so will cause `must_get_valid_record` for this record to return a valid record even if the `RegisterDeleteLink` validation failed OpRecord::DeleteLink { original_action_hash, - base_address, + base_address: _, action, } => { let record = must_get_valid_record(original_action_hash)?; @@ -204,9 +204,15 @@ pub fn validate(op: Op) -> ExternResult { }; match link_type { - LinkTypes::PrefixIndexA => prefix_index_a.validate_delete_link(action, create_link.clone()), - LinkTypes::PrefixIndexB => prefix_index_b.validate_delete_link(action, create_link.clone()), - LinkTypes::PrefixIndexC => prefix_index_c.validate_delete_link(action, create_link.clone()), + LinkTypes::PrefixIndexA => { + prefix_index_a.validate_delete_link(action, create_link) + } + LinkTypes::PrefixIndexB => { + prefix_index_b.validate_delete_link(action, create_link) + } + LinkTypes::PrefixIndexC => { + prefix_index_c.validate_delete_link(action, create_link) + } } } OpRecord::CreatePrivateEntry { .. } => Ok(ValidateCallbackResult::Valid), diff --git a/lib/prefix_index/src/lib.rs b/lib/prefix_index/src/lib.rs index 0e050f2..9e9b83f 100644 --- a/lib/prefix_index/src/lib.rs +++ b/lib/prefix_index/src/lib.rs @@ -4,6 +4,6 @@ //! //! Useful for type-ahead "search" or autocomplete features. pub mod prefix_index; -pub use prefix_index::*; +pub use crate::prefix_index::PrefixIndex; +mod utils; mod validate; -mod utils; \ No newline at end of file diff --git a/lib/prefix_index/src/prefix_index.rs b/lib/prefix_index/src/prefix_index.rs index 23013a9..da5bdcf 100644 --- a/lib/prefix_index/src/prefix_index.rs +++ b/lib/prefix_index/src/prefix_index.rs @@ -1,6 +1,6 @@ -use hdk::{hash_path::path::Component, prelude::*}; use crate::utils::*; use crate::validate::*; +use hdk::{hash_path::path::Component, prelude::*}; use rand::prelude::*; #[derive(Clone, Debug, PartialEq, Deserialize, Serialize, SerializedBytes)] @@ -34,12 +34,18 @@ impl PrefixIndex { self.inner_add_result(text, None) } - pub fn add_result_with_label(&self, text: String, full_text: String) -> ExternResult { + pub fn add_result_with_label( + &self, + text: String, + full_text: String, + ) -> ExternResult { self.inner_add_result(text, Some(full_text)) } fn inner_add_result(&self, text: String, full_text: Option) -> ExternResult { - let typed_path = self.make_result_path(text.clone(), full_text)?.typed(self.link_type)?; + let typed_path = self + .make_result_path(text.clone(), full_text)? + .typed(self.link_type)?; typed_path.ensure()?; @@ -61,7 +67,9 @@ impl PrefixIndex { } fn inner_remove_result(&self, text: String, full_text: Option) -> ExternResult<()> { - let path = self.make_result_path(text.clone(), full_text)?.typed(self.link_type)?; + let path = self + .make_result_path(text, full_text)? + .typed(self.link_type)?; self.inner_remove_result_from_path(path)?; @@ -89,7 +97,7 @@ impl PrefixIndex { let maybe_eh = c.clone().target.into_entry_hash(); match maybe_eh { Some(eh) => eh == path_entry_hash, - None => false + None => false, } }) .collect(); @@ -106,14 +114,14 @@ impl PrefixIndex { // Get other children of parent of path let mut other_children = vec![]; - for i in children.clone().into_iter() { + for i in children.into_iter() { if !result_children.contains(&i) { other_children.push(i); } } // If there are no other children of parent of path, delete parent of path - if other_children.len() == 0 && !parent.is_root() { + if other_children.is_empty() && !parent.is_root() { self.inner_remove_result_from_path(parent)?; } } @@ -150,7 +158,7 @@ impl PrefixIndex { } let base_path = Path::from(self.index_name.clone()).typed(self.link_type)?; - + self.inner_get_results(base_path, limit, true) } @@ -158,15 +166,20 @@ impl PrefixIndex { pub fn make_result_path(&self, text: String, full_text: Option) -> ExternResult { let mut path_components = Path::from(format!( "{}.{}:{}#{}", - self.index_name, self.width, self.depth, text.to_lowercase() - )).as_ref().clone(); - + self.index_name, + self.width, + self.depth, + text.to_lowercase() + )) + .as_ref() + .clone(); + match full_text { // Replace last component of path with full_text Some(full_text_string) => { - path_components.pop(); - path_components.push(Component::from(full_text_string)); - }, + path_components.pop(); + path_components.push(Component::from(full_text_string)); + } // Replace last component of path with original text (preserve case) None => { @@ -177,23 +190,37 @@ impl PrefixIndex { Ok(Path::from(path_components)) } - pub fn validate_create_link( - self, - action: CreateLink - ) -> ExternResult { - validate_create_link_prefix_index(action.clone(), action.base_address, action.target_address, action.tag, self) + pub fn validate_create_link(self, action: CreateLink) -> ExternResult { + validate_create_link_prefix_index( + action.clone(), + action.base_address, + action.target_address, + action.tag, + self, + ) } pub fn validate_delete_link( self, action: DeleteLink, - original_action: CreateLink + original_action: CreateLink, ) -> ExternResult { - validate_delete_link_prefix_index(action.clone(), original_action.clone(), original_action.base_address, original_action.target_address, original_action.tag) + validate_delete_link_prefix_index( + action, + original_action.clone(), + original_action.base_address, + original_action.target_address, + original_action.tag, + ) } /// Gets the deepest-most Paths that descend from `path`, or it's parents, up to limit - fn get_results_from_path(&self, path: TypedPath, limit: usize, shuffle: bool) -> ExternResult> { + fn get_results_from_path( + &self, + path: TypedPath, + limit: usize, + shuffle: bool, + ) -> ExternResult> { self.inner_get_results_from_path(path, limit, shuffle, vec![], vec![]) } @@ -205,18 +232,14 @@ impl PrefixIndex { ) -> ExternResult> { let results = self.get_results_from_path(path, limit, shuffle)?; - let leafs: Vec = results + let leaf_strings: Vec = results .into_iter() .filter(|r| r.leaf().is_some()) .map(|p| p.leaf().unwrap().clone()) - .collect(); - - let strings = leafs - .into_iter() .filter_map(|c| String::try_from(&c).ok()) .collect(); - Ok(strings) + Ok(leaf_strings) } fn inner_get_results_from_path( @@ -230,7 +253,7 @@ impl PrefixIndex { visited.push(path.clone()); let mut children = get_children_paths(path.clone())?; - match children.len() == 0 { + match children.is_empty() { true => { if path.exists()? && !results.contains(&path) && results.len() < limit { results.push(path.clone()); @@ -239,8 +262,9 @@ impl PrefixIndex { match path.parent() { Some(parent) => { if !visited.contains(&parent) && !parent.is_root() { - return self - .inner_get_results_from_path(parent, limit, shuffle, visited, results); + return self.inner_get_results_from_path( + parent, limit, shuffle, visited, results, + ); } Ok(results) @@ -251,7 +275,7 @@ impl PrefixIndex { false => { if shuffle { let mut rng = rand::thread_rng(); - let y: f64 = rng.gen(); + let _y: f64 = rng.gen(); children.shuffle(&mut rng) } @@ -264,7 +288,7 @@ impl PrefixIndex { visited.clone(), results.clone(), ) - .unwrap_or(vec![]); + .unwrap_or_default(); for grandchild in grandchildren.into_iter() { if grandchild.exists()? @@ -279,8 +303,9 @@ impl PrefixIndex { match path.parent() { Some(parent) => { if !visited.contains(&parent) && !parent.is_root() { - return self - .inner_get_results_from_path(parent, limit, shuffle, visited, results); + return self.inner_get_results_from_path( + parent, limit, shuffle, visited, results, + ); } Ok(results) diff --git a/lib/prefix_index/src/utils.rs b/lib/prefix_index/src/utils.rs index 9a069d2..2b2dbdd 100644 --- a/lib/prefix_index/src/utils.rs +++ b/lib/prefix_index/src/utils.rs @@ -1,56 +1,56 @@ -use hdk::{prelude::*, hash_path::path::Component}; +use hdk::{hash_path::path::Component, prelude::*}; /// Duplicates of get_children from holochain TypedPath /// but without calling ensure() on those children pub fn get_children(path: TypedPath) -> ExternResult> { - let mut unwrapped = get_links( - path.path_entry_hash()?, - LinkTypeFilter::single_type(path.link_type.zome_index, path.link_type.zome_type), - None, - )?; - // Only need one of each hash to build the tree. - unwrapped.sort_unstable_by(|a, b| a.tag.cmp(&b.tag)); - unwrapped.dedup_by(|a, b| a.tag.eq(&b.tag)); - Ok(unwrapped) + let mut unwrapped = get_links( + path.path_entry_hash()?, + LinkTypeFilter::single_type(path.link_type.zome_index, path.link_type.zome_type), + None, + )?; + // Only need one of each hash to build the tree. + unwrapped.sort_unstable_by(|a, b| a.tag.cmp(&b.tag)); + unwrapped.dedup_by(|a, b| a.tag.eq(&b.tag)); + Ok(unwrapped) } /// Duplicates of get_children_paths from holochain TypedPath /// but without calling ensure() on those children pub fn get_children_paths(path: TypedPath) -> ExternResult> { - let children = get_children(path.clone())?; - let components: ExternResult>> = children - .into_iter() - .map(|link| { - let component_bytes = &link.tag.0[..]; - if component_bytes.is_empty() { - Ok(None) - } else { - Ok(Some( - SerializedBytes::from(UnsafeBytes::from(component_bytes.to_vec())) - .try_into() - .map_err(|e: SerializedBytesError| wasm_error!(e))?, - )) - } - }) - .collect(); - Ok(components? - .into_iter() - .map(|maybe_component| { - let mut new_path = path.path.clone(); - if let Some(component) = maybe_component { - new_path.append_component(component); - } - new_path.into_typed(path.link_type) - }) - .collect()) + let children = get_children(path.clone())?; + let components: ExternResult>> = children + .into_iter() + .map(|link| { + let component_bytes = &link.tag.0[..]; + if component_bytes.is_empty() { + Ok(None) + } else { + Ok(Some( + SerializedBytes::from(UnsafeBytes::from(component_bytes.to_vec())) + .try_into() + .map_err(|e: SerializedBytesError| wasm_error!(e))?, + )) + } + }) + .collect(); + Ok(components? + .into_iter() + .map(|maybe_component| { + let mut new_path = path.path.clone(); + if let Some(component) = maybe_component { + new_path.append_component(component); + } + new_path.into_typed(path.link_type) + }) + .collect()) } pub fn path_to_string(path: TypedPath) -> String { - let component_strings: Vec = path - .as_ref() - .into_iter() - .filter_map(|c| String::try_from(c).ok()) - .collect(); + let component_strings: Vec = path + .as_ref() + .iter() + .filter_map(|c| String::try_from(c).ok()) + .collect(); - component_strings.join(".") + component_strings.join(".") } diff --git a/lib/prefix_index/src/validate.rs b/lib/prefix_index/src/validate.rs index 6e8bd7b..d00d86f 100644 --- a/lib/prefix_index/src/validate.rs +++ b/lib/prefix_index/src/validate.rs @@ -4,7 +4,7 @@ use hdk::hash_path::path::{root_hash, Component}; use hdk::prelude::*; pub fn validate_create_link_prefix_index( - action: CreateLink, + _action: CreateLink, base_address: AnyLinkableHash, target_address: AnyLinkableHash, tag: LinkTag, @@ -19,11 +19,11 @@ pub fn validate_create_link_prefix_index( let path: Path = Path::from(tag_string.clone()); // Target is an entry hash - let maybe_target_entryhash = target_address.clone().into_entry_hash(); - if let None = maybe_target_entryhash { + let maybe_target_entryhash = target_address.into_entry_hash(); + if maybe_target_entryhash.is_none() { return Ok(ValidateCallbackResult::Invalid( "PrefixIndex first component: target address must be entry hash".into(), - )) + )); } // first component @@ -43,10 +43,8 @@ pub fn validate_create_link_prefix_index( } // second component else if let Some(eh) = base_address.into_entry_hash() { - if eh == Path::from(prefix_index.index_name.clone()).path_entry_hash()? { - if tag_string.chars().count() != prefix_index.width { - return Ok(ValidateCallbackResult::Invalid("PrefixIndex second component: tag string must have same number of chars as prefix index width".into())); - } + if eh == Path::from(prefix_index.index_name.clone()).path_entry_hash()? && tag_string.chars().count() != prefix_index.width { + return Ok(ValidateCallbackResult::Invalid("PrefixIndex second component: tag string must have same number of chars as prefix index width".into())); } } // third or later component From bcee1ee354f883c0adb64449e5a56150168a00cc Mon Sep 17 00:00:00 2001 From: Matt Gabrenya Date: Fri, 15 Dec 2023 19:52:24 -0700 Subject: [PATCH 5/9] refactor: migrate tests from tryoama to sweettest --- .github/workflows/test.yaml | 2 +- Cargo.lock | 6968 +++++++++++++++-- Cargo.toml | 3 + dnas/demo/zomes/coordinator/demo/Cargo.toml | 11 +- .../coordinator/demo/src/demo_prefix_index.rs | 4 +- .../demo/tests/prefix_index_tests.rs | 1029 +++ flake.lock | 65 +- package-lock.json | 94 +- package.json | 5 +- tests/.gitignore | 12 - tests/package.json | 15 - tests/src/demo/demo/common.ts | 3 - tests/src/demo/demo/prefix-index.test.ts | 882 --- tests/tsconfig.json | 9 - tests/vitest.config.ts | 9 - workdir/happ.yaml | 2 +- 16 files changed, 7296 insertions(+), 1817 deletions(-) create mode 100644 dnas/demo/zomes/coordinator/demo/tests/prefix_index_tests.rs delete mode 100644 tests/.gitignore delete mode 100644 tests/package.json delete mode 100644 tests/src/demo/demo/common.ts delete mode 100644 tests/src/demo/demo/prefix-index.test.ts delete mode 100644 tests/tsconfig.json delete mode 100644 tests/vitest.config.ts diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 4125849..e706d41 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -26,5 +26,5 @@ jobs: - name: Install and test run: | - nix develop --command bash -c "npm i && npm t" + nix develop --command bash -c "npm i && npm run test" diff --git a/Cargo.lock b/Cargo.lock index 6057233..a51d6b8 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" @@ -17,15 +27,51 @@ version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" +[[package]] +name = "adler32" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aae1277d39aeec15cb388266ecc24b11c80469deae6067e17a1a7aa9e5c1f234" + +[[package]] +name = "aes" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ac1f845298e95f983ff1944b728ae08b8cebab80d684f0a832ed0fc74dfa27e2" +dependencies = [ + "cfg-if 1.0.0", + "cipher", + "cpufeatures", +] + +[[package]] +name = "ahash" +version = "0.3.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e8fd72866655d1904d6b0997d0b07ba561047d070fbe29de039031c641b61217" + [[package]] name = "ahash" 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", +] + +[[package]] +name = "ahash" +version = "0.8.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "91429305e9f0a25f6205c5b8e0d2db09e0708a7a6df0f42212bb56c32c8ac97a" +dependencies = [ + "cfg-if 1.0.0", + "getrandom 0.2.9", "once_cell", "version_check", + "zerocopy", ] [[package]] @@ -37,6 +83,18 @@ dependencies = [ "memchr", ] +[[package]] +name = "aliasable" +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_system_properties" version = "0.1.5" @@ -46,6 +104,69 @@ dependencies = [ "libc", ] +[[package]] +name = "ansi_term" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d52a9bb7ec0cf484c551830a7ce27bd20d67eac647e1befb56b0be4ee39a55d2" +dependencies = [ + "winapi 0.3.9", +] + +[[package]] +name = "anstream" +version = "0.6.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d664a92ecae85fd0a7392615844904654d1d5f5514837f471ddef4a057aba1b6" +dependencies = [ + "anstyle", + "anstyle-parse", + "anstyle-query", + "anstyle-wincon", + "colorchoice", + "utf8parse", +] + +[[package]] +name = "anstyle" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7079075b41f533b8c61d2a4d073c4676e1f8b249ff94a393b0595db304e0dd87" + +[[package]] +name = "anstyle-parse" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c75ac65da39e5fe5ab759307499ddad880d724eed2f6ce5b5e8a26f4f387928c" +dependencies = [ + "utf8parse", +] + +[[package]] +name = "anstyle-query" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e28923312444cdd728e4738b3f9c9cac739500909bb3d3c94b43551b16517648" +dependencies = [ + "windows-sys 0.52.0", +] + +[[package]] +name = "anstyle-wincon" +version = "3.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1cd54b81ec8d6180e24654d0b371ad22fc3dd083b6ff8ba325b72e00c87660a7" +dependencies = [ + "anstyle", + "windows-sys 0.52.0", +] + +[[package]] +name = "anyhow" +version = "1.0.75" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a4668cab20f66d8d020e1fbc0ebe47217433c1b6c8f2040faf858554e394ace6" + [[package]] name = "approx" version = "0.5.1" @@ -55,6 +176,15 @@ dependencies = [ "num-traits", ] +[[package]] +name = "arbitrary" +version = "1.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7d5a26814d8dcb93b0e5a0ff3c6d80a8843bafb21b39e8e18a6f05471870e110" +dependencies = [ + "derive_arbitrary", +] + [[package]] name = "arrayref" version = "0.3.7" @@ -67,6 +197,192 @@ version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "23b62fc65de8e4e7f52534fb52b0f3ed04746ae267519eef2a83941e8085068b" +[[package]] +name = "arrayvec" +version = "0.7.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "96d30a06541fbafbc7f82ed10c06164cfbd2c401138f6addd8404629c4b16711" + +[[package]] +name = "async-attributes" +version = "1.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a3203e79f4dd9bdda415ed03cf14dae5a2bf775c683a00f94e9cd1faf0f596e5" +dependencies = [ + "quote", + "syn 1.0.109", +] + +[[package]] +name = "async-channel" +version = "1.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "81953c529336010edd6d8e358f886d9581267795c61b19475b71314bffa46d35" +dependencies = [ + "concurrent-queue", + "event-listener", + "futures-core", +] + +[[package]] +name = "async-executor" +version = "1.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4b0c4a4f319e45986f347ee47fef8bf5e81c9abc3f6f58dc2391439f30df65f0" +dependencies = [ + "async-lock", + "async-task", + "concurrent-queue", + "fastrand 2.0.1", + "futures-lite", + "slab", +] + +[[package]] +name = "async-global-executor" +version = "2.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f1b6f5d7df27bd294849f8eec66ecfc63d11814df7a4f5d74168a2394467b776" +dependencies = [ + "async-channel", + "async-executor", + "async-io", + "async-lock", + "blocking", + "futures-lite", + "once_cell", +] + +[[package]] +name = "async-io" +version = "1.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0fc5b45d93ef0529756f812ca52e44c221b35341892d3dcc34132ac02f3dd2af" +dependencies = [ + "async-lock", + "autocfg 1.1.0", + "cfg-if 1.0.0", + "concurrent-queue", + "futures-lite", + "log", + "parking", + "polling", + "rustix 0.37.18", + "slab", + "socket2 0.4.10", + "waker-fn", +] + +[[package]] +name = "async-lock" +version = "2.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "287272293e9d8c41773cec55e365490fe034813a2f172f502d6ddcf75b2f582b" +dependencies = [ + "event-listener", +] + +[[package]] +name = "async-process" +version = "1.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7a9d28b1d97e08915212e2e45310d47854eafa69600756fc735fb788f75199c9" +dependencies = [ + "async-io", + "async-lock", + "autocfg 1.1.0", + "blocking", + "cfg-if 1.0.0", + "event-listener", + "futures-lite", + "rustix 0.37.18", + "signal-hook", + "windows-sys 0.48.0", +] + +[[package]] +name = "async-recursion" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d7d78656ba01f1b93024b7c3a0467f1608e4be67d725749fdcd7d2c7678fd7a2" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "async-std" +version = "1.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "62565bb4402e926b29953c785397c6dc0391b7b446e45008b0049eb43cec6f5d" +dependencies = [ + "async-attributes", + "async-channel", + "async-global-executor", + "async-io", + "async-lock", + "async-process", + "crossbeam-utils", + "futures-channel", + "futures-core", + "futures-io", + "futures-lite", + "gloo-timers", + "kv-log-macro", + "log", + "memchr", + "once_cell", + "pin-project-lite", + "pin-utils", + "slab", + "wasm-bindgen-futures", +] + +[[package]] +name = "async-stream" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "22068c0c19514942eefcfd4daf8976ef1aad84e61539f95cd200c35202f80af5" +dependencies = [ + "async-stream-impl", + "futures-core", +] + +[[package]] +name = "async-stream-impl" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "25f9db3b38af870bf7e5cc649167533b493928e50744e2c30ae350230b414670" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "async-task" +version = "4.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b4eb2cdb97421e01129ccb49169d8279ed21e829929144f4a22a6e54ac549ca1" + +[[package]] +name = "async-trait" +version = "0.1.74" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a66537f1bb974b254c98ed142ff995236e81b9d0fe4db0575f46612cb15eb0f9" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.41", +] + +[[package]] +name = "atomic-waker" +version = "1.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" + [[package]] name = "atty" version = "0.2.14" @@ -75,7 +391,16 @@ checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8" dependencies = [ "hermit-abi 0.1.19", "libc", - "winapi", + "winapi 0.3.9", +] + +[[package]] +name = "autocfg" +version = "0.1.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0dde43e75fd43e8a1bf86103336bc699aa8d17ad1be60c76c0bdfd4828e19b78" +dependencies = [ + "autocfg 1.1.0", ] [[package]] @@ -84,6 +409,18 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" +[[package]] +name = "automap" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b99d887f4066f8a1b4a713a8121fab07ff543863ac86177ebdee6b5cb18acf12" +dependencies = [ + "cfg-if 1.0.0", + "derive_more", + "serde", + "shrinkwraprs", +] + [[package]] name = "backtrace" version = "0.3.67" @@ -94,7 +431,7 @@ dependencies = [ "cc", "cfg-if 1.0.0", "libc", - "miniz_oxide", + "miniz_oxide 0.6.2", "object 0.30.3", "rustc-demangle", ] @@ -105,6 +442,24 @@ version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8" +[[package]] +name = "base64" +version = "0.21.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "35636a1494ede3b646cc98f74f8e62c773a38a659ebc777a2cf26b9b74171df9" + +[[package]] +name = "base64ct" +version = "1.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8c3c1a368f70d6cf7302d78f8f7093da241fb8e8807c05cc9e51a125895a6d5b" + +[[package]] +name = "bimap" +version = "0.6.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "230c5f1ca6a325a32553f8640d31ac9b49f2411e901e427570154868b46da4f7" + [[package]] name = "bincode" version = "1.3.3" @@ -128,6 +483,9 @@ name = "bit-vec" version = "0.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "349f9b6a179ed607305526ca489b34ad0a41aed5f7980fa90eb03160b69598fb" +dependencies = [ + "serde", +] [[package]] name = "bitflags" @@ -135,6 +493,12 @@ version = "1.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" +[[package]] +name = "bitflags" +version = "2.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "327762f6e5a765692301e5bb513e0d9fef63be86bbc14528052b1cd3e6f03e07" + [[package]] name = "blake2b_simd" version = "0.5.11" @@ -142,8 +506,28 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "afa748e348ad3be8263be728124b24a24f268266f6f5d58af9d75f6a40b5c587" dependencies = [ "arrayref", - "arrayvec", - "constant_time_eq", + "arrayvec 0.5.2", + "constant_time_eq 0.1.5", +] + +[[package]] +name = "blake2b_simd" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23285ad32269793932e830392f2fe2f83e26488fd3ec778883a93c8323735780" +dependencies = [ + "arrayref", + "arrayvec 0.7.4", + "constant_time_eq 0.3.0", +] + +[[package]] +name = "block-buffer" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4152116fd6e9dadb291ae18fc1ec3575ed6d84c29642d97890f4b4a3417297e4" +dependencies = [ + "generic-array", ] [[package]] @@ -155,6 +539,33 @@ dependencies = [ "generic-array", ] +[[package]] +name = "blocking" +version = "1.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8c36a4d0d48574b3dd360b4b7d95cc651d2b6557b6402848a27d4b228a473e2a" +dependencies = [ + "async-channel", + "async-lock", + "async-task", + "fastrand 2.0.1", + "futures-io", + "futures-lite", + "piper", + "tracing", +] + +[[package]] +name = "bloomfilter" +version = "1.0.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8129c0ab340c1b0caf6dbc587e814d04ba811e336dcf8fc268c04e047428ebb0" +dependencies = [ + "bit-vec", + "getrandom 0.2.9", + "siphasher", +] + [[package]] name = "bumpalo" version = "3.12.1" @@ -183,6 +594,12 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "bytemuck" +version = "1.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "374d28ec25809ee0e23827c2ab573d729e293f281dfe393500e7ad618baa61c6" + [[package]] name = "byteorder" version = "1.4.3" @@ -190,10 +607,43 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610" [[package]] -name = "camino" -version = "1.1.4" +name = "bytes" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c530edf18f37068ac2d977409ed5cd50d53d73bc653c7647b48eb78976ac9ae2" +checksum = "a2bd12c1caf447e69cd4528f47f94d203fd2582878ecb9e9465484c4148a8223" + +[[package]] +name = "bzip2" +version = "0.4.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bdb116a6ef3f6c3698828873ad02c3014b3c85cadb88496095628e3ef1e347f8" +dependencies = [ + "bzip2-sys", + "libc", +] + +[[package]] +name = "bzip2-sys" +version = "0.1.11+1.0.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "736a955f3fa7875102d57c82b8cac37ec45224a07fd32d58f9f7a186b6cd4cdc" +dependencies = [ + "cc", + "libc", + "pkg-config", +] + +[[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" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c530edf18f37068ac2d977409ed5cd50d53d73bc653c7647b48eb78976ac9ae2" dependencies = [ "serde", ] @@ -226,6 +676,9 @@ name = "cc" version = "1.0.79" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "50d30906286121d95be3d479533b458f87493b30a4b5f79a607db8f5d11aa91f" +dependencies = [ + "jobserver", +] [[package]] name = "cfg-if" @@ -239,6 +692,16 @@ version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" +[[package]] +name = "chashmap" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "47e651a8c1eb0cbbaa730f705e2531e75276c6f2bbe2eb12662cfd305213dff8" +dependencies = [ + "owning_ref", + "parking_lot 0.3.8", +] + [[package]] name = "chrono" version = "0.4.24" @@ -246,11 +709,127 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4e3c5919066adf22df73762e50cffcde3a758f2a848b113b586d1f86728b673b" dependencies = [ "iana-time-zone", + "js-sys", "num-integer", "num-traits", "serde", - "time", - "winapi", + "time 0.1.45", + "wasm-bindgen", + "winapi 0.3.9", +] + +[[package]] +name = "cipher" +version = "0.4.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "773f3b9af64447d2ce9850330c473515014aa235e6a783b02db81ff39e4a3dad" +dependencies = [ + "crypto-common", + "inout", +] + +[[package]] +name = "clap" +version = "2.34.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a0610544180c38b88101fecf2dd634b174a62eef6946f84dfc6a7127512b381c" +dependencies = [ + "ansi_term", + "atty", + "bitflags 1.3.2", + "strsim 0.8.0", + "textwrap 0.11.0", + "unicode-width", + "vec_map", +] + +[[package]] +name = "clap" +version = "3.2.25" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ea181bf566f71cb9a5d17a59e1871af638180a18fb0035c92ae62b705207123" +dependencies = [ + "atty", + "bitflags 1.3.2", + "clap_derive 3.2.25", + "clap_lex 0.2.4", + "indexmap 1.9.3", + "once_cell", + "strsim 0.10.0", + "termcolor", + "textwrap 0.16.0", +] + +[[package]] +name = "clap" +version = "4.4.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bfaff671f6b22ca62406885ece523383b9b64022e341e53e009a62ebc47a45f2" +dependencies = [ + "clap_builder", + "clap_derive 4.4.7", +] + +[[package]] +name = "clap_builder" +version = "4.4.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a216b506622bb1d316cd51328dce24e07bdff4a6128a47c7e7fad11878d5adbb" +dependencies = [ + "anstream", + "anstyle", + "clap_lex 0.6.0", + "strsim 0.10.0", + "terminal_size", +] + +[[package]] +name = "clap_derive" +version = "3.2.25" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae6371b8bdc8b7d3959e9cf7b22d4435ef3e79e138688421ec654acf8c81b008" +dependencies = [ + "heck 0.4.1", + "proc-macro-error", + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "clap_derive" +version = "4.4.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf9804afaaf59a91e75b022a30fb7229a7901f60c755489cc61c9b423b836442" +dependencies = [ + "heck 0.4.1", + "proc-macro2", + "quote", + "syn 2.0.41", +] + +[[package]] +name = "clap_lex" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2850f2f5a82cbf437dd5af4d49848fbdfc27c157c3d010345776f952765261c5" +dependencies = [ + "os_str_bytes", +] + +[[package]] +name = "clap_lex" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "702fc72eb24e5a1e48ce58027a675bc24edd52096d5397d4aea7c6dd9eca0bd1" + +[[package]] +name = "cloudabi" +version = "0.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ddfc5b9aa5d4507acaf872de71051dfd0e309860e88966e1051e462a077aac4f" +dependencies = [ + "bitflags 1.3.2", ] [[package]] @@ -263,6 +842,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" @@ -271,7 +856,16 @@ checksum = "f4ffc801dacf156c5854b9df4f425a626539c3a6ef7893cc0c5084a23f0b6c59" dependencies = [ "atty", "lazy_static", - "winapi", + "winapi 0.3.9", +] + +[[package]] +name = "concurrent-queue" +version = "2.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d16048cd947b08fa32c24458a22f5dc5e835264f689f4f5653210c69fd107363" +dependencies = [ + "crossbeam-utils", ] [[package]] @@ -280,12 +874,44 @@ version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "245097e9a4535ee1e3e3931fcfcd55a796a44c643e8596ff6566d68f09b87bbc" +[[package]] +name = "constant_time_eq" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f7144d30dcf0fafbce74250a3963025d8d52177934239851c917d29f1df280c2" + +[[package]] +name = "contrafact" +version = "0.2.0-rc.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "65bfae7a2ef93841d7e9e5ef69e387b26e70f7b156434b6b95714006cc00e1f9" +dependencies = [ + "arbitrary", + "derive_more", + "either", + "itertools 0.10.5", + "num", + "once_cell", + "rand 0.7.3", + "tracing", +] + [[package]] name = "convert_case" version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6245d59a3e82a7fc217c5828a6692dbc6dfb63a0c8c90495621f7b9d79704a0e" +[[package]] +name = "core-foundation" +version = "0.9.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "194a7a9e6de53fa55116934067c844d9d749312f75c6f6d0980e8c252f8c2146" +dependencies = [ + "core-foundation-sys", + "libc", +] + [[package]] name = "core-foundation-sys" version = "0.8.4" @@ -298,7 +924,7 @@ version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9847f90f32a50b0dcbd68bc23ff242798b13080b97b0569f6ed96a45ce4cf2cd" dependencies = [ - "autocfg", + "autocfg 1.1.0", "cfg-if 1.0.0", "libc", "scopeguard", @@ -336,7 +962,7 @@ dependencies = [ "gimli 0.26.2", "log", "regalloc", - "smallvec", + "smallvec 1.10.0", "target-lexicon", ] @@ -369,7 +995,7 @@ checksum = "a006e3e32d80ce0e4ba7f1f9ddf66066d052a8c884a110b91d05404d6ce26dce" dependencies = [ "cranelift-codegen", "log", - "smallvec", + "smallvec 1.10.0", "target-lexicon", ] @@ -382,6 +1008,17 @@ dependencies = [ "cfg-if 1.0.0", ] +[[package]] +name = "cron" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e009ed0b762cf7a967a34dfdc67d5967d3f828f12901d37081432c3dd1668f8f" +dependencies = [ + "chrono", + "nom 4.1.1", + "once_cell", +] + [[package]] name = "crossbeam-channel" version = "0.5.8" @@ -409,7 +1046,7 @@ version = "0.9.14" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "46bd5f3f85273295a9d14aedfb86f6aadbff6d8f5295c4a9edb08e819dcf5695" dependencies = [ - "autocfg", + "autocfg 1.1.0", "cfg-if 1.0.0", "crossbeam-utils", "memoffset 0.8.0", @@ -425,6 +1062,12 @@ dependencies = [ "cfg-if 1.0.0", ] +[[package]] +name = "crunchy" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7" + [[package]] name = "crypto-common" version = "0.1.6" @@ -435,6 +1078,16 @@ dependencies = [ "typenum", ] +[[package]] +name = "ctor" +version = "0.1.26" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d2301688392eb071b0bf1a37be05c469d3cc4dbbd95df672fe28ab021e6a096" +dependencies = [ + "quote", + "syn 1.0.109", +] + [[package]] name = "cxx" version = "1.0.94" @@ -479,14 +1132,62 @@ dependencies = [ "syn 2.0.41", ] +[[package]] +name = "darling" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d706e75d87e35569db781a9b5e2416cff1236a47ed380831f959382ccd5f858" +dependencies = [ + "darling_core 0.10.2", + "darling_macro 0.10.2", +] + +[[package]] +name = "darling" +version = "0.13.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a01d95850c592940db9b8194bc39f4bc0e89dee5c4265e4b1807c34a9aba453c" +dependencies = [ + "darling_core 0.13.4", + "darling_macro 0.13.4", +] + [[package]] name = "darling" version = "0.14.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7b750cb3417fd1b327431a470f388520309479ab0bf5e323505daf0290cd3850" dependencies = [ - "darling_core", - "darling_macro", + "darling_core 0.14.4", + "darling_macro 0.14.4", +] + +[[package]] +name = "darling_core" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0c960ae2da4de88a91b2d920c2a7233b400bc33cb28453a2987822d8392519b" +dependencies = [ + "fnv", + "ident_case", + "proc-macro2", + "quote", + "strsim 0.9.3", + "syn 1.0.109", +] + +[[package]] +name = "darling_core" +version = "0.13.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "859d65a907b6852c9361e3185c862aae7fafd2887876799fa55f5f99dc40d610" +dependencies = [ + "fnv", + "ident_case", + "proc-macro2", + "quote", + "strsim 0.10.0", + "syn 1.0.109", ] [[package]] @@ -499,7 +1200,29 @@ dependencies = [ "ident_case", "proc-macro2", "quote", - "strsim", + "strsim 0.10.0", + "syn 1.0.109", +] + +[[package]] +name = "darling_macro" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d9b5a2f4ac4969822c62224815d069952656cadc7084fdca9751e6d959189b72" +dependencies = [ + "darling_core 0.10.2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "darling_macro" +version = "0.13.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c972679f83bdf9c42bd905396b6c3588a843a17f0f16dfcfa3e2c5d57441835" +dependencies = [ + "darling_core 0.13.4", + "quote", "syn 1.0.109", ] @@ -509,19 +1232,50 @@ version = "0.14.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a4aab4dbc9f7611d8b55048a3a16d2d010c2c8334e46304b40ac1cc14bf3b48e" dependencies = [ - "darling_core", + "darling_core 0.14.4", "quote", "syn 1.0.109", ] +[[package]] +name = "dashmap" +version = "4.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e77a43b28d0668df09411cb0bc9a8c2adc40f9a048afe863e05fd43251e8e39c" +dependencies = [ + "cfg-if 1.0.0", + "num_cpus", +] + +[[package]] +name = "dashmap" +version = "5.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "907076dfda823b0b36d2a1bb5f90c96660a5bbcd7729e10727f07858f22c4edc" +dependencies = [ + "cfg-if 1.0.0", + "hashbrown 0.12.3", + "lock_api 0.4.9", + "once_cell", + "parking_lot_core 0.9.7", +] + +[[package]] +name = "data-encoding" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7e962a19be5cfc3f3bf6dd8f61eb50107f356ad6270fbb3ed41476571db78be5" + [[package]] name = "demo" version = "0.2.0" dependencies = [ "demo_integrity", "hdk", + "holochain", "prefix_index", "serde", + "tokio", ] [[package]] @@ -544,6 +1298,42 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "derive_arbitrary" +version = "1.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67e77553c4162a157adbf834ebae5b415acbecbeafc7a74b0e886657506a7611" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.41", +] + +[[package]] +name = "derive_builder" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a2658621297f2cf68762a6f7dc0bb7e1ff2cfd6583daef8ee0fed6f7ec468ec0" +dependencies = [ + "darling 0.10.2", + "derive_builder_core", + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "derive_builder_core" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2791ea3e372c8495c0bc2033991d76b512cd799d07491fbd6890124db9458bef" +dependencies = [ + "darling 0.10.2", + "proc-macro2", + "quote", + "syn 1.0.109", +] + [[package]] name = "derive_more" version = "0.99.17" @@ -558,30 +1348,125 @@ dependencies = [ ] [[package]] -name = "digest" -version = "0.10.6" +name = "diff" +version = "0.1.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8168378f4e5023e7218c89c891c0fd8ecdb5e5e4f18cb78f38cf245dd021e76f" -dependencies = [ - "block-buffer", - "crypto-common", -] +checksum = "56254986775e3233ffa9c4d7d3faaf6d36a2c09d30b20687e9f88bc8bafc16c8" [[package]] -name = "dunce" -version = "1.0.4" +name = "difference" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56ce8c6da7551ec6c462cbaf3bfbc75131ebbfa1c944aeaa9dab51ca1c5f0c3b" +checksum = "524cbf6897b527295dff137cec09ecf3a05f4fddffd7dfcd1585403449e74198" [[package]] -name = "either" -version = "1.8.1" +name = "difflib" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7fcaabb2fef8c910e7f4c7ce9f67a1283a1715879a7c230ca9d6d1ae31f16d91" +checksum = "6184e33543162437515c2e2b48714794e37845ec9851711914eec9d308f6ebe8" [[package]] -name = "enum-iterator" -version = "0.7.0" +name = "digest" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3dd60d1080a57a05ab032377049e0591415d2b31afd7028356dbf3cc6dcb066" +dependencies = [ + "generic-array", +] + +[[package]] +name = "digest" +version = "0.10.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" +dependencies = [ + "block-buffer 0.10.4", + "crypto-common", + "subtle", +] + +[[package]] +name = "directories" +version = "2.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "551a778172a450d7fc12e629ca3b0428d00f6afa9a43da1b630d54604e97371c" +dependencies = [ + "cfg-if 0.1.10", + "dirs-sys 0.3.7", +] + +[[package]] +name = "dirs" +version = "5.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "44c45a9d03d6676652bcb5e724c7e988de1acad23a711b5217ab9cbecbec2225" +dependencies = [ + "dirs-sys 0.4.1", +] + +[[package]] +name = "dirs-sys" +version = "0.3.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1b1d1d91c932ef41c0f2663aa8b0ca0342d444d842c06914aa0a7e352d0bada6" +dependencies = [ + "libc", + "redox_users", + "winapi 0.3.9", +] + +[[package]] +name = "dirs-sys" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "520f05a5cbd335fae5a99ff7a6ab8627577660ee5cfd6a94a6a929b52ff0321c" +dependencies = [ + "libc", + "option-ext", + "redox_users", + "windows-sys 0.48.0", +] + +[[package]] +name = "dns-parser" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c4d33be9473d06f75f58220f71f7a9317aca647dc061dbd3c361b0bef505fbea" +dependencies = [ + "byteorder", + "quick-error", +] + +[[package]] +name = "downcast" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1435fa1053d8b2fbbe9be7e97eca7f33d37b28409959813daefc1446a14247f1" + +[[package]] +name = "dunce" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "56ce8c6da7551ec6c462cbaf3bfbc75131ebbfa1c944aeaa9dab51ca1c5f0c3b" + +[[package]] +name = "either" +version = "1.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7fcaabb2fef8c910e7f4c7ce9f67a1283a1715879a7c230ca9d6d1ae31f16d91" + +[[package]] +name = "encoding_rs" +version = "0.8.33" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7268b386296a025e474d5140678f75d6de9493ae55a5d709eeb9dd08149945e1" +dependencies = [ + "cfg-if 1.0.0", +] + +[[package]] +name = "enum-iterator" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4eeac5c5edb79e4e39fe8439ef35207780a11f69c52cbe424ce3dfad4cb78de6" dependencies = [ @@ -614,31 +1499,77 @@ version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "03e7b551eba279bf0fa88b83a46330168c1560a52a94f5126f892f0b364ab3e0" dependencies = [ - "darling", + "darling 0.14.4", + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "env_logger" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "95b3f3e67048839cb0d0781f445682a35113da7121f7c949db0e2be96a4fbece" +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" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "22deed3a8124cff5fa835713fa105621e43bbdc46690c3a6b68328a012d350d4" +dependencies = [ + "proc-macro-error", "proc-macro2", "quote", + "rustversion", "syn 1.0.109", + "synstructure", ] [[package]] name = "errno" -version = "0.3.1" +version = "0.3.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4bcfec3a70f97c962c307b2d2c56e358cf1d00b558d74262b5f929ee8cc7e73a" +checksum = "a258e46cdc063eb8519c00b9fc845fc47bcfca4130e2f08e88665ceda8474245" dependencies = [ - "errno-dragonfly", "libc", - "windows-sys 0.48.0", + "windows-sys 0.52.0", ] [[package]] -name = "errno-dragonfly" -version = "0.1.2" +name = "event-listener" +version = "2.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa68f1b12764fab894d2755d2518754e71b4fd80ecfb822714a1206c2aab39bf" +checksum = "0206175f82b8d6bf6652ff7d71a1e27fd2e4efde587fd368662814d6ec1d9ce0" + +[[package]] +name = "failure" +version = "0.1.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d32e9bd16cc02eae7db7ef620b392808b89f6a5e16bb3497d159c6b92a0f4f86" dependencies = [ - "cc", - "libc", + "backtrace", + "failure_derive", +] + +[[package]] +name = "failure_derive" +version = "0.1.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aa4da3c766cd7a0db8242e326e9e4e081edd567072893ed320008189715366a4" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.109", + "synstructure", ] [[package]] @@ -647,6 +1578,12 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4443176a9f2c162692bd3d352d745ef9413eec5782a80d8fd6f8a1ac692a07f7" +[[package]] +name = "fallible-streaming-iterator" +version = "0.1.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7360491ce676a36bf9bb3c56c1aa791658183a54d2744120f27285738d90465a" + [[package]] name = "fastrand" version = "1.9.0" @@ -656,12 +1593,111 @@ dependencies = [ "instant", ] +[[package]] +name = "fastrand" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "25cbce373ec4653f1a01a31e8a5e5ec0c622dc27ff9c4e6606eefef5cbbed4a5" + +[[package]] +name = "filetime" +version = "0.2.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ee447700ac8aa0b2f2bd7bc4462ad686ba06baa6727ac149a2d6277f0d240fd" +dependencies = [ + "cfg-if 1.0.0", + "libc", + "redox_syscall 0.4.1", + "windows-sys 0.52.0", +] + +[[package]] +name = "fixt" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c102f4e7e3b30001fbcfa223e446fc6b364ed90375a4d836988a5831d67c8324" +dependencies = [ + "holochain_serialized_bytes", + "lazy_static", + "parking_lot 0.10.2", + "paste", + "rand 0.8.5", + "rand_core 0.6.4", + "serde", + "strum", + "strum_macros 0.18.0", +] + +[[package]] +name = "flate2" +version = "1.0.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "46303f565772937ffe1d394a4fac6f411c6013172fadde9dcdb1e147a086940e" +dependencies = [ + "crc32fast", + "miniz_oxide 0.7.1", +] + +[[package]] +name = "float-cmp" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e1267f4ac4f343772758f7b1bdcbe767c218bbab93bb432acbf5162bbf85a6c4" +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" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" +[[package]] +name = "foreign-types" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1" +dependencies = [ + "foreign-types-shared", +] + +[[package]] +name = "foreign-types-shared" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" + +[[package]] +name = "form_urlencoded" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456" +dependencies = [ + "percent-encoding 2.3.1", +] + +[[package]] +name = "fragile" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" + +[[package]] +name = "fuchsia-cprng" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a06f77d526c1a601b7c4cdd98f54b5eaabffc14d5f2f0296febdc7f357c6d3ba" + [[package]] name = "futures" version = "0.3.28" @@ -710,6 +1746,21 @@ version = "0.3.28" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4fff74096e71ed47f8e023204cfd0aa1289cd54ae5430a9523be060cdb849964" +[[package]] +name = "futures-lite" +version = "1.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "49a9d51ce47660b1e808d3c990b4709f2f415d928835a17dfd16991515c46bce" +dependencies = [ + "fastrand 1.9.0", + "futures-core", + "futures-io", + "memchr", + "parking", + "pin-project-lite", + "waker-fn", +] + [[package]] name = "futures-macro" version = "0.3.28" @@ -733,6 +1784,12 @@ version = "0.3.28" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "76d3d132be6c0e6aa1534069c705a74a5997a356c0dc2f86a47765e5617c5b65" +[[package]] +name = "futures-timer" +version = "3.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e64b03909df88034c26dc1547e8970b91f98bdb65165d6a4e9110d94263dbb2c" + [[package]] name = "futures-util" version = "0.3.28" @@ -751,6 +1808,21 @@ dependencies = [ "slab", ] +[[package]] +name = "fxhash" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c31b6d751ae2c7f11320402d34e41349dd1016f8d5d45e48c4312bc8625af50c" +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" @@ -773,6 +1845,39 @@ dependencies = [ "version_check", ] +[[package]] +name = "get_if_addrs" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "abddb55a898d32925f3148bd281174a68eeb68bbfd9a5938a57b18f506ee4ef7" +dependencies = [ + "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", +] + +[[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" @@ -784,6 +1889,32 @@ dependencies = [ "wasi 0.11.0+wasi-snapshot-preview1", ] +[[package]] +name = "ghost_actor" +version = "0.3.0-alpha.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a34addaffa7d2c80637807444f171c646cad7549fcdac8019544034678f76d5" +dependencies = [ + "futures", + "mockall", + "must_future", + "paste", + "thiserror", + "tokio", + "tracing", + "tracing-futures", +] + +[[package]] +name = "ghost_actor" +version = "0.4.0-alpha.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "52cb0746ab4cf003d75cdbaaae2cf95139ec9607ae46bd5c68721bda2ca0c824" +dependencies = [ + "futures", + "tracing", +] + [[package]] name = "gimli" version = "0.26.2" @@ -791,7 +1922,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "22030e2c5a68ec659fde1e949a745124b48e6fa8b045b7ed5bd1fe4ccc5c4e5d" dependencies = [ "fallible-iterator", - "indexmap", + "indexmap 1.9.3", "stable_deref_trait", ] @@ -802,33 +1933,134 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ad0a93d233ebf96623465aad4046a8d3aa4da22d4f4beba5388838c8a434bbb4" [[package]] -name = "hashbrown" -version = "0.11.2" +name = "gloo-timers" +version = "0.2.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab5ef0d4909ef3724cc8cce6ccc8572c5c817592e9285f5464f8e86f8bd3726e" +checksum = "9b995a66bb87bebce9a0f4a95aed01daca4872c050bfcb21653361c03bc35e5c" dependencies = [ - "ahash", + "futures-channel", + "futures-core", + "js-sys", + "wasm-bindgen", ] [[package]] -name = "hashbrown" -version = "0.12.3" +name = "governor" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" +checksum = "06c5d2f987ee8f6dff3fa1a352058dc59b990e447e4c7846aa7d804971314f7b" dependencies = [ - "ahash", + "dashmap 4.0.2", + "futures", + "futures-timer", + "no-std-compat", + "nonzero_ext", + "parking_lot 0.11.2", + "quanta", + "rand 0.8.5", + "smallvec 1.10.0", ] [[package]] -name = "hdi" -version = "0.3.4" +name = "h2" +version = "0.3.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "433896b20fa55c3b571567d0a8904be61f71c91eb49f6cdeef338ac8598e3e2b" +checksum = "4d6250322ef6e60f93f9a2162799302cd6f68f79f6e5d85c8c16f14d1d958178" dependencies = [ - "hdk_derive", - "holo_hash", - "holochain_integrity_types", - "holochain_wasmer_guest", + "bytes", + "fnv", + "futures-core", + "futures-sink", + "futures-util", + "http", + "indexmap 2.1.0", + "slab", + "tokio", + "tokio-util", + "tracing", +] + +[[package]] +name = "hashbrown" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e91b62f79061a0bc2e046024cb7ba44b08419ed238ecbd9adbd787434b9e8c25" +dependencies = [ + "ahash 0.3.8", + "autocfg 1.1.0", +] + +[[package]] +name = "hashbrown" +version = "0.11.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ab5ef0d4909ef3724cc8cce6ccc8572c5c817592e9285f5464f8e86f8bd3726e" +dependencies = [ + "ahash 0.7.6", +] + +[[package]] +name = "hashbrown" +version = "0.12.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" +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.6", +] + +[[package]] +name = "hashbrown" +version = "0.14.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "290f1a1d9242c78d09ce40a5e87e7554ee637af1351968159f4952f028f75604" +dependencies = [ + "ahash 0.8.6", + "allocator-api2", +] + +[[package]] +name = "hashlink" +version = "0.8.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e8094feaf31ff591f651a2664fb9cfd92bba7a60ce3197265e9482ebe753c8f7" +dependencies = [ + "hashbrown 0.14.3", +] + +[[package]] +name = "hc_seed_bundle" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ded13e388a81713db6919cd750e6113acf2fe5afbaedf8aff79780ec4fc47425" +dependencies = [ + "futures", + "one_err", + "rmp-serde 1.1.2", + "rmpv", + "serde", + "serde_bytes", + "sodoken", +] + +[[package]] +name = "hdi" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "433896b20fa55c3b571567d0a8904be61f71c91eb49f6cdeef338ac8598e3e2b" +dependencies = [ + "hdk_derive", + "holo_hash", + "holochain_integrity_types", + "holochain_wasmer_guest", "paste", "serde", "serde_bytes", @@ -842,7 +2074,7 @@ version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "32b49aec7019a737dc1104814edd970315954f477f4508e317f7cc10938ffa36" dependencies = [ - "getrandom", + "getrandom 0.2.9", "hdi", "hdk_derive", "holo_hash", @@ -862,8 +2094,8 @@ version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bf3dfc8932e6668d5a93a1a2d678977fb32acb92c5a4bdbd48beafba32af570d" dependencies = [ - "darling", - "heck", + "darling 0.14.4", + "heck 0.4.1", "holochain_integrity_types", "paste", "proc-macro-error", @@ -872,6 +2104,39 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "headers" +version = "0.3.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "06683b93020a07e3dbcf5f8c0f6d40080d725bea7936fc01ad345c01b97dc270" +dependencies = [ + "base64 0.21.5", + "bytes", + "headers-core", + "http", + "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", +] + +[[package]] +name = "heck" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d621efb26863f0e9924c6ac577e8275e5e6b77455db64ffa6c65c904e9e132c" +dependencies = [ + "unicode-segmentation", +] + [[package]] name = "heck" version = "0.4.1" @@ -908,30 +2173,209 @@ version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" +[[package]] +name = "hex-literal" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6fe2267d4ed49bc07b63801559be28c718ea06c4738b7a03c94df7386d2cde46" + +[[package]] +name = "hmac" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e" +dependencies = [ + "digest 0.10.7", +] + [[package]] name = "holo_hash" version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "25fb90402dbfcf179f2f96a8dc247bde1d86ccf4ed2ecbbe7fe34446027e30fd" dependencies = [ - "base64", - "blake2b_simd", + "arbitrary", + "base64 0.13.1", + "blake2b_simd 0.5.11", "derive_more", + "fixt", + "futures", "holochain_serialized_bytes", "holochain_util", "holochain_wasmer_common", "kitsune_p2p_dht_arc", + "must_future", + "rand 0.8.5", + "rusqlite", "serde", "serde_bytes", "thiserror", ] +[[package]] +name = "holochain" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "acdcb7d66c3a2bc1cfaaaebe86b4991f731278d16b86aac31cf3e46ca4c17e89" +dependencies = [ + "anyhow", + "arbitrary", + "async-recursion", + "async-trait", + "base64 0.13.1", + "byteorder", + "cfg-if 0.1.10", + "chrono", + "contrafact", + "derive_more", + "diff", + "directories", + "either", + "fallible-iterator", + "fixt", + "futures", + "get_if_addrs", + "getrandom 0.2.9", + "ghost_actor 0.3.0-alpha.6", + "hdk", + "holo_hash", + "holochain_cascade", + "holochain_conductor_api", + "holochain_keystore", + "holochain_metrics", + "holochain_p2p", + "holochain_serialized_bytes", + "holochain_sqlite", + "holochain_state", + "holochain_test_wasm_common", + "holochain_trace", + "holochain_types", + "holochain_util", + "holochain_wasm_test_utils", + "holochain_wasmer_host", + "holochain_websocket", + "holochain_zome_types", + "hostname", + "human-panic", + "itertools 0.10.5", + "kitsune_p2p", + "kitsune_p2p_block", + "kitsune_p2p_bootstrap", + "kitsune_p2p_types", + "lazy_static", + "matches", + "mockall", + "mr_bundle", + "must_future", + "nanoid 0.3.0", + "num_cpus", + "once_cell", + "one_err", + "opentelemetry_api", + "parking_lot 0.10.2", + "predicates 1.0.8", + "rand 0.8.5", + "rand-utf8", + "rpassword 5.0.1", + "rusqlite", + "sd-notify", + "serde", + "serde_json", + "serde_yaml", + "shrinkwraprs", + "sodoken", + "structopt", + "strum", + "subtle-encoding", + "task-motel", + "tempfile", + "thiserror", + "tiny-keccak", + "tokio", + "tokio-stream", + "toml 0.5.11", + "tracing", + "tracing-futures", + "tracing-subscriber", + "tx5-go-pion-turn", + "tx5-signal-srv", + "unwrap_to", + "url 2.5.0", + "url2", + "url_serde", + "uuid 0.7.4", + "wasmer-middlewares", +] + +[[package]] +name = "holochain_cascade" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "898139f876ea83b4ed8e9996234125a95c2c7866aa7930922cc53694573e6ae9" +dependencies = [ + "async-trait", + "derive_more", + "either", + "fallible-iterator", + "fixt", + "futures", + "ghost_actor 0.3.0-alpha.6", + "hdk", + "hdk_derive", + "holo_hash", + "holochain_p2p", + "holochain_serialized_bytes", + "holochain_sqlite", + "holochain_state", + "holochain_trace", + "holochain_types", + "holochain_util", + "holochain_zome_types", + "kitsune_p2p", + "mockall", + "once_cell", + "opentelemetry_api", + "serde", + "serde_derive", + "thiserror", + "tokio", + "tracing", + "tracing-futures", +] + +[[package]] +name = "holochain_conductor_api" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2f960411e665aea8b583b36653df068b62c302a4eba1e8eeb5b53de63bf2f182" +dependencies = [ + "derive_more", + "directories", + "holo_hash", + "holochain_keystore", + "holochain_p2p", + "holochain_serialized_bytes", + "holochain_state", + "holochain_types", + "holochain_zome_types", + "kitsune_p2p", + "serde", + "serde_derive", + "serde_yaml", + "structopt", + "thiserror", + "tracing", + "url2", +] + [[package]] name = "holochain_integrity_types" version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "294ba29e9e11b31137544f07d51c1b132dd336fbb7ca5b6ce33ca6619e416189" dependencies = [ + "arbitrary", + "derive_builder", "holo_hash", "holochain_serialized_bytes", "holochain_util", @@ -941,17 +2385,86 @@ dependencies = [ "serde", "serde_bytes", "subtle", + "subtle-encoding", + "tracing", +] + +[[package]] +name = "holochain_keystore" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "240e6d286407e1fb21f975473c4f62b13b5116ad91e3e85ce10ee8323af383f6" +dependencies = [ + "base64 0.13.1", + "futures", + "holo_hash", + "holochain_serialized_bytes", + "holochain_zome_types", + "kitsune_p2p_types", + "lair_keystore", + "must_future", + "nanoid 0.4.0", + "one_err", + "parking_lot 0.11.2", + "serde", + "serde_bytes", + "sodoken", + "thiserror", + "tokio", "tracing", ] +[[package]] +name = "holochain_metrics" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1bf1a9e96ab255be9c88aa56cb93088b074799a832c1943b08db051054b34363" +dependencies = [ + "influxive", + "opentelemetry_api", + "reqwest", + "tracing", +] + +[[package]] +name = "holochain_p2p" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6b5ab5c70fc13989b253356796863b2fc21efc19e22e6911754ad886566b1d33" +dependencies = [ + "async-trait", + "derive_more", + "fixt", + "futures", + "ghost_actor 0.3.0-alpha.6", + "holo_hash", + "holochain_keystore", + "holochain_serialized_bytes", + "holochain_trace", + "holochain_types", + "holochain_util", + "holochain_zome_types", + "kitsune_p2p", + "kitsune_p2p_types", + "mockall", + "rand 0.8.5", + "serde", + "serde_bytes", + "serde_json", + "thiserror", + "tokio", + "tokio-stream", +] + [[package]] name = "holochain_serialized_bytes" version = "0.0.51" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9805b3e01e7b5c144782a0823db4dc895fec18a9ccd45a492ce7c7bf157a9e38" dependencies = [ + "arbitrary", "holochain_serialized_bytes_derive", - "rmp-serde", + "rmp-serde 0.15.5", "serde", "serde-transcode", "serde_bytes", @@ -970,1325 +2483,4789 @@ dependencies = [ ] [[package]] -name = "holochain_util" +name = "holochain_sqlite" version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a19dfedf84953843a45ebbe273b59daabb444146e98499f136c3b2bfb2fc3d5d" +checksum = "c30b5f7e127f99685680462bb1959074619f95bce23841b4b1e3d7bfe5667c80" dependencies = [ + "anyhow", + "async-trait", + "byteorder", "cfg-if 0.1.10", + "chashmap", + "chrono", "derive_more", - "dunce", + "either", + "failure", + "fallible-iterator", + "fixt", "futures", + "getrandom 0.2.9", + "holo_hash", + "holochain_serialized_bytes", + "holochain_util", + "holochain_zome_types", + "kitsune_p2p", + "lazy_static", + "must_future", + "nanoid 0.3.0", + "num-traits", "num_cpus", "once_cell", + "opentelemetry_api", + "page_size", + "parking_lot 0.10.2", + "pretty_assertions 0.7.2", + "r2d2", + "r2d2_sqlite_neonphog", + "rand 0.8.5", + "rmp-serde 0.15.5", + "rusqlite", + "scheduled-thread-pool", + "serde", + "serde_derive", + "serde_json", + "shrinkwraprs", + "sqlformat 0.1.8", + "tempfile", + "thiserror", + "tokio", + "tracing", + "tracing-futures", ] [[package]] -name = "holochain_wasmer_common" -version = "0.0.84" +name = "holochain_state" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "223daec7ca62d4e36841a99d8799b29cc616f5976ad0e2975e6ca6810de8f14f" +checksum = "8e1f51338b8a2b8aee0bfc429475bbe092895d2139b5270a5f99f91f92eabc54" dependencies = [ + "async-recursion", + "base64 0.13.1", + "byteorder", + "cfg-if 0.1.10", + "chrono", + "contrafact", + "cron", + "derive_more", + "either", + "fallible-iterator", + "futures", + "getrandom 0.2.9", + "holo_hash", + "holochain_keystore", + "holochain_p2p", "holochain_serialized_bytes", + "holochain_sqlite", + "holochain_types", + "holochain_util", + "holochain_zome_types", + "kitsune_p2p", + "mockall", + "nanoid 0.3.0", + "one_err", + "parking_lot 0.10.2", + "rand 0.8.5", "serde", - "serde_bytes", - "test-fuzz", + "serde_json", + "shrinkwraprs", + "tempfile", "thiserror", - "wasmer", - "wasmer-engine", + "tokio", + "tracing", + "tracing-futures", ] [[package]] -name = "holochain_wasmer_guest" -version = "0.0.84" +name = "holochain_test_wasm_common" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "92b2026e44595cb16108464973622577936605582aa22932933a5130ad32ce42" +checksum = "dc14ddf8c521aa78c57d2e56e9bba16b334d910cfb9c1741504c67d890958be4" dependencies = [ - "holochain_serialized_bytes", - "holochain_wasmer_common", - "parking_lot", - "paste", + "hdk", "serde", - "tracing", ] [[package]] -name = "holochain_zome_types" +name = "holochain_trace" version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c0366fdc03fd8cad948456579183124b2778be4b5e21230ceb221dc4818523e" +checksum = "f44d036d48b5943a63d5345bcd6d79f2d4ed8dffe80d4000f134620d7b19ed44" dependencies = [ - "holo_hash", - "holochain_integrity_types", - "holochain_serialized_bytes", + "chrono", + "derive_more", + "inferno", + "once_cell", + "serde_json", + "thiserror", + "tracing", + "tracing-core", + "tracing-serde", + "tracing-subscriber", +] + +[[package]] +name = "holochain_types" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b3a05d91775274e9c71ed2fc5725d53d88aab3b92ad8fff968f78aaea30291cf" +dependencies = [ + "anyhow", + "arbitrary", + "async-trait", + "automap", + "backtrace", + "base64 0.13.1", + "cfg-if 0.1.10", + "chrono", + "contrafact", + "derive_builder", + "derive_more", + "either", + "fixt", + "flate2", + "futures", + "getrandom 0.2.9", + "holo_hash", + "holochain_keystore", + "holochain_serialized_bytes", + "holochain_sqlite", + "holochain_trace", + "holochain_util", + "holochain_wasmer_host", + "holochain_zome_types", + "isotest", + "itertools 0.10.5", + "kitsune_p2p_dht", + "lazy_static", + "mockall", + "mr_bundle", + "must_future", + "nanoid 0.3.0", + "one_err", + "parking_lot 0.10.2", + "rand 0.8.5", + "regex", + "rusqlite", + "serde", + "serde_bytes", + "serde_derive", + "serde_json", + "serde_with", + "serde_yaml", + "shrinkwraprs", + "strum", + "strum_macros 0.18.0", + "tempfile", + "thiserror", + "tokio", + "tracing", + "wasmer-middlewares", +] + +[[package]] +name = "holochain_util" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a19dfedf84953843a45ebbe273b59daabb444146e98499f136c3b2bfb2fc3d5d" +dependencies = [ + "backtrace", + "cfg-if 0.1.10", + "derive_more", + "dunce", + "futures", + "num_cpus", + "once_cell", + "rpassword 7.3.1", + "sodoken", + "tokio", +] + +[[package]] +name = "holochain_wasm_test_utils" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f3f508f7f6412b1d9b8a3448aedf9633f2c374feb9955782b0272c6fb6d95eb6" +dependencies = [ + "holochain_types", + "holochain_util", + "strum", + "strum_macros 0.18.0", + "toml 0.5.11", + "walkdir", +] + +[[package]] +name = "holochain_wasmer_common" +version = "0.0.84" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "223daec7ca62d4e36841a99d8799b29cc616f5976ad0e2975e6ca6810de8f14f" +dependencies = [ + "holochain_serialized_bytes", + "serde", + "serde_bytes", + "test-fuzz", + "thiserror", + "wasmer", + "wasmer-engine", +] + +[[package]] +name = "holochain_wasmer_guest" +version = "0.0.84" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "92b2026e44595cb16108464973622577936605582aa22932933a5130ad32ce42" +dependencies = [ + "holochain_serialized_bytes", + "holochain_wasmer_common", + "parking_lot 0.12.1", + "paste", + "serde", + "tracing", +] + +[[package]] +name = "holochain_wasmer_host" +version = "0.0.84" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "65912ef579fa53ca4ad7713f13379fae53a0d79ef2d91b87670201044eae0d5e" +dependencies = [ + "bimap", + "holochain_serialized_bytes", + "holochain_wasmer_common", + "once_cell", + "parking_lot 0.12.1", + "rand 0.8.5", + "serde", + "tracing", + "wasmer", +] + +[[package]] +name = "holochain_websocket" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67e227361bd59f9882c984c41c538b8d154751f5bf37a45d57325b8fbe752d73" +dependencies = [ + "futures", + "ghost_actor 0.4.0-alpha.5", + "holochain_serialized_bytes", + "must_future", + "nanoid 0.3.0", + "net2", + "serde", + "serde_bytes", + "stream-cancel", + "thiserror", + "tokio", + "tokio-stream", + "tokio-tungstenite 0.13.0", + "tracing", + "tracing-futures", + "tungstenite 0.12.0", + "url2", +] + +[[package]] +name = "holochain_zome_types" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2c0366fdc03fd8cad948456579183124b2778be4b5e21230ceb221dc4818523e" +dependencies = [ + "arbitrary", + "contrafact", + "derive_builder", + "fixt", + "holo_hash", + "holochain_integrity_types", + "holochain_serialized_bytes", "holochain_wasmer_common", "kitsune_p2p_bin_data", "kitsune_p2p_block", + "kitsune_p2p_dht", "kitsune_p2p_timestamp", + "nanoid 0.3.0", + "num_enum", + "once_cell", "paste", + "rand 0.8.5", + "rusqlite", + "serde", + "serde_bytes", + "serde_yaml", + "shrinkwraprs", + "strum", + "subtle", + "subtle-encoding", + "thiserror", + "tracing", +] + +[[package]] +name = "home" +version = "0.5.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5444c27eef6923071f7ebcc33e3444508466a76f7a2b93da00ed6e19f30c1ddb" +dependencies = [ + "windows-sys 0.48.0", +] + +[[package]] +name = "hostname" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3c731c3e10504cc8ed35cfe2f1db4c9274c3d35fa486e3b31df46f068ef3e867" +dependencies = [ + "libc", + "match_cfg", + "winapi 0.3.9", +] + +[[package]] +name = "http" +version = "0.2.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8947b1a6fad4393052c7ba1f4cd97bed3e953a95c79c92ad9b051a04611d9fbb" +dependencies = [ + "bytes", + "fnv", + "itoa", +] + +[[package]] +name = "http-body" +version = "0.4.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7ceab25649e9960c0311ea418d17bee82c0dcec1bd053b5f9a66e265a693bed2" +dependencies = [ + "bytes", + "http", + "pin-project-lite", +] + +[[package]] +name = "httparse" +version = "1.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d897f394bad6a705d5f4104762e116a75639e470d80901eed05a860a95cb1904" + +[[package]] +name = "httpdate" +version = "1.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9" + +[[package]] +name = "human-panic" +version = "1.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7a79a67745be0cb8dd2771f03b24c2f25df98d5471fe7a595d668cfa2e6f843d" +dependencies = [ + "anstream", + "anstyle", + "backtrace", + "os_info", + "serde", + "serde_derive", + "toml 0.8.8", + "uuid 1.6.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.14.27" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ffb1cfd654a8219eaef89881fdb3bb3b1cdc5fa75ded05d6933b2b382e395468" +dependencies = [ + "bytes", + "futures-channel", + "futures-core", + "futures-util", + "h2", + "http", + "http-body", + "httparse", + "httpdate", + "itoa", + "pin-project-lite", + "socket2 0.4.10", + "tokio", + "tower-service", + "tracing", + "want", +] + +[[package]] +name = "hyper-rustls" +version = "0.23.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1788965e61b367cd03a62950836d5cd41560c3577d90e40e0819373194d1661c" +dependencies = [ + "http", + "hyper", + "rustls", + "tokio", + "tokio-rustls", +] + +[[package]] +name = "hyper-tls" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d6183ddfa99b85da61a140bea0efc93fdf56ceaa041b37d553518030827f9905" +dependencies = [ + "bytes", + "hyper", + "native-tls", + "tokio", + "tokio-native-tls", +] + +[[package]] +name = "iana-time-zone" +version = "0.1.56" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0722cd7114b7de04316e7ea5456a0bbb20e4adb46fd27a3697adb812cff0f37c" +dependencies = [ + "android_system_properties", + "core-foundation-sys", + "iana-time-zone-haiku", + "js-sys", + "wasm-bindgen", + "windows", +] + +[[package]] +name = "iana-time-zone-haiku" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0703ae284fc167426161c2e3f1da3ea71d94b21bedbcc9494e92b28e334e3dca" +dependencies = [ + "cxx", + "cxx-build", +] + +[[package]] +name = "ident_case" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39" + +[[package]] +name = "idna" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "38f09e0f0b1fb55fdee1f17470ad800da77af5186a1a76c026b679358b7e844e" +dependencies = [ + "matches", + "unicode-bidi", + "unicode-normalization", +] + +[[package]] +name = "idna" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "634d9b1461af396cad843f47fdba5597a4f9e6ddd4bfb6ff5d85028c25cb12f6" +dependencies = [ + "unicode-bidi", + "unicode-normalization", +] + +[[package]] +name = "if-addrs" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cbc0fa01ffc752e9dbc72818cdb072cd028b86be5e09dd04c5a643704fe101a9" +dependencies = [ + "libc", + "winapi 0.3.9", +] + +[[package]] +name = "if-addrs" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26b24dd0826eee92c56edcda7ff190f2cf52115c49eadb2c2da8063e2673a8c2" +dependencies = [ + "libc", + "windows-sys 0.42.0", +] + +[[package]] +name = "if-addrs" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cabb0019d51a643781ff15c9c8a3e5dedc365c47211270f4e8f82812fedd8f0a" +dependencies = [ + "libc", + "windows-sys 0.48.0", +] + +[[package]] +name = "if_chain" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb56e1aa765b4b4f3aadfab769793b7087bb03a4ea4920644a6d238e2df5b9ed" + +[[package]] +name = "indexmap" +version = "1.9.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99" +dependencies = [ + "autocfg 1.1.0", + "hashbrown 0.12.3", + "serde", +] + +[[package]] +name = "indexmap" +version = "2.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d530e1a18b1cb4c484e6e34556a0d948706958449fca0cab753d649f2bce3d1f" +dependencies = [ + "equivalent", + "hashbrown 0.14.3", +] + +[[package]] +name = "inferno" +version = "0.11.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "321f0f839cd44a4686e9504b0a62b4d69a50b62072144c71c68f5873c167b8d9" +dependencies = [ + "ahash 0.8.6", + "clap 4.4.11", + "crossbeam-channel", + "crossbeam-utils", + "dashmap 5.4.0", + "env_logger", + "indexmap 2.1.0", + "is-terminal", + "itoa", + "log", + "num-format", + "once_cell", + "quick-xml", + "rgb", + "str_stack", +] + +[[package]] +name = "influxdb" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77763a6985cbf3f3251fd0725511b6eb81967bfb50763e7a88097ff8e8504fb0" +dependencies = [ + "chrono", + "futures-util", + "http", + "lazy_static", + "regex", + "reqwest", + "serde", + "serde_json", + "thiserror", +] + +[[package]] +name = "influxive" +version = "0.0.2-alpha.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b2e33972c836e620ade20e7c0c66062c60a90b222ed46f5f872f1a4721967191" +dependencies = [ + "influxive-child-svc", + "influxive-otel", + "influxive-writer", +] + +[[package]] +name = "influxive-child-svc" +version = "0.0.2-alpha.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0923b25ac29f6e2ac600b0d3762792c4cb86438c3f2c7daa1f6e65e66f7f0d4d" +dependencies = [ + "hex-literal", + "influxive-core", + "influxive-downloader", + "influxive-writer", + "tempfile", + "tokio", + "tracing", +] + +[[package]] +name = "influxive-core" +version = "0.0.2-alpha.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f5db78961ebb97b6d16ba61a65b38978a67cf7efaa91903c500b4771d1920d00" + +[[package]] +name = "influxive-downloader" +version = "0.0.2-alpha.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "264581af3b49d108e76382e301d4228f89a3995e373363b877bb42b1312ebba3" +dependencies = [ + "base64 0.21.5", + "digest 0.10.7", + "dirs", + "flate2", + "futures", + "hex", + "hex-literal", + "influxive-core", + "reqwest", + "sha2", + "tar", + "tempfile", + "tokio", + "zip", +] + +[[package]] +name = "influxive-otel" +version = "0.0.2-alpha.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "882f4ff61b099d34855841a6ea4d1890a1bd2aad2d07d8aaa63c99059d0f295c" +dependencies = [ + "influxive-core", + "opentelemetry_api", + "tokio", +] + +[[package]] +name = "influxive-otel-atomic-obs" +version = "0.0.2-alpha.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ac0ec101d28862a46c15d6140cec376b02725160dfcf57282952898a94cf35e" +dependencies = [ + "opentelemetry_api", +] + +[[package]] +name = "influxive-writer" +version = "0.0.2-alpha.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "89db32ac1865b814d5f4109635226c1d89189852d88f9ae704c0b51d6d2a8f25" +dependencies = [ + "influxdb", + "influxive-core", + "tokio", + "tracing", +] + +[[package]] +name = "inout" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a0c10553d664a4d0bcff9f4215d0aac67a639cc68ef660840afe309b807bc9f5" +dependencies = [ + "generic-array", +] + +[[package]] +name = "input_buffer" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f97967975f448f1a7ddb12b0bc41069d09ed6a1c161a92687e057325db35d413" +dependencies = [ + "bytes", +] + +[[package]] +name = "instant" +version = "0.1.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c" +dependencies = [ + "cfg-if 1.0.0", +] + +[[package]] +name = "intervallum" +version = "1.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c8ccecd834666f695ecec3ff0d5fc32e32c91abea91a28fd0aceb4b35a82cee1" +dependencies = [ + "bit-set", + "gcollections", + "num-integer", + "num-traits", + "trilean", +] + +[[package]] +name = "io-lifetimes" +version = "1.0.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c66c74d2ae7e79a5a8f7ac924adbe38ee42a859c6539ad869eb51f0b52dc220" +dependencies = [ + "hermit-abi 0.3.1", + "libc", + "windows-sys 0.48.0", +] + +[[package]] +name = "ipnet" +version = "2.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f518f335dce6725a761382244631d86cf0ccb2863413590b31338feb467f9c3" + +[[package]] +name = "is-terminal" +version = "0.4.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb0889898416213fab133e1d33a0e5858a48177452750691bde3666d0fdbaf8b" +dependencies = [ + "hermit-abi 0.3.1", + "rustix 0.38.28", + "windows-sys 0.48.0", +] + +[[package]] +name = "isotest" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "868ab2c0c71eff3fca21f4ea4673ade85ca0149c45a55c79016147562737aef8" +dependencies = [ + "futures", + "paste", +] + +[[package]] +name = "itertools" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f56a2d0bc861f9165be4eb3442afd3c236d8a98afd426f65d92324ae1091a484" +dependencies = [ + "either", +] + +[[package]] +name = "itertools" +version = "0.10.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473" +dependencies = [ + "either", +] + +[[package]] +name = "itertools" +version = "0.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "25db6b064527c5d482d0423354fcd07a89a2dfe07b67892e62411946db7f07b0" +dependencies = [ + "either", +] + +[[package]] +name = "itoa" +version = "1.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "453ad9f582a441959e5f0d088b02ce04cfe8d51a8eaf077f12ac6d3e94164ca6" + +[[package]] +name = "jobserver" +version = "0.1.27" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8c37f63953c4c63420ed5fd3d6d398c719489b9f872b9fa683262f8edd363c7d" +dependencies = [ + "libc", +] + +[[package]] +name = "js-sys" +version = "0.3.66" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cee9c64da59eae3b50095c18d3e74f8b73c0b86d2792824ff01bbce68ba229ca" +dependencies = [ + "wasm-bindgen", +] + +[[package]] +name = "kitsune_p2p" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "68543b9311d6e620a09e7fbdd86103a7f49f20f643ed073928c9e8c6128d9f64" +dependencies = [ + "arbitrary", + "arrayref", + "base64 0.13.1", + "blake2b_simd 0.5.11", + "bloomfilter", + "bytes", + "derive_more", + "fixt", + "futures", + "ghost_actor 0.3.0-alpha.6", + "governor", + "holochain_trace", + "itertools 0.10.5", + "kitsune_p2p_bin_data", + "kitsune_p2p_block", + "kitsune_p2p_fetch", + "kitsune_p2p_mdns", + "kitsune_p2p_proxy", + "kitsune_p2p_timestamp", + "kitsune_p2p_transport_quic", + "kitsune_p2p_types", + "maplit", + "mockall", + "must_future", + "nanoid 0.4.0", + "num-traits", + "once_cell", + "opentelemetry_api", + "parking_lot 0.12.1", + "rand 0.8.5", + "reqwest", + "serde", + "serde_bytes", + "serde_json", + "shrinkwraprs", + "thiserror", + "tokio", + "tokio-stream", + "tracing", + "tx5", + "url2", +] + +[[package]] +name = "kitsune_p2p_bin_data" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26a444a4508397be02027442fa3bc106db8a8ff79a02e680a652146ef07802aa" +dependencies = [ + "arbitrary", + "base64 0.13.1", + "derive_more", + "holochain_util", + "kitsune_p2p_dht_arc", + "serde", + "serde_bytes", + "shrinkwraprs", +] + +[[package]] +name = "kitsune_p2p_block" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c49c5cde7b3a68e0c8759a4be3820af90a0e79d5697254538d183823ecada823" +dependencies = [ + "kitsune_p2p_bin_data", + "kitsune_p2p_timestamp", + "serde", + "serde_bytes", +] + +[[package]] +name = "kitsune_p2p_bootstrap" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9d66bad87ac0aeddf540028047538ac9412f56a41c923bbbc8a394f77e6e842c" +dependencies = [ + "clap 3.2.25", + "futures", + "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", + "warp", +] + +[[package]] +name = "kitsune_p2p_dht" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ea8a9866ba8cb51f443aeda15646d0cc6ea35eac7dc82e2ca3e101e2089ed109" +dependencies = [ + "colored", + "derivative", + "derive_more", + "futures", + "gcollections", + "intervallum", + "kitsune_p2p_dht_arc", + "kitsune_p2p_timestamp", + "must_future", + "num-traits", + "once_cell", + "rand 0.8.5", + "serde", + "statrs", + "thiserror", + "tracing", +] + +[[package]] +name = "kitsune_p2p_dht_arc" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6ab2c05e469ccade1e6a3f50138998148ff25330d83a4a334516fd0daec35c7" +dependencies = [ + "derive_more", + "gcollections", + "intervallum", + "num-traits", + "rusqlite", + "serde", +] + +[[package]] +name = "kitsune_p2p_fetch" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "90874799b2f366fbc26f89e987046279a44bcc91f600c3da34b9da370b394282" +dependencies = [ + "derive_more", + "futures", + "human-repr", + "kitsune_p2p_timestamp", + "kitsune_p2p_types", + "linked-hash-map", + "must_future", + "num-traits", + "serde", + "serde_bytes", + "thiserror", + "tokio", + "tracing", +] + +[[package]] +name = "kitsune_p2p_mdns" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "527ec70ab51ba2e10c4c9b13349e5638cdd7a0d04da37b12cadce5b498311fff" +dependencies = [ + "async-stream", + "base64 0.13.1", + "err-derive", + "futures-core", + "futures-util", + "libmdns", + "mdns", + "tokio", + "tokio-stream", +] + +[[package]] +name = "kitsune_p2p_proxy" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a64865f01e1b0c5735fcbbf54651052305cb0e216515a1ff7985a731f8eaafb" +dependencies = [ + "base64 0.13.1", + "blake2b_simd 0.5.11", + "derive_more", + "futures", + "holochain_trace", + "kitsune_p2p_transport_quic", + "kitsune_p2p_types", + "nanoid 0.3.0", + "parking_lot 0.11.2", + "rmp-serde 0.15.5", + "rustls", + "sct", + "serde", + "serde_bytes", + "structopt", + "tokio", + "tracing-subscriber", + "webpki", +] + +[[package]] +name = "kitsune_p2p_timestamp" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f1b199e027c58d7cd55530431dddbdfe622258fda3e9aa0b61b4e938fcf463d" +dependencies = [ + "arbitrary", + "chrono", + "derive_more", + "rusqlite", + "serde", +] + +[[package]] +name = "kitsune_p2p_transport_quic" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9373d13bd02e395872e76301fc1ff38f336effa98572682013a54138da1273d3" +dependencies = [ + "blake2b_simd 1.0.2", + "futures", + "if-addrs 0.8.0", + "kitsune_p2p_types", + "nanoid 0.4.0", + "once_cell", + "quinn", + "rcgen 0.9.3", + "rustls", + "serde", + "tokio", + "webpki", +] + +[[package]] +name = "kitsune_p2p_types" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a924d481122b106e2da4db54a67eacbe423268f14e48ffa9d09b9210595a427f" +dependencies = [ + "arbitrary", + "base64 0.13.1", + "derive_more", + "futures", + "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 0.8.1", + "mockall", + "nanoid 0.3.0", + "once_cell", + "parking_lot 0.11.2", + "paste", + "rmp-serde 0.15.5", + "rustls", + "serde", + "serde_bytes", + "serde_json", + "shrinkwraprs", + "sysinfo 0.27.8", + "thiserror", + "tokio", + "tokio-stream", + "ureq", + "url 2.5.0", + "url2", + "webpki", +] + +[[package]] +name = "kv-log-macro" +version = "1.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0de8b303297635ad57c9f5059fd9cee7a47f8e8daa09df0fcd07dd39fb22977f" +dependencies = [ + "log", +] + +[[package]] +name = "lair_keystore" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "843c7dbcbc8d75eef0b30397a7eb0d04549aabeff4ea69ebd272aea991555746" +dependencies = [ + "lair_keystore_api", + "pretty_assertions 1.4.0", + "rpassword 7.3.1", + "rusqlite", + "sqlformat 0.2.3", + "structopt", + "sysinfo 0.28.4", + "tracing-subscriber", +] + +[[package]] +name = "lair_keystore_api" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5829f25d0eab6309ae4307aa645f123a64e568a41ec17c358dcbd65dec207e10" +dependencies = [ + "base64 0.13.1", + "dunce", + "hc_seed_bundle", + "lru 0.10.1", + "nanoid 0.4.0", + "once_cell", + "parking_lot 0.12.1", + "rcgen 0.10.0", + "serde", + "serde_json", + "serde_yaml", + "time 0.3.23", + "tokio", + "toml 0.5.11", + "toml 0.7.8", + "tracing", + "url 2.5.0", + "winapi 0.3.9", + "zeroize", +] + +[[package]] +name = "lazy_static" +version = "1.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" + +[[package]] +name = "leb128" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "884e2677b40cc8c339eaefcb701c32ef1fd2493d71118dc0ca4b6a736c93bd67" + +[[package]] +name = "libc" +version = "0.2.151" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "302d7ab3130588088d277783b1e2d2e10c9e9e4a16dd9050e6ec93fb3e7048f4" + +[[package]] +name = "libflate" +version = "1.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5ff4ae71b685bbad2f2f391fe74f6b7659a34871c08b210fdc039e43bee07d18" +dependencies = [ + "adler32", + "crc32fast", + "libflate_lz77", +] + +[[package]] +name = "libflate_lz77" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a52d3a8bfc85f250440e4424db7d857e241a3aebbbe301f3eb606ab15c39acbf" +dependencies = [ + "rle-decode-fast", +] + +[[package]] +name = "libloading" +version = "0.7.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b67380fd3b2fbe7527a606e18729d21c6f3951633d0500574c4dc22d2d638b9f" +dependencies = [ + "cfg-if 1.0.0", + "winapi 0.3.9", +] + +[[package]] +name = "libloading" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c571b676ddfc9a8c12f1f3d3085a7b163966a8fd8098a90640953ce5f6170161" +dependencies = [ + "cfg-if 1.0.0", + "windows-sys 0.48.0", +] + +[[package]] +name = "libm" +version = "0.2.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f7012b1bbb0719e1097c47611d3898568c546d597c2e74d66f6087edd5233ff4" + +[[package]] +name = "libmdns" +version = "0.7.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6a60d8339ad1ddf68a81335fcafb6c6cf20d5036138a1e4ef86b8ce87f076c92" +dependencies = [ + "byteorder", + "futures-util", + "hostname", + "if-addrs 0.7.0", + "log", + "multimap", + "nix", + "rand 0.8.5", + "socket2 0.4.10", + "thiserror", + "tokio", + "winapi 0.3.9", +] + +[[package]] +name = "libredox" +version = "0.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85c833ca1e66078851dba29046874e38f08b2c883700aa29a03ddd3b23814ee8" +dependencies = [ + "bitflags 2.4.1", + "libc", + "redox_syscall 0.4.1", +] + +[[package]] +name = "libsodium-sys-stable" +version = "1.19.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c380d5be44ec310e371ff404e923e39464ca21ebef0a1468f4bfbbc92af547f5" +dependencies = [ + "cc", + "libc", + "libflate", + "minisign-verify", + "pkg-config", + "tar", + "ureq", + "vcpkg", + "zip", +] + +[[package]] +name = "libsqlite3-sys" +version = "0.26.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +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" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0717cef1bc8b636c6e1c1bbdefc09e6322da8a9321966e8928ef80d20f7f770f" + +[[package]] +name = "linux-raw-sys" +version = "0.3.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b64f40e5e03e0d54f03845c8197d0291253cdbedfb1cb46b13c2c117554a9f4c" + +[[package]] +name = "linux-raw-sys" +version = "0.4.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c4cd1a83af159aa67994778be9070f0ae1bd732942279cabb14f86f986a21456" + +[[package]] +name = "lock_api" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c4da24a77a3d8a6d4862d95f72e6fdb9c09a643ecdb402d754004a557f2bec75" +dependencies = [ + "scopeguard", +] + +[[package]] +name = "lock_api" +version = "0.4.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "435011366fe56583b16cf956f9df0095b405b82d76425bc8981c0e22e60ec4df" +dependencies = [ + "autocfg 1.1.0", + "scopeguard", +] + +[[package]] +name = "log" +version = "0.4.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "abb12e687cfb44aa40f41fc3978ef76448f9b6038cad6aef4259d3c095a2382e" +dependencies = [ + "cfg-if 1.0.0", + "value-bag", +] + +[[package]] +name = "loupe" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b6a72dfa44fe15b5e76b94307eeb2ff995a8c5b283b55008940c02e0c5b634d" +dependencies = [ + "indexmap 1.9.3", + "loupe-derive", + "rustversion", +] + +[[package]] +name = "loupe-derive" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c0fbfc88337168279f2e9ae06e157cfed4efd3316e14dc96ed074d4f2e6c5952" +dependencies = [ + "quote", + "syn 1.0.109", +] + +[[package]] +name = "lru" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6e8aaa3f231bb4bd57b84b2d5dc3ae7f350265df8aa96492e0bc394a1571909" +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" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b823e83b2affd8f40a9ee8c29dbc56404c1e34cd2710921f2801e2cf29527afa" +dependencies = [ + "libc", +] + +[[package]] +name = "maplit" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3e2e65a1a2e43cfcb47a895c4c8b10d1f4a61097f9f254f183aee60cad9c651d" + +[[package]] +name = "match_cfg" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ffbee8634e0d45d258acb448e7eaab3fce7a0a467395d4d9f228e3c1f01fb2e4" + +[[package]] +name = "matchers" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8263075bb86c5a1b1427b5ae862e8889656f126e9f77c484496e8b47cf5c5558" +dependencies = [ + "regex-automata", +] + +[[package]] +name = "matches" +version = "0.1.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2532096657941c2fea9c289d370a250971c689d4f143798ff67113ec042024a5" + +[[package]] +name = "matrixmultiply" +version = "0.3.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "090126dc04f95dc0d1c1c91f61bdd474b3930ca064c1edc8a849da2c6cbe1e77" +dependencies = [ + "autocfg 1.1.0", + "rawpointer", +] + +[[package]] +name = "maybe-uninit" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "60302e4db3a61da70c0cb7991976248362f30319e88850c487b9b95bbf059e00" + +[[package]] +name = "mdns" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c769962ac75a6ea437f0922b27834bcccd4c013d591383a16ae5731e3ef0f3f3" +dependencies = [ + "async-std", + "async-stream", + "dns-parser", + "err-derive", + "futures-core", + "futures-util", + "log", + "net2", +] + +[[package]] +name = "memchr" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d" + +[[package]] +name = "memmap2" +version = "0.5.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "83faa42c0a078c393f6b29d5db232d8be22776a891f8f56e5284faee4a20b327" +dependencies = [ + "libc", +] + +[[package]] +name = "memoffset" +version = "0.6.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5aa361d4faea93603064a027415f07bd8e1d5c88c9fbf68bf56a285428fd79ce" +dependencies = [ + "autocfg 1.1.0", +] + +[[package]] +name = "memoffset" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d61c719bcfbcf5d62b3a09efa6088de8c54bc0bfcd3ea7ae39fcc186108b8de1" +dependencies = [ + "autocfg 1.1.0", +] + +[[package]] +name = "mime" +version = "0.3.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a" + +[[package]] +name = "mime_guess" +version = "2.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4192263c238a5f0d0c6bfd21f336a313a4ce1c450542449ca191bb657b4642ef" +dependencies = [ + "mime", + "unicase", +] + +[[package]] +name = "minimal-lexical" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" + +[[package]] +name = "minisign-verify" +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" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7810e0be55b428ada41041c41f32c9f1a42817901b4ccf45fa3d4b6561e74c7" +dependencies = [ + "adler", +] + +[[package]] +name = "mio" +version = "0.8.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f3d0b296e374a4e6f3c7b0a1f5a51d748a0d34c85e7dc48fc3fa9a87657fe09" +dependencies = [ + "libc", + "wasi 0.11.0+wasi-snapshot-preview1", + "windows-sys 0.48.0", +] + +[[package]] +name = "mockall" +version = "0.11.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4c84490118f2ee2d74570d114f3d0493cbf02790df303d2707606c3e14e07c96" +dependencies = [ + "cfg-if 1.0.0", + "downcast", + "fragile", + "lazy_static", + "mockall_derive", + "predicates 2.1.5", + "predicates-tree", +] + +[[package]] +name = "mockall_derive" +version = "0.11.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "22ce75669015c4f47b289fd4d4f56e894e4c96003ffdf3ac51313126f94c6cbb" +dependencies = [ + "cfg-if 1.0.0", + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "more-asserts" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7843ec2de400bcbc6a6328c958dc38e5359da6e93e72e37bc5246bf1ae776389" + +[[package]] +name = "mr_bundle" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f65e268bacad0d72f316286a776e70ebd40bd6dede16401218f7c39a50330c7d" +dependencies = [ + "arbitrary", + "bytes", + "derive_more", + "either", + "flate2", + "futures", + "holochain_util", + "reqwest", + "rmp-serde 0.15.5", + "serde", + "serde_bytes", + "serde_derive", + "serde_yaml", + "thiserror", +] + +[[package]] +name = "multer" +version = "2.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "01acbdc23469fd8fe07ab135923371d5f5a422fbf9c522158677c8eb15bc51c2" +dependencies = [ + "bytes", + "encoding_rs", + "futures-util", + "http", + "httparse", + "log", + "memchr", + "mime", + "spin 0.9.8", + "version_check", +] + +[[package]] +name = "multimap" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e5ce46fe64a9d73be07dcbe690a38ce1b293be448fd8ce1e6c1b8062c9f72c6a" +dependencies = [ + "serde", +] + +[[package]] +name = "must_future" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a160ffed3c2f98d2906c67a9b6e4e1f09cca7e17e3f780286a349061459eeebe" +dependencies = [ + "futures", + "pin-utils", +] + +[[package]] +name = "nalgebra" +version = "0.27.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "462fffe4002f4f2e1f6a9dcf12cc1a6fc0e15989014efc02a941d3e0f5dc2120" +dependencies = [ + "approx", + "matrixmultiply", + "nalgebra-macros", + "num-complex", + "num-rational", + "num-traits", + "rand 0.8.5", + "rand_distr", + "simba", + "typenum", +] + +[[package]] +name = "nalgebra-macros" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "01fcc0b8149b4632adc89ac3b7b31a12fb6099a0317a4eb2ebff574ef7de7218" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "nanoid" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a6226bc4e142124cb44e309a37a04cd9bb10e740d8642855441d3b14808f635e" +dependencies = [ + "rand 0.6.5", +] + +[[package]] +name = "nanoid" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ffa00dec017b5b1a8b7cf5e2c008bfda1aa7e0697ac1508b491fdf2622fb4d8" +dependencies = [ + "rand 0.8.5", +] + +[[package]] +name = "native-tls" +version = "0.2.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "07226173c32f2926027b63cce4bcd8076c3552846cbe7925f3aaffeac0a3b92e" +dependencies = [ + "lazy_static", + "libc", + "log", + "openssl", + "openssl-probe", + "openssl-sys", + "schannel", + "security-framework", + "security-framework-sys", + "tempfile", +] + +[[package]] +name = "net2" +version = "0.2.39" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b13b648036a2339d06de780866fbdfda0dde886de7b3af2ddeba8b14f4ee34ac" +dependencies = [ + "cfg-if 0.1.10", + "libc", + "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 1.3.2", + "cc", + "cfg-if 1.0.0", + "libc", + "memoffset 0.6.5", +] + +[[package]] +name = "no-std-compat" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b93853da6d84c2e3c7d730d6473e8817692dd89be387eb01b94d7f108ecb5b8c" +dependencies = [ + "hashbrown 0.8.2", +] + +[[package]] +name = "nom" +version = "4.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c349f68f25f596b9f44cf0e7c69752a5c633b0550c3ff849518bfba0233774a" +dependencies = [ + "memchr", +] + +[[package]] +name = "nom" +version = "7.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a" +dependencies = [ + "memchr", + "minimal-lexical", +] + +[[package]] +name = "nonzero_ext" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "44a1290799eababa63ea60af0cbc3f03363e328e58f32fb0294798ed3e85f444" + +[[package]] +name = "normalize-line-endings" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "61807f77802ff30975e01f4f071c8ba10c022052f98b3294119f3e615d13e5be" + +[[package]] +name = "ntapi" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e8a3895c6391c39d7fe7ebc444a87eb2991b2a0bc718fdabd071eec617fc68e4" +dependencies = [ + "winapi 0.3.9", +] + +[[package]] +name = "nu-ansi-term" +version = "0.46.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77a8165726e8236064dbb45459242600304b42a5ea24ee2948e18e023bf7ba84" +dependencies = [ + "overload", + "winapi 0.3.9", +] + +[[package]] +name = "num" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b05180d69e3da0e530ba2a1dae5110317e49e3b7f3d41be227dc5f92e49ee7af" +dependencies = [ + "num-bigint", + "num-complex", + "num-integer", + "num-iter", + "num-rational", + "num-traits", +] + +[[package]] +name = "num-bigint" +version = "0.4.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "608e7659b5c3d7cba262d894801b9ec9d00de989e8a82bd4bef91d08da45cdc0" +dependencies = [ + "autocfg 1.1.0", + "num-integer", + "num-traits", +] + +[[package]] +name = "num-complex" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "02e0d21255c828d6f128a1e41534206671e8c3ea0c62f32291e808dc82cff17d" +dependencies = [ + "num-traits", +] + +[[package]] +name = "num-format" +version = "0.4.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a652d9771a63711fd3c3deb670acfbe5c30a4072e664d7a3bf5a9e1056ac72c3" +dependencies = [ + "arrayvec 0.7.4", + "itoa", +] + +[[package]] +name = "num-integer" +version = "0.1.45" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "225d3389fb3509a24c93f5c29eb6bde2586b98d9f016636dff58d7c6f7569cd9" +dependencies = [ + "autocfg 1.1.0", + "num-traits", +] + +[[package]] +name = "num-iter" +version = "0.1.43" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7d03e6c028c5dc5cac6e2dec0efda81fc887605bb3d884578bb6d6bf7514e252" +dependencies = [ + "autocfg 1.1.0", + "num-integer", + "num-traits", +] + +[[package]] +name = "num-rational" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0638a1c9d0a3c0914158145bc76cff373a75a627e6ecbfb71cbe6f453a5a19b0" +dependencies = [ + "autocfg 1.1.0", + "num-bigint", + "num-integer", + "num-traits", +] + +[[package]] +name = "num-traits" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "39e3200413f237f41ab11ad6d161bc7239c84dcb631773ccd7de3dfe4b5c267c" +dependencies = [ + "autocfg 1.1.0", + "libm", +] + +[[package]] +name = "num_cpus" +version = "1.15.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0fac9e2da13b5eb447a6ce3d392f23a29d8694bff781bf03a16cd9ac8697593b" +dependencies = [ + "hermit-abi 0.2.6", + "libc", +] + +[[package]] +name = "num_enum" +version = "0.5.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1f646caf906c20226733ed5b1374287eb97e3c2a5c227ce668c1f2ce20ae57c9" +dependencies = [ + "num_enum_derive", +] + +[[package]] +name = "num_enum_derive" +version = "0.5.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dcbff9bc912032c62bf65ef1d5aea88983b420f4f839db1e9b0c281a25c9c799" +dependencies = [ + "proc-macro-crate", + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "object" +version = "0.28.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e42c982f2d955fac81dd7e1d0e1426a7d702acd9c98d19ab01083a6a0328c424" +dependencies = [ + "crc32fast", + "hashbrown 0.11.2", + "indexmap 1.9.3", + "memchr", +] + +[[package]] +name = "object" +version = "0.30.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ea86265d3d3dcb6a27fc51bd29a4bf387fae9d2986b823079d4986af253eb439" +dependencies = [ + "memchr", +] + +[[package]] +name = "once_cell" +version = "1.17.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b7e5500299e16ebb147ae15a00a942af264cf3688f47923b8fc2cd5858f23ad3" + +[[package]] +name = "one_err" +version = "0.0.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e81851974d8bb6cc9a643cca68afdce7f0a3b80e08a4620388836bb99a680554" +dependencies = [ + "indexmap 1.9.3", + "libc", + "serde", + "serde_json", +] + +[[package]] +name = "opaque-debug" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "624a8340c38c1b80fd549087862da4ba43e08858af025b236e509b6649fc13d5" + +[[package]] +name = "openssl" +version = "0.10.61" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6b8419dc8cc6d866deb801274bba2e6f8f6108c1bb7fcc10ee5ab864931dbb45" +dependencies = [ + "bitflags 2.4.1", + "cfg-if 1.0.0", + "foreign-types", + "libc", + "once_cell", + "openssl-macros", + "openssl-sys", +] + +[[package]] +name = "openssl-macros" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.41", +] + +[[package]] +name = "openssl-probe" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" + +[[package]] +name = "openssl-sys" +version = "0.9.97" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3eaad34cdd97d81de97964fc7f29e2d104f483840d906ef56daa1912338460b" +dependencies = [ + "cc", + "libc", + "pkg-config", + "vcpkg", +] + +[[package]] +name = "opentelemetry_api" +version = "0.20.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a81f725323db1b1206ca3da8bb19874bbd3f57c3bcd59471bfb04525b265b9b" +dependencies = [ + "futures-channel", + "futures-util", + "indexmap 1.9.3", + "js-sys", + "once_cell", + "pin-project-lite", + "thiserror", + "urlencoding", +] + +[[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" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "006e42d5b888366f1880eda20371fedde764ed2213dc8496f49622fa0c99cd5e" +dependencies = [ + "log", + "serde", + "winapi 0.3.9", +] + +[[package]] +name = "os_str_bytes" +version = "6.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e2355d85b9a3786f481747ced0e0ff2ba35213a1f9bd406ed906554d7af805a1" + +[[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" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "628223faebab4e3e40667ee0b2336d34a5b960ff60ea743ddfdbcf7770bcfb66" +dependencies = [ + "winapi 0.3.9", +] + +[[package]] +name = "overload" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39" + +[[package]] +name = "owning_ref" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9d52571ddcb42e9c900c901a18d8d67e393df723fcd51dd59c5b1a85d0acb6cc" + +[[package]] +name = "page_size" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eebde548fbbf1ea81a99b128872779c437752fb99f217c45245e1a61dcd9edcd" +dependencies = [ + "libc", + "winapi 0.3.9", +] + +[[package]] +name = "parking" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bb813b8af86854136c6922af0598d719255ecb2179515e6e7730d468f05c9cae" + +[[package]] +name = "parking_lot" +version = "0.3.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fa12d706797d42551663426a45e2db2e0364bd1dbf6aeada87e89c5f981f43e9" +dependencies = [ + "owning_ref", + "parking_lot_core 0.2.14", + "thread-id", +] + +[[package]] +name = "parking_lot" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3a704eb390aafdc107b0e392f56a82b668e3a71366993b5340f5833fd62505e" +dependencies = [ + "lock_api 0.3.4", + "parking_lot_core 0.7.3", +] + +[[package]] +name = "parking_lot" +version = "0.11.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7d17b78036a60663b797adeaee46f5c9dfebb86948d1255007a1d6be0271ff99" +dependencies = [ + "instant", + "lock_api 0.4.9", + "parking_lot_core 0.8.6", +] + +[[package]] +name = "parking_lot" +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", +] + +[[package]] +name = "parking_lot_core" +version = "0.2.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4db1a8ccf734a7bce794cc19b3df06ed87ab2f3907036b693c68f56b4d4537fa" +dependencies = [ + "libc", + "rand 0.4.6", + "smallvec 0.6.14", + "winapi 0.3.9", +] + +[[package]] +name = "parking_lot_core" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b93f386bb233083c799e6e642a9d73db98c24a5deeb95ffc85bf281255dffc98" +dependencies = [ + "cfg-if 0.1.10", + "cloudabi", + "libc", + "redox_syscall 0.1.57", + "smallvec 1.10.0", + "winapi 0.3.9", +] + +[[package]] +name = "parking_lot_core" +version = "0.8.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "60a2cfe6f0ad2bfc16aefa463b497d5c7a5ecd44a23efa72aa342d90177356dc" +dependencies = [ + "cfg-if 1.0.0", + "instant", + "libc", + "redox_syscall 0.2.16", + "smallvec 1.10.0", + "winapi 0.3.9", +] + +[[package]] +name = "parking_lot_core" +version = "0.9.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9069cbb9f99e3a5083476ccb29ceb1de18b9118cafa53e90c9551235de2b9521" +dependencies = [ + "cfg-if 1.0.0", + "libc", + "redox_syscall 0.2.16", + "smallvec 1.10.0", + "windows-sys 0.45.0", +] + +[[package]] +name = "password-hash" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7676374caaee8a325c9e7a2ae557f216c5563a171d6997b0ef8a65af35147700" +dependencies = [ + "base64ct", + "rand_core 0.6.4", + "subtle", +] + +[[package]] +name = "paste" +version = "1.0.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9f746c4065a8fa3fe23974dd82f15431cc8d40779821001404d10d2e79ca7d79" + +[[package]] +name = "pbkdf2" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "83a0692ec44e4cf1ef28ca317f14f8f07da2d95ec3fa01f86e4467b725e60917" +dependencies = [ + "digest 0.10.7", + "hmac", + "password-hash", + "sha2", +] + +[[package]] +name = "pem" +version = "1.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a8835c273a76a90455d7344889b0964598e3316e2a79ede8e36f16bdcf2228b8" +dependencies = [ + "base64 0.13.1", +] + +[[package]] +name = "percent-encoding" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "31010dd2e1ac33d5b46a5b413495239882813e0369f8ed8a5e266f173602f831" + +[[package]] +name = "percent-encoding" +version = "2.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" + +[[package]] +name = "pest" +version = "2.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e68e84bfb01f0507134eac1e9b410a12ba379d064eab48c50ba4ce329a527b70" +dependencies = [ + "thiserror", + "ucd-trie", +] + +[[package]] +name = "pin-project" +version = "1.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fda4ed1c6c173e3fc7a83629421152e01d7b1f9b7f65fb301e490e8cfc656422" +dependencies = [ + "pin-project-internal", +] + +[[package]] +name = "pin-project-internal" +version = "1.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4359fd9c9171ec6e8c62926d6faaf553a8dc3f64e1507e76da7911b4f6a04405" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.41", +] + +[[package]] +name = "pin-project-lite" +version = "0.2.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e0a7ae3ac2f1173085d398531c705756c94a4c56843785df85a60c1a0afac116" + +[[package]] +name = "pin-utils" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" + +[[package]] +name = "piper" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "668d31b1c4eba19242f2088b2bf3316b82ca31082a8335764db4e083db7485d4" +dependencies = [ + "atomic-waker", + "fastrand 2.0.1", + "futures-io", +] + +[[package]] +name = "pkg-config" +version = "0.3.27" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26072860ba924cbfa98ea39c8c19b4dd6a4a25423dbdf219c1eca91aa0cf6964" + +[[package]] +name = "polling" +version = "2.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4b2d323e8ca7996b3e23126511a523f7e62924d93ecd5ae73b333815b0eb3dce" +dependencies = [ + "autocfg 1.1.0", + "bitflags 1.3.2", + "cfg-if 1.0.0", + "concurrent-queue", + "libc", + "log", + "pin-project-lite", + "windows-sys 0.48.0", +] + +[[package]] +name = "ppv-lite86" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" + +[[package]] +name = "predicates" +version = "1.0.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f49cfaf7fdaa3bfacc6fa3e7054e65148878354a5cfddcf661df4c851f8021df" +dependencies = [ + "difference", + "float-cmp 0.8.0", + "normalize-line-endings", + "predicates-core", + "regex", +] + +[[package]] +name = "predicates" +version = "2.1.5" +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]] +name = "predicates-core" +version = "1.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b794032607612e7abeb4db69adb4e33590fa6cf1149e95fd7cb00e634b92f174" + +[[package]] +name = "predicates-tree" +version = "1.0.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "368ba315fb8c5052ab692e68a0eefec6ec57b23a36959c14496f0b0df2c0cecf" +dependencies = [ + "predicates-core", + "termtree", +] + +[[package]] +name = "prefix_index" +version = "0.5.0" +dependencies = [ + "hdk", + "rand 0.8.5", + "serde", +] + +[[package]] +name = "pretty_assertions" +version = "0.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1cab0e7c02cf376875e9335e0ba1da535775beb5450d21e1dffca068818ed98b" +dependencies = [ + "ansi_term", + "ctor", + "diff", + "output_vt100", +] + +[[package]] +name = "pretty_assertions" +version = "1.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "af7cee1a6c8a5b9208b3cb1061f10c0cb689087b3d8ce85fb9d2dd7a29b6ba66" +dependencies = [ + "diff", + "yansi", +] + +[[package]] +name = "proc-macro-crate" +version = "1.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f4c021e1093a56626774e81216a4ce732a735e5bad4868a03f3ed65ca0c3919" +dependencies = [ + "once_cell", + "toml_edit 0.19.15", +] + +[[package]] +name = "proc-macro-error" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c" +dependencies = [ + "proc-macro-error-attr", + "proc-macro2", + "quote", + "syn 1.0.109", + "version_check", +] + +[[package]] +name = "proc-macro-error-attr" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869" +dependencies = [ + "proc-macro2", + "quote", + "version_check", +] + +[[package]] +name = "proc-macro2" +version = "1.0.70" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "39278fbbf5fb4f646ce651690877f89d1c5811a3d4acb27700c1cb3cdb78fd3b" +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" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0738ccf7ea06b608c10564b31debd4f5bc5e197fc8bfe088f68ae5ce81e7a4f1" +dependencies = [ + "ptr_meta_derive", +] + +[[package]] +name = "ptr_meta_derive" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "16b845dbfca988fa33db069c0e230574d15a3088f147a87b64c7589eb662c9ac" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "quanta" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d98dc777a7a39b76b1a26ae9d3f691f4c1bc0455090aa0b64dfa8cb7fc34c135" +dependencies = [ + "libc", + "winapi 0.3.9", +] + +[[package]] +name = "quick-error" +version = "1.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0" + +[[package]] +name = "quick-xml" +version = "0.26.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f50b1c63b38611e7d4d7f68b82d3ad0cc71a2ad2e7f61fc10f1328d917c93cd" +dependencies = [ + "memchr", +] + +[[package]] +name = "quinn" +version = "0.8.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5b435e71d9bfa0d8889927231970c51fb89c58fa63bffcab117c9c7a41e5ef8f" +dependencies = [ + "bytes", + "futures-channel", + "futures-util", + "fxhash", + "quinn-proto", + "quinn-udp", + "rustls", + "thiserror", + "tokio", + "tracing", + "webpki", +] + +[[package]] +name = "quinn-proto" +version = "0.8.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3fce546b9688f767a57530652488420d419a8b1f44a478b451c3d1ab6d992a55" +dependencies = [ + "bytes", + "fxhash", + "rand 0.8.5", + "ring", + "rustls", + "rustls-native-certs", + "rustls-pemfile 0.2.1", + "slab", + "thiserror", + "tinyvec", + "tracing", + "webpki", +] + +[[package]] +name = "quinn-udp" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b07946277141531aea269befd949ed16b2c85a780ba1043244eda0969e538e54" +dependencies = [ + "futures-util", + "libc", + "quinn-proto", + "socket2 0.4.10", + "tokio", + "tracing", +] + +[[package]] +name = "quote" +version = "1.0.33" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5267fca4496028628a95160fc423a33e8b2e6af8a5302579e322e4b520293cae" +dependencies = [ + "proc-macro2", +] + +[[package]] +name = "r2d2" +version = "0.8.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "51de85fb3fb6524929c8a2eb85e6b6d363de4e8c48f9e2c2eac4944abc181c93" +dependencies = [ + "log", + "parking_lot 0.12.1", + "scheduled-thread-pool", +] + +[[package]] +name = "r2d2_sqlite_neonphog" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4d1e95b387a49ce52c5e4994fbe18af7b6cd52510f74c9a243b12abfc207f49c" +dependencies = [ + "r2d2", + "rusqlite", +] + +[[package]] +name = "rand" +version = "0.4.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "552840b97013b1a26992c11eac34bdd778e464601a4c2054b5f0bff7c6761293" +dependencies = [ + "fuchsia-cprng", + "libc", + "rand_core 0.3.1", + "rdrand", + "winapi 0.3.9", +] + +[[package]] +name = "rand" +version = "0.6.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d71dacdc3c88c1fde3885a3be3fbab9f35724e6ce99467f7d9c5026132184ca" +dependencies = [ + "autocfg 0.1.8", + "libc", + "rand_chacha 0.1.1", + "rand_core 0.4.2", + "rand_hc 0.1.0", + "rand_isaac", + "rand_jitter", + "rand_os", + "rand_pcg", + "rand_xorshift", + "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" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" +dependencies = [ + "libc", + "rand_chacha 0.3.1", + "rand_core 0.6.4", +] + +[[package]] +name = "rand-utf8" +version = "0.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d0f2017cdc22f0f49fc0385c036847c03403fa5f95bc36e7f420e8e42446e80f" +dependencies = [ + "rand 0.8.5", +] + +[[package]] +name = "rand_chacha" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "556d3a1ca6600bfcbab7c7c91ccb085ac7fbbcd70e008a98742e7847f4f7bcef" +dependencies = [ + "autocfg 0.1.8", + "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" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" +dependencies = [ + "ppv-lite86", + "rand_core 0.6.4", +] + +[[package]] +name = "rand_core" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7a6fdeb83b075e8266dcc8762c22776f6877a63111121f5f8c7411e5be7eed4b" +dependencies = [ + "rand_core 0.4.2", +] + +[[package]] +name = "rand_core" +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", +] + +[[package]] +name = "rand_distr" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32cb0b9bc82b0a0876c2dd994a7e7a2683d3e7390ca40e6886785ef0c7e3ee31" +dependencies = [ + "num-traits", + "rand 0.8.5", +] + +[[package]] +name = "rand_hc" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7b40677c7be09ae76218dc623efbf7b18e34bced3f38883af07bb75630a21bc4" +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" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ded997c9d5f13925be2a6fd7e66bf1872597f759fd9dd93513dd7e92e5a5ee08" +dependencies = [ + "rand_core 0.3.1", +] + +[[package]] +name = "rand_jitter" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1166d5c91dc97b88d1decc3285bb0a99ed84b05cfd0bc2341bdf2d43fc41e39b" +dependencies = [ + "libc", + "rand_core 0.4.2", + "winapi 0.3.9", +] + +[[package]] +name = "rand_os" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7b75f676a1e053fc562eafbb47838d67c84801e38fc1ba459e8f180deabd5071" +dependencies = [ + "cloudabi", + "fuchsia-cprng", + "libc", + "rand_core 0.4.2", + "rdrand", + "winapi 0.3.9", +] + +[[package]] +name = "rand_pcg" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "abf9b09b01790cfe0364f52bf32995ea3c39f4d2dd011eac241d2914146d0b44" +dependencies = [ + "autocfg 0.1.8", + "rand_core 0.4.2", +] + +[[package]] +name = "rand_xorshift" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cbf7e9e623549b0e21f6e97cf8ecf247c1a8fd2e8a992ae265314300b2455d5c" +dependencies = [ + "rand_core 0.3.1", +] + +[[package]] +name = "rawpointer" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "60a357793950651c4ed0f3f52338f53b2f809f32d83a07f72909fa13e4c6c1e3" + +[[package]] +name = "rayon" +version = "1.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d2df5196e37bcc87abebc0053e20787d73847bb33134a69841207dd0a47f03b" +dependencies = [ + "either", + "rayon-core", +] + +[[package]] +name = "rayon-core" +version = "1.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4b8f95bd6966f5c87776639160a66bd8ab9895d9d4ab01ddba9fc60661aebe8d" +dependencies = [ + "crossbeam-channel", + "crossbeam-deque", + "crossbeam-utils", + "num_cpus", +] + +[[package]] +name = "rcgen" +version = "0.9.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6413f3de1edee53342e6138e75b56d32e7bc6e332b3bd62d497b1929d4cfbcdd" +dependencies = [ + "pem", + "ring", + "time 0.3.23", + "yasna", +] + +[[package]] +name = "rcgen" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ffbe84efe2f38dea12e9bfc1f65377fdf03e53a18cb3b995faedf7934c7e785b" +dependencies = [ + "pem", + "ring", + "time 0.3.23", + "yasna", + "zeroize", +] + +[[package]] +name = "rdrand" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "678054eb77286b51581ba43620cc911abf02758c91f93f479767aed0f90458b2" +dependencies = [ + "rand_core 0.3.1", +] + +[[package]] +name = "redox_syscall" +version = "0.1.57" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41cc0f7e4d5d4544e8861606a285bb08d3e70712ccc7d2b84d7c0ccfaf4b05ce" + +[[package]] +name = "redox_syscall" +version = "0.2.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a" +dependencies = [ + "bitflags 1.3.2", +] + +[[package]] +name = "redox_syscall" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4722d768eff46b75989dd134e5c353f0d6296e5aaa3132e776cbdb56be7731aa" +dependencies = [ + "bitflags 1.3.2", +] + +[[package]] +name = "redox_users" +version = "0.4.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a18479200779601e498ada4e8c1e1f50e3ee19deb0259c25825a98b5603b2cb4" +dependencies = [ + "getrandom 0.2.9", + "libredox", + "thiserror", +] + +[[package]] +name = "regalloc" +version = "0.0.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "62446b1d3ebf980bdc68837700af1d77b37bc430e524bf95319c6eada2a4cc02" +dependencies = [ + "log", + "rustc-hash", + "smallvec 1.10.0", +] + +[[package]] +name = "regex" +version = "1.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "af83e617f331cc6ae2da5443c602dfa5af81e517212d9d611a5b3ba1777b5370" +dependencies = [ + "aho-corasick", + "memchr", + "regex-syntax 0.7.1", +] + +[[package]] +name = "regex-automata" +version = "0.1.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132" +dependencies = [ + "regex-syntax 0.6.29", +] + +[[package]] +name = "regex-syntax" +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" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "76e189c2369884dce920945e2ddf79b3dff49e071a167dd1817fa9c4c00d512e" +dependencies = [ + "bitflags 1.3.2", + "libc", + "mach", + "winapi 0.3.9", +] + +[[package]] +name = "rend" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "581008d2099240d37fb08d77ad713bcaec2c4d89d50b5b21a8bb1996bbab68ab" +dependencies = [ + "bytecheck", +] + +[[package]] +name = "reqwest" +version = "0.11.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "13293b639a097af28fc8a90f22add145a9c954e49d77da06263d58cf44d5fb91" +dependencies = [ + "base64 0.21.5", + "bytes", + "encoding_rs", + "futures-core", + "futures-util", + "h2", + "http", + "http-body", + "hyper", + "hyper-rustls", + "hyper-tls", + "ipnet", + "js-sys", + "log", + "mime", + "native-tls", + "once_cell", + "percent-encoding 2.3.1", + "pin-project-lite", + "rustls", + "rustls-pemfile 1.0.4", + "serde", + "serde_json", + "serde_urlencoded", + "tokio", + "tokio-native-tls", + "tokio-rustls", + "tokio-util", + "tower-service", + "url 2.5.0", + "wasm-bindgen", + "wasm-bindgen-futures", + "wasm-streams", + "web-sys", + "webpki-roots 0.22.6", + "winreg", +] + +[[package]] +name = "rgb" +version = "0.8.37" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "05aaa8004b64fd573fc9d002f4e632d51ad4f026c2b5ba95fcb6c2f32c2c47d8" +dependencies = [ + "bytemuck", +] + +[[package]] +name = "ring" +version = "0.16.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3053cf52e236a3ed746dfc745aa9cacf1b791d846bdaf412f60a8d7d6e17c8fc" +dependencies = [ + "cc", + "libc", + "once_cell", + "spin 0.5.2", + "untrusted", + "web-sys", + "winapi 0.3.9", +] + +[[package]] +name = "rkyv" +version = "0.7.41" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "21499ed91807f07ae081880aabb2ccc0235e9d88011867d984525e9a4c3cfa3e" +dependencies = [ + "bytecheck", + "hashbrown 0.12.3", + "ptr_meta", + "rend", + "rkyv_derive", + "seahash", +] + +[[package]] +name = "rkyv_derive" +version = "0.7.41" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ac1c672430eb41556291981f45ca900a0239ad007242d1cb4b4167af842db666" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "rle-decode-fast" +version = "1.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3582f63211428f83597b51b2ddb88e2a91a9d52d12831f9d08f5e624e8977422" + +[[package]] +name = "rmp" +version = "0.8.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "44519172358fd6d58656c86ab8e7fbc9e1490c3e8f14d35ed78ca0dd07403c9f" +dependencies = [ + "byteorder", + "num-traits", + "paste", +] + +[[package]] +name = "rmp-serde" +version = "0.15.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "723ecff9ad04f4ad92fe1c8ca6c20d2196d9286e9c60727c4cb5511629260e9d" +dependencies = [ + "byteorder", + "rmp", + "serde", +] + +[[package]] +name = "rmp-serde" +version = "1.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bffea85eea980d8a74453e5d02a8d93028f3c34725de143085a844ebe953258a" +dependencies = [ + "byteorder", + "rmp", + "serde", +] + +[[package]] +name = "rmpv" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "de8813b3a2f95c5138fe5925bfb8784175d88d6bff059ba8ce090aa891319754" +dependencies = [ + "num-traits", + "rmp", + "serde", + "serde_bytes", +] + +[[package]] +name = "rpassword" +version = "5.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ffc936cf8a7ea60c58f030fd36a612a48f440610214dc54bc36431f9ea0c3efb" +dependencies = [ + "libc", + "winapi 0.3.9", +] + +[[package]] +name = "rpassword" +version = "7.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "80472be3c897911d0137b2d2b9055faf6eeac5b14e324073d83bc17b191d7e3f" +dependencies = [ + "libc", + "rtoolbox", + "windows-sys 0.48.0", +] + +[[package]] +name = "rtoolbox" +version = "0.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c247d24e63230cdb56463ae328478bd5eac8b8faa8c69461a77e8e323afac90e" +dependencies = [ + "libc", + "windows-sys 0.48.0", +] + +[[package]] +name = "rusqlite" +version = "0.29.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "549b9d036d571d42e6e85d1c1425e2ac83491075078ca9a15be021c56b1641f2" +dependencies = [ + "bitflags 2.4.1", + "fallible-iterator", + "fallible-streaming-iterator", + "hashlink", + "libsqlite3-sys", + "smallvec 1.10.0", +] + +[[package]] +name = "rustc-demangle" +version = "0.1.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d626bb9dae77e28219937af045c257c28bfd3f69333c512553507f5f9798cb76" + +[[package]] +name = "rustc-hash" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" + +[[package]] +name = "rustc_version" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366" +dependencies = [ + "semver 1.0.17", +] + +[[package]] +name = "rustix" +version = "0.37.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8bbfc1d1c7c40c01715f47d71444744a81669ca84e8b63e25a55e169b1f86433" +dependencies = [ + "bitflags 1.3.2", + "errno", + "io-lifetimes", + "libc", + "linux-raw-sys 0.3.6", + "windows-sys 0.48.0", +] + +[[package]] +name = "rustix" +version = "0.38.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72e572a5e8ca657d7366229cdde4bd14c4eb5499a9573d4d366fe1b599daa316" +dependencies = [ + "bitflags 2.4.1", + "errno", + "libc", + "linux-raw-sys 0.4.12", + "windows-sys 0.52.0", +] + +[[package]] +name = "rustls" +version = "0.20.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1b80e3dec595989ea8510028f30c408a4630db12c9cbb8de34203b89d6577e99" +dependencies = [ + "log", + "ring", + "sct", + "webpki", +] + +[[package]] +name = "rustls-native-certs" +version = "0.6.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a9aace74cb666635c918e9c12bc0d348266037aa8eb599b5cba565709a8dff00" +dependencies = [ + "openssl-probe", + "rustls-pemfile 1.0.4", + "schannel", + "security-framework", +] + +[[package]] +name = "rustls-pemfile" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5eebeaeb360c87bfb72e84abdb3447159c0eaececf1bef2aecd65a8be949d1c9" +dependencies = [ + "base64 0.13.1", +] + +[[package]] +name = "rustls-pemfile" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1c74cae0a4cf6ccbbf5f359f08efdf8ee7e1dc532573bf0db71968cb56b1448c" +dependencies = [ + "base64 0.21.5", +] + +[[package]] +name = "rustls-webpki" +version = "0.100.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5f6a5fc258f1c1276dfe3016516945546e2d5383911efc0fc4f1cdc5df3a4ae3" +dependencies = [ + "ring", + "untrusted", +] + +[[package]] +name = "rustversion" +version = "1.0.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4f3208ce4d8448b3f3e7d168a73f5e0c43a61e32930de3bceeccedb388b6bf06" + +[[package]] +name = "ryu" +version = "1.0.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f91339c0467de62360649f8d3e185ca8de4224ff281f66000de5eb2a77a79041" + +[[package]] +name = "same-file" +version = "1.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" +dependencies = [ + "winapi-util", +] + +[[package]] +name = "schannel" +version = "0.1.22" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c3733bf4cf7ea0880754e19cb5a462007c4a8c1914bff372ccc95b464f1df88" +dependencies = [ + "windows-sys 0.48.0", +] + +[[package]] +name = "scheduled-thread-pool" +version = "0.2.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3cbc66816425a074528352f5789333ecff06ca41b36b0b0efdfbb29edc391a19" +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" +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" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d53dcdb7c9f8158937a7981b48accfd39a43af418591a5d008c7b22b5e1b7ca4" +dependencies = [ + "ring", + "untrusted", +] + +[[package]] +name = "sd-notify" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0cd08a21f852bd2fe42e3b2a6c76a0db6a95a5b5bd29c0521dd0b30fa1712ec8" + +[[package]] +name = "seahash" +version = "4.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1c107b6f4780854c8b126e228ea8869f4d7b71260f962fefb57b996b8959ba6b" + +[[package]] +name = "security-framework" +version = "2.9.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "05b64fb303737d99b81884b2c63433e9ae28abebe5eb5045dcdd175dc2ecf4de" +dependencies = [ + "bitflags 1.3.2", + "core-foundation", + "core-foundation-sys", + "libc", + "security-framework-sys", +] + +[[package]] +name = "security-framework-sys" +version = "2.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e932934257d3b408ed8f30db49d85ea163bfe74961f017f405b025af298f0c7a" +dependencies = [ + "core-foundation-sys", + "libc", +] + +[[package]] +name = "semver" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f301af10236f6df4160f7c3f04eec6dbc70ace82d23326abad5edee88801c6b6" +dependencies = [ + "semver-parser", +] + +[[package]] +name = "semver" +version = "1.0.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bebd363326d05ec3e2f532ab7660680f3b02130d780c299bca73469d521bc0ed" +dependencies = [ + "serde", +] + +[[package]] +name = "semver-parser" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "00b0bef5b7f9e0df16536d3961cfb6e84331c065b4066afb39768d0e319411f7" +dependencies = [ + "pest", +] + +[[package]] +name = "serde" +version = "1.0.166" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d01b7404f9d441d3ad40e6a636a7782c377d2abdbe4fa2440e2edcc2f4f10db8" +dependencies = [ + "serde_derive", +] + +[[package]] +name = "serde-transcode" +version = "1.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "590c0e25c2a5bb6e85bf5c1bce768ceb86b316e7a01bdf07d2cb4ec2271990e2" +dependencies = [ "serde", - "serde_bytes", - "subtle", - "thiserror", - "tracing", ] [[package]] -name = "home" -version = "0.5.5" +name = "serde_bytes" +version = "0.11.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5444c27eef6923071f7ebcc33e3444508466a76f7a2b93da00ed6e19f30c1ddb" +checksum = "416bda436f9aab92e02c8e10d49a15ddd339cea90b6e340fe51ed97abb548294" dependencies = [ - "windows-sys 0.48.0", + "serde", ] [[package]] -name = "iana-time-zone" -version = "0.1.56" +name = "serde_derive" +version = "1.0.166" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0722cd7114b7de04316e7ea5456a0bbb20e4adb46fd27a3697adb812cff0f37c" +checksum = "5dd83d6dde2b6b2d466e14d9d1acce8816dedee94f735eac6395808b3483c6d6" dependencies = [ - "android_system_properties", - "core-foundation-sys", - "iana-time-zone-haiku", - "js-sys", - "wasm-bindgen", - "windows", + "proc-macro2", + "quote", + "syn 2.0.41", ] [[package]] -name = "iana-time-zone-haiku" -version = "0.1.1" +name = "serde_json" +version = "1.0.96" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0703ae284fc167426161c2e3f1da3ea71d94b21bedbcc9494e92b28e334e3dca" +checksum = "057d394a50403bcac12672b2b18fb387ab6d289d957dab67dd201875391e52f1" dependencies = [ - "cxx", - "cxx-build", + "indexmap 1.9.3", + "itoa", + "ryu", + "serde", ] [[package]] -name = "ident_case" -version = "1.0.1" +name = "serde_spanned" +version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39" +checksum = "12022b835073e5b11e90a14f86838ceb1c8fb0325b72416845c487ac0fa95e80" +dependencies = [ + "serde", +] [[package]] -name = "if_chain" -version = "1.0.2" +name = "serde_urlencoded" +version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb56e1aa765b4b4f3aadfab769793b7087bb03a4ea4920644a6d238e2df5b9ed" +checksum = "d3491c14715ca2294c4d6a88f15e84739788c1d030eed8c110436aafdaa2f3fd" +dependencies = [ + "form_urlencoded", + "itoa", + "ryu", + "serde", +] [[package]] -name = "indexmap" -version = "1.9.3" +name = "serde_with" +version = "1.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99" +checksum = "678b5a069e50bf00ecd22d0cd8ddf7c236f68581b03db652061ed5eb13a312ff" dependencies = [ - "autocfg", - "hashbrown 0.12.3", "serde", + "serde_with_macros", ] [[package]] -name = "instant" -version = "0.1.12" +name = "serde_with_macros" +version = "1.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c" +checksum = "e182d6ec6f05393cc0e5ed1bf81ad6db3a8feedf8ee515ecdd369809bcce8082" dependencies = [ - "cfg-if 1.0.0", + "darling 0.13.4", + "proc-macro2", + "quote", + "syn 1.0.109", ] [[package]] -name = "intervallum" -version = "1.4.0" +name = "serde_yaml" +version = "0.9.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8ccecd834666f695ecec3ff0d5fc32e32c91abea91a28fd0aceb4b35a82cee1" +checksum = "1a49e178e4452f45cb61d0cd8cebc1b0fafd3e41929e996cef79aa3aca91f574" dependencies = [ - "bit-set", - "gcollections", - "num-integer", - "num-traits", - "trilean", + "indexmap 2.1.0", + "itoa", + "ryu", + "serde", + "unsafe-libyaml", ] [[package]] -name = "io-lifetimes" -version = "1.0.10" +name = "sha-1" +version = "0.9.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c66c74d2ae7e79a5a8f7ac924adbe38ee42a859c6539ad869eb51f0b52dc220" +checksum = "99cd6713db3cf16b6c84e06321e049a9b9f699826e16096d23bbcc44d15d51a6" dependencies = [ - "hermit-abi 0.3.1", - "libc", - "windows-sys 0.48.0", + "block-buffer 0.9.0", + "cfg-if 1.0.0", + "cpufeatures", + "digest 0.9.0", + "opaque-debug", ] [[package]] -name = "itertools" -version = "0.8.2" +name = "sha-1" +version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f56a2d0bc861f9165be4eb3442afd3c236d8a98afd426f65d92324ae1091a484" +checksum = "f5058ada175748e33390e40e872bd0fe59a19f265d0158daa551c5a88a76009c" dependencies = [ - "either", + "cfg-if 1.0.0", + "cpufeatures", + "digest 0.10.7", ] [[package]] -name = "itoa" -version = "1.0.6" +name = "sha1" +version = "0.10.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "453ad9f582a441959e5f0d088b02ce04cfe8d51a8eaf077f12ac6d3e94164ca6" +checksum = "e3bf829a2d51ab4a5ddf1352d8470c140cadc8301b2ae1789db023f01cedd6ba" +dependencies = [ + "cfg-if 1.0.0", + "cpufeatures", + "digest 0.10.7", +] [[package]] -name = "js-sys" -version = "0.3.61" +name = "sha2" +version = "0.10.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "445dde2150c55e483f3d8416706b97ec8e8237c307e5b7b4b8dd15e6af2a0730" +checksum = "793db75ad2bcafc3ffa7c68b215fee268f537982cd901d132f89c6343f3a3dc8" dependencies = [ - "wasm-bindgen", + "cfg-if 1.0.0", + "cpufeatures", + "digest 0.10.7", ] [[package]] -name = "kitsune_p2p_bin_data" -version = "0.2.4" +name = "sharded-slab" +version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26a444a4508397be02027442fa3bc106db8a8ff79a02e680a652146ef07802aa" +checksum = "f40ca3c46823713e0d4209592e8d6e826aa57e928f09752619fc696c499637f6" dependencies = [ - "base64", - "derive_more", - "holochain_util", - "kitsune_p2p_dht_arc", - "serde", - "serde_bytes", - "shrinkwraprs", + "lazy_static", ] [[package]] -name = "kitsune_p2p_block" -version = "0.2.4" +name = "shrinkwraprs" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c49c5cde7b3a68e0c8759a4be3820af90a0e79d5697254538d183823ecada823" +checksum = "e63e6744142336dfb606fe2b068afa2e1cca1ee6a5d8377277a92945d81fa331" dependencies = [ - "kitsune_p2p_bin_data", - "kitsune_p2p_timestamp", - "serde", - "serde_bytes", + "bitflags 1.3.2", + "itertools 0.8.2", + "proc-macro2", + "quote", + "syn 1.0.109", ] [[package]] -name = "kitsune_p2p_dht" -version = "0.2.4" +name = "signal-hook" +version = "0.3.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea8a9866ba8cb51f443aeda15646d0cc6ea35eac7dc82e2ca3e101e2089ed109" +checksum = "8621587d4798caf8eb44879d42e56b9a93ea5dcd315a6487c357130095b62801" dependencies = [ - "colored", - "derivative", - "derive_more", - "futures", - "gcollections", - "intervallum", - "kitsune_p2p_dht_arc", - "kitsune_p2p_timestamp", - "must_future", - "num-traits", - "once_cell", - "rand", - "serde", - "statrs", - "thiserror", - "tracing", + "libc", + "signal-hook-registry", ] [[package]] -name = "kitsune_p2p_dht_arc" -version = "0.2.4" +name = "signal-hook-registry" +version = "1.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c6ab2c05e469ccade1e6a3f50138998148ff25330d83a4a334516fd0daec35c7" +checksum = "d8229b473baa5980ac72ef434c4415e70c4b5e71b423043adb4ba059f89c99a1" dependencies = [ - "derive_more", - "gcollections", - "intervallum", - "num-traits", - "serde", + "libc", ] [[package]] -name = "kitsune_p2p_timestamp" -version = "0.2.4" +name = "simba" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f1b199e027c58d7cd55530431dddbdfe622258fda3e9aa0b61b4e938fcf463d" +checksum = "8e82063457853d00243beda9952e910b82593e4b07ae9f721b9278a99a0d3d5c" dependencies = [ - "chrono", - "derive_more", - "serde", + "approx", + "num-complex", + "num-traits", + "paste", ] [[package]] -name = "lazy_static" -version = "1.4.0" +name = "simdutf8" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" +checksum = "f27f6278552951f1f2b8cf9da965d10969b2efdea95a6ec47987ab46edfe263a" [[package]] -name = "leb128" -version = "0.2.5" +name = "siphasher" +version = "0.3.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "884e2677b40cc8c339eaefcb701c32ef1fd2493d71118dc0ca4b6a736c93bd67" +checksum = "38b58827f4464d87d377d175e90bf58eb00fd8716ff0a62f80356b5e61555d0d" +dependencies = [ + "serde", +] [[package]] -name = "libc" -version = "0.2.142" +name = "slab" +version = "0.4.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a987beff54b60ffa6d51982e1aa1146bc42f19bd26be28b0586f252fccf5317" +checksum = "6528351c9bc8ab22353f9d776db39a20288e8d6c37ef8cfe3317cf875eecfc2d" +dependencies = [ + "autocfg 1.1.0", +] [[package]] -name = "libloading" -version = "0.7.4" +name = "smallvec" +version = "0.6.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b67380fd3b2fbe7527a606e18729d21c6f3951633d0500574c4dc22d2d638b9f" +checksum = "b97fcaeba89edba30f044a10c6a3cc39df9c3f17d7cd829dd1446cab35f890e0" dependencies = [ - "cfg-if 1.0.0", - "winapi", + "maybe-uninit", ] [[package]] -name = "libm" -version = "0.2.7" +name = "smallvec" +version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7012b1bbb0719e1097c47611d3898568c546d597c2e74d66f6087edd5233ff4" +checksum = "a507befe795404456341dfab10cef66ead4c041f62b8b11bbb92bffe5d0953e0" [[package]] -name = "link-cplusplus" -version = "1.0.8" +name = "socket2" +version = "0.4.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ecd207c9c713c34f95a097a5b029ac2ce6010530c7b49d7fea24d977dede04f5" +checksum = "9f7916fc008ca5542385b89a3d3ce689953c143e9304a9bf8beec1de48994c0d" dependencies = [ - "cc", + "libc", + "winapi 0.3.9", ] [[package]] -name = "linux-raw-sys" -version = "0.3.6" +name = "socket2" +version = "0.5.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b64f40e5e03e0d54f03845c8197d0291253cdbedfb1cb46b13c2c117554a9f4c" +checksum = "7b5fac59a5cb5dd637972e5fca70daf0523c9067fcdc4842f053dae04a18f8e9" +dependencies = [ + "libc", + "windows-sys 0.48.0", +] [[package]] -name = "lock_api" -version = "0.4.9" +name = "sodoken" +version = "0.0.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "435011366fe56583b16cf956f9df0095b405b82d76425bc8981c0e22e60ec4df" +checksum = "4ebd7d30290221181652f7a08112f5e7871e3deffde718dfa621025aa0e9c290" dependencies = [ - "autocfg", - "scopeguard", + "libc", + "libsodium-sys-stable", + "num_cpus", + "once_cell", + "one_err", + "parking_lot 0.12.1", + "tokio", ] [[package]] -name = "log" -version = "0.4.17" +name = "spin" +version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "abb12e687cfb44aa40f41fc3978ef76448f9b6038cad6aef4259d3c095a2382e" -dependencies = [ - "cfg-if 1.0.0", -] +checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d" [[package]] -name = "loupe" -version = "0.1.3" +name = "spin" +version = "0.9.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b6a72dfa44fe15b5e76b94307eeb2ff995a8c5b283b55008940c02e0c5b634d" +checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67" + +[[package]] +name = "sqlformat" +version = "0.1.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b4b7922be017ee70900be125523f38bdd644f4f06a1b16e8fa5a8ee8c34bffd4" dependencies = [ - "indexmap", - "loupe-derive", - "rustversion", + "itertools 0.10.5", + "nom 7.1.3", + "unicode_categories", ] [[package]] -name = "loupe-derive" -version = "0.1.3" +name = "sqlformat" +version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0fbfc88337168279f2e9ae06e157cfed4efd3316e14dc96ed074d4f2e6c5952" +checksum = "ce81b7bd7c4493975347ef60d8c7e8b742d4694f4c49f93e0a12ea263938176c" dependencies = [ - "quote", - "syn 1.0.109", + "itertools 0.12.0", + "nom 7.1.3", + "unicode_categories", ] [[package]] -name = "mach" -version = "0.3.2" +name = "stable_deref_trait" +version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b823e83b2affd8f40a9ee8c29dbc56404c1e34cd2710921f2801e2cf29527afa" +checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" + +[[package]] +name = "statrs" +version = "0.15.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "05bdbb8e4e78216a85785a85d3ec3183144f98d0097b9281802c019bb07a6f05" dependencies = [ - "libc", + "approx", + "lazy_static", + "nalgebra", + "num-traits", + "rand 0.8.5", ] [[package]] -name = "matrixmultiply" -version = "0.3.7" +name = "str_stack" +version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "090126dc04f95dc0d1c1c91f61bdd474b3930ca064c1edc8a849da2c6cbe1e77" +checksum = "9091b6114800a5f2141aee1d1b9d6ca3592ac062dc5decb3764ec5895a47b4eb" + +[[package]] +name = "stream-cancel" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7b0a9eb2715209fb8cc0d942fcdff45674bfc9f0090a0d897e85a22955ad159b" dependencies = [ - "autocfg", - "rawpointer", + "futures-core", + "pin-project", + "tokio", ] [[package]] -name = "memchr" -version = "2.5.0" +name = "strsim" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d" +checksum = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a" [[package]] -name = "memmap2" -version = "0.5.10" +name = "strsim" +version = "0.9.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83faa42c0a078c393f6b29d5db232d8be22776a891f8f56e5284faee4a20b327" -dependencies = [ - "libc", -] +checksum = "6446ced80d6c486436db5c078dde11a9f73d42b57fb273121e160b84f63d894c" [[package]] -name = "memoffset" -version = "0.6.5" +name = "strsim" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5aa361d4faea93603064a027415f07bd8e1d5c88c9fbf68bf56a285428fd79ce" -dependencies = [ - "autocfg", -] +checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" [[package]] -name = "memoffset" -version = "0.8.0" +name = "structopt" +version = "0.3.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d61c719bcfbcf5d62b3a09efa6088de8c54bc0bfcd3ea7ae39fcc186108b8de1" +checksum = "0c6b5c64445ba8094a6ab0c3cd2ad323e07171012d9c98b0b15651daf1787a10" dependencies = [ - "autocfg", + "clap 2.34.0", + "lazy_static", + "structopt-derive", ] [[package]] -name = "miniz_oxide" -version = "0.6.2" +name = "structopt-derive" +version = "0.4.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b275950c28b37e794e8c55d88aeb5e139d0ce23fdbbeda68f8d7174abdf9e8fa" +checksum = "dcb5ae327f9cc13b68763b5749770cb9e048a99bd9dfdfa58d0cf05d5f64afe0" dependencies = [ - "adler", + "heck 0.3.3", + "proc-macro-error", + "proc-macro2", + "quote", + "syn 1.0.109", ] [[package]] -name = "more-asserts" -version = "0.2.2" +name = "strum" +version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7843ec2de400bcbc6a6328c958dc38e5359da6e93e72e37bc5246bf1ae776389" +checksum = "57bd81eb48f4c437cadc685403cad539345bf703d78e63707418431cecd4522b" [[package]] -name = "must_future" -version = "0.1.2" +name = "strum_macros" +version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a160ffed3c2f98d2906c67a9b6e4e1f09cca7e17e3f780286a349061459eeebe" +checksum = "87c85aa3f8ea653bfd3ddf25f7ee357ee4d204731f6aa9ad04002306f6e2774c" dependencies = [ - "futures", - "pin-utils", + "heck 0.3.3", + "proc-macro2", + "quote", + "syn 1.0.109", ] [[package]] -name = "nalgebra" -version = "0.27.1" +name = "strum_macros" +version = "0.24.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "462fffe4002f4f2e1f6a9dcf12cc1a6fc0e15989014efc02a941d3e0f5dc2120" +checksum = "1e385be0d24f186b4ce2f9982191e7101bb737312ad61c1f2f984f34bcf85d59" dependencies = [ - "approx", - "matrixmultiply", - "nalgebra-macros", - "num-complex", - "num-rational", - "num-traits", - "rand", - "rand_distr", - "simba", - "typenum", + "heck 0.4.1", + "proc-macro2", + "quote", + "rustversion", + "syn 1.0.109", ] [[package]] -name = "nalgebra-macros" -version = "0.1.0" +name = "subprocess" +version = "0.2.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01fcc0b8149b4632adc89ac3b7b31a12fb6099a0317a4eb2ebff574ef7de7218" +checksum = "0c2e86926081dda636c546d8c5e641661049d7562a68f5488be4a1f7f66f6086" dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", + "libc", + "winapi 0.3.9", ] [[package]] -name = "num-complex" -version = "0.4.3" +name = "subtle" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "02e0d21255c828d6f128a1e41534206671e8c3ea0c62f32291e808dc82cff17d" +checksum = "81cdd64d312baedb58e21336b31bc043b77e01cc99033ce76ef539f78e965ebc" + +[[package]] +name = "subtle-encoding" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7dcb1ed7b8330c5eed5441052651dd7a12c75e2ed88f2ec024ae1fa3a5e59945" dependencies = [ - "num-traits", + "zeroize", ] [[package]] -name = "num-integer" -version = "0.1.45" +name = "syn" +version = "1.0.109" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "225d3389fb3509a24c93f5c29eb6bde2586b98d9f016636dff58d7c6f7569cd9" +checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" dependencies = [ - "autocfg", - "num-traits", + "proc-macro2", + "quote", + "unicode-ident", ] [[package]] -name = "num-rational" -version = "0.4.1" +name = "syn" +version = "2.0.41" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0638a1c9d0a3c0914158145bc76cff373a75a627e6ecbfb71cbe6f453a5a19b0" +checksum = "44c8b28c477cc3bf0e7966561e3460130e1255f7a1cf71931075f1c5e7a7e269" dependencies = [ - "autocfg", - "num-integer", - "num-traits", + "proc-macro2", + "quote", + "unicode-ident", ] [[package]] -name = "num-traits" -version = "0.2.15" +name = "synstructure" +version = "0.12.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "578ede34cf02f8924ab9447f50c28075b4d3e5b269972345e7e0372b38c6cdcd" +checksum = "f36bdaa60a83aca3921b5259d5400cbf5e90fc51931376a9bd4a0eb79aa7210f" dependencies = [ - "autocfg", - "libm", + "proc-macro2", + "quote", + "syn 1.0.109", + "unicode-xid", ] [[package]] -name = "num_cpus" -version = "1.15.0" +name = "sysinfo" +version = "0.27.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fac9e2da13b5eb447a6ce3d392f23a29d8694bff781bf03a16cd9ac8697593b" +checksum = "a902e9050fca0a5d6877550b769abd2bd1ce8c04634b941dbe2809735e1a1e33" dependencies = [ - "hermit-abi 0.2.6", + "cfg-if 1.0.0", + "core-foundation-sys", "libc", + "ntapi", + "once_cell", + "rayon", + "winapi 0.3.9", ] [[package]] -name = "object" +name = "sysinfo" version = "0.28.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e42c982f2d955fac81dd7e1d0e1426a7d702acd9c98d19ab01083a6a0328c424" +checksum = "b4c2f3ca6693feb29a89724516f016488e9aafc7f37264f898593ee4b942f31b" dependencies = [ - "crc32fast", - "hashbrown 0.11.2", - "indexmap", - "memchr", + "cfg-if 1.0.0", + "core-foundation-sys", + "libc", + "ntapi", + "once_cell", + "rayon", + "winapi 0.3.9", ] [[package]] -name = "object" -version = "0.30.3" +name = "tar" +version = "0.4.40" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea86265d3d3dcb6a27fc51bd29a4bf387fae9d2986b823079d4986af253eb439" +checksum = "b16afcea1f22891c49a00c751c7b63b2233284064f11a200fc624137c51e2ddb" dependencies = [ - "memchr", + "filetime", + "libc", + "xattr", ] [[package]] -name = "once_cell" -version = "1.17.1" +name = "target-lexicon" +version = "0.12.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b7e5500299e16ebb147ae15a00a942af264cf3688f47923b8fc2cd5858f23ad3" +checksum = "fd1ba337640d60c3e96bc6f0638a939b9c9a7f2c316a1598c279828b3d1dc8c5" [[package]] -name = "parking_lot" -version = "0.12.1" +name = "task-motel" +version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f" +checksum = "7228e85537ffb5943539a46bf561786323f6112114005ba055e496192a6f8f41" dependencies = [ - "lock_api", - "parking_lot_core", + "futures", + "parking_lot 0.12.1", + "tokio", + "tracing", ] [[package]] -name = "parking_lot_core" -version = "0.9.7" +name = "tempfile" +version = "3.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9069cbb9f99e3a5083476ccb29ceb1de18b9118cafa53e90c9551235de2b9521" +checksum = "7ef1adac450ad7f4b3c28589471ade84f25f731a7a0fe30d71dfa9f60fd808e5" dependencies = [ "cfg-if 1.0.0", - "libc", - "redox_syscall 0.2.16", - "smallvec", - "windows-sys 0.45.0", + "fastrand 2.0.1", + "redox_syscall 0.4.1", + "rustix 0.38.28", + "windows-sys 0.48.0", ] [[package]] -name = "paste" -version = "1.0.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f746c4065a8fa3fe23974dd82f15431cc8d40779821001404d10d2e79ca7d79" - -[[package]] -name = "pest" -version = "2.6.0" +name = "termcolor" +version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e68e84bfb01f0507134eac1e9b410a12ba379d064eab48c50ba4ce329a527b70" +checksum = "be55cf8942feac5c765c2c993422806843c9a9a45d4d5c407ad6dd2ea95eb9b6" dependencies = [ - "thiserror", - "ucd-trie", + "winapi-util", ] [[package]] -name = "pin-project-lite" -version = "0.2.9" +name = "terminal_size" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e0a7ae3ac2f1173085d398531c705756c94a4c56843785df85a60c1a0afac116" +checksum = "21bebf2b7c9e0a515f6e0f8c51dc0f8e4696391e6f1ff30379559f8365fb0df7" +dependencies = [ + "rustix 0.38.28", + "windows-sys 0.48.0", +] [[package]] -name = "pin-utils" -version = "0.1.0" +name = "termtree" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" +checksum = "3369f5ac52d5eb6ab48c6b4ffdc8efbcad6b89c765749064ba298f2c68a16a76" [[package]] -name = "ppv-lite86" -version = "0.2.17" +name = "test-fuzz" +version = "3.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" - -[[package]] -name = "prefix_index" -version = "0.5.0" +checksum = "125df852011c4f8f31df5620f4aea38ecddb5dfb4d9bc569b30485b15ffc3d4e" dependencies = [ - "hdk", - "rand", "serde", + "test-fuzz-internal", + "test-fuzz-macro", + "test-fuzz-runtime", ] [[package]] -name = "proc-macro-error" -version = "1.0.4" +name = "test-fuzz-internal" +version = "3.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c" +checksum = "58071dc2471840e9f374eeb0f6e405a31bccb3cc5d59bb4598f02cafc274b5c4" dependencies = [ - "proc-macro-error-attr", + "cargo_metadata", "proc-macro2", "quote", - "syn 1.0.109", - "version_check", + "serde", + "strum_macros 0.24.3", ] [[package]] -name = "proc-macro-error-attr" -version = "1.0.4" +name = "test-fuzz-macro" +version = "3.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869" +checksum = "856bbca0314c328004691b9c0639fb198ca764d1ce0e20d4dd8b78f2697c2a6f" dependencies = [ + "darling 0.14.4", + "if_chain", + "lazy_static", "proc-macro2", "quote", - "version_check", + "subprocess", + "syn 1.0.109", + "test-fuzz-internal", + "toolchain_find", + "unzip-n", ] [[package]] -name = "proc-macro2" -version = "1.0.70" +name = "test-fuzz-runtime" +version = "3.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "39278fbbf5fb4f646ce651690877f89d1c5811a3d4acb27700c1cb3cdb78fd3b" +checksum = "303774eb17994c2ddb59c460369f4c3a55496f013380278d78eeebd2deb896ac" dependencies = [ - "unicode-ident", + "bincode", + "hex", + "num-traits", + "serde", + "sha-1 0.10.1", + "test-fuzz-internal", ] [[package]] -name = "ptr_meta" -version = "0.1.4" +name = "textwrap" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0738ccf7ea06b608c10564b31debd4f5bc5e197fc8bfe088f68ae5ce81e7a4f1" +checksum = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060" dependencies = [ - "ptr_meta_derive", + "unicode-width", ] [[package]] -name = "ptr_meta_derive" -version = "0.1.4" +name = "textwrap" +version = "0.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "16b845dbfca988fa33db069c0e230574d15a3088f147a87b64c7589eb662c9ac" +checksum = "222a222a5bfe1bba4a77b45ec488a741b3cb8872e5e499451fd7d0129c9c7c3d" + +[[package]] +name = "thiserror" +version = "1.0.40" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "978c9a314bd8dc99be594bc3c175faaa9794be04a5a5e153caba6915336cebac" dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", + "thiserror-impl", ] [[package]] -name = "quote" -version = "1.0.33" +name = "thiserror-impl" +version = "1.0.40" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5267fca4496028628a95160fc423a33e8b2e6af8a5302579e322e4b520293cae" +checksum = "f9456a42c5b0d803c8cd86e73dd7cc9edd429499f37a3550d286d5e86720569f" dependencies = [ "proc-macro2", + "quote", + "syn 2.0.41", ] [[package]] -name = "rand" -version = "0.8.5" +name = "thread-id" +version = "3.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" +checksum = "c7fbf4c9d56b320106cd64fd024dadfa0be7cb4706725fc44a7d7ce952d820c1" dependencies = [ "libc", - "rand_chacha", - "rand_core", + "redox_syscall 0.1.57", + "winapi 0.3.9", ] [[package]] -name = "rand_chacha" -version = "0.3.1" +name = "thread_local" +version = "1.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" +checksum = "3fdd6f064ccff2d6567adcb3873ca630700f00b5ad3f060c25b5dcfd9a4ce152" dependencies = [ - "ppv-lite86", - "rand_core", + "cfg-if 1.0.0", + "once_cell", ] [[package]] -name = "rand_core" -version = "0.6.4" +name = "time" +version = "0.1.45" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" +checksum = "1b797afad3f312d1c66a56d11d0316f916356d11bd158fbc6ca6389ff6bf805a" dependencies = [ - "getrandom", + "libc", + "wasi 0.10.0+wasi-snapshot-preview1", + "winapi 0.3.9", ] [[package]] -name = "rand_distr" -version = "0.4.3" +name = "time" +version = "0.3.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32cb0b9bc82b0a0876c2dd994a7e7a2683d3e7390ca40e6886785ef0c7e3ee31" +checksum = "59e399c068f43a5d116fedaf73b203fa4f9c519f17e2b34f63221d3792f81446" dependencies = [ - "num-traits", - "rand", + "itoa", + "serde", + "time-core", + "time-macros", ] [[package]] -name = "rawpointer" -version = "0.2.1" +name = "time-core" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "60a357793950651c4ed0f3f52338f53b2f809f32d83a07f72909fa13e4c6c1e3" +checksum = "7300fbefb4dadc1af235a9cef3737cea692a9d97e1b9cbcd4ebdae6f8868e6fb" [[package]] -name = "rayon" -version = "1.7.0" +name = "time-macros" +version = "0.2.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d2df5196e37bcc87abebc0053e20787d73847bb33134a69841207dd0a47f03b" +checksum = "96ba15a897f3c86766b757e5ac7221554c6750054d74d5b28844fce5fb36a6c4" dependencies = [ - "either", - "rayon-core", + "time-core", ] [[package]] -name = "rayon-core" -version = "1.11.0" +name = "tiny-keccak" +version = "2.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b8f95bd6966f5c87776639160a66bd8ab9895d9d4ab01ddba9fc60661aebe8d" +checksum = "2c9d3793400a45f954c52e73d068316d76b6f4e36977e3fcebb13a2721e80237" dependencies = [ - "crossbeam-channel", - "crossbeam-deque", - "crossbeam-utils", - "num_cpus", + "crunchy", ] [[package]] -name = "redox_syscall" -version = "0.2.16" +name = "tinyvec" +version = "1.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a" +checksum = "87cc5ceb3875bb20c2890005a4e226a4651264a5c75edb2421b52861a0a0cb50" dependencies = [ - "bitflags", + "tinyvec_macros", ] [[package]] -name = "redox_syscall" -version = "0.3.5" +name = "tinyvec_macros" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" + +[[package]] +name = "tokio" +version = "1.29.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "567664f262709473930a4bf9e51bf2ebf3348f2e748ccc50dea20646858f8f29" +checksum = "532826ff75199d5833b9d2c5fe410f29235e25704ee5f0ef599fb51c21f4a4da" dependencies = [ - "bitflags", + "autocfg 1.1.0", + "backtrace", + "bytes", + "libc", + "mio", + "num_cpus", + "parking_lot 0.12.1", + "pin-project-lite", + "signal-hook-registry", + "socket2 0.4.10", + "tokio-macros", + "windows-sys 0.48.0", ] [[package]] -name = "regalloc" -version = "0.0.34" +name = "tokio-macros" +version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62446b1d3ebf980bdc68837700af1d77b37bc430e524bf95319c6eada2a4cc02" +checksum = "630bdcf245f78637c13ec01ffae6187cca34625e8c63150d424b59e55af2675e" dependencies = [ - "log", - "rustc-hash", - "smallvec", + "proc-macro2", + "quote", + "syn 2.0.41", ] [[package]] -name = "regex" -version = "1.8.1" +name = "tokio-native-tls" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af83e617f331cc6ae2da5443c602dfa5af81e517212d9d611a5b3ba1777b5370" +checksum = "bbae76ab933c85776efabc971569dd6119c580d8f5d448769dec1764bf796ef2" dependencies = [ - "aho-corasick", - "memchr", - "regex-syntax", + "native-tls", + "tokio", ] [[package]] -name = "regex-syntax" -version = "0.7.1" +name = "tokio-rustls" +version = "0.23.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a5996294f19bd3aae0453a862ad728f60e6600695733dd5df01da90c54363a3c" +checksum = "c43ee83903113e03984cb9e5cebe6c04a5116269e900e3ddba8f068a62adda59" +dependencies = [ + "rustls", + "tokio", + "webpki", +] [[package]] -name = "region" -version = "3.0.0" +name = "tokio-stream" +version = "0.1.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76e189c2369884dce920945e2ddf79b3dff49e071a167dd1817fa9c4c00d512e" +checksum = "397c988d37662c7dda6d2208364a706264bf3d6138b11d436cbac0ad38832842" dependencies = [ - "bitflags", - "libc", - "mach", - "winapi", + "futures-core", + "pin-project-lite", + "tokio", + "tokio-util", ] [[package]] -name = "rend" -version = "0.4.0" +name = "tokio-tungstenite" +version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "581008d2099240d37fb08d77ad713bcaec2c4d89d50b5b21a8bb1996bbab68ab" +checksum = "e1a5f475f1b9d077ea1017ecbc60890fda8e54942d680ca0b1d2b47cfa2d861b" dependencies = [ - "bytecheck", + "futures-util", + "log", + "native-tls", + "pin-project", + "tokio", + "tokio-native-tls", + "tungstenite 0.12.0", ] [[package]] -name = "rkyv" -version = "0.7.41" +name = "tokio-tungstenite" +version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21499ed91807f07ae081880aabb2ccc0235e9d88011867d984525e9a4c3cfa3e" +checksum = "54319c93411147bced34cb5609a80e0a8e44c5999c93903a81cd866630ec0bfd" dependencies = [ - "bytecheck", - "hashbrown 0.12.3", - "ptr_meta", - "rend", - "rkyv_derive", - "seahash", + "futures-util", + "log", + "rustls", + "rustls-native-certs", + "tokio", + "tokio-rustls", + "tungstenite 0.18.0", + "webpki", ] [[package]] -name = "rkyv_derive" -version = "0.7.41" +name = "tokio-tungstenite" +version = "0.20.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac1c672430eb41556291981f45ca900a0239ad007242d1cb4b4167af842db666" +checksum = "212d5dcb2a1ce06d81107c3d0ffa3121fe974b73f068c8282cb1c32328113b6c" dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", + "futures-util", + "log", + "tokio", + "tungstenite 0.20.1", ] [[package]] -name = "rmp" -version = "0.8.11" +name = "tokio-util" +version = "0.7.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44519172358fd6d58656c86ab8e7fbc9e1490c3e8f14d35ed78ca0dd07403c9f" +checksum = "806fe8c2c87eccc8b3267cbae29ed3ab2d0bd37fca70ab622e46aaa9375ddb7d" dependencies = [ - "byteorder", - "num-traits", - "paste", + "bytes", + "futures-core", + "futures-sink", + "pin-project-lite", + "tokio", + "tracing", ] [[package]] -name = "rmp-serde" -version = "0.15.5" +name = "toml" +version = "0.5.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "723ecff9ad04f4ad92fe1c8ca6c20d2196d9286e9c60727c4cb5511629260e9d" +checksum = "f4f7f0dd8d50a853a531c426359045b1998f04219d88799810762cd4ad314234" dependencies = [ - "byteorder", - "rmp", "serde", ] [[package]] -name = "rustc-demangle" -version = "0.1.23" +name = "toml" +version = "0.7.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d626bb9dae77e28219937af045c257c28bfd3f69333c512553507f5f9798cb76" +checksum = "dd79e69d3b627db300ff956027cc6c3798cef26d22526befdfcd12feeb6d2257" +dependencies = [ + "serde", + "serde_spanned", + "toml_datetime", + "toml_edit 0.19.15", +] [[package]] -name = "rustc-hash" -version = "1.1.0" +name = "toml" +version = "0.8.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" +checksum = "a1a195ec8c9da26928f773888e0742ca3ca1040c6cd859c919c9f59c1954ab35" +dependencies = [ + "serde", + "serde_spanned", + "toml_datetime", + "toml_edit 0.21.0", +] [[package]] -name = "rustc_version" -version = "0.4.0" +name = "toml_datetime" +version = "0.6.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366" +checksum = "3550f4e9685620ac18a50ed434eb3aec30db8ba93b0287467bca5826ea25baf1" dependencies = [ - "semver 1.0.17", + "serde", ] [[package]] -name = "rustix" -version = "0.37.18" +name = "toml_edit" +version = "0.19.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8bbfc1d1c7c40c01715f47d71444744a81669ca84e8b63e25a55e169b1f86433" +checksum = "1b5bb770da30e5cbfde35a2d7b9b8a2c4b8ef89548a7a6aeab5c9a576e3e7421" dependencies = [ - "bitflags", - "errno", - "io-lifetimes", - "libc", - "linux-raw-sys", - "windows-sys 0.48.0", + "indexmap 2.1.0", + "serde", + "serde_spanned", + "toml_datetime", + "winnow", ] [[package]] -name = "rustversion" -version = "1.0.12" +name = "toml_edit" +version = "0.21.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4f3208ce4d8448b3f3e7d168a73f5e0c43a61e32930de3bceeccedb388b6bf06" +checksum = "d34d383cd00a163b4a5b85053df514d45bc330f6de7737edfe0a93311d1eaa03" +dependencies = [ + "indexmap 2.1.0", + "serde", + "serde_spanned", + "toml_datetime", +] [[package]] -name = "ryu" -version = "1.0.13" +name = "toolchain_find" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f91339c0467de62360649f8d3e185ca8de4224ff281f66000de5eb2a77a79041" +checksum = "5e85654a10e7a07a47c6f19d93818f3f343e22927f2fa280c84f7c8042743413" +dependencies = [ + "home", + "lazy_static", + "regex", + "semver 0.11.0", + "walkdir", +] [[package]] -name = "same-file" -version = "1.0.6" +name = "tower-service" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" +checksum = "b6bc1c9ce2b5135ac7f93c72918fc37feb872bdc6a5533a8b85eb4b86bfdae52" + +[[package]] +name = "tracing" +version = "0.1.37" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8ce8c33a8d48bd45d624a6e523445fd21ec13d3653cd51f681abf67418f54eb8" dependencies = [ - "winapi-util", + "cfg-if 1.0.0", + "log", + "pin-project-lite", + "tracing-attributes", + "tracing-core", ] [[package]] -name = "scopeguard" -version = "1.1.0" +name = "tracing-attributes" +version = "0.1.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd" +checksum = "0f57e3ca2a01450b1a921183a9c9cbfda207fd822cef4ccb00a65402cbba7a74" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.41", +] [[package]] -name = "scratch" -version = "1.0.5" +name = "tracing-core" +version = "0.1.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1792db035ce95be60c3f8853017b3999209281c24e2ba5bc8e59bf97a0c590c1" +checksum = "24eb03ba0eab1fd845050058ce5e616558e8f8d8fca633e6b163fe25c797213a" +dependencies = [ + "once_cell", + "valuable", +] [[package]] -name = "seahash" -version = "4.1.0" +name = "tracing-futures" +version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c107b6f4780854c8b126e228ea8869f4d7b71260f962fefb57b996b8959ba6b" +checksum = "97d095ae15e245a057c8e8451bab9b3ee1e1f68e9ba2b4fbc18d0ac5237835f2" +dependencies = [ + "pin-project", + "tracing", +] [[package]] -name = "semver" -version = "0.11.0" +name = "tracing-log" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f301af10236f6df4160f7c3f04eec6dbc70ace82d23326abad5edee88801c6b6" +checksum = "ee855f1f400bd0e5c02d150ae5de3840039a3f54b025156404e34c23c03f47c3" dependencies = [ - "semver-parser", + "log", + "once_cell", + "tracing-core", ] [[package]] -name = "semver" -version = "1.0.17" +name = "tracing-serde" +version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bebd363326d05ec3e2f532ab7660680f3b02130d780c299bca73469d521bc0ed" +checksum = "bc6b213177105856957181934e4920de57730fc69bf42c37ee5bb664d406d9e1" dependencies = [ "serde", + "tracing-core", ] [[package]] -name = "semver-parser" -version = "0.10.2" +name = "tracing-subscriber" +version = "0.3.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "00b0bef5b7f9e0df16536d3961cfb6e84331c065b4066afb39768d0e319411f7" +checksum = "ad0f048c97dbd9faa9b7df56362b8ebcaa52adb06b498c050d2f4e32f90a7a8b" dependencies = [ - "pest", + "matchers", + "nu-ansi-term", + "once_cell", + "regex", + "serde", + "serde_json", + "sharded-slab", + "smallvec 1.10.0", + "thread_local", + "time 0.3.23", + "tracing", + "tracing-core", + "tracing-log", + "tracing-serde", ] [[package]] -name = "serde" -version = "1.0.166" +name = "trilean" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d01b7404f9d441d3ad40e6a636a7782c377d2abdbe4fa2440e2edcc2f4f10db8" -dependencies = [ - "serde_derive", -] +checksum = "683ba5022fe6dbd7133cad150478ccf51bdb6d861515181e5fc6b4323d4fa424" + +[[package]] +name = "try-lock" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" [[package]] -name = "serde-transcode" -version = "1.1.1" +name = "tungstenite" +version = "0.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "590c0e25c2a5bb6e85bf5c1bce768ceb86b316e7a01bdf07d2cb4ec2271990e2" +checksum = "8ada8297e8d70872fa9a551d93250a9f407beb9f37ef86494eb20012a2ff7c24" dependencies = [ - "serde", + "base64 0.13.1", + "byteorder", + "bytes", + "http", + "httparse", + "input_buffer", + "log", + "native-tls", + "rand 0.8.5", + "sha-1 0.9.8", + "url 2.5.0", + "utf-8", ] [[package]] -name = "serde_bytes" -version = "0.11.9" +name = "tungstenite" +version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "416bda436f9aab92e02c8e10d49a15ddd339cea90b6e340fe51ed97abb548294" +checksum = "30ee6ab729cd4cf0fd55218530c4522ed30b7b6081752839b68fcec8d0960788" dependencies = [ - "serde", + "base64 0.13.1", + "byteorder", + "bytes", + "http", + "httparse", + "log", + "rand 0.8.5", + "rustls", + "sha1", + "thiserror", + "url 2.5.0", + "utf-8", + "webpki", ] [[package]] -name = "serde_derive" -version = "1.0.166" +name = "tungstenite" +version = "0.20.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5dd83d6dde2b6b2d466e14d9d1acce8816dedee94f735eac6395808b3483c6d6" +checksum = "9e3dac10fd62eaf6617d3a904ae222845979aec67c615d1c842b4002c7666fb9" dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.41", + "byteorder", + "bytes", + "data-encoding", + "http", + "httparse", + "log", + "rand 0.8.5", + "sha1", + "thiserror", + "url 2.5.0", + "utf-8", ] [[package]] -name = "serde_json" -version = "1.0.96" +name = "tx5" +version = "0.0.4-alpha" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "057d394a50403bcac12672b2b18fb387ab6d289d957dab67dd201875391e52f1" +checksum = "68891d49fb7fdb4f0aedfe8347cf3dc9b8e28ab99cf6b6da5b1ae90682cafa21" dependencies = [ - "indexmap", - "itoa", - "ryu", + "bytes", + "futures", + "influxive-otel-atomic-obs", + "once_cell", + "opentelemetry_api", + "parking_lot 0.12.1", + "rand 0.8.5", + "rand-utf8", "serde", + "serde_json", + "tokio", + "tracing", + "tx5-core", + "tx5-go-pion", + "tx5-signal", + "url 2.5.0", ] [[package]] -name = "sha-1" -version = "0.10.1" +name = "tx5-core" +version = "0.0.4-alpha" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f5058ada175748e33390e40e872bd0fe59a19f265d0158daa551c5a88a76009c" +checksum = "46ce4d742f95206169d6d68dc47f2064e594bd755b882740218eb2db078125df" dependencies = [ - "cfg-if 1.0.0", - "cpufeatures", - "digest", + "base64 0.13.1", + "dirs", + "once_cell", + "rand 0.8.5", + "serde", + "serde_json", + "sha2", + "tempfile", + "tracing", + "url 2.5.0", ] [[package]] -name = "shrinkwraprs" -version = "0.3.0" +name = "tx5-go-pion" +version = "0.0.4-alpha" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e63e6744142336dfb606fe2b068afa2e1cca1ee6a5d8377277a92945d81fa331" +checksum = "344f080c69c305c7d3075c077799b66de47568f79577704622d28c33ef3dfdd2" dependencies = [ - "bitflags", - "itertools", - "proc-macro2", - "quote", - "syn 1.0.109", + "futures", + "parking_lot 0.12.1", + "tokio", + "tracing", + "tx5-go-pion-sys", + "url 2.5.0", ] [[package]] -name = "simba" -version = "0.5.1" +name = "tx5-go-pion-sys" +version = "0.0.4-alpha" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e82063457853d00243beda9952e910b82593e4b07ae9f721b9278a99a0d3d5c" +checksum = "5aa8e91c1a85f6b9de962c63a7086619d78cf4f876a2a1888be715091bc4a1c2" dependencies = [ - "approx", - "num-complex", - "num-traits", - "paste", + "Inflector", + "base64 0.13.1", + "dirs", + "libc", + "libloading 0.8.1", + "once_cell", + "ouroboros", + "sha2", + "tracing", + "tx5-core", + "zip", ] [[package]] -name = "simdutf8" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f27f6278552951f1f2b8cf9da965d10969b2efdea95a6ec47987ab46edfe263a" - -[[package]] -name = "slab" -version = "0.4.8" +name = "tx5-go-pion-turn" +version = "0.0.4-alpha" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6528351c9bc8ab22353f9d776db39a20288e8d6c37ef8cfe3317cf875eecfc2d" +checksum = "77a2ee4982985842265529632f96751020ecd109e6e249662037eef2cdf2a881" dependencies = [ - "autocfg", + "base64 0.13.1", + "dirs", + "dunce", + "if-addrs 0.10.2", + "once_cell", + "sha2", + "tokio", + "tracing", + "tx5-core", + "zip", ] [[package]] -name = "smallvec" -version = "1.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a507befe795404456341dfab10cef66ead4c041f62b8b11bbb92bffe5d0953e0" - -[[package]] -name = "stable_deref_trait" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" - -[[package]] -name = "statrs" -version = "0.15.0" +name = "tx5-signal" +version = "0.0.4-alpha" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05bdbb8e4e78216a85785a85d3ec3183144f98d0097b9281802c019bb07a6f05" +checksum = "c01b23ba903fc189bdbb38ec4726274f297b3b303c62daf029063478137a8af9" dependencies = [ - "approx", - "lazy_static", - "nalgebra", - "num-traits", - "rand", + "futures", + "lair_keystore_api", + "once_cell", + "parking_lot 0.12.1", + "rand 0.8.5", + "rand-utf8", + "rcgen 0.10.0", + "ring", + "rustls", + "rustls-native-certs", + "rustls-pemfile 1.0.4", + "serde_json", + "sha2", + "socket2 0.5.5", + "tokio", + "tokio-rustls", + "tokio-tungstenite 0.18.0", + "tracing", + "tx5-core", + "url 2.5.0", + "webpki-roots 0.23.1", ] [[package]] -name = "strsim" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" - -[[package]] -name = "strum_macros" -version = "0.24.3" +name = "tx5-signal-srv" +version = "0.0.4-alpha" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e385be0d24f186b4ce2f9982191e7101bb737312ad61c1f2f984f34bcf85d59" +checksum = "e1041cf202eb8789aaa4fc70acdae424ea3ad361e4031aa14dc30fcf0a246f69" dependencies = [ - "heck", - "proc-macro2", - "quote", - "rustversion", - "syn 1.0.109", + "clap 4.4.11", + "dirs", + "futures", + "if-addrs 0.10.2", + "once_cell", + "prometheus", + "rand 0.8.5", + "sodoken", + "tokio", + "tracing", + "tracing-subscriber", + "tx5-core", + "warp", ] [[package]] -name = "subprocess" -version = "0.2.9" +name = "typenum" +version = "1.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c2e86926081dda636c546d8c5e641661049d7562a68f5488be4a1f7f66f6086" -dependencies = [ - "libc", - "winapi", -] +checksum = "497961ef93d974e23eb6f433eb5fe1b7930b659f06d12dec6fc44a8f554c0bba" [[package]] -name = "subtle" -version = "2.5.0" +name = "ucd-trie" +version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81cdd64d312baedb58e21336b31bc043b77e01cc99033ce76ef539f78e965ebc" +checksum = "9e79c4d996edb816c91e4308506774452e55e95c3c9de07b6729e17e15a5ef81" [[package]] -name = "syn" -version = "1.0.109" +name = "unicase" +version = "2.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" +checksum = "f7d2d4dafb69621809a81864c9c1b864479e1235c0dd4e199924b9742439ed89" dependencies = [ - "proc-macro2", - "quote", - "unicode-ident", + "version_check", ] [[package]] -name = "syn" -version = "2.0.41" +name = "unicode-bidi" +version = "0.3.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44c8b28c477cc3bf0e7966561e3460130e1255f7a1cf71931075f1c5e7a7e269" -dependencies = [ - "proc-macro2", - "quote", - "unicode-ident", -] +checksum = "6f2528f27a9eb2b21e69c95319b30bd0efd85d09c379741b0f78ea1d86be2416" [[package]] -name = "target-lexicon" -version = "0.12.7" +name = "unicode-ident" +version = "1.0.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fd1ba337640d60c3e96bc6f0638a939b9c9a7f2c316a1598c279828b3d1dc8c5" +checksum = "e5464a87b239f13a63a501f2701565754bae92d243d4bb7eb12f6d57d2269bf4" [[package]] -name = "tempfile" -version = "3.5.0" +name = "unicode-normalization" +version = "0.1.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9fbec84f381d5795b08656e4912bec604d162bff9291d6189a78f4c8ab87998" +checksum = "5c5713f0fc4b5db668a2ac63cdb7bb4469d8c9fed047b1d0292cc7b0ce2ba921" dependencies = [ - "cfg-if 1.0.0", - "fastrand", - "redox_syscall 0.3.5", - "rustix", - "windows-sys 0.45.0", + "tinyvec", ] [[package]] -name = "termcolor" -version = "1.2.0" +name = "unicode-segmentation" +version = "1.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be55cf8942feac5c765c2c993422806843c9a9a45d4d5c407ad6dd2ea95eb9b6" -dependencies = [ - "winapi-util", -] +checksum = "1dd624098567895118886609431a7c3b8f516e41d30e0643f03d94592a147e36" [[package]] -name = "test-fuzz" -version = "3.0.4" +name = "unicode-width" +version = "0.1.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "125df852011c4f8f31df5620f4aea38ecddb5dfb4d9bc569b30485b15ffc3d4e" -dependencies = [ - "serde", - "test-fuzz-internal", - "test-fuzz-macro", - "test-fuzz-runtime", -] +checksum = "c0edd1e5b14653f783770bce4a4dabb4a5108a5370a5f5d8cfe8710c361f6c8b" [[package]] -name = "test-fuzz-internal" -version = "3.0.4" +name = "unicode-xid" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58071dc2471840e9f374eeb0f6e405a31bccb3cc5d59bb4598f02cafc274b5c4" -dependencies = [ - "cargo_metadata", - "proc-macro2", - "quote", - "serde", - "strum_macros", -] +checksum = "f962df74c8c05a667b5ee8bcf162993134c104e96440b663c8daa176dc772d8c" [[package]] -name = "test-fuzz-macro" -version = "3.0.4" +name = "unicode_categories" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "856bbca0314c328004691b9c0639fb198ca764d1ce0e20d4dd8b78f2697c2a6f" -dependencies = [ - "darling", - "if_chain", - "lazy_static", - "proc-macro2", - "quote", - "subprocess", - "syn 1.0.109", - "test-fuzz-internal", - "toolchain_find", - "unzip-n", -] +checksum = "39ec24b3121d976906ece63c9daad25b85969647682eee313cb5779fdd69e14e" [[package]] -name = "test-fuzz-runtime" -version = "3.0.4" +name = "unsafe-libyaml" +version = "0.2.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "303774eb17994c2ddb59c460369f4c3a55496f013380278d78eeebd2deb896ac" -dependencies = [ - "bincode", - "hex", - "num-traits", - "serde", - "sha-1", - "test-fuzz-internal", -] +checksum = "ab4c90930b95a82d00dc9e9ac071b4991924390d46cbd0dfe566148667605e4b" [[package]] -name = "thiserror" -version = "1.0.40" +name = "untrusted" +version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "978c9a314bd8dc99be594bc3c175faaa9794be04a5a5e153caba6915336cebac" -dependencies = [ - "thiserror-impl", -] +checksum = "a156c684c91ea7d62626509bce3cb4e1d9ed5c4d978f7b4352658f96a4c26b4a" [[package]] -name = "thiserror-impl" -version = "1.0.40" +name = "unwrap_to" +version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f9456a42c5b0d803c8cd86e73dd7cc9edd429499f37a3550d286d5e86720569f" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.41", -] +checksum = "cad414b2eed757c1b6f810f8abc814e298a9c89176b21fae092c7a87756fb839" [[package]] -name = "time" -version = "0.1.45" +name = "unzip-n" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b797afad3f312d1c66a56d11d0316f916356d11bd158fbc6ca6389ff6bf805a" +checksum = "c2e7e85a0596447f0f2ac090e16bc4c516c6fe91771fb0c0ccf7fa3dae896b9c" dependencies = [ - "libc", - "wasi 0.10.0+wasi-snapshot-preview1", - "winapi", + "proc-macro2", + "quote", + "syn 1.0.109", ] [[package]] -name = "toolchain_find" -version = "0.2.0" +name = "ureq" +version = "2.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e85654a10e7a07a47c6f19d93818f3f343e22927f2fa280c84f7c8042743413" +checksum = "338b31dd1314f68f3aabf3ed57ab922df95ffcd902476ca7ba3c4ce7b908c46d" dependencies = [ - "home", - "lazy_static", - "regex", - "semver 0.11.0", - "walkdir", + "base64 0.13.1", + "flate2", + "log", + "once_cell", + "rustls", + "url 2.5.0", + "webpki", + "webpki-roots 0.22.6", ] [[package]] -name = "tracing" -version = "0.1.37" +name = "url" +version = "1.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ce8c33a8d48bd45d624a6e523445fd21ec13d3653cd51f681abf67418f54eb8" +checksum = "dd4e7c0d531266369519a4aa4f399d748bd37043b00bde1e4ff1f60a120b355a" dependencies = [ - "cfg-if 1.0.0", - "log", - "pin-project-lite", - "tracing-attributes", - "tracing-core", + "idna 0.1.5", + "matches", + "percent-encoding 1.0.1", ] [[package]] -name = "tracing-attributes" -version = "0.1.24" +name = "url" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f57e3ca2a01450b1a921183a9c9cbfda207fd822cef4ccb00a65402cbba7a74" +checksum = "31e6302e3bb753d46e83516cae55ae196fc0c309407cf11ab35cc51a4c2a4633" dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.41", + "form_urlencoded", + "idna 0.5.0", + "percent-encoding 2.3.1", + "serde", ] [[package]] -name = "tracing-core" -version = "0.1.30" +name = "url2" +version = "0.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24eb03ba0eab1fd845050058ce5e616558e8f8d8fca633e6b163fe25c797213a" +checksum = "c89cd13f1de9862d363308f5ffdadcd2b64b2a4a812fb296a80b7d3e80011b1e" dependencies = [ - "once_cell", - "valuable", + "serde", + "url 2.5.0", ] [[package]] -name = "trilean" -version = "1.1.0" +name = "url_serde" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "683ba5022fe6dbd7133cad150478ccf51bdb6d861515181e5fc6b4323d4fa424" +checksum = "74e7d099f1ee52f823d4bdd60c93c3602043c728f5db3b97bdb548467f7bddea" +dependencies = [ + "serde", + "url 1.7.2", +] [[package]] -name = "typenum" -version = "1.16.0" +name = "urlencoding" +version = "2.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "497961ef93d974e23eb6f433eb5fe1b7930b659f06d12dec6fc44a8f554c0bba" +checksum = "daf8dba3b7eb870caf1ddeed7bc9d2a049f3cfdfae7cb521b087cc33ae4c49da" [[package]] -name = "ucd-trie" -version = "0.1.5" +name = "utf-8" +version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e79c4d996edb816c91e4308506774452e55e95c3c9de07b6729e17e15a5ef81" +checksum = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9" [[package]] -name = "unicode-ident" -version = "1.0.8" +name = "utf8parse" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5464a87b239f13a63a501f2701565754bae92d243d4bb7eb12f6d57d2269bf4" +checksum = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a" [[package]] -name = "unicode-width" -version = "0.1.10" +name = "uuid" +version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0edd1e5b14653f783770bce4a4dabb4a5108a5370a5f5d8cfe8710c361f6c8b" +checksum = "90dbc611eb48397705a6b0f6e917da23ae517e4d127123d2cf7674206627d32a" +dependencies = [ + "rand 0.6.5", + "serde", +] [[package]] -name = "unzip-n" -version = "0.1.2" +name = "uuid" +version = "1.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2e7e85a0596447f0f2ac090e16bc4c516c6fe91771fb0c0ccf7fa3dae896b9c" +checksum = "5e395fcf16a7a3d8127ec99782007af141946b4795001f876d54fb0d55978560" dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", + "getrandom 0.2.9", ] [[package]] @@ -2297,12 +7274,40 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d" +[[package]] +name = "value-bag" +version = "1.0.0-alpha.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2209b78d1249f7e6f3293657c9779fe31ced465df091bbd433a1cf88e916ec55" +dependencies = [ + "ctor", + "version_check", +] + +[[package]] +name = "vcpkg" +version = "0.2.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426" + +[[package]] +name = "vec_map" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191" + [[package]] name = "version_check" version = "0.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" +[[package]] +name = "waker-fn" +version = "1.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f3c4517f54858c779bbcbf228f4fca63d121bf85fbecb2dc578cdf4a39395690" + [[package]] name = "walkdir" version = "2.3.3" @@ -2313,6 +7318,52 @@ dependencies = [ "winapi-util", ] +[[package]] +name = "want" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bfa7760aed19e106de2c7c0b581b509f2f25d3dacaf737cb82ac61bc6d760b0e" +dependencies = [ + "try-lock", +] + +[[package]] +name = "warp" +version = "0.3.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c1e92e22e03ff1230c03a1a8ee37d2f89cd489e2e541b7550d6afad96faed169" +dependencies = [ + "bytes", + "futures-channel", + "futures-util", + "headers", + "http", + "hyper", + "log", + "mime", + "mime_guess", + "multer", + "percent-encoding 2.3.1", + "pin-project", + "rustls-pemfile 1.0.4", + "scoped-tls", + "serde", + "serde_json", + "serde_urlencoded", + "tokio", + "tokio-stream", + "tokio-tungstenite 0.20.1", + "tokio-util", + "tower-service", + "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" @@ -2327,9 +7378,9 @@ checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" [[package]] name = "wasm-bindgen" -version = "0.2.84" +version = "0.2.89" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "31f8dcbc21f30d9b8f2ea926ecb58f6b91192c17e9d33594b3df58b2007ca53b" +checksum = "0ed0d4f68a3015cc185aff4db9506a015f4b96f95303897bfa23f846db54064e" dependencies = [ "cfg-if 1.0.0", "wasm-bindgen-macro", @@ -2337,24 +7388,36 @@ dependencies = [ [[package]] name = "wasm-bindgen-backend" -version = "0.2.84" +version = "0.2.89" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95ce90fd5bcc06af55a641a86428ee4229e44e07033963a2290a8e241607ccb9" +checksum = "1b56f625e64f3a1084ded111c4d5f477df9f8c92df113852fa5a374dbda78826" dependencies = [ "bumpalo", "log", "once_cell", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.41", "wasm-bindgen-shared", ] +[[package]] +name = "wasm-bindgen-futures" +version = "0.4.39" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ac36a15a220124ac510204aec1c3e5db8a22ab06fd6706d881dc6149f8ed9a12" +dependencies = [ + "cfg-if 1.0.0", + "js-sys", + "wasm-bindgen", + "web-sys", +] + [[package]] name = "wasm-bindgen-macro" -version = "0.2.84" +version = "0.2.89" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c21f77c0bedc37fd5dc21f897894a5ca01e7bb159884559461862ae90c0b4c5" +checksum = "0162dbf37223cd2afce98f3d0785506dcb8d266223983e4b5b525859e6e182b2" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -2362,22 +7425,22 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.84" +version = "0.2.89" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2aff81306fcac3c7515ad4e177f521b5c9a15f2b08f4e32d823066102f35a5f6" +checksum = "f0eb82fcb7930ae6219a7ecfd55b217f5f0893484b7a13022ebb2b2bf20b5283" dependencies = [ "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.41", "wasm-bindgen-backend", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-shared" -version = "0.2.84" +version = "0.2.89" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0046fef7e28c3804e5e38bfa31ea2a0f73905319b677e57ebe37e49358989b5d" +checksum = "7ab9b36309365056cd639da3134bf87fa8f3d86008abf99e612384a6eecd459f" [[package]] name = "wasm-encoder" @@ -2388,6 +7451,19 @@ dependencies = [ "leb128", ] +[[package]] +name = "wasm-streams" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6bbae3363c08332cadccd13b67db371814cd214c2524020932f0804b8cf7c078" +dependencies = [ + "futures-util", + "js-sys", + "wasm-bindgen", + "wasm-bindgen-futures", + "web-sys", +] + [[package]] name = "wasmer" version = "2.3.0" @@ -2395,7 +7471,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", @@ -2412,7 +7488,7 @@ dependencies = [ "wasmer-types", "wasmer-vm", "wat", - "winapi", + "winapi 0.3.9", ] [[package]] @@ -2439,7 +7515,7 @@ dependencies = [ "rkyv", "serde", "serde_bytes", - "smallvec", + "smallvec 1.10.0", "target-lexicon", "thiserror", "wasmer-types", @@ -2459,7 +7535,7 @@ dependencies = [ "loupe", "more-asserts", "rayon", - "smallvec", + "smallvec 1.10.0", "target-lexicon", "tracing", "wasmer-compiler", @@ -2511,7 +7587,7 @@ dependencies = [ "enum-iterator", "enumset", "leb128", - "libloading", + "libloading 0.7.4", "loupe", "object 0.28.4", "rkyv", @@ -2544,7 +7620,7 @@ dependencies = [ "wasmer-engine-universal-artifact", "wasmer-types", "wasmer-vm", - "winapi", + "winapi 0.3.9", ] [[package]] @@ -2563,6 +7639,18 @@ dependencies = [ "wasmer-types", ] +[[package]] +name = "wasmer-middlewares" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d7812438ed2f37203a37007cdb5332b8475cb2b16e15d51299b2647894e9ed3a" +dependencies = [ + "loupe", + "wasmer", + "wasmer-types", + "wasmer-vm", +] + [[package]] name = "wasmer-object" version = "2.3.0" @@ -2583,7 +7671,7 @@ checksum = "39df01ea05dc0a9bab67e054c7cb01521e53b35a7bb90bd02eca564ed0b2667f" dependencies = [ "backtrace", "enum-iterator", - "indexmap", + "indexmap 1.9.3", "loupe", "more-asserts", "rkyv", @@ -2602,7 +7690,7 @@ dependencies = [ "cfg-if 1.0.0", "corosensei", "enum-iterator", - "indexmap", + "indexmap 1.9.3", "lazy_static", "libc", "loupe", @@ -2616,7 +7704,7 @@ dependencies = [ "thiserror", "wasmer-artifact", "wasmer-types", - "winapi", + "winapi 0.3.9", ] [[package]] @@ -2646,6 +7734,44 @@ dependencies = [ "wast", ] +[[package]] +name = "web-sys" +version = "0.3.66" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "50c24a44ec86bb68fbecd1b3efed7e85ea5621b39b35ef2766b66cd984f8010f" +dependencies = [ + "js-sys", + "wasm-bindgen", +] + +[[package]] +name = "webpki" +version = "0.22.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "07ecc0cd7cac091bf682ec5efa18b1cff79d617b84181f38b3951dbe135f607f" +dependencies = [ + "ring", + "untrusted", +] + +[[package]] +name = "webpki-roots" +version = "0.22.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6c71e40d7d2c34a5106301fb632274ca37242cd0c9d3e64dbece371a40a2d87" +dependencies = [ + "webpki", +] + +[[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" @@ -2657,6 +7783,12 @@ dependencies = [ "once_cell", ] +[[package]] +name = "winapi" +version = "0.2.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "167dc9d6949a9b857f3451275e911c3f44255842c1f7a76f33c55103a909087a" + [[package]] name = "winapi" version = "0.3.9" @@ -2679,7 +7811,7 @@ version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178" dependencies = [ - "winapi", + "winapi 0.3.9", ] [[package]] @@ -2710,6 +7842,21 @@ dependencies = [ "windows_x86_64_msvc 0.33.0", ] +[[package]] +name = "windows-sys" +version = "0.42.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a3e1820f08b8513f676f7ab6c1f99ff312fb97b553d30ff4dd86f9f15728aa7" +dependencies = [ + "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-sys" version = "0.45.0" @@ -2728,6 +7875,15 @@ dependencies = [ "windows-targets 0.48.0", ] +[[package]] +name = "windows-sys" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" +dependencies = [ + "windows-targets 0.52.0", +] + [[package]] name = "windows-targets" version = "0.42.2" @@ -2758,6 +7914,21 @@ dependencies = [ "windows_x86_64_msvc 0.48.0", ] +[[package]] +name = "windows-targets" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a18201040b24831fbb9e4eb208f8892e1f50a37feb53cc7ff887feb8f50e7cd" +dependencies = [ + "windows_aarch64_gnullvm 0.52.0", + "windows_aarch64_msvc 0.52.0", + "windows_i686_gnu 0.52.0", + "windows_i686_msvc 0.52.0", + "windows_x86_64_gnu 0.52.0", + "windows_x86_64_gnullvm 0.52.0", + "windows_x86_64_msvc 0.52.0", +] + [[package]] name = "windows_aarch64_gnullvm" version = "0.42.2" @@ -2770,6 +7941,12 @@ version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "91ae572e1b79dba883e0d315474df7305d12f569b400fcf90581b06062f7e1bc" +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb7764e35d4db8a7921e09562a0304bf2f93e0a51bfccee0bd0bb0b666b015ea" + [[package]] name = "windows_aarch64_msvc" version = "0.33.0" @@ -2788,6 +7965,12 @@ version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b2ef27e0d7bdfcfc7b868b317c1d32c641a6fe4629c171b8928c7b08d98d7cf3" +[[package]] +name = "windows_aarch64_msvc" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bbaa0368d4f1d2aaefc55b6fcfee13f41544ddf36801e793edbbfd7d7df075ef" + [[package]] name = "windows_i686_gnu" version = "0.33.0" @@ -2806,6 +7989,12 @@ version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "622a1962a7db830d6fd0a69683c80a18fda201879f0f447f065a3b7467daa241" +[[package]] +name = "windows_i686_gnu" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a28637cb1fa3560a16915793afb20081aba2c92ee8af57b4d5f28e4b3e7df313" + [[package]] name = "windows_i686_msvc" version = "0.33.0" @@ -2824,6 +8013,12 @@ version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4542c6e364ce21bf45d69fdd2a8e455fa38d316158cfd43b3ac1c5b1b19f8e00" +[[package]] +name = "windows_i686_msvc" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ffe5e8e31046ce6230cc7215707b816e339ff4d4d67c65dffa206fd0f7aa7b9a" + [[package]] name = "windows_x86_64_gnu" version = "0.33.0" @@ -2842,6 +8037,12 @@ version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ca2b8a661f7628cbd23440e50b05d705db3686f894fc9580820623656af974b1" +[[package]] +name = "windows_x86_64_gnu" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3d6fa32db2bc4a2f5abeacf2b69f7992cd09dca97498da74a151a3132c26befd" + [[package]] name = "windows_x86_64_gnullvm" version = "0.42.2" @@ -2854,6 +8055,12 @@ version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7896dbc1f41e08872e9d5e8f8baa8fdd2677f29468c4e156210174edc7f7b953" +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1a657e1e9d3f514745a572a6846d3c7aa7dbe1658c056ed9c3344c4109a6949e" + [[package]] name = "windows_x86_64_msvc" version = "0.33.0" @@ -2871,3 +8078,128 @@ name = "windows_x86_64_msvc" version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1a515f5799fe4961cb532f983ce2b23082366b898e52ffbce459c86f67c8378a" + +[[package]] +name = "windows_x86_64_msvc" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dff9641d1cd4be8d1a070daf9e3773c5f67e78b4d9d42263020c057706765c04" + +[[package]] +name = "winnow" +version = "0.5.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6c830786f7720c2fd27a1a0e27a709dbd3c4d009b56d098fc742d4f4eab91fe2" +dependencies = [ + "memchr", +] + +[[package]] +name = "winreg" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "80d0f4e272c85def139476380b12f9ac60926689dd2e01d4923222f40580869d" +dependencies = [ + "winapi 0.3.9", +] + +[[package]] +name = "xattr" +version = "1.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a7dae5072fe1f8db8f8d29059189ac175196e410e40ba42d5d4684ae2f750995" +dependencies = [ + "libc", + "linux-raw-sys 0.4.12", + "rustix 0.38.28", +] + +[[package]] +name = "yansi" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09041cd90cf85f7f8b2df60c646f853b7f535ce68f85244eb6731cf89fa498ec" + +[[package]] +name = "yasna" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e17bb3549cc1321ae1296b9cdc2698e2b6cb1992adfa19a8c72e5b7a738f44cd" +dependencies = [ + "time 0.3.23", +] + +[[package]] +name = "zerocopy" +version = "0.7.31" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1c4061bedbb353041c12f413700357bec76df2c7e2ca8e4df8bac24c6bf68e3d" +dependencies = [ + "zerocopy-derive", +] + +[[package]] +name = "zerocopy-derive" +version = "0.7.31" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b3c129550b3e6de3fd0ba67ba5c81818f9805e58b8d7fee80a3a59d2c9fc601a" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.41", +] + +[[package]] +name = "zeroize" +version = "1.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "525b4ec142c6b68a2d10f01f7bbf6755599ca3f81ea53b8431b7dd348f5fdb2d" + +[[package]] +name = "zip" +version = "0.6.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "760394e246e4c28189f19d488c058bf16f564016aefac5d32bb1f3b51d5e9261" +dependencies = [ + "aes", + "byteorder", + "bzip2", + "constant_time_eq 0.1.5", + "crc32fast", + "crossbeam-utils", + "flate2", + "hmac", + "pbkdf2", + "sha1", + "time 0.3.23", + "zstd", +] + +[[package]] +name = "zstd" +version = "0.11.2+zstd.1.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "20cc960326ece64f010d2d2107537f26dc589a6573a316bd5b1dba685fa5fde4" +dependencies = [ + "zstd-safe", +] + +[[package]] +name = "zstd-safe" +version = "5.0.2+zstd.1.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d2a5585e04f9eea4b2a3d1eca508c4dee9592a89ef6f450c11719da0726f4db" +dependencies = [ + "libc", + "zstd-sys", +] + +[[package]] +name = "zstd-sys" +version = "2.0.9+zstd.1.5.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9e16efa8a874a0481a574084d34cc26fdb3b99627480f785888deb6386506656" +dependencies = [ + "cc", + "pkg-config", +] diff --git a/Cargo.toml b/Cargo.toml index e4a207d..6ed1b81 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,11 +6,14 @@ opt-level = "z" [workspace] members = ["dnas/*/zomes/coordinator/*", "dnas/*/zomes/integrity/*", "lib/*"] +resolver = "2" [workspace.dependencies] hdi = "=0.3.4" hdk = "=0.2.4" serde = "=1.0.166" +holochain = "=0.2.4" +tokio = { version = "1.27", features = ["full"] } [workspace.dependencies.demo] path = "dnas/demo/zomes/coordinator/demo" diff --git a/dnas/demo/zomes/coordinator/demo/Cargo.toml b/dnas/demo/zomes/coordinator/demo/Cargo.toml index d97e821..4c75a67 100644 --- a/dnas/demo/zomes/coordinator/demo/Cargo.toml +++ b/dnas/demo/zomes/coordinator/demo/Cargo.toml @@ -9,8 +9,13 @@ name = "demo" [dependencies] hdk = { workspace = true } - serde = { workspace = true } +demo_integrity = { workspace = true } +prefix_index = { workspace = true } -demo_integrity = { workspace = true } -prefix_index = { workspace = true } \ No newline at end of file +[dev-dependencies] +hdk = { workspace = true, features = ["encoding", "test_utils"] } +holochain = { workspace = true, default-features = false, features = [ + "test_utils", +] } +tokio = { workspace = true } diff --git a/dnas/demo/zomes/coordinator/demo/src/demo_prefix_index.rs b/dnas/demo/zomes/coordinator/demo/src/demo_prefix_index.rs index 0d17447..5343080 100644 --- a/dnas/demo/zomes/coordinator/demo/src/demo_prefix_index.rs +++ b/dnas/demo/zomes/coordinator/demo/src/demo_prefix_index.rs @@ -32,8 +32,8 @@ pub fn remove_from_index_a(text: String) -> ExternResult<()> { #[derive(Serialize, Deserialize, SerializedBytes, Debug)] pub struct SearchIndexInput { - query: String, - limit: usize, + pub query: String, + pub limit: usize, } #[hdk_extern] pub fn search_index_a(input: SearchIndexInput) -> ExternResult> { diff --git a/dnas/demo/zomes/coordinator/demo/tests/prefix_index_tests.rs b/dnas/demo/zomes/coordinator/demo/tests/prefix_index_tests.rs new file mode 100644 index 0000000..dd73af4 --- /dev/null +++ b/dnas/demo/zomes/coordinator/demo/tests/prefix_index_tests.rs @@ -0,0 +1,1029 @@ +use demo::SearchIndexInput; +use hdk::prelude::*; +use holochain::{conductor::config::ConductorConfig, prelude::DnaFile, sweettest::*}; + +pub async fn load_dna() -> DnaFile { + let dna_path = std::env::current_dir() + .unwrap() + .join("../../../workdir/demo.dna"); + SweetDnaFile::from_bundle(&dna_path).await.unwrap() +} + +#[tokio::test(flavor = "multi_thread")] +async fn search_prefix_index_with_width_3_and_depth_3() { + let dna = load_dna().await; + let mut conductors: SweetConductorBatch = + SweetConductorBatch::from_config(2, ConductorConfig::default()).await; + let ((alice,), (bob,)) = conductors + .setup_app("demo", &[dna]) + .await + .unwrap() + .into_tuples(); + conductors.exchange_peer_info().await; + + let _: () = conductors[0] + .call( + &alice.zome("demo"), + "add_to_index_a", + String::from("superdupercool"), + ) + .await; + let _: () = conductors[0] + .call( + &alice.zome("demo"), + "add_to_index_a", + String::from("superdupercrazy"), + ) + .await; + let _: () = conductors[0] + .call( + &alice.zome("demo"), + "add_to_index_a", + String::from("supercomputing"), + ) + .await; + + let _: () = conductors[0] + .call( + &alice.zome("demo"), + "add_to_index_a", + String::from("supersaturates"), + ) + .await; + + consistency_60s([&alice, &bob]).await; + + let results: Vec = conductors[0] + .call( + &alice.zome("demo"), + "search_index_a", + SearchIndexInput { + query: "sup".into(), + limit: 4, + }, + ) + .await; + + assert!(vec![ + String::from("superdupercool"), + String::from("superdupercrazy"), + String::from("supercomputing"), + String::from("supersaturates"), + ] + .iter() + .all(|item| results.contains(item))); + + let results: Vec = conductors[0] + .call( + &alice.zome("demo"), + "search_index_a", + SearchIndexInput { + query: "sup".into(), + limit: 1, + }, + ) + .await; + + assert!(results.contains(&String::from("supercomputing"))); + + let results: Vec = conductors[0] + .call( + &alice.zome("demo"), + "search_index_a", + SearchIndexInput { + query: "super".into(), + limit: 5, + }, + ) + .await; + + assert!(vec![ + String::from("superdupercool"), + String::from("superdupercrazy"), + String::from("supercomputing"), + String::from("supersaturates"), + ] + .iter() + .all(|item| results.contains(item))); + assert_eq!(results[0], String::from("supercomputing")); + + let results: Vec = conductors[0] + .call( + &alice.zome("demo"), + "search_index_a", + SearchIndexInput { + query: "superdupe".into(), + limit: 5, + }, + ) + .await; + + assert!(vec![ + String::from("superdupercool"), + String::from("superdupercrazy"), + String::from("supercomputing"), + String::from("supersaturates"), + ] + .iter() + .all(|item| results.contains(item))); + assert_eq!(results[0], String::from("superdupercool")); + + let results: Vec = conductors[0] + .call( + &alice.zome("demo"), + "search_index_a", + SearchIndexInput { + query: String::from("superdupercool"), + limit: 5, + }, + ) + .await; + + assert!(vec![ + String::from("superdupercool"), + String::from("superdupercrazy"), + String::from("supercomputing"), + String::from("supersaturates"), + ] + .iter() + .all(|item| results.contains(item))); + assert_eq!(results[0], String::from("superdupercool")); + + let results: Vec = conductors[0] + .call( + &alice.zome("demo"), + "search_index_a", + SearchIndexInput { + query: "superduperbad".into(), + limit: 5, + }, + ) + .await; + + assert!(vec![ + String::from("superdupercool"), + String::from("superdupercrazy"), + String::from("supercomputing"), + String::from("supersaturates"), + ] + .iter() + .all(|item| results.contains(item))); + assert_eq!(results[0], String::from("superdupercool")); + + let results: Vec = conductors[0] + .call( + &alice.zome("demo"), + "search_index_a", + SearchIndexInput { + query: "supersaturday".into(), + limit: 5, + }, + ) + .await; + + assert!(vec![ + String::from("superdupercool"), + String::from("superdupercrazy"), + String::from("supercomputing"), + String::from("supersaturates"), + ] + .iter() + .all(|item| results.contains(item))); + assert_eq!(results[0], String::from("supersaturates")); + + let results: Vec = conductors[0] + .call( + &alice.zome("demo"), + "search_index_a", + SearchIndexInput { + query: "cow".into(), + limit: 5, + }, + ) + .await; + + assert_eq!(results.len(), 0); +} + +#[tokio::test(flavor = "multi_thread")] +async fn search_prefix_index_with_width_3_and_depth_5() { + let dna = load_dna().await; + let mut conductors: SweetConductorBatch = + SweetConductorBatch::from_config(2, ConductorConfig::default()).await; + let ((alice,), (bob,)) = conductors + .setup_app("demo", &[dna]) + .await + .unwrap() + .into_tuples(); + conductors.exchange_peer_info().await; + + let _: () = conductors[0] + .call( + &alice.zome("demo"), + "add_to_index_b", + String::from("superdupercool"), + ) + .await; + let _: () = conductors[0] + .call( + &alice.zome("demo"), + "add_to_index_b", + String::from("superdupercrazy"), + ) + .await; + let _: () = conductors[0] + .call( + &alice.zome("demo"), + "add_to_index_b", + String::from("supercomputing"), + ) + .await; + let _: () = conductors[0] + .call( + &alice.zome("demo"), + "add_to_index_b", + String::from("supersaturates"), + ) + .await; + + consistency_60s([&alice, &bob]).await; + + let results: Vec = conductors[0] + .call( + &alice.zome("demo"), + "search_index_b", + SearchIndexInput { + query: "sup".into(), + limit: 4, + }, + ) + .await; + + assert!(vec![ + String::from("superdupercool"), + String::from("superdupercrazy"), + String::from("supercomputing"), + String::from("supersaturates"), + ] + .iter() + .all(|item| results.contains(item))); + + let results: Vec = conductors[0] + .call( + &alice.zome("demo"), + "search_index_b", + SearchIndexInput { + query: "sup".into(), + limit: 1, + }, + ) + .await; + + assert!(results.contains(&String::from("supercomputing"))); + + let results: Vec = conductors[0] + .call( + &alice.zome("demo"), + "search_index_b", + SearchIndexInput { + query: "super".into(), + limit: 5, + }, + ) + .await; + + assert!(vec![ + String::from("superdupercool"), + String::from("superdupercrazy"), + String::from("supercomputing"), + String::from("supersaturates"), + ] + .iter() + .all(|item| results.contains(item))); + assert_eq!(results[0], String::from("supercomputing")); + + let results: Vec = conductors[0] + .call( + &alice.zome("demo"), + "search_index_b", + SearchIndexInput { + query: "superdupe".into(), + limit: 5, + }, + ) + .await; + + assert!(vec![ + String::from("superdupercool"), + String::from("superdupercrazy"), + String::from("supercomputing"), + String::from("supersaturates"), + ] + .iter() + .all(|item| results.contains(item))); + assert_eq!(results[0], String::from("superdupercool")); + + let results: Vec = conductors[0] + .call( + &alice.zome("demo"), + "search_index_b", + SearchIndexInput { + query: String::from("superdupercool"), + limit: 5, + }, + ) + .await; + + assert!(vec![ + String::from("superdupercool"), + String::from("superdupercrazy"), + String::from("supercomputing"), + String::from("supersaturates"), + ] + .iter() + .all(|item| results.contains(item))); + assert_eq!(results[0], String::from("superdupercool")); + + let results: Vec = conductors[0] + .call( + &alice.zome("demo"), + "search_index_b", + SearchIndexInput { + query: "superduperbad".into(), + limit: 5, + }, + ) + .await; + + assert!(vec![ + String::from("superdupercool"), + String::from("superdupercrazy"), + String::from("supercomputing"), + String::from("supersaturates"), + ] + .iter() + .all(|item| results.contains(item))); + assert_eq!(results[0], String::from("superdupercool")); + + let results: Vec = conductors[0] + .call( + &alice.zome("demo"), + "search_index_b", + SearchIndexInput { + query: "supersaturday".into(), + limit: 5, + }, + ) + .await; + + assert!(vec![ + String::from("superdupercool"), + String::from("superdupercrazy"), + String::from("supercomputing"), + String::from("supersaturates"), + ] + .iter() + .all(|item| results.contains(item))); + assert_eq!(results[0], String::from("supersaturates")); + + let results: Vec = conductors[0] + .call( + &alice.zome("demo"), + "search_index_b", + SearchIndexInput { + query: "cow".into(), + limit: 5, + }, + ) + .await; + + assert_eq!(results.len(), 0); +} + +#[tokio::test(flavor = "multi_thread")] +async fn search_prefix_index_with_width_4_and_depth_2() { + let dna = load_dna().await; + let mut conductors: SweetConductorBatch = + SweetConductorBatch::from_config(2, ConductorConfig::default()).await; + let ((alice,), (bob,)) = conductors + .setup_app("demo", &[dna]) + .await + .unwrap() + .into_tuples(); + conductors.exchange_peer_info().await; + + let _: () = conductors[0] + .call( + &alice.zome("demo"), + "add_to_index_c", + String::from("superdupercool"), + ) + .await; + let _: () = conductors[0] + .call( + &alice.zome("demo"), + "add_to_index_c", + String::from("superdupercrazy"), + ) + .await; + let _: () = conductors[0] + .call( + &alice.zome("demo"), + "add_to_index_c", + String::from("supercomputing"), + ) + .await; + let _: () = conductors[0] + .call( + &alice.zome("demo"), + "add_to_index_c", + String::from("supersaturates"), + ) + .await; + + consistency_60s([&alice, &bob]).await; + + let results: Vec = conductors[0] + .call( + &alice.zome("demo"), + "search_index_c", + SearchIndexInput { + query: "sup".into(), + limit: 4, + }, + ) + .await; + assert_eq!(results.len(), 0); + + let results: Vec = conductors[0] + .call( + &alice.zome("demo"), + "search_index_c", + SearchIndexInput { + query: "supe".into(), + limit: 4, + }, + ) + .await; + + assert!(vec![ + String::from("superdupercool"), + String::from("superdupercrazy"), + String::from("supercomputing"), + String::from("supersaturates"), + ] + .iter() + .all(|item| results.contains(item))); + + let results: Vec = conductors[0] + .call( + &alice.zome("demo"), + "search_index_c", + SearchIndexInput { + query: "super".into(), + limit: 5, + }, + ) + .await; + + assert!(vec![ + String::from("superdupercool"), + String::from("superdupercrazy"), + String::from("supercomputing"), + String::from("supersaturates"), + ] + .iter() + .all(|item| results.contains(item))); + assert_eq!(results[0], String::from("supercomputing")); + + let results: Vec = conductors[0] + .call( + &alice.zome("demo"), + "search_index_c", + SearchIndexInput { + query: "superdupe".into(), + limit: 5, + }, + ) + .await; + + assert!(vec![ + String::from("superdupercool"), + String::from("superdupercrazy"), + String::from("supercomputing"), + String::from("supersaturates"), + ] + .iter() + .all(|item| results.contains(item))); + assert_eq!(results[0], String::from("superdupercool")); + + let results: Vec = conductors[0] + .call( + &alice.zome("demo"), + "search_index_c", + SearchIndexInput { + query: String::from("superdupercool"), + limit: 5, + }, + ) + .await; + + assert!(vec![ + String::from("superdupercool"), + String::from("superdupercrazy"), + String::from("supercomputing"), + String::from("supersaturates"), + ] + .iter() + .all(|item| results.contains(item))); + assert_eq!(results[0], String::from("superdupercool")); + + let results: Vec = conductors[0] + .call( + &alice.zome("demo"), + "search_index_c", + SearchIndexInput { + query: "superduperbad".into(), + limit: 5, + }, + ) + .await; + + assert!(vec![ + String::from("superdupercool"), + String::from("superdupercrazy"), + String::from("supercomputing"), + String::from("supersaturates"), + ] + .iter() + .all(|item| results.contains(item))); + assert_eq!(results[0], String::from("superdupercool")); + + let results: Vec = conductors[0] + .call( + &alice.zome("demo"), + "search_index_c", + SearchIndexInput { + query: "supersaturday".into(), + limit: 5, + }, + ) + .await; + + assert!(vec![ + String::from("superdupercool"), + String::from("superdupercrazy"), + String::from("supercomputing"), + String::from("supersaturates"), + ] + .iter() + .all(|item| results.contains(item))); + assert_eq!(results[0], String::from("supersaturates")); + + let results: Vec = conductors[0] + .call( + &alice.zome("demo"), + "search_index_c", + SearchIndexInput { + query: "cow".into(), + limit: 5, + }, + ) + .await; + + assert_eq!(results.len(), 0); +} + +#[tokio::test(flavor = "multi_thread")] +async fn remove_result_from_index() { + let dna = load_dna().await; + let mut conductors: SweetConductorBatch = + SweetConductorBatch::from_config(2, ConductorConfig::default()).await; + let ((alice,), (bob,)) = conductors + .setup_app("demo", &[dna]) + .await + .unwrap() + .into_tuples(); + conductors.exchange_peer_info().await; + + let _: () = conductors[0] + .call( + &alice.zome("demo"), + "add_to_index_a", + String::from("superduper"), + ) + .await; + + let _: () = conductors[0] + .call( + &alice.zome("demo"), + "add_to_index_a", + String::from("superdupercrazy"), + ) + .await; + + consistency_60s([&alice, &bob]).await; + + let results: Vec = conductors[0] + .call( + &alice.zome("demo"), + "search_index_a", + SearchIndexInput { + query: "sup".into(), + limit: 4, + }, + ) + .await; + + assert!( + vec![String::from("superduper"), String::from("superdupercrazy")] + .iter() + .all(|item| results.contains(item)) + ); + + let _: () = conductors[0] + .call( + &alice.zome("demo"), + "remove_from_index_a", + String::from("superduper"), + ) + .await; + + consistency_60s([&alice, &bob]).await; + + let results: Vec = conductors[0] + .call( + &alice.zome("demo"), + "search_index_a", + SearchIndexInput { + query: "sup".into(), + limit: 4, + }, + ) + .await; + + assert_eq!(vec![String::from("superdupercrazy")], results); +} + +#[tokio::test(flavor = "multi_thread")] +async fn add_result_with_labels() { + let dna = load_dna().await; + let mut conductors: SweetConductorBatch = + SweetConductorBatch::from_config(2, ConductorConfig::default()).await; + let ((alice,), (bob,)) = conductors + .setup_app("demo", &[dna]) + .await + .unwrap() + .into_tuples(); + conductors.exchange_peer_info().await; + + let _: () = conductors[0] + .call( + &alice.zome("demo"), + "add_hashtag_to_index_a", + String::from("#superdupercool"), + ) + .await; + + let _: () = conductors[0] + .call( + &alice.zome("demo"), + "add_hashtag_to_index_a", + String::from("#superdupercrazy"), + ) + .await; + + let _: () = conductors[0] + .call( + &alice.zome("demo"), + "add_hashtag_to_index_a", + String::from("#supercomputing"), + ) + .await; + + let _: () = conductors[0] + .call( + &alice.zome("demo"), + "add_hashtag_to_index_a", + String::from("#supersaturates"), + ) + .await; + + let _: () = conductors[0] + .call( + &alice.zome("demo"), + "add_cashtag_to_index_a", + String::from("$supercomputing"), + ) + .await; + + let _: () = conductors[0] + .call( + &alice.zome("demo"), + "add_cashtag_to_index_a", + String::from("$supersaturates"), + ) + .await; + + consistency_60s([&alice, &bob]).await; + + let results: Vec = conductors[0] + .call( + &alice.zome("demo"), + "search_index_a", + SearchIndexInput { + query: "sup".into(), + limit: 10, + }, + ) + .await; + + assert!(vec![ + String::from("#superdupercool"), + String::from("#superdupercrazy"), + String::from("#supercomputing"), + String::from("#supersaturates"), + String::from("$supercomputing"), + String::from("$supersaturates"), + ] + .iter() + .all(|item| results.contains(item))); + assert_eq!(String::from("#supercomputing"), results[0]); + + let results: Vec = conductors[0] + .call( + &alice.zome("demo"), + "search_index_a", + SearchIndexInput { + query: "super".into(), + limit: 10, + }, + ) + .await; + + assert!(vec![ + String::from("#superdupercool"), + String::from("#superdupercrazy"), + String::from("#supercomputing"), + String::from("#supersaturates"), + String::from("$supercomputing"), + String::from("$supersaturates"), + ] + .iter() + .all(|item| results.contains(item))); + assert_eq!(String::from("#supercomputing"), results[0]); + + let results: Vec = conductors[0] + .call( + &alice.zome("demo"), + "search_index_a", + SearchIndexInput { + query: "superdupe".into(), + limit: 10, + }, + ) + .await; + + assert!(vec![ + String::from("#superdupercool"), + String::from("#superdupercrazy"), + String::from("#supercomputing"), + String::from("#supersaturates"), + String::from("$supercomputing"), + String::from("$supersaturates"), + ] + .iter() + .all(|item| results.contains(item))); + assert_eq!(String::from("#superdupercool"), results[0]); + + let results: Vec = conductors[0] + .call( + &alice.zome("demo"), + "search_index_a", + SearchIndexInput { + query: "superdupercool".into(), + limit: 10, + }, + ) + .await; + + assert!(vec![ + String::from("#superdupercool"), + String::from("#superdupercrazy"), + String::from("#supercomputing"), + String::from("#supersaturates"), + String::from("$supercomputing"), + String::from("$supersaturates"), + ] + .iter() + .all(|item| results.contains(item))); + assert_eq!(String::from("#superdupercool"), results[0]); + + let results: Vec = conductors[0] + .call( + &alice.zome("demo"), + "search_index_a", + SearchIndexInput { + query: "superduperbad".into(), + limit: 10, + }, + ) + .await; + + assert!(vec![ + String::from("#superdupercool"), + String::from("#superdupercrazy"), + String::from("#supercomputing"), + String::from("#supersaturates"), + String::from("$supercomputing"), + String::from("$supersaturates"), + ] + .iter() + .all(|item| results.contains(item))); + assert_eq!(String::from("#superdupercool"), results[0]); + + let results: Vec = conductors[0] + .call( + &alice.zome("demo"), + "search_index_a", + SearchIndexInput { + query: "supersaturday".into(), + limit: 10, + }, + ) + .await; + + assert!(vec![ + String::from("#superdupercool"), + String::from("#superdupercrazy"), + String::from("#supercomputing"), + String::from("#supersaturates"), + String::from("$supercomputing"), + String::from("$supersaturates"), + ] + .iter() + .all(|item| results.contains(item))); + assert_eq!(String::from("#supersaturates"), results[0]); + + let results: Vec = conductors[0] + .call( + &alice.zome("demo"), + "search_index_a", + SearchIndexInput { + query: "cow".into(), + limit: 10, + }, + ) + .await; + assert_eq!(results.len(), 0); +} + +#[tokio::test(flavor = "multi_thread")] +async fn presevere_letter_case_in_result_but_ignore_letter_case_in_index() { + let dna = load_dna().await; + let mut conductors: SweetConductorBatch = + SweetConductorBatch::from_config(2, ConductorConfig::default()).await; + let ((alice,), (bob,)) = conductors + .setup_app("demo", &[dna]) + .await + .unwrap() + .into_tuples(); + conductors.exchange_peer_info().await; + + let _: () = conductors[0] + .call( + &alice.zome("demo"), + "add_hashtag_to_index_a", + String::from("#HOLOCHAIN"), + ) + .await; + + let _: () = conductors[0] + .call( + &alice.zome("demo"), + "add_hashtag_to_index_a", + String::from("#holosapian"), + ) + .await; + + let _: () = conductors[0] + .call( + &alice.zome("demo"), + "add_cashtag_to_index_a", + String::from("$HOLY"), + ) + .await; + + consistency_60s([&alice, &bob]).await; + + let results: Vec = conductors[0] + .call( + &alice.zome("demo"), + "search_index_a", + SearchIndexInput { + query: "holo".into(), + limit: 5, + }, + ) + .await; + + assert!(vec![ + String::from("#HOLOCHAIN"), + String::from("#holosapian"), + String::from("$HOLY"), + ] + .iter() + .all(|item| results.contains(item))); +} + +#[tokio::test(flavor = "multi_thread")] +async fn get_random_results_returns_random_results() { + let dna = load_dna().await; + let mut conductors: SweetConductorBatch = + SweetConductorBatch::from_config(2, ConductorConfig::default()).await; + let ((alice,), (bob,)) = conductors + .setup_app("demo", &[dna]) + .await + .unwrap() + .into_tuples(); + conductors.exchange_peer_info().await; + + let _: () = conductors[0] + .call( + &alice.zome("demo"), + "add_hashtag_to_index_a", + String::from("#HOLOCHAIN"), + ) + .await; + + let _: () = conductors[0] + .call( + &alice.zome("demo"), + "add_hashtag_to_index_a", + String::from("#holosapian"), + ) + .await; + + let _: () = conductors[0] + .call( + &alice.zome("demo"), + "add_cashtag_to_index_a", + String::from("$HOLY"), + ) + .await; + + let _: () = conductors[0] + .call( + &alice.zome("demo"), + "add_cashtag_to_index_a", + String::from("$CAT"), + ) + .await; + + let _: () = conductors[0] + .call( + &alice.zome("demo"), + "add_cashtag_to_index_a", + String::from("$DOGGO"), + ) + .await; + + let _: () = conductors[0] + .call( + &alice.zome("demo"), + "add_hashtag_to_index_a", + String::from("#monkeys"), + ) + .await; + + consistency_60s([&alice, &bob]).await; + + let results1: Vec = conductors[0] + .call(&alice.zome("demo"), "get_random_results_index_a", 1) + .await; + + let results2: Vec = conductors[0] + .call(&alice.zome("demo"), "get_random_results_index_a", 1) + .await; + + let results3: Vec = conductors[0] + .call(&alice.zome("demo"), "get_random_results_index_a", 1) + .await; + + let results4: Vec = conductors[0] + .call(&alice.zome("demo"), "get_random_results_index_a", 1) + .await; + + let results5: Vec = conductors[0] + .call(&alice.zome("demo"), "get_random_results_index_a", 1) + .await; + + // Assert we did not get the exact same result 5 times + let mut unique_results = HashSet::new(); + unique_results.insert(&results1[0]); + unique_results.insert(&results2[0]); + unique_results.insert(&results3[0]); + unique_results.insert(&results4[0]); + unique_results.insert(&results5[0]); + assert!(unique_results.len() > 1) +} diff --git a/flake.lock b/flake.lock index a7f3b02..cd4694e 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": 1684139928, - "narHash": "sha256-uno5MTiBwf9RiEiX6iKzJsB+3srJFKwV/1ReXzaZVVw=", + "lastModified": 1702563980, + "narHash": "sha256-FreX9/2dj2/gxyj/1MmaZkmFKnrTUrHtH1/FD9sfE/M=", "owner": "holochain", "repo": "holochain", - "rev": "a91b262e87653f5f2e3a50c06eaac2bb81fb88d3", + "rev": "adaed11bd637ae8ff4ffa216558aea226cc87a0c", "type": "github" }, "original": { "owner": "holochain", - "ref": "holochain-0.2.1-beta-dev.0", + "ref": "holochain-0.2.4", "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": 1686766998, - "narHash": "sha256-n4RAcGrGL4t7thLLSM4aBYF1IUf2PdTiNLVzROnlOSk=", + "lastModified": 1702660438, + "narHash": "sha256-nhfFjzNt+ZGbhm0dhDZTwOCya54p5poB30231cjWRNo=", "owner": "holochain", "repo": "holochain", - "rev": "3e0511ce4068bf9d3e5fa19d069f8d873e444e14", + "rev": "e834d862dbc4d202f11e328b3d18640abd965119", "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": 1686592866, - "narHash": "sha256-riGg89eWhXJcPNrQGcSwTEEm7CGxWC06oSX44hajeMw=", + "lastModified": 1702312524, + "narHash": "sha256-gkZJRDBUCpTPBvQk25G0B7vfbpEYM5s5OZqghkjZsnE=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "0eeebd64de89e4163f4d3cf34ffe925a5cf67a05", + "rev": "a9bf124c46ef298113270b1f84a164865987a91c", "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": 1686709572, - "narHash": "sha256-WRLfZK8p8mfhdghO4Ot9mcGkU4fMNlpYuJ9/D3HwCes=", + "lastModified": 1702606645, + "narHash": "sha256-o3kM+nzw0qaphSJfdmV+JcDBVMZEll5EVDCLHY+L83A=", "owner": "oxalica", "repo": "rust-overlay", - "rev": "2d7fe187eff3a98254e8115c85bb67739693f221", + "rev": "d7aaf97c7c5ea7b4198ef85d3d66b3dfe5c6ce57", "type": "github" }, "original": { @@ -396,11 +409,11 @@ "scaffolding": { "flake": false, "locked": { - "lastModified": 1683890859, - "narHash": "sha256-/nG2TGU4Q7zy0KGS/opcW1836LZ7FJhA+/OEh5gNj34=", + "lastModified": 1695674679, + "narHash": "sha256-IwgQbgitUo61ZXYSXBAro5ThfYy/yMGmzZGTb3c6sT0=", "owner": "holochain", "repo": "scaffolding", - "rev": "1ca1092ad5d147bd23a75444874830cc033aa9cf", + "rev": "821439b8dd49d5ce594be04c4720df25e88a4dbc", "type": "github" }, "original": { @@ -434,11 +447,11 @@ }, "locked": { "dir": "versions/0_2", - "lastModified": 1686766998, - "narHash": "sha256-n4RAcGrGL4t7thLLSM4aBYF1IUf2PdTiNLVzROnlOSk=", + "lastModified": 1702660438, + "narHash": "sha256-nhfFjzNt+ZGbhm0dhDZTwOCya54p5poB30231cjWRNo=", "owner": "holochain", "repo": "holochain", - "rev": "3e0511ce4068bf9d3e5fa19d069f8d873e444e14", + "rev": "e834d862dbc4d202f11e328b3d18640abd965119", "type": "github" }, "original": { diff --git a/package-lock.json b/package-lock.json index efa2e9e..22986db 100644 --- a/package-lock.json +++ b/package-lock.json @@ -29,6 +29,28 @@ "node": ">=6.9.0" } }, + "node_modules/@bitgo/blake2b": { + "version": "3.2.4", + "resolved": "https://registry.npmjs.org/@bitgo/blake2b/-/blake2b-3.2.4.tgz", + "integrity": "sha512-46PEgEVPxecNJ/xczggIllSxIkFIvvbVM0OfIDdNJ5qpFHUeBCkNIiGdzC3fYZlsv7bVTdUZOj79GcFBLMYBqA==", + "dependencies": { + "@bitgo/blake2b-wasm": "^3.2.3", + "nanoassert": "^2.0.0" + } + }, + "node_modules/@bitgo/blake2b-wasm": { + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/@bitgo/blake2b-wasm/-/blake2b-wasm-3.2.3.tgz", + "integrity": "sha512-NaurBrMaEpjfg7EdUJgW/c6byt27O6q1ZaxB5Ita10MjjYjUu0SyYF4q7JPNxpHF/lMxb0YZakOxigbDBu9Jjw==", + "dependencies": { + "nanoassert": "^1.0.0" + } + }, + "node_modules/@bitgo/blake2b-wasm/node_modules/nanoassert": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/nanoassert/-/nanoassert-1.1.0.tgz", + "integrity": "sha512-C40jQ3NzfkP53NsO8kEOFd79p4b9kDXQMwgiY1z8ZwrDZgUyom0AHwGegF4Dm99L+YoYhuaB0ceerUcXmqr1rQ==" + }, "node_modules/@colors/colors": { "version": "1.5.0", "resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.5.0.tgz", @@ -387,22 +409,23 @@ } }, "node_modules/@holochain/client": { - "version": "0.14.1", - "resolved": "https://registry.npmjs.org/@holochain/client/-/client-0.14.1.tgz", - "integrity": "sha512-5rWPIRdxhvV+SpKHegKsPSw7AcN1JjtLS5RhAlLT7dsXvn70BcMWsImhBs1sqw69QsbEMKlhqaOH+sOS5LkDBQ==", + "version": "0.16.7", + "resolved": "https://registry.npmjs.org/@holochain/client/-/client-0.16.7.tgz", + "integrity": "sha512-wCFm71HUnZ9vxmuguqKqDOhqjE5Qq5e8bM4q9W1ginel3UAZF3LmYym5Ny4pOG2aqf2tD5mpf7xTZjBxPDGnjA==", "dependencies": { + "@bitgo/blake2b": "^3.2.4", "@holochain/serialization": "^0.1.0-beta-rc.3", - "@msgpack/msgpack": "^2.7.2", - "@noble/ed25519": "^2.0.0", - "@tauri-apps/api": "^1.2.0", + "@msgpack/msgpack": "^2.8.0", + "@tauri-apps/api": "^1.4.0", "emittery": "^1.0.1", "isomorphic-ws": "^5.0.0", - "js-base64": "^3.7.3", + "js-base64": "^3.7.5", + "libsodium-wrappers": "^0.7.13", "lodash-es": "^4.17.21", - "ws": "^8.13.0" + "ws": "^8.14.2" }, "engines": { - "node": ">=16.0.0 || >=18.0.0" + "node": ">=18.0.0 || >=20.0.0" } }, "node_modules/@holochain/serialization": { @@ -411,11 +434,11 @@ "integrity": "sha512-DJx4V2KXHVLciyOGjOYKTM/JLBpBEZ3RsPIRCgf7qmwhQdxXvhi2p+oFFRD51yUT5uC1/MzIVeJCl/R60PwFbw==" }, "node_modules/@holochain/tryorama": { - "version": "0.14.0-rc.0", - "resolved": "https://registry.npmjs.org/@holochain/tryorama/-/tryorama-0.14.0-rc.0.tgz", - "integrity": "sha512-m5TGamkCsapFoeHe2DhAJXWYkOhj4XGd9gd3pj/iWR9c2lwsSiY1IKfUCWJ0tCVis4i8ZGakeWbbvwlFoS3dhQ==", + "version": "0.15.2", + "resolved": "https://registry.npmjs.org/@holochain/tryorama/-/tryorama-0.15.2.tgz", + "integrity": "sha512-Hgec9/KiQRxqZm/1LPN3EQ0GWOqusyhu+dC+XA5nJfARTDVM178mMmnQ08Uqk1s7FwA50Lq+/YAGpr4kIz7kBg==", "dependencies": { - "@holochain/client": "^0.14.1", + "@holochain/client": "^0.16.0", "get-port": "^6.1.2", "lodash": "^4.17.21", "uuid": "^8.3.2", @@ -434,21 +457,10 @@ "node": ">= 10" } }, - "node_modules/@noble/ed25519": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@noble/ed25519/-/ed25519-2.0.0.tgz", - "integrity": "sha512-/extjhkwFupyopDrt80OMWKdLgP429qLZj+z6sYJz90rF2Iz0gjZh2ArMKPImUl13Kx+0EXI2hN9T/KJV0/Zng==", - "funding": [ - { - "type": "individual", - "url": "https://paulmillr.com/funding/" - } - ] - }, "node_modules/@tauri-apps/api": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@tauri-apps/api/-/api-1.2.0.tgz", - "integrity": "sha512-lsI54KI6HGf7VImuf/T9pnoejfgkNoXveP14pVV7XarrQ46rOejIVJLFqHI9sRReJMGdh2YuCoI3cc/yCWCsrw==", + "version": "1.5.2", + "resolved": "https://registry.npmjs.org/@tauri-apps/api/-/api-1.5.2.tgz", + "integrity": "sha512-tZK3XJiIUnUdHN7rGqA+j57dvT3/7z2bEiPfWmO3uAymv2JMBJrfGwbyDWLjGue37UVhh0gLYSkA9wV+/bASwA==", "engines": { "node": ">= 14.6.0", "npm": ">= 6.6.0", @@ -1088,6 +1100,19 @@ "resolved": "https://registry.npmjs.org/kuler/-/kuler-2.0.0.tgz", "integrity": "sha512-Xq9nH7KlWZmXAtodXDDRE7vs6DU1gTU8zYDHDiWLSip45Egwq3plLHzPn27NgvzL2r1LMPC1vdqh98sQxtqj4A==" }, + "node_modules/libsodium": { + "version": "0.7.13", + "resolved": "https://registry.npmjs.org/libsodium/-/libsodium-0.7.13.tgz", + "integrity": "sha512-mK8ju0fnrKXXfleL53vtp9xiPq5hKM0zbDQtcxQIsSmxNgSxqCj6R7Hl9PkrNe2j29T4yoDaF7DJLK9/i5iWUw==" + }, + "node_modules/libsodium-wrappers": { + "version": "0.7.13", + "resolved": "https://registry.npmjs.org/libsodium-wrappers/-/libsodium-wrappers-0.7.13.tgz", + "integrity": "sha512-kasvDsEi/r1fMzKouIDv7B8I6vNmknXwGiYodErGuESoFTohGSKZplFtVxZqHaoQ217AynyIFgnOVRitpHs0Qw==", + "dependencies": { + "libsodium": "^0.7.13" + } + }, "node_modules/local-pkg": { "version": "0.4.3", "resolved": "https://registry.npmjs.org/local-pkg/-/local-pkg-0.4.3.tgz", @@ -1158,6 +1183,11 @@ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" }, + "node_modules/nanoassert": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/nanoassert/-/nanoassert-2.0.0.tgz", + "integrity": "sha512-7vO7n28+aYO4J+8w96AzhmU8G+Y/xpPDJz/se19ICsqj/momRbb9mh9ZUtkoJ5X3nTnPdhEJyc0qnM6yAsHBaA==" + }, "node_modules/nanoid": { "version": "3.3.6", "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.6.tgz", @@ -1851,9 +1881,9 @@ "dev": true }, "node_modules/ws": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.13.0.tgz", - "integrity": "sha512-x9vcZYTrFPC7aSIbj7sRCYo7L/Xb8Iy+pW0ng0wt2vCJv7M9HOMy0UoN3rr+IFC7hb7vXoqS+P9ktyLLLhO+LA==", + "version": "8.15.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.15.1.tgz", + "integrity": "sha512-W5OZiCjXEmk0yZ66ZN82beM5Sz7l7coYxpRkzS+p9PP+ToQry8szKh+61eNktr7EA9DOwvFGhfC605jDHbP6QQ==", "engines": { "node": ">=10.0.0" }, @@ -1919,8 +1949,8 @@ }, "tests": { "dependencies": { - "@holochain/client": "^0.14.1", - "@holochain/tryorama": "^0.14.0-rc.0", + "@holochain/client": "^0.16.7", + "@holochain/tryorama": "^0.15.2", "@msgpack/msgpack": "^2.7.0", "typescript": "^4.9.4", "vitest": "^0.28.4" diff --git a/package.json b/package.json index 7016a02..aba9eab 100644 --- a/package.json +++ b/package.json @@ -1,13 +1,10 @@ { "name": "prefix-index-dev", "private": true, - "workspaces": [ - "tests" - ], "scripts": { "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", + "test": "npm run build:happ && cargo test", "launch:happ": "echo \"pass\" | RUST_LOG=warn hc launch --piped -n $AGENTS workdir/prefix-index.happ --ui-port $UI_PORT network mdns", "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", diff --git a/tests/.gitignore b/tests/.gitignore deleted file mode 100644 index 4f5a5e0..0000000 --- a/tests/.gitignore +++ /dev/null @@ -1,12 +0,0 @@ - -node_modules -/dist/ -/target/ -/.cargo/ -*.happ -*.webhapp -*.zip -*.dna -.hc* -.hc -.running diff --git a/tests/package.json b/tests/package.json deleted file mode 100644 index 23f3a25..0000000 --- a/tests/package.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "name": "tests", - "private": true, - "scripts": { - "test": "TRYORAMA_LOG_LEVEL=debug vitest run" - }, - "dependencies": { - "@msgpack/msgpack": "^2.7.0", - "@holochain/client": "^0.14.1", - "@holochain/tryorama": "^0.14.0-rc.0", - "typescript": "^4.9.4", - "vitest": "^0.28.4" - }, - "type": "module" -} diff --git a/tests/src/demo/demo/common.ts b/tests/src/demo/demo/common.ts deleted file mode 100644 index e1b8106..0000000 --- a/tests/src/demo/demo/common.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { CallableCell } from '@holochain/tryorama'; -import { NewEntryAction, ActionHash, Record, AppBundleSource, fakeActionHash, fakeAgentPubKey, fakeEntryHash, fakeDnaHash } from '@holochain/client'; - diff --git a/tests/src/demo/demo/prefix-index.test.ts b/tests/src/demo/demo/prefix-index.test.ts deleted file mode 100644 index 75c69d4..0000000 --- a/tests/src/demo/demo/prefix-index.test.ts +++ /dev/null @@ -1,882 +0,0 @@ -import { pause, runScenario } from "@holochain/tryorama"; -import { assert, test } from "vitest"; - -test("search prefix index with width=3, depth=3", async () => { - await runScenario( - async (scenario) => { - console.log('running scenario') - // Set up the app to be installed - const appSource = { path: "../workdir/prefix-index.happ"}; - console.log('app source is', appSource); - console.log('sceneario condoutros is', scenario) - // Add 2 players with the test app to the Scenario. The returned players - // can be destructured. - const alice = await scenario.addPlayerWithApp(appSource); - console.log('added player with app', alice); - // Shortcut peer discovery through gossip and register all agents in every - // conductor of the scenario. - await scenario.shareAllAgents(); - console.log('shared agents'); - - - await alice.cells[0].callZome({ - zome_name: "demo", - fn_name: "add_to_index_a", - payload: "superdupercool", - }); - console.log('called zome'); - - await alice.cells[0].callZome({ - zome_name: "demo", - fn_name: "add_to_index_a", - payload: "superdupercrazy", - }); - await alice.cells[0].callZome({ - zome_name: "demo", - fn_name: "add_to_index_a", - payload: "supercomputing", - }); - await alice.cells[0].callZome({ - zome_name: "demo", - fn_name: "add_to_index_a", - payload: "supersaturates", - }); - - await pause(1000); - - - let results: string[] = await alice.cells[0].callZome({ - zome_name: "demo", - fn_name: "search_index_a", - payload: { - query: "sup", - limit: 4, - } - }); - - assert.sameMembers(results, [ - 'superdupercool', - 'superdupercrazy', - 'supercomputing', - 'supersaturates', - ]); - - results = await alice.cells[0].callZome({ - zome_name: "demo", - fn_name: "search_index_a", - payload: { - query: "sup", - limit: 1, - } - }); - - assert.sameMembers(results, [ - 'supercomputing', - ]); - - results = await alice.cells[0].callZome({ - zome_name: "demo", - fn_name: "search_index_a", - payload: { - query: "super", - limit: 5, - } - }); - - assert.sameMembers(results, [ - 'superdupercool', - 'superdupercrazy', - 'supercomputing', - 'supersaturates', - ]); - assert.equal(results[0], 'supercomputing'); - - results = await alice.cells[0].callZome({ - zome_name: "demo", - fn_name: "search_index_a", - payload: { - query: "superdupe", - limit: 5 - } - }); - - assert.sameMembers(results, [ - 'superdupercool', - 'superdupercrazy', - 'supercomputing', - 'supersaturates', - ]); - assert.equal(results[0], 'superdupercool'); - - results = await alice.cells[0].callZome({ - zome_name: "demo", - fn_name: "search_index_a", - payload: { - query: "superdupercool", - limit: 5 - } - }); - - assert.sameMembers(results, [ - 'superdupercool', - 'superdupercrazy', - 'supercomputing', - 'supersaturates', - ]); - assert.equal(results[0], 'superdupercool'); - - - results = await alice.cells[0].callZome({ - zome_name: "demo", - fn_name: "search_index_a", - payload: { - query: "superduperbad", - limit: 5 - } - }); - - assert.sameMembers(results, [ - 'superdupercool', - 'superdupercrazy', - 'supercomputing', - 'supersaturates', - ]); - assert.equal(results[0], 'superdupercool'); - - results = await alice.cells[0].callZome({ - zome_name: "demo", - fn_name: "search_index_a", - payload: { - query: "supersaturday", - limit: 5 - } - }); - assert.sameMembers(results, [ - 'superdupercool', - 'superdupercrazy', - 'supercomputing', - 'supersaturates', - ]); - assert.equal(results[0], 'supersaturates'); - - results = await alice.cells[0].callZome({ - zome_name: "demo", - fn_name: "search_index_a", - payload: { - query: "cow", - limit: 5 - } - }); - assert.lengthOf(results, 0); - }, - true, - { timeout: 30000 } - ); -}); - -test("search prefix index with width=3, depth=5", async () => { - await runScenario( - async (scenario) => { - // Set up the app to be installed - const appSource = { appBundleSource: { path: "../workdir/prefix-index.happ"}}; - - // Add 2 players with the test app to the Scenario. The returned players - // can be destructured. - const [alice] = await scenario.addPlayersWithApps([appSource]); - - // Shortcut peer discovery through gossip and register all agents in every - // conductor of the scenario. - await scenario.shareAllAgents(); - - await alice.cells[0].callZome({ - zome_name: "demo", - fn_name: "add_to_index_b", - payload: "superdupercool", - }); - await alice.cells[0].callZome({ - zome_name: "demo", - fn_name: "add_to_index_b", - payload: "superdupercrazy", - }); - await alice.cells[0].callZome({ - zome_name: "demo", - fn_name: "add_to_index_b", - payload: "supercomputing", - }); - await alice.cells[0].callZome({ - zome_name: "demo", - fn_name: "add_to_index_b", - payload: "supersaturates", - }); - - await pause(1000); - - let results: string[] = await alice.cells[0].callZome({ - zome_name: "demo", - fn_name: "search_index_b", - payload: { - query: "sup", - limit: 5, - } - }); - - assert.sameMembers(results, [ - 'superdupercool', - 'superdupercrazy', - 'supercomputing', - 'supersaturates', - ]); - - results = await alice.cells[0].callZome({ - zome_name: "demo", - fn_name: "search_index_b", - payload: { - query: "sup", - limit: 1, - } - }); - - assert.sameMembers(results, [ - 'supercomputing', - ]); - - results = await alice.cells[0].callZome({ - zome_name: "demo", - fn_name: "search_index_b", - payload: { - query: "super", - limit: 5, - } - }); - - assert.sameMembers(results, [ - 'superdupercool', - 'superdupercrazy', - 'supercomputing', - 'supersaturates', - ]); - assert.equal(results[0], 'supercomputing'); - - results = await alice.cells[0].callZome({ - zome_name: "demo", - fn_name: "search_index_b", - payload: { - query: "superdupe", - limit: 5 - } - }); - - assert.sameMembers(results, [ - 'superdupercool', - 'superdupercrazy', - 'supercomputing', - 'supersaturates', - ]); - assert.equal(results[0], 'superdupercool'); - - results = await alice.cells[0].callZome({ - zome_name: "demo", - fn_name: "search_index_b", - payload: { - query: "superdupercool", - limit: 5 - } - }); - - assert.sameMembers(results, [ - 'superdupercool', - 'superdupercrazy', - 'supercomputing', - 'supersaturates', - ]); - assert.equal(results[0], 'superdupercool'); - - - results = await alice.cells[0].callZome({ - zome_name: "demo", - fn_name: "search_index_b", - payload: { - query: "superduperbad", - limit: 5 - } - }); - - assert.sameMembers(results, [ - 'superdupercool', - 'superdupercrazy', - 'supercomputing', - 'supersaturates', - ]); - assert.equal(results[0], 'superdupercool'); - - results = await alice.cells[0].callZome({ - zome_name: "demo", - fn_name: "search_index_b", - payload: { - query: "supersaturday", - limit: 5 - } - }); - - assert.sameMembers(results, [ - 'superdupercool', - 'superdupercrazy', - 'supercomputing', - 'supersaturates', - ]); - assert.equal(results[0], 'supersaturates'); - }, - true, - { timeout: 100000 } - ); -}); - -test("search prefix index with width=4, depth=2", async () => { - await runScenario( - async (scenario) => { - // Set up the app to be installed - const appSource = { appBundleSource: { path: "../workdir/prefix-index.happ"}}; - - // Add 2 players with the test app to the Scenario. The returned players - // can be destructured. - const [alice] = await scenario.addPlayersWithApps([appSource]); - - // Shortcut peer discovery through gossip and register all agents in every - // conductor of the scenario. - await scenario.shareAllAgents(); - - await alice.cells[0].callZome({ - zome_name: "demo", - fn_name: "add_to_index_c", - payload: "superdupercool", - }); - await alice.cells[0].callZome({ - zome_name: "demo", - fn_name: "add_to_index_c", - payload: "superdupercrazy", - }); - await alice.cells[0].callZome({ - zome_name: "demo", - fn_name: "add_to_index_c", - payload: "supercomputing", - }); - await alice.cells[0].callZome({ - zome_name: "demo", - fn_name: "add_to_index_c", - payload: "supersaturates", - }); - - await pause(1000); - - let results: string[] = await alice.cells[0].callZome({ - zome_name: "demo", - fn_name: "search_index_c", - payload: { - query: "sup", - limit: 5, - } - }); - assert.lengthOf(results, 0); - - results = await alice.cells[0].callZome({ - zome_name: "demo", - fn_name: "search_index_c", - payload: { - query: "supe", - limit: 5, - } - }); - assert.sameMembers(results, [ - 'superdupercool', - 'superdupercrazy', - 'supercomputing', - 'supersaturates', - ]); - - results = await alice.cells[0].callZome({ - zome_name: "demo", - fn_name: "search_index_c", - payload: { - query: "sup", - limit: 1, - } - }); - - assert.lengthOf(results, 0); - - results = await alice.cells[0].callZome({ - zome_name: "demo", - fn_name: "search_index_c", - payload: { - query: "super", - limit: 5, - } - }); - - assert.sameMembers(results, [ - 'superdupercool', - 'superdupercrazy', - 'supercomputing', - 'supersaturates', - ]); - assert.equal(results[0], 'supercomputing'); - - results = await alice.cells[0].callZome({ - zome_name: "demo", - fn_name: "search_index_c", - payload: { - query: "superdupe", - limit: 5 - } - }); - - assert.sameMembers(results, [ - 'superdupercool', - 'superdupercrazy', - 'supercomputing', - 'supersaturates', - ]); - assert.equal(results[0], 'superdupercool'); - - results = await alice.cells[0].callZome({ - zome_name: "demo", - fn_name: "search_index_c", - payload: { - query: "superdupercool", - limit: 5 - } - }); - - assert.sameMembers(results, [ - 'superdupercool', - 'superdupercrazy', - 'supercomputing', - 'supersaturates', - ]); - assert.equal(results[0], 'superdupercool'); - - - results = await alice.cells[0].callZome({ - zome_name: "demo", - fn_name: "search_index_c", - payload: { - query: "superduperbad", - limit: 5 - } - }); - - assert.sameMembers(results, [ - 'superdupercool', - 'superdupercrazy', - 'supercomputing', - 'supersaturates', - ]); - assert.equal(results[0], 'superdupercool'); - - results = await alice.cells[0].callZome({ - zome_name: "demo", - fn_name: "search_index_c", - payload: { - query: "supersaturday", - limit: 5 - } - }); - - assert.sameMembers(results, [ - 'superdupercool', - 'superdupercrazy', - 'supercomputing', - 'supersaturates', - ]); - assert.equal(results[0], 'supersaturates'); - }, - true, - { timeout: 100000 } - ); -}); - -test("remove result from index", async () => { - await runScenario( - async (scenario) => { - // Set up the app to be installed - const appSource = { appBundleSource: { path: "../workdir/prefix-index.happ"}}; - - // Add 2 players with the test app to the Scenario. The returned players - // can be destructured. - const [alice] = await scenario.addPlayersWithApps([appSource]); - - // Shortcut peer discovery through gossip and register all agents in every - // conductor of the scenario. - await scenario.shareAllAgents(); - - await alice.cells[0].callZome({ - zome_name: "demo", - fn_name: "add_to_index_a", - payload: "superduper", - }); - - await alice.cells[0].callZome({ - zome_name: "demo", - fn_name: "add_to_index_a", - payload: "superdupercrazy", - }); - - await pause(1000); - - let results: string[] = await alice.cells[0].callZome({ - zome_name: "demo", - fn_name: "search_index_a", - payload: { - query: "sup", - limit: 4, - } - }); - - assert.sameMembers(results, ['superduper', 'superdupercrazy']); - - await alice.cells[0].callZome({ - zome_name: "demo", - fn_name: "remove_from_index_a", - payload: "superduper" - }); - - - await pause(1000); - - results = await alice.cells[0].callZome({ - zome_name: "demo", - fn_name: "search_index_a", - payload: { - query: "sup", - limit: 4, - } - }); - assert.sameMembers(results, ['superdupercrazy']); - }, - true, - { timeout: 100000 } - ); -}); - -test("add results with labels", async () => { - await runScenario( - async (scenario) => { - // Set up the app to be installed - const appSource = { appBundleSource: { path: "../workdir/prefix-index.happ"}}; - - // Add 2 players with the test app to the Scenario. The returned players - // can be destructured. - const [alice] = await scenario.addPlayersWithApps([appSource]); - - // Shortcut peer discovery through gossip and register all agents in every - // conductor of the scenario. - await scenario.shareAllAgents(); - - await alice.cells[0].callZome({ - zome_name: "demo", - fn_name: "add_hashtag_to_index_a", - payload: "#superdupercool", - }); - await alice.cells[0].callZome({ - zome_name: "demo", - fn_name: "add_hashtag_to_index_a", - payload: "#superdupercrazy", - }); - await alice.cells[0].callZome({ - zome_name: "demo", - fn_name: "add_hashtag_to_index_a", - payload: "#supercomputing", - }); - await alice.cells[0].callZome({ - zome_name: "demo", - fn_name: "add_hashtag_to_index_a", - payload: "#supersaturates", - }); - await alice.cells[0].callZome({ - zome_name: "demo", - fn_name: "add_cashtag_to_index_a", - payload: "$supercomputing", - }); - await alice.cells[0].callZome({ - zome_name: "demo", - fn_name: "add_cashtag_to_index_a", - payload: "$supersaturates", - }); - - - await pause(1000); - - - let results: string[] = await alice.cells[0].callZome({ - zome_name: "demo", - fn_name: "search_index_a", - payload: { - query: "sup", - limit: 10, - } - }); - - assert.sameMembers(results, [ - '#superdupercool', - '#superdupercrazy', - '#supercomputing', - '#supersaturates', - '$supercomputing', - '$supersaturates', - ]); - - results = await alice.cells[0].callZome({ - zome_name: "demo", - fn_name: "search_index_a", - payload: { - query: "sup", - limit: 1, - } - }); - - assert.sameMembers(results, [ - '#supercomputing', - ]); - - results = await alice.cells[0].callZome({ - zome_name: "demo", - fn_name: "search_index_a", - payload: { - query: "super", - limit: 10, - } - }); - - assert.sameMembers(results, [ - '#superdupercool', - '#superdupercrazy', - '#supercomputing', - '#supersaturates', - '$supercomputing', - '$supersaturates', - ]); - assert.equal(results[0], '#supercomputing'); - - results = await alice.cells[0].callZome({ - zome_name: "demo", - fn_name: "search_index_a", - payload: { - query: "superdupe", - limit: 10 - } - }); - - assert.sameMembers(results, [ - '#superdupercool', - '#superdupercrazy', - '#supercomputing', - '#supersaturates', - '$supercomputing', - '$supersaturates', - ]); - assert.equal(results[0], '#superdupercool'); - - results = await alice.cells[0].callZome({ - zome_name: "demo", - fn_name: "search_index_a", - payload: { - query: "superdupercool", - limit: 10 - } - }); - - assert.sameMembers(results, [ - '#superdupercool', - '#superdupercrazy', - '#supercomputing', - '#supersaturates', - '$supercomputing', - '$supersaturates', - ]); - assert.equal(results[0], '#superdupercool'); - - - results = await alice.cells[0].callZome({ - zome_name: "demo", - fn_name: "search_index_a", - payload: { - query: "superduperbad", - limit: 10 - } - }); - - assert.sameMembers(results, [ - '#superdupercool', - '#superdupercrazy', - '#supercomputing', - '#supersaturates', - '$supercomputing', - '$supersaturates', - ]); - assert.equal(results[0], '#superdupercool'); - - results = await alice.cells[0].callZome({ - zome_name: "demo", - fn_name: "search_index_a", - payload: { - query: "supersaturday", - limit: 10 - } - }); - assert.sameMembers(results, [ - '#superdupercool', - '#superdupercrazy', - '#supercomputing', - '#supersaturates', - '$supercomputing', - '$supersaturates', - ]); - assert.equal(results[0], '#supersaturates'); - - results = await alice.cells[0].callZome({ - zome_name: "demo", - fn_name: "search_index_a", - payload: { - query: "cow", - limit: 5 - } - }); - assert.lengthOf(results, 0); - }, - true, - { timeout: 100000 } - ); -}); - -test("preserve letter case in result, but ignore letter case in indexing", async () => { - await runScenario( - async (scenario) => { - // Set up the app to be installed - const appSource = { appBundleSource: { path: "../workdir/prefix-index.happ"}}; - - // Add 2 players with the test app to the Scenario. The returned players - // can be destructured. - const [alice] = await scenario.addPlayersWithApps([appSource]); - - // Shortcut peer discovery through gossip and register all agents in every - // conductor of the scenario. - await scenario.shareAllAgents(); - - await alice.cells[0].callZome({ - zome_name: "demo", - fn_name: "add_hashtag_to_index_a", - payload: "#HOLOCHAIN", - }); - await alice.cells[0].callZome({ - zome_name: "demo", - fn_name: "add_hashtag_to_index_a", - payload: "#holosapian", - }); - await alice.cells[0].callZome({ - zome_name: "demo", - fn_name: "add_cashtag_to_index_a", - payload: "$HOLY", - }); - - await pause(1000); - - let results: string[] = await alice.cells[0].callZome({ - zome_name: "demo", - fn_name: "search_index_a", - payload: { - query: "holo", - limit: 5, - } - }); - - assert.sameMembers(results, [ - '#HOLOCHAIN', - '#holosapian', - '$HOLY' - ]); - } - ) -}); - -test("get_random_results returns random results from prefix index", async () => { - await runScenario( - async (scenario) => { - // Set up the app to be installed - const appSource = { appBundleSource: { path: "../workdir/prefix-index.happ"}}; - - // Add 2 players with the test app to the Scenario. The returned players - // can be destructured. - const [alice] = await scenario.addPlayersWithApps([appSource]); - - // Shortcut peer discovery through gossip and register all agents in every - // conductor of the scenario. - await scenario.shareAllAgents(); - - await alice.cells[0].callZome({ - zome_name: "demo", - fn_name: "add_hashtag_to_index_a", - payload: "#HOLOCHAIN", - }); - await alice.cells[0].callZome({ - zome_name: "demo", - fn_name: "add_hashtag_to_index_a", - payload: "#holosapian", - }); - await alice.cells[0].callZome({ - zome_name: "demo", - fn_name: "add_cashtag_to_index_a", - payload: "$HOLY", - }); - await alice.cells[0].callZome({ - zome_name: "demo", - fn_name: "add_cashtag_to_index_a", - payload: "$CAT", - }); - await alice.cells[0].callZome({ - zome_name: "demo", - fn_name: "add_cashtag_to_index_a", - payload: "$DOGGO", - }); - await alice.cells[0].callZome({ - zome_name: "demo", - fn_name: "add_hashtag_to_index_a", - payload: "#monkeys", - }); - - await pause(1000); - - const [ result1 ]: string[] = await alice.cells[0].callZome({ - zome_name: "demo", - fn_name: "get_random_results_index_a", - payload: 1 - }); - - const [ result2 ]: string[] = await alice.cells[0].callZome({ - zome_name: "demo", - fn_name: "get_random_results_index_a", - payload: 1 - }); - - const [ result3 ]: string[] = await alice.cells[0].callZome({ - zome_name: "demo", - fn_name: "get_random_results_index_a", - payload: 1 - }); - - const [ result4 ]: string[] = await alice.cells[0].callZome({ - zome_name: "demo", - fn_name: "get_random_results_index_a", - payload: 1 - }); - - const [ result5 ]: string[] = await alice.cells[0].callZome({ - zome_name: "demo", - fn_name: "get_random_results_index_a", - payload: 1 - }); - - // Assert we did not get the exact same result 5 times - assert.ok(new Set([result1, result2, result3, result4, result5]).size > 1); - } - ) -}); \ No newline at end of file diff --git a/tests/tsconfig.json b/tests/tsconfig.json deleted file mode 100644 index 8864384..0000000 --- a/tests/tsconfig.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "compilerOptions": { - "target": "ES2017", - "module": "ESNext", - "moduleResolution": "node", - "esModuleInterop": true, - "allowSyntheticDefaultImports": true - } -} diff --git a/tests/vitest.config.ts b/tests/vitest.config.ts deleted file mode 100644 index 7737dbd..0000000 --- a/tests/vitest.config.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { defineConfig } from 'vitest/config' - -export default defineConfig({ - test: { - threads: false, - testTimeout: 60*1000*3 // 3 mins - }, -}) - diff --git a/workdir/happ.yaml b/workdir/happ.yaml index 5d6c5d9..17b9917 100644 --- a/workdir/happ.yaml +++ b/workdir/happ.yaml @@ -1,6 +1,6 @@ --- manifest_version: "1" -name: prefix-index +name: demo description: ~ roles: - name: demo From 935fc0b615eeee18c5c2bada278cbe70027baccc Mon Sep 17 00:00:00 2001 From: Matt Gabrenya Date: Fri, 15 Dec 2023 20:18:03 -0700 Subject: [PATCH 6/9] build: bump version to 0.6.0 --- Cargo.lock | 358 +------------------- Cargo.toml | 4 +- dnas/demo/zomes/coordinator/demo/Cargo.toml | 4 +- lib/prefix_index/Cargo.toml | 4 +- 4 files changed, 7 insertions(+), 363 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index a51d6b8..0d39457 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -33,17 +33,6 @@ version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "aae1277d39aeec15cb388266ecc24b11c80469deae6067e17a1a7aa9e5c1f234" -[[package]] -name = "aes" -version = "0.8.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac1f845298e95f983ff1944b728ae08b8cebab80d684f0a832ed0fc74dfa27e2" -dependencies = [ - "cfg-if 1.0.0", - "cipher", - "cpufeatures", -] - [[package]] name = "ahash" version = "0.3.8" @@ -448,12 +437,6 @@ version = "0.21.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "35636a1494ede3b646cc98f74f8e62c773a38a659ebc777a2cf26b9b74171df9" -[[package]] -name = "base64ct" -version = "1.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c3c1a368f70d6cf7302d78f8f7093da241fb8e8807c05cc9e51a125895a6d5b" - [[package]] name = "bimap" version = "0.6.3" @@ -612,27 +595,6 @@ version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a2bd12c1caf447e69cd4528f47f94d203fd2582878ecb9e9465484c4148a8223" -[[package]] -name = "bzip2" -version = "0.4.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bdb116a6ef3f6c3698828873ad02c3014b3c85cadb88496095628e3ef1e347f8" -dependencies = [ - "bzip2-sys", - "libc", -] - -[[package]] -name = "bzip2-sys" -version = "0.1.11+1.0.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "736a955f3fa7875102d57c82b8cac37ec45224a07fd32d58f9f7a186b6cd4cdc" -dependencies = [ - "cc", - "libc", - "pkg-config", -] - [[package]] name = "c_linked_list" version = "1.1.1" @@ -676,9 +638,6 @@ name = "cc" version = "1.0.79" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "50d30906286121d95be3d479533b458f87493b30a4b5f79a607db8f5d11aa91f" -dependencies = [ - "jobserver", -] [[package]] name = "cfg-if" @@ -718,16 +677,6 @@ dependencies = [ "winapi 0.3.9", ] -[[package]] -name = "cipher" -version = "0.4.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "773f3b9af64447d2ce9850330c473515014aa235e6a783b02db81ff39e4a3dad" -dependencies = [ - "crypto-common", - "inout", -] - [[package]] name = "clap" version = "2.34.0" @@ -780,7 +729,6 @@ dependencies = [ "anstyle", "clap_lex 0.6.0", "strsim 0.10.0", - "terminal_size", ] [[package]] @@ -1382,7 +1330,6 @@ checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" dependencies = [ "block-buffer 0.10.4", "crypto-common", - "subtle", ] [[package]] @@ -2173,21 +2120,6 @@ version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" -[[package]] -name = "hex-literal" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6fe2267d4ed49bc07b63801559be28c718ea06c4738b7a03c94df7386d2cde46" - -[[package]] -name = "hmac" -version = "0.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e" -dependencies = [ - "digest 0.10.7", -] - [[package]] name = "holo_hash" version = "0.2.4" @@ -2297,8 +2229,6 @@ dependencies = [ "tracing", "tracing-futures", "tracing-subscriber", - "tx5-go-pion-turn", - "tx5-signal-srv", "unwrap_to", "url 2.5.0", "url2", @@ -2420,7 +2350,6 @@ version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1bf1a9e96ab255be9c88aa56cb93088b074799a832c1943b08db051054b34363" dependencies = [ - "influxive", "opentelemetry_api", "reqwest", "tracing", @@ -2901,19 +2830,6 @@ dependencies = [ "want", ] -[[package]] -name = "hyper-rustls" -version = "0.23.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1788965e61b367cd03a62950836d5cd41560c3577d90e40e0819373194d1661c" -dependencies = [ - "http", - "hyper", - "rustls", - "tokio", - "tokio-rustls", -] - [[package]] name = "hyper-tls" version = "0.5.0" @@ -2998,16 +2914,6 @@ dependencies = [ "windows-sys 0.42.0", ] -[[package]] -name = "if-addrs" -version = "0.10.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cabb0019d51a643781ff15c9c8a3e5dedc365c47211270f4e8f82812fedd8f0a" -dependencies = [ - "libc", - "windows-sys 0.48.0", -] - [[package]] name = "if_chain" version = "1.0.2" @@ -3058,88 +2964,6 @@ dependencies = [ "str_stack", ] -[[package]] -name = "influxdb" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77763a6985cbf3f3251fd0725511b6eb81967bfb50763e7a88097ff8e8504fb0" -dependencies = [ - "chrono", - "futures-util", - "http", - "lazy_static", - "regex", - "reqwest", - "serde", - "serde_json", - "thiserror", -] - -[[package]] -name = "influxive" -version = "0.0.2-alpha.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2e33972c836e620ade20e7c0c66062c60a90b222ed46f5f872f1a4721967191" -dependencies = [ - "influxive-child-svc", - "influxive-otel", - "influxive-writer", -] - -[[package]] -name = "influxive-child-svc" -version = "0.0.2-alpha.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0923b25ac29f6e2ac600b0d3762792c4cb86438c3f2c7daa1f6e65e66f7f0d4d" -dependencies = [ - "hex-literal", - "influxive-core", - "influxive-downloader", - "influxive-writer", - "tempfile", - "tokio", - "tracing", -] - -[[package]] -name = "influxive-core" -version = "0.0.2-alpha.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f5db78961ebb97b6d16ba61a65b38978a67cf7efaa91903c500b4771d1920d00" - -[[package]] -name = "influxive-downloader" -version = "0.0.2-alpha.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "264581af3b49d108e76382e301d4228f89a3995e373363b877bb42b1312ebba3" -dependencies = [ - "base64 0.21.5", - "digest 0.10.7", - "dirs", - "flate2", - "futures", - "hex", - "hex-literal", - "influxive-core", - "reqwest", - "sha2", - "tar", - "tempfile", - "tokio", - "zip", -] - -[[package]] -name = "influxive-otel" -version = "0.0.2-alpha.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "882f4ff61b099d34855841a6ea4d1890a1bd2aad2d07d8aaa63c99059d0f295c" -dependencies = [ - "influxive-core", - "opentelemetry_api", - "tokio", -] - [[package]] name = "influxive-otel-atomic-obs" version = "0.0.2-alpha.1" @@ -3149,27 +2973,6 @@ dependencies = [ "opentelemetry_api", ] -[[package]] -name = "influxive-writer" -version = "0.0.2-alpha.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89db32ac1865b814d5f4109635226c1d89189852d88f9ae704c0b51d6d2a8f25" -dependencies = [ - "influxdb", - "influxive-core", - "tokio", - "tracing", -] - -[[package]] -name = "inout" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a0c10553d664a4d0bcff9f4215d0aac67a639cc68ef660840afe309b807bc9f5" -dependencies = [ - "generic-array", -] - [[package]] name = "input_buffer" version = "0.4.0" @@ -3272,15 +3075,6 @@ version = "1.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "453ad9f582a441959e5f0d088b02ce04cfe8d51a8eaf077f12ac6d3e94164ca6" -[[package]] -name = "jobserver" -version = "0.1.27" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c37f63953c4c63420ed5fd3d6d398c719489b9f872b9fa683262f8edd363c7d" -dependencies = [ - "libc", -] - [[package]] name = "js-sys" version = "0.3.66" @@ -4630,35 +4424,12 @@ dependencies = [ "windows-sys 0.45.0", ] -[[package]] -name = "password-hash" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7676374caaee8a325c9e7a2ae557f216c5563a171d6997b0ef8a65af35147700" -dependencies = [ - "base64ct", - "rand_core 0.6.4", - "subtle", -] - [[package]] name = "paste" version = "1.0.12" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9f746c4065a8fa3fe23974dd82f15431cc8d40779821001404d10d2e79ca7d79" -[[package]] -name = "pbkdf2" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83a0692ec44e4cf1ef28ca317f14f8f07da2d95ec3fa01f86e4467b725e60917" -dependencies = [ - "digest 0.10.7", - "hmac", - "password-hash", - "sha2", -] - [[package]] name = "pem" version = "1.1.1" @@ -4806,7 +4577,7 @@ dependencies = [ [[package]] name = "prefix_index" -version = "0.5.0" +version = "0.6.0" dependencies = [ "hdk", "rand 0.8.5", @@ -4878,27 +4649,6 @@ 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" @@ -5412,7 +5162,6 @@ dependencies = [ "http", "http-body", "hyper", - "hyper-rustls", "hyper-tls", "ipnet", "js-sys", @@ -5422,22 +5171,16 @@ dependencies = [ "once_cell", "percent-encoding 2.3.1", "pin-project-lite", - "rustls", - "rustls-pemfile 1.0.4", "serde", "serde_json", "serde_urlencoded", "tokio", "tokio-native-tls", - "tokio-rustls", - "tokio-util", "tower-service", "url 2.5.0", "wasm-bindgen", "wasm-bindgen-futures", - "wasm-streams", "web-sys", - "webpki-roots 0.22.6", "winreg", ] @@ -6377,16 +6120,6 @@ dependencies = [ "winapi-util", ] -[[package]] -name = "terminal_size" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21bebf2b7c9e0a515f6e0f8c51dc0f8e4696391e6f1ff30379559f8365fb0df7" -dependencies = [ - "rustix 0.38.28", - "windows-sys 0.48.0", -] - [[package]] name = "termtree" version = "0.4.1" @@ -7009,24 +6742,6 @@ dependencies = [ "zip", ] -[[package]] -name = "tx5-go-pion-turn" -version = "0.0.4-alpha" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77a2ee4982985842265529632f96751020ecd109e6e249662037eef2cdf2a881" -dependencies = [ - "base64 0.13.1", - "dirs", - "dunce", - "if-addrs 0.10.2", - "once_cell", - "sha2", - "tokio", - "tracing", - "tx5-core", - "zip", -] - [[package]] name = "tx5-signal" version = "0.0.4-alpha" @@ -7056,27 +6771,6 @@ dependencies = [ "webpki-roots 0.23.1", ] -[[package]] -name = "tx5-signal-srv" -version = "0.0.4-alpha" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1041cf202eb8789aaa4fc70acdae424ea3ad361e4031aa14dc30fcf0a246f69" -dependencies = [ - "clap 4.4.11", - "dirs", - "futures", - "if-addrs 0.10.2", - "once_cell", - "prometheus", - "rand 0.8.5", - "sodoken", - "tokio", - "tracing", - "tracing-subscriber", - "tx5-core", - "warp", -] - [[package]] name = "typenum" version = "1.16.0" @@ -7451,19 +7145,6 @@ dependencies = [ "leb128", ] -[[package]] -name = "wasm-streams" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6bbae3363c08332cadccd13b67db371814cd214c2524020932f0804b8cf7c078" -dependencies = [ - "futures-util", - "js-sys", - "wasm-bindgen", - "wasm-bindgen-futures", - "web-sys", -] - [[package]] name = "wasmer" version = "2.3.0" @@ -8161,45 +7842,8 @@ version = "0.6.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "760394e246e4c28189f19d488c058bf16f564016aefac5d32bb1f3b51d5e9261" dependencies = [ - "aes", "byteorder", - "bzip2", - "constant_time_eq 0.1.5", "crc32fast", "crossbeam-utils", "flate2", - "hmac", - "pbkdf2", - "sha1", - "time 0.3.23", - "zstd", -] - -[[package]] -name = "zstd" -version = "0.11.2+zstd.1.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "20cc960326ece64f010d2d2107537f26dc589a6573a316bd5b1dba685fa5fde4" -dependencies = [ - "zstd-safe", -] - -[[package]] -name = "zstd-safe" -version = "5.0.2+zstd.1.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d2a5585e04f9eea4b2a3d1eca508c4dee9592a89ef6f450c11719da0726f4db" -dependencies = [ - "libc", - "zstd-sys", -] - -[[package]] -name = "zstd-sys" -version = "2.0.9+zstd.1.5.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e16efa8a874a0481a574084d34cc26fdb3b99627480f785888deb6386506656" -dependencies = [ - "cc", - "pkg-config", ] diff --git a/Cargo.toml b/Cargo.toml index 6ed1b81..b7a9f4b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,7 +12,9 @@ resolver = "2" hdi = "=0.3.4" hdk = "=0.2.4" serde = "=1.0.166" -holochain = "=0.2.4" +holochain = { version = "=0.2.4", default-features = false, features = [ + "test_utils", +] } tokio = { version = "1.27", features = ["full"] } [workspace.dependencies.demo] diff --git a/dnas/demo/zomes/coordinator/demo/Cargo.toml b/dnas/demo/zomes/coordinator/demo/Cargo.toml index 4c75a67..68c69e0 100644 --- a/dnas/demo/zomes/coordinator/demo/Cargo.toml +++ b/dnas/demo/zomes/coordinator/demo/Cargo.toml @@ -15,7 +15,5 @@ prefix_index = { workspace = true } [dev-dependencies] hdk = { workspace = true, features = ["encoding", "test_utils"] } -holochain = { workspace = true, default-features = false, features = [ - "test_utils", -] } +holochain = { workspace = true } tokio = { workspace = true } diff --git a/lib/prefix_index/Cargo.toml b/lib/prefix_index/Cargo.toml index 385c719..d0da996 100644 --- a/lib/prefix_index/Cargo.toml +++ b/lib/prefix_index/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "prefix_index" -version = "0.5.0" +version = "0.6.0" edition = "2021" [lib] @@ -10,4 +10,4 @@ name = "prefix_index" [dependencies] hdk = { workspace = true } serde = { workspace = true } -rand = "0.8.5" \ No newline at end of file +rand = "0.8.5" From 0c02adef1f83222c56d1ca3021b5843ea9bd54e6 Mon Sep 17 00:00:00 2001 From: Matt Gabrenya Date: Fri, 15 Dec 2023 21:28:11 -0700 Subject: [PATCH 7/9] 0.8.0 --- Cargo.lock | 2 +- lib/prefix_index/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 7af2e85..bae1249 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4577,7 +4577,7 @@ dependencies = [ [[package]] name = "prefix_index" -version = "0.7.0" +version = "0.8.0" dependencies = [ "hdk", "rand 0.8.5", diff --git a/lib/prefix_index/Cargo.toml b/lib/prefix_index/Cargo.toml index b14b966..8b7e85e 100644 --- a/lib/prefix_index/Cargo.toml +++ b/lib/prefix_index/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "prefix_index" -version = "0.7.0" +version = "0.8.0" edition = "2021" [lib] From 3e91c48a05e4a467932cc6de0865aaae69db0f14 Mon Sep 17 00:00:00 2001 From: Matt Gabrenya Date: Fri, 15 Dec 2023 21:44:47 -0700 Subject: [PATCH 8/9] build: package lock --- package-lock.json | 1709 ++------------------------------------------- 1 file changed, 54 insertions(+), 1655 deletions(-) diff --git a/package-lock.json b/package-lock.json index 8e3a615..f9dc7f8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,9 +5,6 @@ "packages": { "": { "name": "prefix-index-dev", - "workspaces": [ - "tests" - ], "devDependencies": { "@holochain-playground/cli": "^0.1.1", "concurrently": "^6.2.1", @@ -19,9 +16,8 @@ }, "node_modules/@babel/runtime": { "version": "7.21.5", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.21.5.tgz", - "integrity": "sha512-8jI69toZqqcsnqGGqwGS4Qb1VwLOEp4hz+CXPywcvjs60u3B4Pom/U/7rm4W8tMOYEB+E9wgD0mW1l3r8qlI9Q==", "dev": true, + "license": "MIT", "dependencies": { "regenerator-runtime": "^0.13.11" }, @@ -29,581 +25,26 @@ "node": ">=6.9.0" } }, - "node_modules/@bitgo/blake2b": { - "version": "3.2.4", - "resolved": "https://registry.npmjs.org/@bitgo/blake2b/-/blake2b-3.2.4.tgz", - "integrity": "sha512-46PEgEVPxecNJ/xczggIllSxIkFIvvbVM0OfIDdNJ5qpFHUeBCkNIiGdzC3fYZlsv7bVTdUZOj79GcFBLMYBqA==", - "dependencies": { - "@bitgo/blake2b-wasm": "^3.2.3", - "nanoassert": "^2.0.0" - } - }, - "node_modules/@bitgo/blake2b-wasm": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/@bitgo/blake2b-wasm/-/blake2b-wasm-3.2.3.tgz", - "integrity": "sha512-NaurBrMaEpjfg7EdUJgW/c6byt27O6q1ZaxB5Ita10MjjYjUu0SyYF4q7JPNxpHF/lMxb0YZakOxigbDBu9Jjw==", - "dependencies": { - "nanoassert": "^1.0.0" - } - }, - "node_modules/@bitgo/blake2b-wasm/node_modules/nanoassert": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/nanoassert/-/nanoassert-1.1.0.tgz", - "integrity": "sha512-C40jQ3NzfkP53NsO8kEOFd79p4b9kDXQMwgiY1z8ZwrDZgUyom0AHwGegF4Dm99L+YoYhuaB0ceerUcXmqr1rQ==" - }, - "node_modules/@colors/colors": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.5.0.tgz", - "integrity": "sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==", - "engines": { - "node": ">=0.1.90" - } - }, - "node_modules/@dabh/diagnostics": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/@dabh/diagnostics/-/diagnostics-2.0.3.tgz", - "integrity": "sha512-hrlQOIi7hAfzsMqlGSFyVucrx38O+j6wiGOf//H2ecvIEqYN4ADBSS2iLMh5UFyDunCNniUIPk/q3riFv45xRA==", - "dependencies": { - "colorspace": "1.1.x", - "enabled": "2.0.x", - "kuler": "^2.0.0" - } - }, - "node_modules/@esbuild/android-arm": { - "version": "0.17.18", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.17.18.tgz", - "integrity": "sha512-EmwL+vUBZJ7mhFCs5lA4ZimpUH3WMAoqvOIYhVQwdIgSpHC8ImHdsRyhHAVxpDYUSm0lWvd63z0XH1IlImS2Qw==", - "cpu": [ - "arm" - ], - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/android-arm64": { - "version": "0.17.18", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.17.18.tgz", - "integrity": "sha512-/iq0aK0eeHgSC3z55ucMAHO05OIqmQehiGay8eP5l/5l+iEr4EIbh4/MI8xD9qRFjqzgkc0JkX0LculNC9mXBw==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/android-x64": { - "version": "0.17.18", - "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.17.18.tgz", - "integrity": "sha512-x+0efYNBF3NPW2Xc5bFOSFW7tTXdAcpfEg2nXmxegm4mJuVeS+i109m/7HMiOQ6M12aVGGFlqJX3RhNdYM2lWg==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/darwin-arm64": { - "version": "0.17.18", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.17.18.tgz", - "integrity": "sha512-6tY+djEAdF48M1ONWnQb1C+6LiXrKjmqjzPNPWXhu/GzOHTHX2nh8Mo2ZAmBFg0kIodHhciEgUBtcYCAIjGbjQ==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/darwin-x64": { - "version": "0.17.18", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.17.18.tgz", - "integrity": "sha512-Qq84ykvLvya3dO49wVC9FFCNUfSrQJLbxhoQk/TE1r6MjHo3sFF2tlJCwMjhkBVq3/ahUisj7+EpRSz0/+8+9A==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/freebsd-arm64": { - "version": "0.17.18", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.17.18.tgz", - "integrity": "sha512-fw/ZfxfAzuHfaQeMDhbzxp9mc+mHn1Y94VDHFHjGvt2Uxl10mT4CDavHm+/L9KG441t1QdABqkVYwakMUeyLRA==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "freebsd" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/freebsd-x64": { - "version": "0.17.18", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.17.18.tgz", - "integrity": "sha512-FQFbRtTaEi8ZBi/A6kxOC0V0E9B/97vPdYjY9NdawyLd4Qk5VD5g2pbWN2VR1c0xhzcJm74HWpObPszWC+qTew==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "freebsd" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-arm": { - "version": "0.17.18", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.17.18.tgz", - "integrity": "sha512-jW+UCM40LzHcouIaqv3e/oRs0JM76JfhHjCavPxMUti7VAPh8CaGSlS7cmyrdpzSk7A+8f0hiedHqr/LMnfijg==", - "cpu": [ - "arm" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-arm64": { - "version": "0.17.18", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.17.18.tgz", - "integrity": "sha512-R7pZvQZFOY2sxUG8P6A21eq6q+eBv7JPQYIybHVf1XkQYC+lT7nDBdC7wWKTrbvMXKRaGudp/dzZCwL/863mZQ==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-ia32": { - "version": "0.17.18", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.17.18.tgz", - "integrity": "sha512-ygIMc3I7wxgXIxk6j3V00VlABIjq260i967Cp9BNAk5pOOpIXmd1RFQJQX9Io7KRsthDrQYrtcx7QCof4o3ZoQ==", - "cpu": [ - "ia32" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-loong64": { - "version": "0.17.18", - "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.17.18.tgz", - "integrity": "sha512-bvPG+MyFs5ZlwYclCG1D744oHk1Pv7j8psF5TfYx7otCVmcJsEXgFEhQkbhNW8otDHL1a2KDINW20cfCgnzgMQ==", - "cpu": [ - "loong64" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-mips64el": { - "version": "0.17.18", - "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.17.18.tgz", - "integrity": "sha512-oVqckATOAGuiUOa6wr8TXaVPSa+6IwVJrGidmNZS1cZVx0HqkTMkqFGD2HIx9H1RvOwFeWYdaYbdY6B89KUMxA==", - "cpu": [ - "mips64el" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-ppc64": { - "version": "0.17.18", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.17.18.tgz", - "integrity": "sha512-3dLlQO+b/LnQNxgH4l9rqa2/IwRJVN9u/bK63FhOPB4xqiRqlQAU0qDU3JJuf0BmaH0yytTBdoSBHrb2jqc5qQ==", - "cpu": [ - "ppc64" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-riscv64": { - "version": "0.17.18", - "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.17.18.tgz", - "integrity": "sha512-/x7leOyDPjZV3TcsdfrSI107zItVnsX1q2nho7hbbQoKnmoeUWjs+08rKKt4AUXju7+3aRZSsKrJtaRmsdL1xA==", - "cpu": [ - "riscv64" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-s390x": { - "version": "0.17.18", - "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.17.18.tgz", - "integrity": "sha512-cX0I8Q9xQkL/6F5zWdYmVf5JSQt+ZfZD2bJudZrWD+4mnUvoZ3TDDXtDX2mUaq6upMFv9FlfIh4Gfun0tbGzuw==", - "cpu": [ - "s390x" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-x64": { - "version": "0.17.18", - "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.17.18.tgz", - "integrity": "sha512-66RmRsPlYy4jFl0vG80GcNRdirx4nVWAzJmXkevgphP1qf4dsLQCpSKGM3DUQCojwU1hnepI63gNZdrr02wHUA==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/netbsd-x64": { - "version": "0.17.18", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.17.18.tgz", - "integrity": "sha512-95IRY7mI2yrkLlTLb1gpDxdC5WLC5mZDi+kA9dmM5XAGxCME0F8i4bYH4jZreaJ6lIZ0B8hTrweqG1fUyW7jbg==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "netbsd" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/openbsd-x64": { - "version": "0.17.18", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.17.18.tgz", - "integrity": "sha512-WevVOgcng+8hSZ4Q3BKL3n1xTv5H6Nb53cBrtzzEjDbbnOmucEVcZeGCsCOi9bAOcDYEeBZbD2SJNBxlfP3qiA==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "openbsd" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/sunos-x64": { - "version": "0.17.18", - "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.17.18.tgz", - "integrity": "sha512-Rzf4QfQagnwhQXVBS3BYUlxmEbcV7MY+BH5vfDZekU5eYpcffHSyjU8T0xucKVuOcdCsMo+Ur5wmgQJH2GfNrg==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "sunos" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/win32-arm64": { - "version": "0.17.18", - "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.17.18.tgz", - "integrity": "sha512-Kb3Ko/KKaWhjeAm2YoT/cNZaHaD1Yk/pa3FTsmqo9uFh1D1Rfco7BBLIPdDOozrObj2sahslFuAQGvWbgWldAg==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/win32-ia32": { - "version": "0.17.18", - "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.17.18.tgz", - "integrity": "sha512-0/xUMIdkVHwkvxfbd5+lfG7mHOf2FRrxNbPiKWg9C4fFrB8H0guClmaM3BFiRUYrznVoyxTIyC/Ou2B7QQSwmw==", - "cpu": [ - "ia32" - ], - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/win32-x64": { - "version": "0.17.18", - "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.17.18.tgz", - "integrity": "sha512-qU25Ma1I3NqTSHJUOKi9sAH1/Mzuvlke0ioMJRthLXKm7JiSKVwFghlGbDLOO2sARECGhja4xYfRAZNPAkooYg==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">=12" - } - }, "node_modules/@holochain-playground/cli": { "version": "0.1.1", - "resolved": "https://registry.npmjs.org/@holochain-playground/cli/-/cli-0.1.1.tgz", - "integrity": "sha512-JbapAe+uBaec52rTePjdlP0mq3zQhJG/hrdbCd+eecZLA3cXWEGgISR5YwLtx6udN+0ghCDH4U6KILjPiwWZMg==", "dev": true, + "license": "MIT", "bin": { "holochain-playground": "dist/app.js" } }, - "node_modules/@holochain/client": { -<<<<<<< HEAD - "version": "0.16.7", - "resolved": "https://registry.npmjs.org/@holochain/client/-/client-0.16.7.tgz", - "integrity": "sha512-wCFm71HUnZ9vxmuguqKqDOhqjE5Qq5e8bM4q9W1ginel3UAZF3LmYym5Ny4pOG2aqf2tD5mpf7xTZjBxPDGnjA==", -======= - "version": "0.14.1", - "resolved": "https://registry.npmjs.org/@holochain/client/-/client-0.14.1.tgz", - "integrity": "sha512-5rWPIRdxhvV+SpKHegKsPSw7AcN1JjtLS5RhAlLT7dsXvn70BcMWsImhBs1sqw69QsbEMKlhqaOH+sOS5LkDBQ==", ->>>>>>> main - "dependencies": { - "@bitgo/blake2b": "^3.2.4", - "@holochain/serialization": "^0.1.0-beta-rc.3", -<<<<<<< HEAD - "@msgpack/msgpack": "^2.8.0", - "@tauri-apps/api": "^1.4.0", -======= - "@msgpack/msgpack": "^2.7.2", - "@noble/ed25519": "^2.0.0", - "@tauri-apps/api": "^1.2.0", ->>>>>>> main - "emittery": "^1.0.1", - "isomorphic-ws": "^5.0.0", - "js-base64": "^3.7.5", - "libsodium-wrappers": "^0.7.13", - "lodash-es": "^4.17.21", -<<<<<<< HEAD - "ws": "^8.14.2" - }, - "engines": { - "node": ">=18.0.0 || >=20.0.0" -======= - "ws": "^8.13.0" - }, - "engines": { - "node": ">=16.0.0 || >=18.0.0" ->>>>>>> main - } - }, - "node_modules/@holochain/serialization": { - "version": "0.1.0-beta-rc.3", - "resolved": "https://registry.npmjs.org/@holochain/serialization/-/serialization-0.1.0-beta-rc.3.tgz", - "integrity": "sha512-DJx4V2KXHVLciyOGjOYKTM/JLBpBEZ3RsPIRCgf7qmwhQdxXvhi2p+oFFRD51yUT5uC1/MzIVeJCl/R60PwFbw==" - }, - "node_modules/@holochain/tryorama": { -<<<<<<< HEAD - "version": "0.15.2", - "resolved": "https://registry.npmjs.org/@holochain/tryorama/-/tryorama-0.15.2.tgz", - "integrity": "sha512-Hgec9/KiQRxqZm/1LPN3EQ0GWOqusyhu+dC+XA5nJfARTDVM178mMmnQ08Uqk1s7FwA50Lq+/YAGpr4kIz7kBg==", - "dependencies": { - "@holochain/client": "^0.16.0", -======= - "version": "0.15.0-rc.1", - "resolved": "https://registry.npmjs.org/@holochain/tryorama/-/tryorama-0.15.0-rc.1.tgz", - "integrity": "sha512-R7MyojYcfzVePyXSWtVSFW2G7LUpErb/krLN12MIvNxGd9355Lb/mLl6phEdsnpAJx6fUejM0KXQvbHUnzXjeA==", - "dependencies": { - "@holochain/client": "^0.14.1", ->>>>>>> main - "get-port": "^6.1.2", - "lodash": "^4.17.21", - "uuid": "^8.3.2", - "winston": "^3.8.2", - "ws": "^8.11.0" - }, - "engines": { - "node": ">=16.0.0 || >=18.0.0" - } - }, - "node_modules/@msgpack/msgpack": { - "version": "2.8.0", - "resolved": "https://registry.npmjs.org/@msgpack/msgpack/-/msgpack-2.8.0.tgz", - "integrity": "sha512-h9u4u/jiIRKbq25PM+zymTyW6bhTzELvOoUd+AvYriWOAKpLGnIamaET3pnHYoI5iYphAHBI4ayx0MehR+VVPQ==", - "engines": { - "node": ">= 10" - } - }, - "node_modules/@noble/ed25519": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@noble/ed25519/-/ed25519-2.0.0.tgz", - "integrity": "sha512-/extjhkwFupyopDrt80OMWKdLgP429qLZj+z6sYJz90rF2Iz0gjZh2ArMKPImUl13Kx+0EXI2hN9T/KJV0/Zng==", - "funding": [ - { - "type": "individual", - "url": "https://paulmillr.com/funding/" - } - ] - }, - "node_modules/@tauri-apps/api": { - "version": "1.5.2", - "resolved": "https://registry.npmjs.org/@tauri-apps/api/-/api-1.5.2.tgz", - "integrity": "sha512-tZK3XJiIUnUdHN7rGqA+j57dvT3/7z2bEiPfWmO3uAymv2JMBJrfGwbyDWLjGue37UVhh0gLYSkA9wV+/bASwA==", - "engines": { - "node": ">= 14.6.0", - "npm": ">= 6.6.0", - "yarn": ">= 1.19.1" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/tauri" - } - }, - "node_modules/@types/chai": { - "version": "4.3.5", - "resolved": "https://registry.npmjs.org/@types/chai/-/chai-4.3.5.tgz", - "integrity": "sha512-mEo1sAde+UCE6b2hxn332f1g1E8WfYRu6p5SvTKr2ZKC1f7gFJXk4h5PyGP9Dt6gCaG8y8XhwnXWC6Iy2cmBng==" - }, - "node_modules/@types/chai-subset": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/@types/chai-subset/-/chai-subset-1.3.3.tgz", - "integrity": "sha512-frBecisrNGz+F4T6bcc+NLeolfiojh5FxW2klu669+8BARtyQv2C/GkNW6FUodVe4BroGMP/wER/YDGc7rEllw==", - "dependencies": { - "@types/chai": "*" - } - }, - "node_modules/@types/node": { - "version": "18.16.3", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.16.3.tgz", - "integrity": "sha512-OPs5WnnT1xkCBiuQrZA4+YAV4HEJejmHneyraIaxsbev5yCEr6KMwINNFP9wQeFIw8FWcoTqF3vQsa5CDaI+8Q==" - }, - "node_modules/@types/triple-beam": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/@types/triple-beam/-/triple-beam-1.3.2.tgz", - "integrity": "sha512-txGIh+0eDFzKGC25zORnswy+br1Ha7hj5cMVwKIU7+s0U2AxxJru/jZSMU6OC9MJWP6+pc/hc6ZjyZShpsyY2g==" - }, - "node_modules/@vitest/expect": { - "version": "0.28.5", - "resolved": "https://registry.npmjs.org/@vitest/expect/-/expect-0.28.5.tgz", - "integrity": "sha512-gqTZwoUTwepwGIatnw4UKpQfnoyV0Z9Czn9+Lo2/jLIt4/AXLTn+oVZxlQ7Ng8bzcNkR+3DqLJ08kNr8jRmdNQ==", - "dependencies": { - "@vitest/spy": "0.28.5", - "@vitest/utils": "0.28.5", - "chai": "^4.3.7" - } - }, - "node_modules/@vitest/runner": { - "version": "0.28.5", - "resolved": "https://registry.npmjs.org/@vitest/runner/-/runner-0.28.5.tgz", - "integrity": "sha512-NKkHtLB+FGjpp5KmneQjTcPLWPTDfB7ie+MmF1PnUBf/tGe2OjGxWyB62ySYZ25EYp9krR5Bw0YPLS/VWh1QiA==", - "dependencies": { - "@vitest/utils": "0.28.5", - "p-limit": "^4.0.0", - "pathe": "^1.1.0" - } - }, - "node_modules/@vitest/spy": { - "version": "0.28.5", - "resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-0.28.5.tgz", - "integrity": "sha512-7if6rsHQr9zbmvxN7h+gGh2L9eIIErgf8nSKYDlg07HHimCxp4H6I/X/DPXktVPPLQfiZ1Cw2cbDIx9fSqDjGw==", - "dependencies": { - "tinyspy": "^1.0.2" - } - }, - "node_modules/@vitest/utils": { - "version": "0.28.5", - "resolved": "https://registry.npmjs.org/@vitest/utils/-/utils-0.28.5.tgz", - "integrity": "sha512-UyZdYwdULlOa4LTUSwZ+Paz7nBHGTT72jKwdFSV4IjHF1xsokp+CabMdhjvVhYwkLfO88ylJT46YMilnkSARZA==", - "dependencies": { - "cli-truncate": "^3.1.0", - "diff": "^5.1.0", - "loupe": "^2.3.6", - "picocolors": "^1.0.0", - "pretty-format": "^27.5.1" - } - }, - "node_modules/acorn": { - "version": "8.8.2", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.2.tgz", - "integrity": "sha512-xjIYgE8HBrkpd/sJqOGNspf8uHG+NOHGOw6a/Urj8taM2EXfdNAH2oFcPeIFfsv3+kz/mJrS5VuMqbNLjCa2vw==", - "bin": { - "acorn": "bin/acorn" - }, - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/acorn-walk": { - "version": "8.2.0", - "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.2.0.tgz", - "integrity": "sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA==", - "engines": { - "node": ">=0.4.0" - } - }, "node_modules/ansi-regex": { "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true, + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/ansi-styles": { "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dev": true, + "license": "MIT", "dependencies": { "color-convert": "^2.0.1" }, @@ -614,70 +55,24 @@ "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, - "node_modules/assertion-error": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-1.1.0.tgz", - "integrity": "sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==", - "engines": { - "node": "*" - } - }, - "node_modules/async": { - "version": "3.2.4", - "resolved": "https://registry.npmjs.org/async/-/async-3.2.4.tgz", - "integrity": "sha512-iAB+JbDEGXhyIUavoDl9WP/Jj106Kz9DEn1DPgYw5ruDn0e3Wgi3sKFm55sASdGBNOQB8F59d9qQ7deqrHA8wQ==" - }, "node_modules/balanced-match": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", - "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/brace-expansion": { "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", "dev": true, + "license": "MIT", "dependencies": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" } }, - "node_modules/buffer-from": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", - "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==" - }, - "node_modules/cac": { - "version": "6.7.14", - "resolved": "https://registry.npmjs.org/cac/-/cac-6.7.14.tgz", - "integrity": "sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ==", - "engines": { - "node": ">=8" - } - }, - "node_modules/chai": { - "version": "4.3.7", - "resolved": "https://registry.npmjs.org/chai/-/chai-4.3.7.tgz", - "integrity": "sha512-HLnAzZ2iupm25PlN0xFreAlBA5zaBSv3og0DdeGA4Ar6h6rJ3A0rolRUKJhSF2V10GZKDgWF/VmAEsNWjCRB+A==", - "dependencies": { - "assertion-error": "^1.1.0", - "check-error": "^1.0.2", - "deep-eql": "^4.1.2", - "get-func-name": "^2.0.0", - "loupe": "^2.3.1", - "pathval": "^1.1.1", - "type-detect": "^4.0.5" - }, - "engines": { - "node": ">=4" - } - }, "node_modules/chalk": { "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", "dev": true, + "license": "MIT", "dependencies": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" @@ -691,9 +86,8 @@ }, "node_modules/chalk/node_modules/supports-color": { "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "dev": true, + "license": "MIT", "dependencies": { "has-flag": "^4.0.0" }, @@ -701,100 +95,20 @@ "node": ">=8" } }, - "node_modules/check-error": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/check-error/-/check-error-1.0.2.tgz", - "integrity": "sha512-BrgHpW9NURQgzoNyjfq0Wu6VFO6D7IZEmJNdtgNqpzGG8RuNFHt2jQxWlAs4HMe119chBnv+34syEZtc6IhLtA==", - "engines": { - "node": "*" - } - }, - "node_modules/cli-truncate": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/cli-truncate/-/cli-truncate-3.1.0.tgz", - "integrity": "sha512-wfOBkjXteqSnI59oPcJkcPl/ZmwvMMOj340qUIY1SKZCv0B9Cf4D4fAucRkIKQmsIuYK3x1rrgU7MeGRruiuiA==", - "dependencies": { - "slice-ansi": "^5.0.0", - "string-width": "^5.0.0" - }, - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/cli-truncate/node_modules/ansi-regex": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", - "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/ansi-regex?sponsor=1" - } - }, - "node_modules/cli-truncate/node_modules/emoji-regex": { - "version": "9.2.2", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", - "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==" - }, - "node_modules/cli-truncate/node_modules/string-width": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", - "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", - "dependencies": { - "eastasianwidth": "^0.2.0", - "emoji-regex": "^9.2.2", - "strip-ansi": "^7.0.1" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/cli-truncate/node_modules/strip-ansi": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.0.1.tgz", - "integrity": "sha512-cXNxvT8dFNRVfhVME3JAe98mkXDYN2O1l7jmcwMnOslDeESg1rF/OZMtK0nRAhiari1unG5cD4jG3rapUAkLbw==", - "dependencies": { - "ansi-regex": "^6.0.1" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/strip-ansi?sponsor=1" - } - }, "node_modules/cliui": { "version": "7.0.4", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", - "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", "dev": true, + "license": "ISC", "dependencies": { "string-width": "^4.2.0", "strip-ansi": "^6.0.0", "wrap-ansi": "^7.0.0" } }, - "node_modules/color": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/color/-/color-3.2.1.tgz", - "integrity": "sha512-aBl7dZI9ENN6fUGC7mWpMTPNHmWUSNan9tuWN6ahh5ZLNk9baLJOnSMlrQkHcrfFgz2/RigjUVAjdx36VcemKA==", - "dependencies": { - "color-convert": "^1.9.3", - "color-string": "^1.6.0" - } - }, "node_modules/color-convert": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "dev": true, + "license": "MIT", "dependencies": { "color-name": "~1.1.4" }, @@ -804,51 +118,18 @@ }, "node_modules/color-name": { "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" - }, - "node_modules/color-string": { - "version": "1.9.1", - "resolved": "https://registry.npmjs.org/color-string/-/color-string-1.9.1.tgz", - "integrity": "sha512-shrVawQFojnZv6xM40anx4CkoDP+fZsw/ZerEMsW/pyzsRbElpsL/DBVW7q3ExxwusdNXI3lXpuhEZkzs8p5Eg==", - "dependencies": { - "color-name": "^1.0.0", - "simple-swizzle": "^0.2.2" - } - }, - "node_modules/color/node_modules/color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "dependencies": { - "color-name": "1.1.3" - } - }, - "node_modules/color/node_modules/color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==" - }, - "node_modules/colorspace": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/colorspace/-/colorspace-1.1.4.tgz", - "integrity": "sha512-BgvKJiuVu1igBUF2kEjRCZXol6wiiGbY5ipL/oVPwm0BL9sIpMIzM8IK7vwuxIIzOXMV3Ey5w+vxhm0rR/TN8w==", - "dependencies": { - "color": "^3.1.3", - "text-hex": "1.0.x" - } + "dev": true, + "license": "MIT" }, "node_modules/concat-map": { "version": "0.0.1", - "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/concurrently": { "version": "6.5.1", - "resolved": "https://registry.npmjs.org/concurrently/-/concurrently-6.5.1.tgz", - "integrity": "sha512-FlSwNpGjWQfRwPLXvJ/OgysbBxPkWpiVjy1042b0U7on7S7qwwMIILRj7WTN1mTgqa582bG6NFuScOoh6Zgdag==", "dev": true, + "license": "MIT", "dependencies": { "chalk": "^4.1.0", "date-fns": "^2.16.1", @@ -868,9 +149,8 @@ }, "node_modules/date-fns": { "version": "2.30.0", - "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-2.30.0.tgz", - "integrity": "sha512-fnULvOpxnC5/Vg3NCiWelDsLiUc9bRwAPs/+LfTLNvetFCtCTN+yQz15C/fs4AwX1R9K5GLtLfn8QW+dWisaAw==", "dev": true, + "license": "MIT", "dependencies": { "@babel/runtime": "^7.21.0" }, @@ -882,175 +162,36 @@ "url": "https://opencollective.com/date-fns" } }, - "node_modules/debug": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", - "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", - "dependencies": { - "ms": "2.1.2" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, - "node_modules/deep-eql": { - "version": "4.1.3", - "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-4.1.3.tgz", - "integrity": "sha512-WaEtAOpRA1MQ0eohqZjpGD8zdI0Ovsm8mmFhaDN8dvDZzyoUMcYDnf5Y6iu7HTXxf8JDS23qWa4a+hKCDyOPzw==", - "dependencies": { - "type-detect": "^4.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/diff": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/diff/-/diff-5.1.0.tgz", - "integrity": "sha512-D+mk+qE8VC/PAUrlAU34N+VfXev0ghe5ywmpqrawphmVZc1bEfn56uo9qpyGp1p4xpzOHkSW4ztBd6L7Xx4ACw==", - "engines": { - "node": ">=0.3.1" - } - }, - "node_modules/eastasianwidth": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", - "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==" - }, - "node_modules/emittery": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/emittery/-/emittery-1.0.1.tgz", - "integrity": "sha512-2ID6FdrMD9KDLldGesP6317G78K7km/kMcwItRtVFva7I/cSEOIaLpewaUb+YLXVwdAp3Ctfxh/V5zIl1sj7dQ==", - "engines": { - "node": ">=14.16" - }, - "funding": { - "url": "https://github.com/sindresorhus/emittery?sponsor=1" - } - }, "node_modules/emoji-regex": { "version": "8.0.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", - "dev": true - }, - "node_modules/enabled": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/enabled/-/enabled-2.0.0.tgz", - "integrity": "sha512-AKrN98kuwOzMIdAizXGI86UFBoo26CL21UM763y1h/GMSJ4/OHU9k2YlsmBpyScFo/wbLzWQJBMCW4+IO3/+OQ==" - }, - "node_modules/esbuild": { - "version": "0.17.18", - "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.17.18.tgz", - "integrity": "sha512-z1lix43jBs6UKjcZVKOw2xx69ffE2aG0PygLL5qJ9OS/gy0Ewd1gW/PUQIOIQGXBHWNywSc0floSKoMFF8aK2w==", - "hasInstallScript": true, - "bin": { - "esbuild": "bin/esbuild" - }, - "engines": { - "node": ">=12" - }, - "optionalDependencies": { - "@esbuild/android-arm": "0.17.18", - "@esbuild/android-arm64": "0.17.18", - "@esbuild/android-x64": "0.17.18", - "@esbuild/darwin-arm64": "0.17.18", - "@esbuild/darwin-x64": "0.17.18", - "@esbuild/freebsd-arm64": "0.17.18", - "@esbuild/freebsd-x64": "0.17.18", - "@esbuild/linux-arm": "0.17.18", - "@esbuild/linux-arm64": "0.17.18", - "@esbuild/linux-ia32": "0.17.18", - "@esbuild/linux-loong64": "0.17.18", - "@esbuild/linux-mips64el": "0.17.18", - "@esbuild/linux-ppc64": "0.17.18", - "@esbuild/linux-riscv64": "0.17.18", - "@esbuild/linux-s390x": "0.17.18", - "@esbuild/linux-x64": "0.17.18", - "@esbuild/netbsd-x64": "0.17.18", - "@esbuild/openbsd-x64": "0.17.18", - "@esbuild/sunos-x64": "0.17.18", - "@esbuild/win32-arm64": "0.17.18", - "@esbuild/win32-ia32": "0.17.18", - "@esbuild/win32-x64": "0.17.18" - } + "dev": true, + "license": "MIT" }, "node_modules/escalade": { "version": "3.1.1", - "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", - "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", "dev": true, + "license": "MIT", "engines": { "node": ">=6" } }, - "node_modules/fecha": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/fecha/-/fecha-4.2.3.tgz", - "integrity": "sha512-OP2IUU6HeYKJi3i0z4A19kHMQoLVs4Hc+DPqqxI2h/DPZHTm/vjsfC6P0b4jCMy14XizLBqvndQ+UilD7707Jw==" - }, - "node_modules/fn.name": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/fn.name/-/fn.name-1.1.0.tgz", - "integrity": "sha512-GRnmB5gPyJpAhTQdSZTSp9uaPSvl09KoYcMQtsB9rQoOmzs9dH6ffeccH+Z+cv6P68Hu5bC6JjRh4Ah/mHSNRw==" - }, "node_modules/fs.realpath": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", - "dev": true - }, - "node_modules/fsevents": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", - "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", - "hasInstallScript": true, - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": "^8.16.0 || ^10.6.0 || >=11.0.0" - } + "dev": true, + "license": "ISC" }, "node_modules/get-caller-file": { "version": "2.0.5", - "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", - "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", "dev": true, + "license": "ISC", "engines": { "node": "6.* || 8.* || >= 10.*" } }, - "node_modules/get-func-name": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.0.tgz", - "integrity": "sha512-Hm0ixYtaSZ/V7C8FJrtZIuBBI+iSgL+1Aq82zSu8VQNB4S3Gk8e7Qs3VwBDJAhmRZcFqkl3tQu36g/Foh5I5ig==", - "engines": { - "node": "*" - } - }, - "node_modules/get-port": { - "version": "6.1.2", - "resolved": "https://registry.npmjs.org/get-port/-/get-port-6.1.2.tgz", - "integrity": "sha512-BrGGraKm2uPqurfGVj/z97/zv8dPleC6x9JBNRTrDNtCkkRF4rPwrQXFgL7+I+q8QSdU4ntLQX2D7KIxSy8nGw==", - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/glob": { "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", "dev": true, + "license": "ISC", "dependencies": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", @@ -1068,18 +209,16 @@ }, "node_modules/has-flag": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/inflight": { "version": "1.0.6", - "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", - "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", "dev": true, + "license": "ISC", "dependencies": { "once": "^1.3.0", "wrappy": "1" @@ -1087,117 +226,26 @@ }, "node_modules/inherits": { "version": "2.0.4", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" - }, - "node_modules/is-arrayish": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.3.2.tgz", - "integrity": "sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==" + "dev": true, + "license": "ISC" }, "node_modules/is-fullwidth-code-point": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } }, - "node_modules/is-stream": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", - "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/isomorphic-ws": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/isomorphic-ws/-/isomorphic-ws-5.0.0.tgz", - "integrity": "sha512-muId7Zzn9ywDsyXgTIafTry2sV3nySZeUDe6YedVd1Hvuuep5AsIlqK+XefWpYTyJG5e503F2xIuT2lcU6rCSw==", - "peerDependencies": { - "ws": "*" - } - }, - "node_modules/js-base64": { - "version": "3.7.5", - "resolved": "https://registry.npmjs.org/js-base64/-/js-base64-3.7.5.tgz", - "integrity": "sha512-3MEt5DTINKqfScXKfJFrRbxkrnk2AxPWGBL/ycjz4dK8iqiSJ06UxD8jh8xuh6p10TX4t2+7FsBYVxxQbMg+qA==" - }, - "node_modules/jsonc-parser": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.2.0.tgz", - "integrity": "sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w==" - }, - "node_modules/kuler": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/kuler/-/kuler-2.0.0.tgz", - "integrity": "sha512-Xq9nH7KlWZmXAtodXDDRE7vs6DU1gTU8zYDHDiWLSip45Egwq3plLHzPn27NgvzL2r1LMPC1vdqh98sQxtqj4A==" - }, - "node_modules/libsodium": { - "version": "0.7.13", - "resolved": "https://registry.npmjs.org/libsodium/-/libsodium-0.7.13.tgz", - "integrity": "sha512-mK8ju0fnrKXXfleL53vtp9xiPq5hKM0zbDQtcxQIsSmxNgSxqCj6R7Hl9PkrNe2j29T4yoDaF7DJLK9/i5iWUw==" - }, - "node_modules/libsodium-wrappers": { - "version": "0.7.13", - "resolved": "https://registry.npmjs.org/libsodium-wrappers/-/libsodium-wrappers-0.7.13.tgz", - "integrity": "sha512-kasvDsEi/r1fMzKouIDv7B8I6vNmknXwGiYodErGuESoFTohGSKZplFtVxZqHaoQ217AynyIFgnOVRitpHs0Qw==", - "dependencies": { - "libsodium": "^0.7.13" - } - }, - "node_modules/local-pkg": { - "version": "0.4.3", - "resolved": "https://registry.npmjs.org/local-pkg/-/local-pkg-0.4.3.tgz", - "integrity": "sha512-SFppqq5p42fe2qcZQqqEOiVRXl+WCP1MdT6k7BDEW1j++sp5fIY+/fdRQitvKgB5BrBcmrs5m/L0v2FrU5MY1g==", - "engines": { - "node": ">=14" - }, - "funding": { - "url": "https://github.com/sponsors/antfu" - } - }, "node_modules/lodash": { "version": "4.17.21", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" - }, - "node_modules/lodash-es": { - "version": "4.17.21", - "resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.17.21.tgz", - "integrity": "sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==" - }, - "node_modules/logform": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/logform/-/logform-2.5.1.tgz", - "integrity": "sha512-9FyqAm9o9NKKfiAKfZoYo9bGXXuwMkxQiQttkT4YjjVtQVIQtK6LmVtlxmCaFswo6N4AfEkHqZTV0taDtPotNg==", - "dependencies": { - "@colors/colors": "1.5.0", - "@types/triple-beam": "^1.3.2", - "fecha": "^4.2.0", - "ms": "^2.1.1", - "safe-stable-stringify": "^2.3.1", - "triple-beam": "^1.3.0" - } - }, - "node_modules/loupe": { - "version": "2.3.6", - "resolved": "https://registry.npmjs.org/loupe/-/loupe-2.3.6.tgz", - "integrity": "sha512-RaPMZKiMy8/JruncMU5Bt6na1eftNoo++R4Y+N2FrxkDVTrGvcyzFTsaGif4QTeKESheMGegbhw6iUAq+5A8zA==", - "dependencies": { - "get-func-name": "^2.0.0" - } + "dev": true, + "license": "MIT" }, "node_modules/minimatch": { "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", "dev": true, + "license": "ISC", "dependencies": { "brace-expansion": "^1.1.7" }, @@ -1205,201 +253,39 @@ "node": "*" } }, - "node_modules/mlly": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/mlly/-/mlly-1.2.0.tgz", - "integrity": "sha512-+c7A3CV0KGdKcylsI6khWyts/CYrGTrRVo4R/I7u/cUsy0Conxa6LUhiEzVKIw14lc2L5aiO4+SeVe4TeGRKww==", - "dependencies": { - "acorn": "^8.8.2", - "pathe": "^1.1.0", - "pkg-types": "^1.0.2", - "ufo": "^1.1.1" - } - }, - "node_modules/ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" - }, - "node_modules/nanoassert": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/nanoassert/-/nanoassert-2.0.0.tgz", - "integrity": "sha512-7vO7n28+aYO4J+8w96AzhmU8G+Y/xpPDJz/se19ICsqj/momRbb9mh9ZUtkoJ5X3nTnPdhEJyc0qnM6yAsHBaA==" - }, - "node_modules/nanoid": { - "version": "3.3.6", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.6.tgz", - "integrity": "sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], - "bin": { - "nanoid": "bin/nanoid.cjs" - }, - "engines": { - "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" - } - }, "node_modules/once": { "version": "1.4.0", - "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", "dev": true, + "license": "ISC", "dependencies": { "wrappy": "1" } }, - "node_modules/one-time": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/one-time/-/one-time-1.0.0.tgz", - "integrity": "sha512-5DXOiRKwuSEcQ/l0kGCF6Q3jcADFv5tSmRaJck/OqkVFcOzutB134KRSfF0xDrL39MNnqxbHBbUUcjZIhTgb2g==", - "dependencies": { - "fn.name": "1.x.x" - } - }, - "node_modules/p-limit": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-4.0.0.tgz", - "integrity": "sha512-5b0R4txpzjPWVw/cXXUResoD4hb6U/x9BH08L7nw+GN1sezDzPdxeRvpc9c433fZhBan/wusjbCsqwqm4EIBIQ==", - "dependencies": { - "yocto-queue": "^1.0.0" - }, - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/path-is-absolute": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } }, - "node_modules/pathe": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/pathe/-/pathe-1.1.0.tgz", - "integrity": "sha512-ODbEPR0KKHqECXW1GoxdDb+AZvULmXjVPy4rt+pGo2+TnjJTIPJQSVS6N63n8T2Ip+syHhbn52OewKicV0373w==" - }, - "node_modules/pathval": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/pathval/-/pathval-1.1.1.tgz", - "integrity": "sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ==", - "engines": { - "node": "*" - } - }, - "node_modules/picocolors": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", - "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==" - }, - "node_modules/pkg-types": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/pkg-types/-/pkg-types-1.0.2.tgz", - "integrity": "sha512-hM58GKXOcj8WTqUXnsQyJYXdeAPbythQgEF3nTcEo+nkD49chjQ9IKm/QJy9xf6JakXptz86h7ecP2024rrLaQ==", - "dependencies": { - "jsonc-parser": "^3.2.0", - "mlly": "^1.1.1", - "pathe": "^1.1.0" - } - }, - "node_modules/postcss": { - "version": "8.4.23", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.23.tgz", - "integrity": "sha512-bQ3qMcpF6A/YjR55xtoTr0jGOlnPOKAIMdOWiv0EIT6HVPEaJiJB4NLljSbiHoC2RX7DN5Uvjtpbg1NPdwv1oA==", - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/postcss" - }, - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], - "dependencies": { - "nanoid": "^3.3.6", - "picocolors": "^1.0.0", - "source-map-js": "^1.0.2" - }, - "engines": { - "node": "^10 || ^12 || >=14" - } - }, - "node_modules/pretty-format": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-27.5.1.tgz", - "integrity": "sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ==", - "dependencies": { - "ansi-regex": "^5.0.1", - "ansi-styles": "^5.0.0", - "react-is": "^17.0.1" - }, - "engines": { - "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" - } - }, - "node_modules/pretty-format/node_modules/ansi-styles": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz", - "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/react-is": { - "version": "17.0.2", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", - "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==" - }, - "node_modules/readable-stream": { - "version": "3.6.2", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", - "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", - "dependencies": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - }, - "engines": { - "node": ">= 6" - } - }, "node_modules/regenerator-runtime": { "version": "0.13.11", - "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz", - "integrity": "sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/require-directory": { "version": "2.1.1", - "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", - "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/rimraf": { "version": "3.0.2", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", - "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", "dev": true, + "license": "ISC", "dependencies": { "glob": "^7.1.3" }, @@ -1410,26 +296,10 @@ "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/rollup": { - "version": "3.21.2", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.21.2.tgz", - "integrity": "sha512-c4vC+JZ3bbF4Kqq2TtM7zSKtSyMybFOjqmomFax3xpfYaPZDZ4iz8NMIuBRMjnXOcKYozw7bC6vhJjiWD6JpzQ==", - "bin": { - "rollup": "dist/bin/rollup" - }, - "engines": { - "node": ">=14.18.0", - "npm": ">=8.0.0" - }, - "optionalDependencies": { - "fsevents": "~2.3.2" - } - }, "node_modules/rxjs": { "version": "6.6.7", - "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.6.7.tgz", - "integrity": "sha512-hTdwr+7yYNIT5n4AMYp85KA6yw2Va0FLa3Rguvbpa4W3I5xynaBZo41cM3XM+4Q6fRMj3sBYIR1VAmZMXYJvRQ==", "dev": true, + "license": "Apache-2.0", "dependencies": { "tslib": "^1.9.0" }, @@ -1437,145 +307,15 @@ "npm": ">=2.0.0" } }, - "node_modules/safe-buffer": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] - }, - "node_modules/safe-stable-stringify": { - "version": "2.4.3", - "resolved": "https://registry.npmjs.org/safe-stable-stringify/-/safe-stable-stringify-2.4.3.tgz", - "integrity": "sha512-e2bDA2WJT0wxseVd4lsDP4+3ONX6HpMXQa1ZhFQ7SU+GjvORCmShbCMltrtIDfkYhVHrOcPtj+KhmDBdPdZD1g==", - "engines": { - "node": ">=10" - } - }, - "node_modules/siginfo": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/siginfo/-/siginfo-2.0.0.tgz", - "integrity": "sha512-ybx0WO1/8bSBLEWXZvEd7gMW3Sn3JFlW3TvX1nREbDLRNQNaeNN8WK0meBwPdAaOI7TtRRRJn/Es1zhrrCHu7g==" - }, - "node_modules/simple-swizzle": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/simple-swizzle/-/simple-swizzle-0.2.2.tgz", - "integrity": "sha512-JA//kQgZtbuY83m+xT+tXJkmJncGMTFT+C+g2h2R9uxkYIrE2yy9sgmcLhCnw57/WSD+Eh3J97FPEDFnbXnDUg==", - "dependencies": { - "is-arrayish": "^0.3.1" - } - }, - "node_modules/slice-ansi": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-5.0.0.tgz", - "integrity": "sha512-FC+lgizVPfie0kkhqUScwRu1O/lF6NOgJmlCgK+/LYxDCTk8sGelYaHDhFcDN+Sn3Cv+3VSa4Byeo+IMCzpMgQ==", - "dependencies": { - "ansi-styles": "^6.0.0", - "is-fullwidth-code-point": "^4.0.0" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/slice-ansi?sponsor=1" - } - }, - "node_modules/slice-ansi/node_modules/ansi-styles": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", - "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/slice-ansi/node_modules/is-fullwidth-code-point": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-4.0.0.tgz", - "integrity": "sha512-O4L094N2/dZ7xqVdrXhh9r1KODPJpFms8B5sGdJLPy664AgvXsreZUyCQQNItZRDlYug4xStLjNp/sz3HvBowQ==", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/source-map-js": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz", - "integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/source-map-support": { - "version": "0.5.21", - "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", - "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==", - "dependencies": { - "buffer-from": "^1.0.0", - "source-map": "^0.6.0" - } - }, "node_modules/spawn-command": { "version": "0.0.2-1", - "resolved": "https://registry.npmjs.org/spawn-command/-/spawn-command-0.0.2-1.tgz", - "integrity": "sha512-n98l9E2RMSJ9ON1AKisHzz7V42VDiBQGY6PB1BwRglz99wpVsSuGzQ+jOi6lFXBGVTCrRpltvjm+/XA+tpeJrg==", - "dev": true - }, - "node_modules/stack-trace": { - "version": "0.0.10", - "resolved": "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.10.tgz", - "integrity": "sha512-KGzahc7puUKkzyMt+IqAep+TVNbKP+k2Lmwhub39m1AsTSkaDutx56aDCo+HLDzf/D26BIHTJWNiTG1KAJiQCg==", - "engines": { - "node": "*" - } - }, - "node_modules/stackback": { - "version": "0.0.2", - "resolved": "https://registry.npmjs.org/stackback/-/stackback-0.0.2.tgz", - "integrity": "sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw==" - }, - "node_modules/std-env": { - "version": "3.3.2", - "resolved": "https://registry.npmjs.org/std-env/-/std-env-3.3.2.tgz", - "integrity": "sha512-uUZI65yrV2Qva5gqE0+A7uVAvO40iPo6jGhs7s8keRfHCmtg+uB2X6EiLGCI9IgL1J17xGhvoOqSz79lzICPTA==" - }, - "node_modules/string_decoder": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", - "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", - "dependencies": { - "safe-buffer": "~5.2.0" - } + "dev": true, + "license": "MIT" }, "node_modules/string-width": { "version": "4.2.3", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", "dev": true, + "license": "MIT", "dependencies": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", @@ -1587,9 +327,8 @@ }, "node_modules/strip-ansi": { "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", "dev": true, + "license": "MIT", "dependencies": { "ansi-regex": "^5.0.1" }, @@ -1597,22 +336,10 @@ "node": ">=8" } }, - "node_modules/strip-literal": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/strip-literal/-/strip-literal-1.0.1.tgz", - "integrity": "sha512-QZTsipNpa2Ppr6v1AmJHESqJ3Uz247MUS0OjrnnZjFAvEoWqxuyFuXn2xLgMtRnijJShAa1HL0gtJyUs7u7n3Q==", - "dependencies": { - "acorn": "^8.8.2" - }, - "funding": { - "url": "https://github.com/sponsors/antfu" - } - }, "node_modules/supports-color": { "version": "8.1.1", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", - "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", "dev": true, + "license": "MIT", "dependencies": { "has-flag": "^4.0.0" }, @@ -1623,283 +350,23 @@ "url": "https://github.com/chalk/supports-color?sponsor=1" } }, - "node_modules/tests": { - "resolved": "tests", - "link": true - }, - "node_modules/text-hex": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/text-hex/-/text-hex-1.0.0.tgz", - "integrity": "sha512-uuVGNWzgJ4yhRaNSiubPY7OjISw4sw4E5Uv0wbjp+OzcbmVU/rsT8ujgcXJhn9ypzsgr5vlzpPqP+MBBKcGvbg==" - }, - "node_modules/tinybench": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/tinybench/-/tinybench-2.5.0.tgz", - "integrity": "sha512-kRwSG8Zx4tjF9ZiyH4bhaebu+EDz1BOx9hOigYHlUW4xxI/wKIUQUqo018UlU4ar6ATPBsaMrdbKZ+tmPdohFA==" - }, - "node_modules/tinypool": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/tinypool/-/tinypool-0.3.1.tgz", - "integrity": "sha512-zLA1ZXlstbU2rlpA4CIeVaqvWq41MTWqLY3FfsAXgC8+f7Pk7zroaJQxDgxn1xNudKW6Kmj4808rPFShUlIRmQ==", - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/tinyspy": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/tinyspy/-/tinyspy-1.1.1.tgz", - "integrity": "sha512-UVq5AXt/gQlti7oxoIg5oi/9r0WpF7DGEVwXgqWSMmyN16+e3tl5lIvTaOpJ3TAtu5xFzWccFRM4R5NaWHF+4g==", - "engines": { - "node": ">=14.0.0" - } - }, "node_modules/tree-kill": { "version": "1.2.2", - "resolved": "https://registry.npmjs.org/tree-kill/-/tree-kill-1.2.2.tgz", - "integrity": "sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==", "dev": true, + "license": "MIT", "bin": { "tree-kill": "cli.js" } }, - "node_modules/triple-beam": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/triple-beam/-/triple-beam-1.3.0.tgz", - "integrity": "sha512-XrHUvV5HpdLmIj4uVMxHggLbFSZYIn7HEWsqePZcI50pco+MPqJ50wMGY794X7AOOhxOBAjbkqfAbEe/QMp2Lw==" - }, "node_modules/tslib": { "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", - "dev": true - }, - "node_modules/type-detect": { - "version": "4.0.8", - "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", - "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==", - "engines": { - "node": ">=4" - } - }, - "node_modules/typescript": { - "version": "4.9.5", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz", - "integrity": "sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==", - "bin": { - "tsc": "bin/tsc", - "tsserver": "bin/tsserver" - }, - "engines": { - "node": ">=4.2.0" - } - }, - "node_modules/ufo": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/ufo/-/ufo-1.1.1.tgz", - "integrity": "sha512-MvlCc4GHrmZdAllBc0iUDowff36Q9Ndw/UzqmEKyrfSzokTd9ZCy1i+IIk5hrYKkjoYVQyNbrw7/F8XJ2rEwTg==" - }, - "node_modules/util-deprecate": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", - "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==" - }, - "node_modules/uuid": { - "version": "8.3.2", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", - "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", - "bin": { - "uuid": "dist/bin/uuid" - } - }, - "node_modules/vite": { - "version": "4.3.9", - "resolved": "https://registry.npmjs.org/vite/-/vite-4.3.9.tgz", - "integrity": "sha512-qsTNZjO9NoJNW7KnOrgYwczm0WctJ8m/yqYAMAK9Lxt4SoySUfS5S8ia9K7JHpa3KEeMfyF8LoJ3c5NeBJy6pg==", - "dependencies": { - "esbuild": "^0.17.5", - "postcss": "^8.4.23", - "rollup": "^3.21.0" - }, - "bin": { - "vite": "bin/vite.js" - }, - "engines": { - "node": "^14.18.0 || >=16.0.0" - }, - "optionalDependencies": { - "fsevents": "~2.3.2" - }, - "peerDependencies": { - "@types/node": ">= 14", - "less": "*", - "sass": "*", - "stylus": "*", - "sugarss": "*", - "terser": "^5.4.0" - }, - "peerDependenciesMeta": { - "@types/node": { - "optional": true - }, - "less": { - "optional": true - }, - "sass": { - "optional": true - }, - "stylus": { - "optional": true - }, - "sugarss": { - "optional": true - }, - "terser": { - "optional": true - } - } - }, - "node_modules/vite-node": { - "version": "0.28.5", - "resolved": "https://registry.npmjs.org/vite-node/-/vite-node-0.28.5.tgz", - "integrity": "sha512-LmXb9saMGlrMZbXTvOveJKwMTBTNUH66c8rJnQ0ZPNX+myPEol64+szRzXtV5ORb0Hb/91yq+/D3oERoyAt6LA==", - "dependencies": { - "cac": "^6.7.14", - "debug": "^4.3.4", - "mlly": "^1.1.0", - "pathe": "^1.1.0", - "picocolors": "^1.0.0", - "source-map": "^0.6.1", - "source-map-support": "^0.5.21", - "vite": "^3.0.0 || ^4.0.0" - }, - "bin": { - "vite-node": "vite-node.mjs" - }, - "engines": { - "node": ">=v14.16.0" - }, - "funding": { - "url": "https://github.com/sponsors/antfu" - } - }, - "node_modules/vitest": { - "version": "0.28.5", - "resolved": "https://registry.npmjs.org/vitest/-/vitest-0.28.5.tgz", - "integrity": "sha512-pyCQ+wcAOX7mKMcBNkzDwEHRGqQvHUl0XnoHR+3Pb1hytAHISgSxv9h0gUiSiYtISXUU3rMrKiKzFYDrI6ZIHA==", - "dependencies": { - "@types/chai": "^4.3.4", - "@types/chai-subset": "^1.3.3", - "@types/node": "*", - "@vitest/expect": "0.28.5", - "@vitest/runner": "0.28.5", - "@vitest/spy": "0.28.5", - "@vitest/utils": "0.28.5", - "acorn": "^8.8.1", - "acorn-walk": "^8.2.0", - "cac": "^6.7.14", - "chai": "^4.3.7", - "debug": "^4.3.4", - "local-pkg": "^0.4.2", - "pathe": "^1.1.0", - "picocolors": "^1.0.0", - "source-map": "^0.6.1", - "std-env": "^3.3.1", - "strip-literal": "^1.0.0", - "tinybench": "^2.3.1", - "tinypool": "^0.3.1", - "tinyspy": "^1.0.2", - "vite": "^3.0.0 || ^4.0.0", - "vite-node": "0.28.5", - "why-is-node-running": "^2.2.2" - }, - "bin": { - "vitest": "vitest.mjs" - }, - "engines": { - "node": ">=v14.16.0" - }, - "funding": { - "url": "https://github.com/sponsors/antfu" - }, - "peerDependencies": { - "@edge-runtime/vm": "*", - "@vitest/browser": "*", - "@vitest/ui": "*", - "happy-dom": "*", - "jsdom": "*" - }, - "peerDependenciesMeta": { - "@edge-runtime/vm": { - "optional": true - }, - "@vitest/browser": { - "optional": true - }, - "@vitest/ui": { - "optional": true - }, - "happy-dom": { - "optional": true - }, - "jsdom": { - "optional": true - } - } - }, - "node_modules/why-is-node-running": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/why-is-node-running/-/why-is-node-running-2.2.2.tgz", - "integrity": "sha512-6tSwToZxTOcotxHeA+qGCq1mVzKR3CwcJGmVcY+QE8SHy6TnpFnh8PAvPNHYr7EcuVeG0QSMxtYCuO1ta/G/oA==", - "dependencies": { - "siginfo": "^2.0.0", - "stackback": "0.0.2" - }, - "bin": { - "why-is-node-running": "cli.js" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/winston": { - "version": "3.8.2", - "resolved": "https://registry.npmjs.org/winston/-/winston-3.8.2.tgz", - "integrity": "sha512-MsE1gRx1m5jdTTO9Ld/vND4krP2To+lgDoMEHGGa4HIlAUyXJtfc7CxQcGXVyz2IBpw5hbFkj2b/AtUdQwyRew==", - "dependencies": { - "@colors/colors": "1.5.0", - "@dabh/diagnostics": "^2.0.2", - "async": "^3.2.3", - "is-stream": "^2.0.0", - "logform": "^2.4.0", - "one-time": "^1.0.0", - "readable-stream": "^3.4.0", - "safe-stable-stringify": "^2.3.1", - "stack-trace": "0.0.x", - "triple-beam": "^1.3.0", - "winston-transport": "^4.5.0" - }, - "engines": { - "node": ">= 12.0.0" - } - }, - "node_modules/winston-transport": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/winston-transport/-/winston-transport-4.5.0.tgz", - "integrity": "sha512-YpZzcUzBedhlTAfJg6vJDlyEai/IFMIVcaEZZyl3UXIl4gmqRpU7AE89AHLkbzLUsv0NVmw7ts+iztqKxxPW1Q==", - "dependencies": { - "logform": "^2.3.2", - "readable-stream": "^3.6.0", - "triple-beam": "^1.3.0" - }, - "engines": { - "node": ">= 6.4.0" - } + "dev": true, + "license": "0BSD" }, "node_modules/wrap-ansi": { "version": "7.0.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", - "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", "dev": true, + "license": "MIT", "dependencies": { "ansi-styles": "^4.0.0", "string-width": "^4.1.0", @@ -1914,44 +381,21 @@ }, "node_modules/wrappy": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", - "dev": true - }, - "node_modules/ws": { - "version": "8.15.1", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.15.1.tgz", - "integrity": "sha512-W5OZiCjXEmk0yZ66ZN82beM5Sz7l7coYxpRkzS+p9PP+ToQry8szKh+61eNktr7EA9DOwvFGhfC605jDHbP6QQ==", - "engines": { - "node": ">=10.0.0" - }, - "peerDependencies": { - "bufferutil": "^4.0.1", - "utf-8-validate": ">=5.0.2" - }, - "peerDependenciesMeta": { - "bufferutil": { - "optional": true - }, - "utf-8-validate": { - "optional": true - } - } + "dev": true, + "license": "ISC" }, "node_modules/y18n": { "version": "5.0.8", - "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", - "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", "dev": true, + "license": "ISC", "engines": { "node": ">=10" } }, "node_modules/yargs": { "version": "16.2.0", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", - "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", "dev": true, + "license": "MIT", "dependencies": { "cliui": "^7.0.2", "escalade": "^3.1.1", @@ -1967,56 +411,11 @@ }, "node_modules/yargs-parser": { "version": "20.2.9", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", - "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", "dev": true, + "license": "ISC", "engines": { "node": ">=10" } - }, - "node_modules/yocto-queue": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-1.0.0.tgz", - "integrity": "sha512-9bnSc/HEW2uRy67wc+T8UwauLuPJVn28jb+GtJY16iiKWyvmYJRXVT4UamsAEGQfPohgr2q4Tq0sQbQlxTfi1g==", - "engines": { - "node": ">=12.20" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "tests": { - "dependencies": { -<<<<<<< HEAD - "@holochain/client": "^0.16.7", - "@holochain/tryorama": "^0.15.2", -======= - "@holochain/client": "^0.15.0", - "@holochain/tryorama": "^0.15.0-rc.1", ->>>>>>> main - "@msgpack/msgpack": "^2.7.0", - "typescript": "^4.9.4", - "vitest": "^0.28.4" - } - }, - "tests/node_modules/@holochain/client": { - "version": "0.15.0", - "resolved": "https://registry.npmjs.org/@holochain/client/-/client-0.15.0.tgz", - "integrity": "sha512-4cZXSXEOf3XbYzq17Min5bymK/w4Ev3+S6doPj+1VQcZnn35JsP6eUdyKfRvSRopxykplXAM1xw0+8/j7DlHsA==", - "dependencies": { - "@holochain/serialization": "^0.1.0-beta-rc.3", - "@msgpack/msgpack": "^2.7.2", - "@noble/ed25519": "^2.0.0", - "@tauri-apps/api": "^1.2.0", - "emittery": "^1.0.1", - "isomorphic-ws": "^5.0.0", - "js-base64": "^3.7.3", - "lodash-es": "^4.17.21", - "ws": "^8.13.0" - }, - "engines": { - "node": ">=16.0.0 || >=18.0.0" - } } } } From 9974d160f43673538fd1a246da0ba3b9d773082b Mon Sep 17 00:00:00 2001 From: Matt Gabrenya Date: Sat, 16 Dec 2023 09:21:22 -0700 Subject: [PATCH 9/9] doc: changelog --- CHANGELOG.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 62bb733..20093d1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,27 @@ All notable changes to this project will be documented in this file. +## [0.8.0] - 2023-12-16 + +### Documentation + +- Add changelog + +### Miscellaneous Tasks + +- Fmt + clippy + +### Refactor + +- Migrate tests from tryoama to sweettest + +### Build + +- Holochain-0.2.3-beta-rc.1 +- Upgrade holochain to 0.2.4 +- Bump version to 0.6.0 +- Package lock + ## [0.7.0] - 2023-09-27 ### Build @@ -25,6 +46,7 @@ All notable changes to this project will be documented in this file. ### Build +- Bump holochain 0.2.1-beta-dev.0 & update for compatibility - [**breaking**] Upgrade to holochain v0.3.0-beta-dev.8 - Upgrade to holochain 0.3.0-beta-dev.9 - Upgrade client & tryorama