From 2e3d586b8f0e187c680774692fb99baea5608968 Mon Sep 17 00:00:00 2001 From: Zeek Date: Wed, 11 Oct 2023 22:44:15 -0600 Subject: [PATCH 1/6] utlize trust atoms --- Cargo.lock | 7035 ++++++++++++++--- Cargo.toml | 14 +- crates/follows_types/src/lib.rs | 4 + crates/mews_types/src/lib.rs | 5 + dnas/mewsfeed/workdir/dna.yaml | 9 + .../zomes/coordinator/follows/Cargo.toml | 5 +- .../follows/src/follower_to_creators.rs | 181 +- .../zomes/coordinator/mews/Cargo.toml | 5 +- .../zomes/coordinator/mews/src/all_mews.rs | 131 + .../coordinator/mews/src/hashtag_to_mews.rs | 83 +- .../coordinator/mews/src/mew_to_responses.rs | 2 +- .../coordinator/mews/src/mew_with_context.rs | 18 + .../zomes/coordinator/mews/src/tag_to_mews.rs | 2 +- .../zomes/coordinator/trust_atom/Cargo.toml | 22 + .../zomes/coordinator/trust_atom/src/lib.rs | 1 + .../trust_atom/tests/trust_atom_tests.rs | 265 + dnas/mewsfeed/zomes/integrity/mews/Cargo.toml | 4 +- .../zomes/integrity/mews/src/all_mews.rs | 6 + dnas/mewsfeed/zomes/integrity/mews/src/lib.rs | 37 +- .../zomes/integrity/trust_atom/Cargo.toml | 15 + .../zomes/integrity/trust_atom/src/lib.rs | 1 + flake.lock | 493 +- flake.nix | 2 +- package-lock.json | 339 +- 24 files changed, 6801 insertions(+), 1878 deletions(-) create mode 100644 dnas/mewsfeed/zomes/coordinator/trust_atom/Cargo.toml create mode 100644 dnas/mewsfeed/zomes/coordinator/trust_atom/src/lib.rs create mode 100644 dnas/mewsfeed/zomes/coordinator/trust_atom/tests/trust_atom_tests.rs create mode 100644 dnas/mewsfeed/zomes/integrity/trust_atom/Cargo.toml create mode 100644 dnas/mewsfeed/zomes/integrity/trust_atom/src/lib.rs diff --git a/Cargo.lock b/Cargo.lock index 8a9f6e62..2f2e3dfd 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2,13 +2,23 @@ # 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.20.0" +version = "0.21.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4fa78e18c64fce05e902adecd7a5eed15a5e0a3439f7b0e169f0252214865e3" +checksum = "8a30b2e23b9e17a9f90641c7ab1549cd9b44f296d3ccbf309d2863cfe398a0cb" dependencies = [ - "gimli 0.27.3", + "gimli 0.28.0", ] [[package]] @@ -17,6 +27,12 @@ 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 = "agent_pins" version = "0.0.1" @@ -36,26 +52,56 @@ dependencies = [ "serde", ] +[[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.10", + "once_cell", + "version_check", +] + +[[package]] +name = "ahash" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2c99f64d1e06488f620f932677e24bc6e2897582980441ae90a671415bd7ec2f" +dependencies = [ + "cfg-if 1.0.0", + "getrandom 0.2.10", "once_cell", "version_check", ] [[package]] name = "aho-corasick" -version = "1.0.2" +version = "1.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43f6cb1bf222025340178f382c426f13757b2960e89779dfcb319c32542a5a41" +checksum = "ea5d730647d4fadd988536d06fecce94b7b4f2a7efdae548f1cf4b63205518ab" 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-tzdata" version = "0.1.1" @@ -71,6 +117,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.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2ab91ebe16eb252986481c5b62f6098f3b698a45e34b5b98200cf20dd2484a44" +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.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "317b9a89c1868f5ea6ff1d9539a69f45dffc21ce321ac1fd1160dfa48c8e2140" +dependencies = [ + "utf8parse", +] + +[[package]] +name = "anstyle-query" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5ca11d4be1bab0c8bc8734a9aa7bf4ee8316d462a08c6ac5052f888fef5b494b" +dependencies = [ + "windows-sys 0.48.0", +] + +[[package]] +name = "anstyle-wincon" +version = "3.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0699d10d2f4d628a98ee7b57b289abbc98ff3bad977cb3152709d4bf2330628" +dependencies = [ + "anstyle", + "windows-sys 0.48.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" @@ -80,6 +189,15 @@ dependencies = [ "num-traits", ] +[[package]] +name = "arbitrary" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e2d098ff73c1ca148721f37baad5ea6a465a13f9573aba8641fbbbae8164a54e" +dependencies = [ + "derive_arbitrary", +] + [[package]] name = "arrayref" version = "0.3.7" @@ -92,6 +210,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.5.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2c1da3ae8dabd9c00f453a329dfe1fb28da3c0a72e2478cdcd93171740c20499" +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.24", + "slab", + "socket2 0.4.9", + "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.24", + "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.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b9441c6b2fe128a7c2bf680a44c34d0df31ce09e5b7e401fcca3faa483dbc921" + +[[package]] +name = "async-trait" +version = "0.1.73" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bc00ceb34980c03614e35a3a4e218276a0a824e911d07651cd0d858a51e8c0f0" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.37", +] + +[[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" @@ -100,7 +404,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]] @@ -109,18 +422,30 @@ 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.68" +version = "0.3.69" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4319208da049c43661739c5fade2ba182f09d1dc2299b32298d3a31692b17e12" +checksum = "2089b7e3f35b9dd2d0ed921ead4f6d318c27680d4a5bd167b3ee120edb105837" dependencies = [ "addr2line", "cc", - "cfg-if", + "cfg-if 1.0.0", "libc", "miniz_oxide", - "object 0.31.1", + "object 0.32.1", "rustc-demangle", ] @@ -130,6 +455,18 @@ version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8" +[[package]] +name = "base64" +version = "0.21.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9ba43ea6f343b788c8764558649e08df62f86c6ef251fdaeb1ffd010a9ae50a2" + +[[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" @@ -153,6 +490,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" @@ -160,6 +500,12 @@ version = "1.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" +[[package]] +name = "bitflags" +version = "2.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b4682ae6287fcf752ecaabbfcc7b6f9b72aa33933dc23a554d853aea8eea8635" + [[package]] name = "bitvec" version = "1.0.1" @@ -179,69 +525,179 @@ 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 = "block-buffer" -version = "0.10.4" +name = "blake2b_simd" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" +checksum = "23285ad32269793932e830392f2fe2f83e26488fd3ec778883a93c8323735780" dependencies = [ - "generic-array", + "arrayref", + "arrayvec 0.7.4", + "constant_time_eq 0.3.0", ] [[package]] -name = "bumpalo" -version = "3.13.0" +name = "block-buffer" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3e2c3daef883ecc1b5d58c15adae93470a91d425f3532ba1695849656af3fc1" +checksum = "4152116fd6e9dadb291ae18fc1ec3575ed6d84c29642d97890f4b4a3417297e4" +dependencies = [ + "generic-array", +] [[package]] -name = "bytecheck" -version = "0.6.11" +name = "block-buffer" +version = "0.10.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b6372023ac861f6e6dc89c8344a8f398fb42aaba2b5dbc649ca0c0e9dbcb627" +checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" dependencies = [ - "bytecheck_derive", - "ptr_meta", - "simdutf8", + "generic-array", ] [[package]] -name = "bytecheck_derive" -version = "0.6.11" +name = "blocking" +version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a7ec4c6f261935ad534c0c22dbef2201b45918860eb1c574b972bd213a76af61" +checksum = "94c4ef1f913d78636d78d538eec1f18de81e481f44b1be0a81060090530846e1" dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", + "async-channel", + "async-lock", + "async-task", + "fastrand 2.0.1", + "futures-io", + "futures-lite", + "piper", + "tracing", ] [[package]] -name = "byteorder" -version = "1.4.3" +name = "bloomfilter" +version = "1.0.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610" +checksum = "b92db7965d438b8b4b1c1d0aedd188440a1084593c9eb7f6657e3df7e906d934" +dependencies = [ + "bit-vec", + "getrandom 0.2.10", + "siphasher", +] [[package]] -name = "camino" -version = "1.1.4" +name = "borsh" +version = "0.10.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c530edf18f37068ac2d977409ed5cd50d53d73bc653c7647b48eb78976ac9ae2" +checksum = "4114279215a005bc675e386011e594e1d9b800918cea18fcadadcce864a2046b" dependencies = [ - "serde", + "borsh-derive", + "hashbrown 0.13.2", ] [[package]] -name = "cargo-platform" -version = "0.1.2" +name = "borsh-derive" +version = "0.10.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cbdb825da8a5df079a43676dbe042702f1707b1109f713a01420fbb4cc71fa27" +checksum = "0754613691538d51f329cce9af41d7b7ca150bc973056f1156611489475f54f7" dependencies = [ - "serde", + "borsh-derive-internal", + "borsh-schema-derive-internal", + "proc-macro-crate 0.1.5", + "proc-macro2", + "syn 1.0.109", +] + +[[package]] +name = "borsh-derive-internal" +version = "0.10.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "afb438156919598d2c7bad7e1c0adf3d26ed3840dbc010db1a882a65583ca2fb" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "borsh-schema-derive-internal" +version = "0.10.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "634205cc43f74a1b9046ef87c4540ebda95696ec0f315024860cad7c5b0f5ccd" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "bumpalo" +version = "3.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f30e7476521f6f8af1a1c4c0b8cc94f0bee37d91763d0ca2665f299b6cd8aec" + +[[package]] +name = "bytecheck" +version = "0.6.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b6372023ac861f6e6dc89c8344a8f398fb42aaba2b5dbc649ca0c0e9dbcb627" +dependencies = [ + "bytecheck_derive", + "ptr_meta", + "simdutf8", +] + +[[package]] +name = "bytecheck_derive" +version = "0.6.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a7ec4c6f261935ad534c0c22dbef2201b45918860eb1c574b972bd213a76af61" +dependencies = [ + "proc-macro2", + "quote", + "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" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610" + +[[package]] +name = "bytes" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a2bd12c1caf447e69cd4528f47f94d203fd2582878ecb9e9465484c4148a8223" + +[[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.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c59e92b5a388f549b863a7bea62612c09f24c8393560709a54558a9abdfb3b9c" +dependencies = [ + "serde", +] + +[[package]] +name = "cargo-platform" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2cfa25e60aea747ec7e1124f238816749faa93759c6ff5b31f1ccdda137f4479" +dependencies = [ + "serde", ] [[package]] @@ -252,7 +708,7 @@ checksum = "eee4243f1f26fc7a42710e7439c149e2b10b05472f88090acce52632f231a73a" dependencies = [ "camino", "cargo-platform", - "semver 1.0.17", + "semver 1.0.19", "serde", "serde_json", "thiserror", @@ -260,9 +716,18 @@ dependencies = [ [[package]] name = "cc" -version = "1.0.79" +version = "1.0.83" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f1174fb0b6ec23863f8b971027804a42614e347eafb0a95bf0b12cdae21fc4d0" +dependencies = [ + "libc", +] + +[[package]] +name = "cfg-if" +version = "0.1.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50d30906286121d95be3d479533b458f87493b30a4b5f79a607db8f5d11aa91f" +checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822" [[package]] name = "cfg-if" @@ -270,29 +735,158 @@ 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.26" +version = "0.4.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec837a71355b28f6556dbd569b37b3f363091c0bd4b2e735674521b4c5fd9bc5" +checksum = "7f2c685bad3eb3d45a01354cedb7d5faa66194d1d58ba6e267a8de788f79db38" dependencies = [ "android-tzdata", "iana-time-zone", + "js-sys", "num-traits", "serde", - "time", - "winapi", + "wasm-bindgen", + "windows-targets", ] [[package]] -name = "colored" -version = "1.9.3" +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 = "f4ffc801dacf156c5854b9df4f425a626539c3a6ef7893cc0c5084a23f0b6c59" +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.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d04704f56c2cde07f43e8e2c154b43f216dc5c92fc98ada720177362f953b956" +dependencies = [ + "clap_builder", + "clap_derive 4.4.2", +] + +[[package]] +name = "clap_builder" +version = "4.4.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0e231faeaca65ebd1ea3c737966bf858971cd38c3849107aa3ea7de90a804e45" +dependencies = [ + "anstream", + "anstyle", + "clap_lex 0.5.1", + "strsim 0.10.0", +] + +[[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.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0862016ff20d69b84ef8247369fabf5c008a7417002411897d40ee1f4532b873" +dependencies = [ + "heck 0.4.1", + "proc-macro2", + "quote", + "syn 2.0.37", +] + +[[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.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd7cc57abe963c6d3b9d8be5b06ba7c8957a930305ca90304f24ef040aa6f961" + +[[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]] +name = "colorchoice" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7" + +[[package]] +name = "colored" +version = "1.9.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a5f741c91823341bebf717d4c71bda820630ce065443b58bd1b7451af008355" +dependencies = [ + "is-terminal", "lazy_static", - "winapi", + "winapi 0.3.9", +] + +[[package]] +name = "concurrent-queue" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f057a694a54f12365049b0958a1685bb52d567f5593b355fbf685838e873d400" +dependencies = [ + "crossbeam-utils", ] [[package]] @@ -301,26 +895,67 @@ 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" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e496a50fda8aacccc86d7529e2c1e0892dbd0f898a6b5645b5561b89c3210efa" +[[package]] +name = "core2" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b49ba7ef1ad6107f8824dbe97de947cbaac53c44e7f9756a1fba0d37c1eec505" +dependencies = [ + "memchr", +] + [[package]] name = "corosensei" -version = "0.1.3" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9847f90f32a50b0dcbd68bc23ff242798b13080b97b0569f6ed96a45ce4cf2cd" +checksum = "80128832c58ea9cbd041d2a759ec449224487b2c1e400453d99d244eead87a8e" dependencies = [ - "autocfg", - "cfg-if", + "autocfg 1.1.0", + "cfg-if 1.0.0", "libc", "scopeguard", "windows-sys 0.33.0", @@ -357,7 +992,7 @@ dependencies = [ "gimli 0.26.2", "log", "regalloc", - "smallvec", + "smallvec 1.11.1", "target-lexicon", ] @@ -390,7 +1025,7 @@ checksum = "a006e3e32d80ce0e4ba7f1f9ddf66066d052a8c884a110b91d05404d6ce26dce" dependencies = [ "cranelift-codegen", "log", - "smallvec", + "smallvec 1.11.1", "target-lexicon", ] @@ -400,7 +1035,18 @@ 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]] +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]] @@ -409,7 +1055,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", ] @@ -419,7 +1065,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", ] @@ -430,8 +1076,8 @@ version = "0.9.15" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ae211234986c545741a7dc064309f67ee1e5ad243d0e48335adc0484d960bcc7" dependencies = [ - "autocfg", - "cfg-if", + "autocfg 1.1.0", + "cfg-if 1.0.0", "crossbeam-utils", "memoffset 0.9.0", "scopeguard", @@ -443,9 +1089,15 @@ version = "0.8.16" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5a22b2d63d4d1dc0b7f1b6b2747dd0088008a9be28b6ddf0b1e7d335e3037294" dependencies = [ - "cfg-if", + "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" @@ -456,6 +1108,36 @@ 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 = "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" @@ -468,102 +1150,323 @@ dependencies = [ [[package]] name = "darling" -version = "0.20.1" +version = "0.20.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0558d22a7b463ed0241e993f76f09f30b126687447751a8638587b864e4b3944" +checksum = "0209d94da627ab5605dcccf08bb18afa5009cfbef48d8a8b7d7bdbc79be25c5e" dependencies = [ - "darling_core 0.20.1", - "darling_macro 0.20.1", + "darling_core 0.20.3", + "darling_macro 0.20.3", ] [[package]] name = "darling_core" -version = "0.14.4" +version = "0.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "109c1ca6e6b7f82cc233a97004ea8ed7ca123a9af07a8230878fcfda9b158bf0" +checksum = "f0c960ae2da4de88a91b2d920c2a7233b400bc33cb28453a2987822d8392519b" dependencies = [ "fnv", "ident_case", "proc-macro2", "quote", - "strsim", + "strsim 0.9.3", "syn 1.0.109", ] [[package]] name = "darling_core" -version = "0.20.1" +version = "0.13.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab8bfa2e259f8ee1ce5e97824a3c55ec4404a0d772ca7fa96bf19f0752a046eb" +checksum = "859d65a907b6852c9361e3185c862aae7fafd2887876799fa55f5f99dc40d610" dependencies = [ "fnv", "ident_case", "proc-macro2", "quote", - "syn 2.0.25", + "strsim 0.10.0", + "syn 1.0.109", ] [[package]] -name = "darling_macro" +name = "darling_core" version = "0.14.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4aab4dbc9f7611d8b55048a3a16d2d010c2c8334e46304b40ac1cc14bf3b48e" +checksum = "109c1ca6e6b7f82cc233a97004ea8ed7ca123a9af07a8230878fcfda9b158bf0" dependencies = [ - "darling_core 0.14.4", + "fnv", + "ident_case", + "proc-macro2", "quote", + "strsim 0.10.0", "syn 1.0.109", ] [[package]] -name = "darling_macro" -version = "0.20.1" +name = "darling_core" +version = "0.20.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29a358ff9f12ec09c3e61fef9b5a9902623a695a46a917b07f269bff1445611a" +checksum = "177e3443818124b357d8e76f53be906d60937f0d3a90773a664fa63fa253e621" dependencies = [ - "darling_core 0.20.1", + "fnv", + "ident_case", + "proc-macro2", "quote", - "syn 2.0.25", + "syn 2.0.37", ] [[package]] -name = "derivative" -version = "2.2.0" +name = "darling_macro" +version = "0.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fcc3dd5e9e9c0b295d6e1e4d811fb6f157d5ffd784b8d202fc62eac8035a770b" +checksum = "d9b5a2f4ac4969822c62224815d069952656cadc7084fdca9751e6d959189b72" dependencies = [ - "proc-macro2", + "darling_core 0.10.2", "quote", "syn 1.0.109", ] [[package]] -name = "derive_more" -version = "0.99.17" +name = "darling_macro" +version = "0.13.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4fb810d30a7c1953f91334de7244731fc3f3c10d7fe163338a35b9f640960321" +checksum = "9c972679f83bdf9c42bd905396b6c3588a843a17f0f16dfcfa3e2c5d57441835" dependencies = [ - "convert_case", - "proc-macro2", + "darling_core 0.13.4", "quote", - "rustc_version", "syn 1.0.109", ] +[[package]] +name = "darling_macro" +version = "0.14.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a4aab4dbc9f7611d8b55048a3a16d2d010c2c8334e46304b40ac1cc14bf3b48e" +dependencies = [ + "darling_core 0.14.4", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "darling_macro" +version = "0.20.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "836a9bbc7ad63342d6d6e7b815ccab164bc77a2d95d84bc3117a8c0d5c98e2d5" +dependencies = [ + "darling_core 0.20.3", + "quote", + "syn 2.0.37", +] + +[[package]] +name = "dary_heap" +version = "0.3.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7762d17f1241643615821a8455a0b2c3e803784b058693d990b11f2dce25a0ca" + +[[package]] +name = "dashmap" +version = "4.0.2" +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.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "978747c1d849a7d2ee5e8adc0159961c48fb7e5db2f06af6723b80123bb53856" +dependencies = [ + "cfg-if 1.0.0", + "hashbrown 0.14.1", + "lock_api 0.4.10", + "once_cell", + "parking_lot_core 0.9.8", +] + +[[package]] +name = "data-encoding" +version = "2.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c2e66c9d817f1720209181c316d28635c050fa304f9c79e47a520882661b7308" + +[[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_arbitrary" +version = "1.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "53e0efad4403bfc52dc201159c4b842a246a14b98c64b55dfd0f2d89729dfeb8" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.37", +] + +[[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" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4fb810d30a7c1953f91334de7244731fc3f3c10d7fe163338a35b9f640960321" +dependencies = [ + "convert_case", + "proc-macro2", + "quote", + "rustc_version", + "syn 1.0.109", +] + +[[package]] +name = "diff" +version = "0.1.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "56254986775e3233ffa9c4d7d3faaf6d36a2c09d30b20687e9f88bc8bafc16c8" + +[[package]] +name = "difference" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "524cbf6897b527295dff137cec09ecf3a05f4fddffd7dfcd1585403449e74198" + +[[package]] +name = "difflib" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6184e33543162437515c2e2b48714794e37845ec9851711914eec9d308f6ebe8" + +[[package]] +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", + "block-buffer 0.10.4", "crypto-common", ] +[[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" +version = "1.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7fcaabb2fef8c910e7f4c7ce9f67a1283a1715879a7c230ca9d6d1ae31f16d91" +checksum = "a26ae43d7bcc3b814de94796a5e736d4029efb0ee900c12e2d54c993ad1a1e07" + +[[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" @@ -600,10 +1503,19 @@ version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e08b6c6ab82d70f08844964ba10c7babb716de2ecaeab9be5717918a5177d3af" dependencies = [ - "darling 0.20.1", + "darling 0.20.3", "proc-macro2", "quote", - "syn 2.0.25", + "syn 2.0.37", +] + +[[package]] +name = "env_logger" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85cdab6a89accf66733ad5a1693a4dcced6aeff64602b634530dd73c1f3ee9f0" +dependencies = [ + "log", ] [[package]] @@ -612,11 +1524,25 @@ 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.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4bcfec3a70f97c962c307b2d2c56e358cf1d00b558d74262b5f929ee8cc7e73a" +checksum = "add4f07d43996f76ef320709726a556a9d4f965d9410d8d0271132d2f8293480" dependencies = [ "errno-dragonfly", "libc", @@ -633,12 +1559,46 @@ dependencies = [ "libc", ] +[[package]] +name = "event-listener" +version = "2.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0206175f82b8d6bf6652ff7d71a1e27fd2e4efde587fd368662814d6ec1d9ce0" + +[[package]] +name = "failure" +version = "0.1.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d32e9bd16cc02eae7db7ef620b392808b89f6a5e16bb3497d159c6b92a0f4f86" +dependencies = [ + "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]] name = "fallible-iterator" 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" @@ -648,6 +1608,69 @@ 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.22" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d4029edd3e734da6fe05b6cd7bd2960760a616bd2ddd0d59a0124746d6272af0" +dependencies = [ + "cfg-if 1.0.0", + "libc", + "redox_syscall 0.3.5", + "windows-sys 0.48.0", +] + +[[package]] +name = "fixt" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5bbd3dde3f166a47832a20fa1d0c61d5b68a79bedf370782441709d82f6ae69e" +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.27" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6c98ee8095e9d1dcbf2fcc6d95acccb90d1c81db1e44725c6a984b1dbdfb010" +dependencies = [ + "crc32fast", + "miniz_oxide", +] + +[[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" @@ -660,10 +1683,13 @@ version = "0.0.1" dependencies = [ "follows_integrity", "follows_types", + "hc_call_utils", "hc_link_pagination", "hdk", "holochain_integrity_types", + "mews_types", "serde", + "trust_atom_types", ] [[package]] @@ -684,6 +1710,42 @@ dependencies = [ "serde", ] +[[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.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a62bc1cf6f830c2ec14a513a9fb124d0a213a629668a4186f329db21fe045652" +dependencies = [ + "percent-encoding 2.3.0", +] + +[[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 = "funty" version = "2.0.0" @@ -739,14 +1801,29 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4fff74096e71ed47f8e023204cfd0aa1289cd54ae5430a9523be060cdb849964" [[package]] -name = "futures-macro" -version = "0.3.28" +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" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "89ca545a94061b6365f2c7355b4b32bd20df3ff95f02da9329b34ccc3bd6ee72" dependencies = [ "proc-macro2", "quote", - "syn 2.0.25", + "syn 2.0.37", ] [[package]] @@ -761,6 +1838,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" @@ -779,6 +1862,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" @@ -801,17 +1899,76 @@ 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.10" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "be4136b2a15dd319360be1c07d9933517ccf0be8f16bf62a3bee4f0d618df427" dependencies = [ - "cfg-if", + "cfg-if 1.0.0", "libc", "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" @@ -825,9 +1982,67 @@ dependencies = [ [[package]] name = "gimli" -version = "0.27.3" +version = "0.28.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6fb8d784f27acf97159b40fc4db5ecd8aa23b9ad5ef69cdd136d3bc80665f0c0" + +[[package]] +name = "gloo-timers" +version = "0.2.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b995a66bb87bebce9a0f4a95aed01daca4872c050bfcb21653361c03bc35e5c" +dependencies = [ + "futures-channel", + "futures-core", + "js-sys", + "wasm-bindgen", +] + +[[package]] +name = "governor" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "06c5d2f987ee8f6dff3fa1a352058dc59b990e447e4c7846aa7d804971314f7b" +dependencies = [ + "dashmap 4.0.2", + "futures", + "futures-timer", + "no-std-compat", + "nonzero_ext", + "parking_lot 0.11.2", + "quanta", + "rand 0.8.5", + "smallvec 1.11.1", +] + +[[package]] +name = "h2" +version = "0.3.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "91fc23aa11be92976ef4729127f1a74adf36d8436f7816b185d18df956790833" +dependencies = [ + "bytes", + "fnv", + "futures-core", + "futures-sink", + "futures-util", + "http", + "indexmap 1.9.3", + "slab", + "tokio", + "tokio-util", + "tracing", +] + +[[package]] +name = "hashbrown" +version = "0.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6c80984affa11d98d1b88b66ac8853f143217b399d3c74116778ff8fdb4ed2e" +checksum = "e91b62f79061a0bc2e046024cb7ba44b08419ed238ecbd9adbd787434b9e8c25" +dependencies = [ + "ahash 0.3.8", + "autocfg 1.1.0", +] [[package]] name = "hashbrown" @@ -835,7 +2050,7 @@ version = "0.11.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ab5ef0d4909ef3724cc8cce6ccc8572c5c817592e9285f5464f8e86f8bd3726e" dependencies = [ - "ahash", + "ahash 0.7.6", ] [[package]] @@ -844,14 +2059,36 @@ version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" dependencies = [ - "ahash", + "ahash 0.7.6", +] + +[[package]] +name = "hashbrown" +version = "0.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e" +dependencies = [ + "ahash 0.8.3", ] [[package]] name = "hashbrown" -version = "0.14.0" +version = "0.14.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7dfda62a12f55daeae5015f81b0baea145391cb4520f86c248fc615d72640d12" +dependencies = [ + "ahash 0.8.3", + "allocator-api2", +] + +[[package]] +name = "hashlink" +version = "0.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c6201b9ff9fd90a5a3bac2e56a830d0caa509576f0e503818ee82c181b3437a" +checksum = "e8094feaf31ff591f651a2664fb9cfd92bba7a60ce3197265e9482ebe753c8f7" +dependencies = [ + "hashbrown 0.14.1", +] [[package]] name = "hc_call_utils" @@ -869,6 +2106,21 @@ dependencies = [ "serde", ] +[[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 = "hc_zome_profiles_coordinator" version = "0.2.0" @@ -892,9 +2144,9 @@ dependencies = [ [[package]] name = "hdi" -version = "0.3.1" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6115e6d52f5da0fe55ec9608ff93e5e61211a66a3628f97e0cbbfd4131787cf6" +checksum = "9b12f620a0d22b7dcd534a849f0024b0b47c4343b15f1c0ec02e37f4990f6f16" dependencies = [ "hdk_derive", "holo_hash", @@ -909,11 +2161,11 @@ dependencies = [ [[package]] name = "hdk" -version = "0.2.1" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f5690ef906744725fcd16ae3d13b0e2ba22f046f4a9be2dc21ec2e4b3cf049a" +checksum = "8d50da8f292a1b819ae6a7651e9c3cb2ec97f00729125ad9ec3d31df8154eef7" dependencies = [ - "getrandom", + "getrandom 0.2.10", "hdi", "hdk_derive", "holo_hash", @@ -929,12 +2181,12 @@ dependencies = [ [[package]] name = "hdk_derive" -version = "0.2.1" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d220ca3a6c5992600052e025f0c3f2342d6a4cf7fe52687135acda9128a62eae" +checksum = "fc855dc170fec9ca44d2b21cba90fb961ef92acadaae0f0c7d090312a6212552" dependencies = [ "darling 0.14.4", - "heck", + "heck 0.4.1", "holochain_integrity_types", "paste", "proc-macro-error", @@ -943,6 +2195,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.4", + "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" @@ -960,9 +2245,9 @@ dependencies = [ [[package]] name = "hermit-abi" -version = "0.3.2" +version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "443144c8cdadd93ebf52ddb4056d257f5b52c04d3c804e657d19eb73fc33668b" +checksum = "d77f7ec81a6d05a3abb01ab6eb7590f6083d08449fe5a1c8b1e620283546ccb7" [[package]] name = "hex" @@ -972,1477 +2257,4991 @@ checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" [[package]] name = "holo_hash" -version = "0.2.1" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a39f740985893adf2be5ad75987456ed2ce2f1d6d53cdf534e4fbe96ebae0940" +checksum = "2a5aa5c7b7c2d99ba6769e58ead10d5d4ead9036724a54a7fcea1c0203aac00e" 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_integrity_types" -version = "0.2.1" +name = "holochain" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f92876d5a2fa142858efe38fe4f6b9f25ae1be9441bf90cb516ed613df77f50d" +checksum = "7557f2e6d4e64912264b16befa6144da01c2484459492d8a71560d20024178d8" 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.10", + "ghost_actor 0.3.0-alpha.6", + "hdk", "holo_hash", + "holochain_cascade", + "holochain_conductor_api", + "holochain_keystore", + "holochain_p2p", "holochain_serialized_bytes", - "kitsune_p2p_dht", - "kitsune_p2p_timestamp", - "paste", + "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", + "parking_lot 0.10.2", + "predicates 1.0.8", + "rand 0.8.5", + "rand-utf8", + "rpassword 5.0.1", + "rusqlite", + "sd-notify", "serde", - "serde_bytes", - "subtle", + "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", + "unwrap_to", + "url 2.4.1", + "url2", + "url_serde", + "uuid 0.7.4", + "wasmer-middlewares", ] [[package]] -name = "holochain_serialized_bytes" -version = "0.0.51" +name = "holochain_cascade" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9805b3e01e7b5c144782a0823db4dc895fec18a9ccd45a492ce7c7bf157a9e38" +checksum = "c8611a6406313dd46692c97cbf0025dc4ad77a27ac4da622441dec69408054a0" dependencies = [ - "holochain_serialized_bytes_derive", - "rmp-serde", + "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", "serde", - "serde-transcode", - "serde_bytes", - "serde_json", + "serde_derive", "thiserror", + "tokio", + "tracing", + "tracing-futures", ] [[package]] -name = "holochain_serialized_bytes_derive" -version = "0.0.51" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1077232d0c427d64feb9e138fa22800e447eafb1810682d6c13beb95333cb32c" -dependencies = [ - "quote", - "syn 1.0.109", -] - -[[package]] -name = "holochain_wasmer_common" -version = "0.0.84" +name = "holochain_conductor_api" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "223daec7ca62d4e36841a99d8799b29cc616f5976ad0e2975e6ca6810de8f14f" +checksum = "4696d86bc639c07469f95d369d1e93d5a50f9afd782ed14fa74e7040293a133a" dependencies = [ + "derive_more", + "directories", + "holo_hash", + "holochain_keystore", + "holochain_p2p", "holochain_serialized_bytes", + "holochain_state", + "holochain_types", + "holochain_zome_types", + "kitsune_p2p", "serde", - "serde_bytes", - "test-fuzz", + "serde_derive", + "serde_yaml", + "structopt", "thiserror", - "wasmer", - "wasmer-engine", + "tracing", + "url2", ] [[package]] -name = "holochain_wasmer_guest" -version = "0.0.84" +name = "holochain_integrity_types" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "92b2026e44595cb16108464973622577936605582aa22932933a5130ad32ce42" +checksum = "fdfffeca0c6dea328a1ff7097946a951035dd137f4b9ad0db00f5377cd6c9326" dependencies = [ + "arbitrary", + "derive_builder", + "holo_hash", "holochain_serialized_bytes", - "holochain_wasmer_common", - "parking_lot", + "holochain_util", + "kitsune_p2p_dht", + "kitsune_p2p_timestamp", "paste", "serde", + "serde_bytes", + "subtle", + "subtle-encoding", "tracing", ] [[package]] -name = "holochain_zome_types" -version = "0.2.1" +name = "holochain_keystore" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a5017d60431ed65bdb25974fdd98a267fccf0436725952cdd8ac0cce660c6c79" +checksum = "f03dedeb6f3e244558f491356c4a00da9c5a44a05ca683e460c6e5434ed2e149" dependencies = [ + "base64 0.13.1", + "futures", "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", + "holochain_zome_types", + "kitsune_p2p_types", + "lair_keystore", + "must_future", + "nanoid 0.4.0", + "one_err", + "parking_lot 0.11.2", "serde", "serde_bytes", - "subtle", + "sodoken", "thiserror", + "tokio", "tracing", ] [[package]] -name = "home" -version = "0.5.5" +name = "holochain_p2p" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5444c27eef6923071f7ebcc33e3444508466a76f7a2b93da00ed6e19f30c1ddb" +checksum = "191b0cb1239fe04754ae08f67e2608d385e05dae065c80617c75f9ec2e15e75c" dependencies = [ - "windows-sys 0.48.0", + "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 = "iana-time-zone" -version = "0.1.57" +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 0.15.5", + "serde", + "serde-transcode", + "serde_bytes", + "serde_json", + "thiserror", +] + +[[package]] +name = "holochain_serialized_bytes_derive" +version = "0.0.51" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1077232d0c427d64feb9e138fa22800e447eafb1810682d6c13beb95333cb32c" +dependencies = [ + "quote", + "syn 1.0.109", +] + +[[package]] +name = "holochain_sqlite" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d5164e2866480b8103b255cf2b0581dbdd3371da9efe5e86704975294af20e4f" +dependencies = [ + "anyhow", + "async-trait", + "byteorder", + "cfg-if 0.1.10", + "chashmap", + "chrono", + "derive_more", + "either", + "failure", + "fallible-iterator", + "fixt", + "futures", + "getrandom 0.2.10", + "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", + "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_state" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2d2a4dee4a5f1ef7b350f078965fe01afd54e3a89167c6d4fc991ae9f2a20141" +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.10", + "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_json", + "shrinkwraprs", + "tempfile", + "thiserror", + "tokio", + "tracing", + "tracing-futures", +] + +[[package]] +name = "holochain_test_wasm_common" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a1a19d8dca8938fcb55e4ae43bb57887f2887155677e7906a1e0bc3160a2124" +dependencies = [ + "hdk", + "serde", +] + +[[package]] +name = "holochain_trace" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "83611dcbb9be2afd7a4416793dc75f5d5d1f2975d4c0898162a3b680ecf1935c" +dependencies = [ + "chrono", + "derive_more", + "inferno", + "once_cell", + "serde_json", + "thiserror", + "tracing", + "tracing-core", + "tracing-serde", + "tracing-subscriber", +] + +[[package]] +name = "holochain_types" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0f4f7e4ecd2eeeae836ec487b3213c7498ed339a3d88e7ec649aa9d3ad6a8c55" +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.10", + "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.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c507f39c150414b64bb2fe8da311dc4e925435be887f8dfc3a97f8183d829878" +dependencies = [ + "backtrace", + "cfg-if 0.1.10", + "derive_more", + "dunce", + "futures", + "num_cpus", + "once_cell", + "rpassword 7.2.0", + "sodoken", + "tokio", +] + +[[package]] +name = "holochain_wasm_test_utils" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "222fa67d927a0c1cd0288ea1763dd2d36d66bf4c280147561011a2321d0b6908" +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.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2975619b1a263030e02766e4440bd3a4d69457ea2588a68c9c68d884ad1fbb98" +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.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7b77f5caa760c7b34019739fb3b0a986a235fa0a09086b8eaff8cf7a72a2a6ce" +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.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bd6effc99afb63425aff9b05836f029929e345a6148a14b7ecd5ab67af944482" +dependencies = [ + "bytes", + "fnv", + "itoa", +] + +[[package]] +name = "http-body" +version = "0.4.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d5f38f16d184e36f2408a55281cd658ecbd3ca05cce6d6510a176eca393e26d1" +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.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b82da652938b83f94cfdaaf9ae7aaadb8430d84b0dfda226998416318727eac2" +dependencies = [ + "anstream", + "anstyle", + "backtrace", + "os_info", + "serde", + "serde_derive", + "toml 0.7.8", + "uuid 1.4.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.9", + "tokio", + "tower-service", + "tracing", + "want", +] + +[[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.57" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2fad5b825842d2b38bd206f3e81d6957625fd7f0a361e345c30e01a0ae2dd613" +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.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f" +dependencies = [ + "cc", +] + +[[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.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7d20d6b07bfbc108882d88ed8e37d39636dcc260e15e30c45e6ba089610b917c" +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_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.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8adf3ddd720272c6ea8bf59463c04e0f93d0bbf7c5439b691bca2987e0270897" +dependencies = [ + "equivalent", + "hashbrown 0.14.1", +] + +[[package]] +name = "inferno" +version = "0.11.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c50453ec3a6555fad17b1cd1a80d16af5bc7cb35094f64e429fd46549018c6a3" +dependencies = [ + "ahash 0.8.3", + "clap 4.4.6", + "crossbeam-channel", + "crossbeam-utils", + "dashmap 5.5.3", + "env_logger", + "indexmap 2.0.2", + "is-terminal", + "itoa", + "log", + "num-format", + "once_cell", + "quick-xml", + "rgb", + "str_stack", +] + +[[package]] +name = "influxive-otel-atomic-obs" +version = "0.0.1-alpha.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b07bcce79167d27b8b2d639cf026029506ed3dfa7bf7ee402c29cab03a7afd16" +dependencies = [ + "ts_opentelemetry_api", +] + +[[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.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eae7b9aee968036d54dce06cebaefd919e4472e753296daccd6d344e3e2df0c2" +dependencies = [ + "hermit-abi 0.3.3", + "libc", + "windows-sys 0.48.0", +] + +[[package]] +name = "ipnet" +version = "2.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "28b29a3cd74f0f4598934efe3aeba42bae0eb4680554128851ebbecb02af14e6" + +[[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.3", + "rustix 0.38.17", + "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.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b1c173a5686ce8bfa551b3563d0c2170bf24ca44da99c7ca4bfdab5418c3fe57" +dependencies = [ + "either", +] + +[[package]] +name = "itoa" +version = "1.0.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "af150ab688ff2122fcef229be89cb50dd66af9e01a4ff320cc137eecc9bacc38" + +[[package]] +name = "js-sys" +version = "0.3.64" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c5f195fe497f702db0f318b07fdd68edb16955aed830df8363d837542f8f935a" +dependencies = [ + "wasm-bindgen", +] + +[[package]] +name = "kitsune_p2p" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "999ed18511743698999bdfddeb90c3c814bc2d32acf7c8a5bce883f2c1e97d67" +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_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", + "parking_lot 0.11.2", + "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.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb0b2032c0ee5683bc4d4c7c705f545992655bd5dc6235e62d0f916197a5c0af" +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.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e15586a9b4f1ec2190d1b92b706995f15a871003955548e6be434cadd75413dd" +dependencies = [ + "kitsune_p2p_bin_data", + "kitsune_p2p_timestamp", + "serde", + "serde_bytes", +] + +[[package]] +name = "kitsune_p2p_bootstrap" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "831f6acbe8deee4ee85153b1055a6be4635658273f51df248084f4504e869755" +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.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bf6ff683970365a1c3b71192a116abeb986512ced906e4e25cc7ad40bf65b1b3" +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.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f71f358459319708884f9295f122cb7b69a8589300fb232b573a36af04d0a7bc" +dependencies = [ + "derive_more", + "gcollections", + "intervallum", + "num-traits", + "rusqlite", + "serde", +] + +[[package]] +name = "kitsune_p2p_fetch" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6317d77bc3ffa8c36e5351bad1552320690edb8ebb27d3ca1b8f44ad4d0759a5" +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.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b16b6a872bf984119c80c26cc92488763e96c396b5c091b28d5b66aad030bd61" +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.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1dabca0ae25126cf5cc64dda4ed0db3c80640020036d5e16300e0212266da430" +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 0.20.9", + "serde", + "serde_bytes", + "structopt", + "tokio", + "tracing-subscriber", + "webpki 0.21.4", +] + +[[package]] +name = "kitsune_p2p_timestamp" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3e173408aabd1fccedec2ba096b8feac7ef769c435294607f4ae5bc5b83ebc9e" +dependencies = [ + "arbitrary", + "chrono", + "derive_more", + "rusqlite", + "serde", +] + +[[package]] +name = "kitsune_p2p_transport_quic" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "720caff39a7d58c8543726159facb41aac16645158460ed74fb0a5ca747ef64c" +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 0.20.9", + "serde", + "tokio", + "webpki 0.22.2", +] + +[[package]] +name = "kitsune_p2p_types" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "00adde41d1b8f9f5c40fd6281662b3030f5a6ea21ddff081c8dd346e18f6eab5" +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 0.20.9", + "serde", + "serde_bytes", + "serde_json", + "shrinkwraprs", + "sysinfo 0.27.8", + "thiserror", + "tokio", + "tokio-stream", + "url 2.4.1", + "url2", + "webpki 0.22.2", +] + +[[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.2.0", + "rusqlite", + "sqlformat 0.2.2", + "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", + "tokio", + "toml 0.5.11", + "toml 0.7.8", + "tracing", + "url 2.4.1", + "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.148" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9cdc71e17332e86d2e1d38c1f99edcb6288ee11b815fb1a4b049eaa2114d369b" + +[[package]] +name = "libflate" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9f7d5654ae1795afc7ff76f4365c2c8791b0feb18e8996a96adad8ffd7c3b2bf" +dependencies = [ + "adler32", + "core2", + "crc32fast", + "dary_heap", + "libflate_lz77", +] + +[[package]] +name = "libflate_lz77" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "be5f52fb8c451576ec6b79d3f4deb327398bc05bbdbd99021a6e77a4c855d524" +dependencies = [ + "core2", + "hashbrown 0.13.2", + "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.9", + "thiserror", + "tokio", + "winapi 0.3.9", +] + +[[package]] +name = "libsodium-sys-stable" +version = "1.20.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "82efb7a00a6b69f38aa423717a71b203a6f2eab0e096e66cd3bab7f3e5817433" +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 = "likes" +version = "0.0.1" +dependencies = [ + "hdk", + "holochain_integrity_types", + "likes_integrity", + "serde", +] + +[[package]] +name = "likes_integrity" +version = "0.0.1" +dependencies = [ + "hdi", + "holochain_integrity_types", + "serde", +] + +[[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.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519" + +[[package]] +name = "linux-raw-sys" +version = "0.4.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3852614a3bd9ca9804678ba6be5e3b8ce76dfc902cae004e3e0c44051b6e88db" + +[[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.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c1cc9717a20b1bb222f333e6a92fd32f7d8a18ddc5a3191a11af45dcbf4dcd16" +dependencies = [ + "autocfg 1.1.0", + "scopeguard", +] + +[[package]] +name = "log" +version = "0.4.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f" +dependencies = [ + "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 0.1.10", +] + +[[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.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7574c1cf36da4798ab73da5b215bbf444f50718207754cb522201d78d1cd0ff2" +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.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f665ee40bc4a3c5590afb1e9677db74a508659dfd71e126420da8274909a0167" + +[[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.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a634b1c61a95585bd15607c6ab0c4e5b226e695ff2800ba0cdccddf208c406c" +dependencies = [ + "autocfg 1.1.0", +] + +[[package]] +name = "mews" +version = "0.1.0" +dependencies = [ + "follows_types", + "hc_call_utils", + "hc_link_pagination", + "hdk", + "mews_integrity", + "mews_types", + "prefix_index", + "profiles_integrity", + "rand 0.8.5", + "regex", + "serde", + "trust_atom_types", +] + +[[package]] +name = "mews_integrity" +version = "0.0.1" +dependencies = [ + "hdi", + "hdk", + "mews_types", + "prefix_index", + "serde", +] + +[[package]] +name = "mews_types" +version = "0.0.1" +dependencies = [ + "hc_link_pagination", + "hdk", + "serde", +] + +[[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.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7810e0be55b428ada41041c41f32c9f1a42817901b4ccf45fa3d4b6561e74c7" +dependencies = [ + "adler", +] + +[[package]] +name = "mio" +version = "0.8.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "927a765cd3fc26206e66b296465fa9d3e5ab003e651c1b3c060e7956d96b19d2" +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.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b07707c320cdf007f36f450de93074425885fad116d55bda2b87e96bd216d6a0" +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.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ba157ca0885411de85d6ca030ba7e2a83a28636056c7c699b07c8b6f7383214" +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.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f30b0abd723be7e2ffca1272140fac1a2f084c77ec3e123c192b66af1ee9e6c2" +dependencies = [ + "autocfg 1.1.0", + "libm", +] + +[[package]] +name = "num_cpus" +version = "1.16.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43" +dependencies = [ + "hermit-abi 0.3.3", + "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 1.3.1", + "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.32.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9cf5f9dd3933bd50a9e1f149ec995f39ae2c496d31fd772c1fd45ebc27e902b0" +dependencies = [ + "memchr", +] + +[[package]] +name = "once_cell" +version = "1.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d" + +[[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.57" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bac25ee399abb46215765b1cb35bc0212377e58a061560d8b29b024fd0430e7c" +dependencies = [ + "bitflags 2.4.0", + "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.37", +] + +[[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.93" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "db4d56a4c0478783083cfafcc42493dd4a981d41669da64b4572a2a089b51b1d" +dependencies = [ + "cc", + "libc", + "pkg-config", + "vcpkg", +] + +[[package]] +name = "option-ext" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d" + +[[package]] +name = "os_info" +version = "3.7.0" +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.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4d5d9eb14b174ee9aa2ef96dc2b94637a2d4b6e7cb873c7e171f0c20c6cf3eac" + +[[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.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e52c774a4c39359c1d1c52e43f73dd91a75a614652c825408eec30c95a9b2067" + +[[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.10", + "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.10", + "parking_lot_core 0.9.8", +] + +[[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.11.1", + "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.11.1", + "winapi 0.3.9", +] + +[[package]] +name = "parking_lot_core" +version = "0.9.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93f00c865fe7cabf650081affecd3871070f26767e7b2070a3ffae14c654b447" +dependencies = [ + "cfg-if 1.0.0", + "libc", + "redox_syscall 0.3.5", + "smallvec 1.11.1", + "windows-targets", +] + +[[package]] +name = "paste" +version = "1.0.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "de3145af08024dea9fa9914f381a17b8fc6034dfb00f3a84013f7ff43f29ed4c" + +[[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.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b2a4787296e9989611394c33f193f676704af1686e70b8f8033ab5ba9a35a94" + +[[package]] +name = "pest" +version = "2.7.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c022f1e7b65d6a24c0dbbd5fb344c66881bc01f3e5ae74a1c8100f2f985d98a4" +dependencies = [ + "memchr", + "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.37", +] + +[[package]] +name = "pin-project-lite" +version = "0.2.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8afb450f006bf6385ca15ef45d71d2288452bc3683ce2e2cacc0d18e4be60b58" + +[[package]] +name = "pin-utils" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" + +[[package]] +name = "ping" +version = "0.0.1" +dependencies = [ + "hdk", + "serde", +] + +[[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.7.0" +source = "git+https://github.com/holochain-open-dev/holochain-prefix-index?tag=0.7.0#de4b2d13f17c39e24d1ac3f089bcc0859a9e1e59" +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 = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d6ea3c4595b96363c13943497db34af4460fb474a95c43f4446ad341b8c9785" +dependencies = [ + "toml 0.5.11", +] + +[[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", +] + +[[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.67" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3d433d9f1a3e8c1263d9456598b16fec66f4acc9a74dacffd35c7bb09b3a1328" +dependencies = [ + "unicode-ident", +] + +[[package]] +name = "profiles" +version = "0.1.2" +dependencies = [ + "hc_zome_profiles_coordinator", + "hdk", + "profiles_integrity", + "serde", +] + +[[package]] +name = "profiles_integrity" +version = "0.1.0" +dependencies = [ + "hc_zome_profiles_integrity", + "hdi", + "serde", +] + +[[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 0.20.9", + "thiserror", + "tokio", + "tracing", + "webpki 0.22.2", +] + +[[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 0.20.9", + "rustls-native-certs", + "rustls-pemfile 0.2.1", + "slab", + "thiserror", + "tinyvec", + "tracing", + "webpki 0.22.2", +] + +[[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.9", + "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 = "radium" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc33ff2d4973d518d823d61aa239014831e521c75da58e3df4840d3f47749d09" + +[[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.10", +] + +[[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.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c27db03db7734835b3f53954b534c91069375ce6ccaa2e065441e07d9b6cdb1" +dependencies = [ + "either", + "rayon-core", +] + +[[package]] +name = "rayon-core" +version = "1.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5ce3fb6ad83f861aac485e76e1985cd109d9a3713802152be56c3b1f0e0658ed" +dependencies = [ + "crossbeam-deque", + "crossbeam-utils", +] + +[[package]] +name = "rcgen" +version = "0.9.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6413f3de1edee53342e6138e75b56d32e7bc6e332b3bd62d497b1929d4cfbcdd" +dependencies = [ + "pem", + "ring", + "time", + "yasna", +] + +[[package]] +name = "rcgen" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ffbe84efe2f38dea12e9bfc1f65377fdf03e53a18cb3b995faedf7934c7e785b" +dependencies = [ + "pem", + "ring", + "time", + "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.3.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "567664f262709473930a4bf9e51bf2ebf3348f2e748ccc50dea20646858f8f29" +dependencies = [ + "bitflags 1.3.2", +] + +[[package]] +name = "redox_users" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b033d837a7cf162d7993aded9304e30a83213c648b6e389db233191f891e5c2b" +dependencies = [ + "getrandom 0.2.10", + "redox_syscall 0.2.16", + "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.11.1", +] + +[[package]] +name = "regex" +version = "1.9.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ebee201405406dbf528b8b672104ae6d6d63e6d118cb10e4d51abbc7b58044ff" +dependencies = [ + "aho-corasick", + "memchr", + "regex-automata 0.3.9", + "regex-syntax 0.7.5", +] + +[[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-automata" +version = "0.3.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59b23e92ee4318893fa3fe3e6fb365258efbfe6ac6ab30f090cdcbb7aa37efa9" +dependencies = [ + "aho-corasick", + "memchr", + "regex-syntax 0.7.5", +] + +[[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.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dbb5fb1acd8a1a18b3dd5be62d25485eb770e05afb408a9627d14d451bae12da" + +[[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.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a2571463863a6bd50c32f94402933f03457a3fbaf697a707c5be741e459f08fd" +dependencies = [ + "bytecheck", +] + +[[package]] +name = "reqwest" +version = "0.11.22" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "046cd98826c46c2ac8ddecae268eb5c2e58628688a5fc7a2643704a73faba95b" +dependencies = [ + "base64 0.21.4", + "bytes", + "encoding_rs", + "futures-core", + "futures-util", + "h2", + "http", + "http-body", + "hyper", + "hyper-tls", + "ipnet", + "js-sys", + "log", + "mime", + "native-tls", + "once_cell", + "percent-encoding 2.3.0", + "pin-project-lite", + "serde", + "serde_json", + "serde_urlencoded", + "system-configuration", + "tokio", + "tokio-native-tls", + "tower-service", + "url 2.4.1", + "wasm-bindgen", + "wasm-bindgen-futures", + "web-sys", + "winreg", +] + +[[package]] +name = "rgb" +version = "0.8.36" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "20ec2d3e3fc7a92ced357df9cebd5a10b6fb2aa1ee797bf7e9ce2f17dffc8f59" +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.42" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0200c8230b013893c0b2d6213d6ec64ed2b9be2e0e016682b7224ff82cff5c58" +dependencies = [ + "bitvec", + "bytecheck", + "hashbrown 0.12.3", + "ptr_meta", + "rend", + "rkyv_derive", + "seahash", + "tinyvec", + "uuid 1.4.1", +] + +[[package]] +name = "rkyv_derive" +version = "0.7.42" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b2e06b915b5c230a17d7a736d1e2e63ee753c256a8614ef3f5147b13a4f5541d" +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.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f9860a6cc38ed1da53456442089b4dfa35e7cedaa326df63017af88385e6b20" +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.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6678cf63ab3491898c0d021b493c94c9b221d91295294a2a5746eacbe5928322" +dependencies = [ + "libc", + "rtoolbox", + "winapi 0.3.9", +] + +[[package]] +name = "rtoolbox" +version = "0.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "034e22c514f5c0cb8a10ff341b9b048b5ceb21591f31c8f44c43b960f9b3524a" +dependencies = [ + "libc", + "winapi 0.3.9", +] + +[[package]] +name = "rusqlite" +version = "0.29.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "549b9d036d571d42e6e85d1c1425e2ac83491075078ca9a15be021c56b1641f2" +dependencies = [ + "bitflags 2.4.0", + "fallible-iterator", + "fallible-streaming-iterator", + "hashlink", + "libsqlite3-sys", + "smallvec 1.11.1", +] + +[[package]] +name = "rust_decimal" +version = "1.32.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a4c4216490d5a413bc6d10fa4742bd7d4955941d062c0ef873141d6b0e7b30fd" +dependencies = [ + "arrayvec 0.7.4", + "borsh", + "bytes", + "num-traits", + "rand 0.8.5", + "rkyv", + "serde", + "serde_json", +] + +[[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.19", +] + +[[package]] +name = "rustix" +version = "0.37.24" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4279d76516df406a8bd37e7dff53fd37d1a093f997a3c34a5c21658c126db06d" +dependencies = [ + "bitflags 1.3.2", + "errno", + "io-lifetimes", + "libc", + "linux-raw-sys 0.3.8", + "windows-sys 0.48.0", +] + +[[package]] +name = "rustix" +version = "0.38.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f25469e9ae0f3d0047ca8b93fc56843f38e6774f0914a107ff8b41be8be8e0b7" +dependencies = [ + "bitflags 2.4.0", + "errno", + "libc", + "linux-raw-sys 0.4.8", + "windows-sys 0.48.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 0.22.2", +] + +[[package]] +name = "rustls" +version = "0.21.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd8d6c9f025a446bc4d18ad9632e69aec8f287aa84499ee335599fabd20c3fd8" +dependencies = [ + "log", + "ring", + "rustls-webpki 0.101.6", + "sct", +] + +[[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.3", + "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.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2fad5b825842d2b38bd206f3e81d6957625fd7f0a361e345c30e01a0ae2dd613" +checksum = "2d3987094b1d07b653b7dfdc3f70ce9a1da9c51ac18c1b06b662e4f9a0e9f4b2" dependencies = [ - "android_system_properties", - "core-foundation-sys", - "iana-time-zone-haiku", - "js-sys", - "wasm-bindgen", - "windows", + "base64 0.21.4", ] [[package]] -name = "iana-time-zone-haiku" -version = "0.1.2" +name = "rustls-webpki" +version = "0.100.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f" +checksum = "5f6a5fc258f1c1276dfe3016516945546e2d5383911efc0fc4f1cdc5df3a4ae3" dependencies = [ - "cc", + "ring", + "untrusted", ] [[package]] -name = "ident_case" -version = "1.0.1" +name = "rustls-webpki" +version = "0.101.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39" +checksum = "3c7d5dece342910d9ba34d259310cae3e0154b873b35408b787b59bce53d34fe" +dependencies = [ + "ring", + "untrusted", +] [[package]] -name = "if_chain" -version = "1.0.2" +name = "rustversion" +version = "1.0.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb56e1aa765b4b4f3aadfab769793b7087bb03a4ea4920644a6d238e2df5b9ed" +checksum = "7ffc183a10b4478d04cbbbfc96d0873219d962dd5accaff2ffbd4ceb7df837f4" [[package]] -name = "indexmap" -version = "1.9.3" +name = "ryu" +version = "1.0.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99" +checksum = "1ad4cc8da4ef723ed60bced201181d83791ad433213d8c24efffda1eec85d741" + +[[package]] +name = "same-file" +version = "1.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" dependencies = [ - "autocfg", - "hashbrown 0.12.3", - "serde", + "winapi-util", ] [[package]] -name = "indexmap" -version = "2.0.0" +name = "schannel" +version = "0.1.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d5477fe2230a79769d8dc68e0eabf5437907c0457a5614a9e8dddb67f65eb65d" +checksum = "0c3733bf4cf7ea0880754e19cb5a462007c4a8c1914bff372ccc95b464f1df88" dependencies = [ - "equivalent", - "hashbrown 0.14.0", + "windows-sys 0.48.0", ] [[package]] -name = "instant" -version = "0.1.12" +name = "scheduled-thread-pool" +version = "0.2.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c" +checksum = "3cbc66816425a074528352f5789333ecff06ca41b36b0b0efdfbb29edc391a19" dependencies = [ - "cfg-if", + "parking_lot 0.12.1", ] [[package]] -name = "intervallum" -version = "1.4.0" +name = "scoped-tls" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8ccecd834666f695ecec3ff0d5fc32e32c91abea91a28fd0aceb4b35a82cee1" +checksum = "e1cf6437eb19a8f4a6cc0f7dca544973b0b78843adbfeb3683d1a94a0024a294" + +[[package]] +name = "scopeguard" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" + +[[package]] +name = "sct" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d53dcdb7c9f8158937a7981b48accfd39a43af418591a5d008c7b22b5e1b7ca4" dependencies = [ - "bit-set", - "gcollections", - "num-integer", - "num-traits", - "trilean", + "ring", + "untrusted", ] [[package]] -name = "io-lifetimes" -version = "1.0.11" +name = "sd-notify" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eae7b9aee968036d54dce06cebaefd919e4472e753296daccd6d344e3e2df0c2" +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 = [ - "hermit-abi 0.3.2", + "bitflags 1.3.2", + "core-foundation", + "core-foundation-sys", "libc", - "windows-sys 0.48.0", + "security-framework-sys", ] [[package]] -name = "itertools" -version = "0.8.2" +name = "security-framework-sys" +version = "2.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f56a2d0bc861f9165be4eb3442afd3c236d8a98afd426f65d92324ae1091a484" +checksum = "e932934257d3b408ed8f30db49d85ea163bfe74961f017f405b025af298f0c7a" dependencies = [ - "either", + "core-foundation-sys", + "libc", ] [[package]] -name = "itoa" -version = "1.0.8" +name = "semver" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62b02a5381cc465bd3041d84623d0fa3b66738b52b8e2fc3bab8ad63ab032f4a" +checksum = "f301af10236f6df4160f7c3f04eec6dbc70ace82d23326abad5edee88801c6b6" +dependencies = [ + "semver-parser", +] [[package]] -name = "js-sys" -version = "0.3.64" +name = "semver" +version = "1.0.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c5f195fe497f702db0f318b07fdd68edb16955aed830df8363d837542f8f935a" +checksum = "ad977052201c6de01a8ef2aa3378c4bd23217a056337d1d6da40468d267a4fb0" dependencies = [ - "wasm-bindgen", + "serde", ] [[package]] -name = "kitsune_p2p_bin_data" -version = "0.2.1" +name = "semver-parser" +version = "0.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9845f57ef9189f403609ada819b26ca87e96ccf95fef02bebcdf83faa65b1924" +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 = [ - "base64", - "derive_more", - "kitsune_p2p_dht_arc", "serde", - "serde_bytes", - "shrinkwraprs", ] [[package]] -name = "kitsune_p2p_block" -version = "0.2.1" +name = "serde_bytes" +version = "0.11.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3a29e6b5eeb78b37d9d0040855603f3a00c6c7055d933a6e5b6b31aa9529b326" +checksum = "ab33ec92f677585af6d88c65593ae2375adde54efdbf16d597f2cbc7a6d368ff" dependencies = [ - "kitsune_p2p_bin_data", - "kitsune_p2p_timestamp", "serde", - "serde_bytes", ] [[package]] -name = "kitsune_p2p_dht" -version = "0.2.1" +name = "serde_derive" +version = "1.0.166" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8fb834fef2af5271ec002e2726b2be7755e9d7b7b666a5dcfa3847b3a3a89cfd" +checksum = "5dd83d6dde2b6b2d466e14d9d1acce8816dedee94f735eac6395808b3483c6d6" dependencies = [ - "colored", - "derivative", - "derive_more", - "futures", - "gcollections", - "intervallum", - "kitsune_p2p_dht_arc", - "kitsune_p2p_timestamp", - "must_future", - "num-traits", - "once_cell", - "rand", + "proc-macro2", + "quote", + "syn 2.0.37", +] + +[[package]] +name = "serde_json" +version = "1.0.107" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6b420ce6e3d8bd882e9b243c6eed35dbc9a6110c9769e74b584e0d68d1f20c65" +dependencies = [ + "indexmap 2.0.2", + "itoa", + "ryu", "serde", - "statrs", - "thiserror", - "tracing", ] [[package]] -name = "kitsune_p2p_dht_arc" -version = "0.2.1" +name = "serde_spanned" +version = "0.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee2d4d68c154cdc5391ea986eb278f5b34707908cf63674d9fe8e7142d49c449" +checksum = "96426c9936fd7a0124915f9185ea1d20aa9445cc9821142f0a73bc9207a2e186" dependencies = [ - "derive_more", - "gcollections", - "intervallum", - "num-traits", "serde", ] [[package]] -name = "kitsune_p2p_timestamp" -version = "0.2.1" +name = "serde_urlencoded" +version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b46a356525779ac9b2b4956cee7ea523c8723f1955596d5e070faac2723a0b65" +checksum = "d3491c14715ca2294c4d6a88f15e84739788c1d030eed8c110436aafdaa2f3fd" dependencies = [ - "chrono", - "derive_more", + "form_urlencoded", + "itoa", + "ryu", "serde", ] [[package]] -name = "lazy_static" -version = "1.4.0" +name = "serde_with" +version = "1.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" +checksum = "678b5a069e50bf00ecd22d0cd8ddf7c236f68581b03db652061ed5eb13a312ff" +dependencies = [ + "serde", + "serde_with_macros", +] [[package]] -name = "leb128" -version = "0.2.5" +name = "serde_with_macros" +version = "1.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "884e2677b40cc8c339eaefcb701c32ef1fd2493d71118dc0ca4b6a736c93bd67" +checksum = "e182d6ec6f05393cc0e5ed1bf81ad6db3a8feedf8ee515ecdd369809bcce8082" +dependencies = [ + "darling 0.13.4", + "proc-macro2", + "quote", + "syn 1.0.109", +] [[package]] -name = "libc" -version = "0.2.147" +name = "serde_yaml" +version = "0.9.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4668fb0ea861c1df094127ac5f1da3409a82116a4ba74fca2e58ef927159bb3" +checksum = "1a49e178e4452f45cb61d0cd8cebc1b0fafd3e41929e996cef79aa3aca91f574" +dependencies = [ + "indexmap 2.0.2", + "itoa", + "ryu", + "serde", + "unsafe-libyaml", +] [[package]] -name = "libloading" -version = "0.7.4" +name = "sha-1" +version = "0.9.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b67380fd3b2fbe7527a606e18729d21c6f3951633d0500574c4dc22d2d638b9f" +checksum = "99cd6713db3cf16b6c84e06321e049a9b9f699826e16096d23bbcc44d15d51a6" dependencies = [ - "cfg-if", - "winapi", + "block-buffer 0.9.0", + "cfg-if 1.0.0", + "cpufeatures", + "digest 0.9.0", + "opaque-debug", ] [[package]] -name = "libm" -version = "0.2.7" +name = "sha-1" +version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7012b1bbb0719e1097c47611d3898568c546d597c2e74d66f6087edd5233ff4" +checksum = "f5058ada175748e33390e40e872bd0fe59a19f265d0158daa551c5a88a76009c" +dependencies = [ + "cfg-if 1.0.0", + "cpufeatures", + "digest 0.10.7", +] [[package]] -name = "likes" -version = "0.0.1" +name = "sha1" +version = "0.10.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3bf829a2d51ab4a5ddf1352d8470c140cadc8301b2ae1789db023f01cedd6ba" dependencies = [ - "hdk", - "holochain_integrity_types", - "likes_integrity", - "serde", + "cfg-if 1.0.0", + "cpufeatures", + "digest 0.10.7", +] + +[[package]] +name = "sha2" +version = "0.10.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "793db75ad2bcafc3ffa7c68b215fee268f537982cd901d132f89c6343f3a3dc8" +dependencies = [ + "cfg-if 1.0.0", + "cpufeatures", + "digest 0.10.7", +] + +[[package]] +name = "sharded-slab" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f40ca3c46823713e0d4209592e8d6e826aa57e928f09752619fc696c499637f6" +dependencies = [ + "lazy_static", +] + +[[package]] +name = "shrinkwraprs" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e63e6744142336dfb606fe2b068afa2e1cca1ee6a5d8377277a92945d81fa331" +dependencies = [ + "bitflags 1.3.2", + "itertools 0.8.2", + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "signal-hook" +version = "0.3.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8621587d4798caf8eb44879d42e56b9a93ea5dcd315a6487c357130095b62801" +dependencies = [ + "libc", + "signal-hook-registry", +] + +[[package]] +name = "signal-hook-registry" +version = "1.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d8229b473baa5980ac72ef434c4415e70c4b5e71b423043adb4ba059f89c99a1" +dependencies = [ + "libc", +] + +[[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 = "likes_integrity" -version = "0.0.1" +name = "simdutf8" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f27f6278552951f1f2b8cf9da965d10969b2efdea95a6ec47987ab46edfe263a" + +[[package]] +name = "siphasher" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "54ac45299ccbd390721be55b412d41931911f654fa99e2cb8bfb57184b2061fe" dependencies = [ - "hdi", - "holochain_integrity_types", "serde", ] [[package]] -name = "linux-raw-sys" -version = "0.3.8" +name = "slab" +version = "0.4.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519" +checksum = "8f92a496fb766b417c996b9c5e57daf2f7ad3b0bebe1ccfca4856390e3d3bb67" +dependencies = [ + "autocfg 1.1.0", +] [[package]] -name = "lock_api" -version = "0.4.10" +name = "smallvec" +version = "0.6.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c1cc9717a20b1bb222f333e6a92fd32f7d8a18ddc5a3191a11af45dcbf4dcd16" +checksum = "b97fcaeba89edba30f044a10c6a3cc39df9c3f17d7cd829dd1446cab35f890e0" dependencies = [ - "autocfg", - "scopeguard", + "maybe-uninit", ] [[package]] -name = "log" -version = "0.4.19" +name = "smallvec" +version = "1.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b06a4cde4c0f271a446782e3eff8de789548ce57dbc8eca9292c27f4a42004b4" +checksum = "942b4a808e05215192e39f4ab80813e599068285906cc91aa64f923db842bd5a" [[package]] -name = "loupe" -version = "0.1.3" +name = "socket2" +version = "0.4.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b6a72dfa44fe15b5e76b94307eeb2ff995a8c5b283b55008940c02e0c5b634d" +checksum = "64a4a911eed85daf18834cfaa86a79b7d266ff93ff5ba14005426219480ed662" dependencies = [ - "indexmap 1.9.3", - "loupe-derive", - "rustversion", + "libc", + "winapi 0.3.9", ] [[package]] -name = "loupe-derive" -version = "0.1.3" +name = "socket2" +version = "0.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0fbfc88337168279f2e9ae06e157cfed4efd3316e14dc96ed074d4f2e6c5952" +checksum = "4031e820eb552adee9295814c0ced9e5cf38ddf1e8b7d566d6de8e2538ea989e" dependencies = [ - "quote", - "syn 1.0.109", + "libc", + "windows-sys 0.48.0", ] [[package]] -name = "mach" -version = "0.3.2" +name = "sodoken" +version = "0.0.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b823e83b2affd8f40a9ee8c29dbc56404c1e34cd2710921f2801e2cf29527afa" +checksum = "4ebd7d30290221181652f7a08112f5e7871e3deffde718dfa621025aa0e9c290" dependencies = [ "libc", + "libsodium-sys-stable", + "num_cpus", + "once_cell", + "one_err", + "parking_lot 0.12.1", + "tokio", ] [[package]] -name = "matrixmultiply" -version = "0.3.7" +name = "spin" +version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "090126dc04f95dc0d1c1c91f61bdd474b3930ca064c1edc8a849da2c6cbe1e77" -dependencies = [ - "autocfg", - "rawpointer", -] +checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d" [[package]] -name = "memchr" -version = "2.5.0" +name = "spin" +version = "0.9.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d" +checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67" [[package]] -name = "memmap2" -version = "0.5.10" +name = "sqlformat" +version = "0.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83faa42c0a078c393f6b29d5db232d8be22776a891f8f56e5284faee4a20b327" +checksum = "b4b7922be017ee70900be125523f38bdd644f4f06a1b16e8fa5a8ee8c34bffd4" dependencies = [ - "libc", + "itertools 0.10.5", + "nom 7.1.3", + "unicode_categories", ] [[package]] -name = "memoffset" -version = "0.6.5" +name = "sqlformat" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5aa361d4faea93603064a027415f07bd8e1d5c88c9fbf68bf56a285428fd79ce" +checksum = "6b7b278788e7be4d0d29c0f39497a0eef3fba6bbc8e70d8bf7fde46edeaa9e85" dependencies = [ - "autocfg", + "itertools 0.11.0", + "nom 7.1.3", + "unicode_categories", ] [[package]] -name = "memoffset" -version = "0.9.0" +name = "stable_deref_trait" +version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a634b1c61a95585bd15607c6ab0c4e5b226e695ff2800ba0cdccddf208c406c" +checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" + +[[package]] +name = "statrs" +version = "0.15.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "05bdbb8e4e78216a85785a85d3ec3183144f98d0097b9281802c019bb07a6f05" dependencies = [ - "autocfg", + "approx", + "lazy_static", + "nalgebra", + "num-traits", + "rand 0.8.5", ] [[package]] -name = "mews" +name = "str_stack" version = "0.1.0" -dependencies = [ - "follows_types", - "hc_call_utils", - "hc_link_pagination", - "hdk", - "mews_integrity", - "mews_types", - "prefix_index", - "profiles_integrity", - "rand", - "regex", - "serde", -] +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9091b6114800a5f2141aee1d1b9d6ca3592ac062dc5decb3764ec5895a47b4eb" [[package]] -name = "mews_integrity" -version = "0.0.1" +name = "stream-cancel" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7b0a9eb2715209fb8cc0d942fcdff45674bfc9f0090a0d897e85a22955ad159b" dependencies = [ - "hdi", - "hdk", - "mews_types", - "prefix_index", - "serde", + "futures-core", + "pin-project", + "tokio", ] [[package]] -name = "mews_types" -version = "0.0.1" -dependencies = [ - "hc_link_pagination", - "hdk", - "serde", -] +name = "strsim" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a" [[package]] -name = "miniz_oxide" -version = "0.7.1" +name = "strsim" +version = "0.9.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7810e0be55b428ada41041c41f32c9f1a42817901b4ccf45fa3d4b6561e74c7" -dependencies = [ - "adler", -] +checksum = "6446ced80d6c486436db5c078dde11a9f73d42b57fb273121e160b84f63d894c" [[package]] -name = "more-asserts" -version = "0.2.2" +name = "strsim" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7843ec2de400bcbc6a6328c958dc38e5359da6e93e72e37bc5246bf1ae776389" +checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" [[package]] -name = "must_future" -version = "0.1.2" +name = "structopt" +version = "0.3.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a160ffed3c2f98d2906c67a9b6e4e1f09cca7e17e3f780286a349061459eeebe" +checksum = "0c6b5c64445ba8094a6ab0c3cd2ad323e07171012d9c98b0b15651daf1787a10" dependencies = [ - "futures", - "pin-utils", + "clap 2.34.0", + "lazy_static", + "structopt-derive", ] [[package]] -name = "nalgebra" -version = "0.27.1" +name = "structopt-derive" +version = "0.4.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "462fffe4002f4f2e1f6a9dcf12cc1a6fc0e15989014efc02a941d3e0f5dc2120" +checksum = "dcb5ae327f9cc13b68763b5749770cb9e048a99bd9dfdfa58d0cf05d5f64afe0" dependencies = [ - "approx", - "matrixmultiply", - "nalgebra-macros", - "num-complex", - "num-rational", - "num-traits", - "rand", - "rand_distr", - "simba", - "typenum", + "heck 0.3.3", + "proc-macro-error", + "proc-macro2", + "quote", + "syn 1.0.109", ] [[package]] -name = "nalgebra-macros" -version = "0.1.0" +name = "strum" +version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01fcc0b8149b4632adc89ac3b7b31a12fb6099a0317a4eb2ebff574ef7de7218" +checksum = "57bd81eb48f4c437cadc685403cad539345bf703d78e63707418431cecd4522b" + +[[package]] +name = "strum_macros" +version = "0.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "87c85aa3f8ea653bfd3ddf25f7ee357ee4d204731f6aa9ad04002306f6e2774c" dependencies = [ + "heck 0.3.3", "proc-macro2", "quote", "syn 1.0.109", ] [[package]] -name = "num-complex" -version = "0.4.3" +name = "strum_macros" +version = "0.24.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "02e0d21255c828d6f128a1e41534206671e8c3ea0c62f32291e808dc82cff17d" +checksum = "1e385be0d24f186b4ce2f9982191e7101bb737312ad61c1f2f984f34bcf85d59" dependencies = [ - "num-traits", + "heck 0.4.1", + "proc-macro2", + "quote", + "rustversion", + "syn 1.0.109", ] [[package]] -name = "num-integer" -version = "0.1.45" +name = "subprocess" +version = "0.2.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "225d3389fb3509a24c93f5c29eb6bde2586b98d9f016636dff58d7c6f7569cd9" +checksum = "0c2e86926081dda636c546d8c5e641661049d7562a68f5488be4a1f7f66f6086" dependencies = [ - "autocfg", - "num-traits", + "libc", + "winapi 0.3.9", ] [[package]] -name = "num-rational" -version = "0.4.1" +name = "subtle" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0638a1c9d0a3c0914158145bc76cff373a75a627e6ecbfb71cbe6f453a5a19b0" +checksum = "81cdd64d312baedb58e21336b31bc043b77e01cc99033ce76ef539f78e965ebc" + +[[package]] +name = "subtle-encoding" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7dcb1ed7b8330c5eed5441052651dd7a12c75e2ed88f2ec024ae1fa3a5e59945" dependencies = [ - "autocfg", - "num-integer", - "num-traits", + "zeroize", ] [[package]] -name = "num-traits" -version = "0.2.15" +name = "syn" +version = "1.0.109" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "578ede34cf02f8924ab9447f50c28075b4d3e5b269972345e7e0372b38c6cdcd" +checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" dependencies = [ - "autocfg", - "libm", + "proc-macro2", + "quote", + "unicode-ident", ] [[package]] -name = "num_cpus" -version = "1.16.0" +name = "syn" +version = "2.0.37" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43" +checksum = "7303ef2c05cd654186cb250d29049a24840ca25d2747c25c0381c8d9e2f582e8" dependencies = [ - "hermit-abi 0.3.2", - "libc", + "proc-macro2", + "quote", + "unicode-ident", ] [[package]] -name = "object" -version = "0.28.4" +name = "synstructure" +version = "0.12.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e42c982f2d955fac81dd7e1d0e1426a7d702acd9c98d19ab01083a6a0328c424" +checksum = "f36bdaa60a83aca3921b5259d5400cbf5e90fc51931376a9bd4a0eb79aa7210f" dependencies = [ - "crc32fast", - "hashbrown 0.11.2", - "indexmap 1.9.3", - "memchr", + "proc-macro2", + "quote", + "syn 1.0.109", + "unicode-xid", ] [[package]] -name = "object" -version = "0.31.1" +name = "sysinfo" +version = "0.27.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8bda667d9f2b5051b8833f59f3bf748b28ef54f850f4fcb389a252aa383866d1" +checksum = "a902e9050fca0a5d6877550b769abd2bd1ce8c04634b941dbe2809735e1a1e33" dependencies = [ - "memchr", + "cfg-if 1.0.0", + "core-foundation-sys", + "libc", + "ntapi", + "once_cell", + "rayon", + "winapi 0.3.9", ] [[package]] -name = "once_cell" -version = "1.18.0" +name = "sysinfo" +version = "0.28.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d" +checksum = "b4c2f3ca6693feb29a89724516f016488e9aafc7f37264f898593ee4b942f31b" +dependencies = [ + "cfg-if 1.0.0", + "core-foundation-sys", + "libc", + "ntapi", + "once_cell", + "rayon", + "winapi 0.3.9", +] [[package]] -name = "parking_lot" -version = "0.12.1" +name = "system-configuration" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f" +checksum = "ba3a3adc5c275d719af8cb4272ea1c4a6d668a777f37e115f6d11ddbc1c8e0e7" dependencies = [ - "lock_api", - "parking_lot_core", + "bitflags 1.3.2", + "core-foundation", + "system-configuration-sys", ] [[package]] -name = "parking_lot_core" -version = "0.9.8" +name = "system-configuration-sys" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93f00c865fe7cabf650081affecd3871070f26767e7b2070a3ffae14c654b447" +checksum = "a75fb188eb626b924683e3b95e3a48e63551fcfb51949de2f06a9d91dbee93c9" dependencies = [ - "cfg-if", + "core-foundation-sys", "libc", - "redox_syscall", - "smallvec", - "windows-targets", ] [[package]] -name = "paste" -version = "1.0.13" +name = "tap" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4b27ab7be369122c218afc2079489cdcb4b517c0a3fc386ff11e1fedfcc2b35" +checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" [[package]] -name = "pest" -version = "2.7.0" +name = "tar" +version = "0.4.40" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f73935e4d55e2abf7f130186537b19e7a4abc886a0252380b59248af473a3fc9" +checksum = "b16afcea1f22891c49a00c751c7b63b2233284064f11a200fc624137c51e2ddb" dependencies = [ - "thiserror", - "ucd-trie", + "filetime", + "libc", + "xattr", ] [[package]] -name = "pin-project-lite" -version = "0.2.10" +name = "target-lexicon" +version = "0.12.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c40d25201921e5ff0c862a505c6557ea88568a4e3ace775ab55e93f2f4f9d57" +checksum = "9d0e916b1148c8e263850e1ebcbd046f333e0683c724876bb0da63ea4373dc8a" [[package]] -name = "pin-utils" +name = "task-motel" version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" +checksum = "7228e85537ffb5943539a46bf561786323f6112114005ba055e496192a6f8f41" +dependencies = [ + "futures", + "parking_lot 0.12.1", + "tokio", + "tracing", +] + +[[package]] +name = "tempfile" +version = "3.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb94d2f3cc536af71caac6b6fcebf65860b347e7ce0cc9ebe8f70d3e521054ef" +dependencies = [ + "cfg-if 1.0.0", + "fastrand 2.0.1", + "redox_syscall 0.3.5", + "rustix 0.38.17", + "windows-sys 0.48.0", +] [[package]] -name = "ping" -version = "0.0.1" +name = "termcolor" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6093bad37da69aab9d123a8091e4be0aa4a03e4d601ec641c327398315f62b64" dependencies = [ - "hdk", - "serde", + "winapi-util", ] [[package]] -name = "ppv-lite86" -version = "0.2.17" +name = "termtree" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" +checksum = "3369f5ac52d5eb6ab48c6b4ffdc8efbcad6b89c765749064ba298f2c68a16a76" [[package]] -name = "prefix_index" -version = "0.5.0" -source = "git+https://github.com/holochain-open-dev/holochain-prefix-index?tag=0.6.0#1659caae0f61f6d57ea461ada4e0a2cdc3b67891" +name = "test-fuzz" +version = "3.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "125df852011c4f8f31df5620f4aea38ecddb5dfb4d9bc569b30485b15ffc3d4e" dependencies = [ - "hdk", - "holochain_integrity_types", - "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.64" +name = "test-fuzz-runtime" +version = "3.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78803b62cbf1f46fde80d7c0e803111524b9877184cfe7c3033659490ac7a7da" +checksum = "303774eb17994c2ddb59c460369f4c3a55496f013380278d78eeebd2deb896ac" dependencies = [ - "unicode-ident", + "bincode", + "hex", + "num-traits", + "serde", + "sha-1 0.10.1", + "test-fuzz-internal", ] [[package]] -name = "profiles" -version = "0.1.2" +name = "textwrap" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060" dependencies = [ - "hc_zome_profiles_coordinator", - "hdk", - "profiles_integrity", - "serde", + "unicode-width", ] [[package]] -name = "profiles_integrity" -version = "0.1.0" -dependencies = [ - "hc_zome_profiles_integrity", - "hdi", - "serde", -] +name = "textwrap" +version = "0.16.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "222a222a5bfe1bba4a77b45ec488a741b3cb8872e5e499451fd7d0129c9c7c3d" [[package]] -name = "ptr_meta" -version = "0.1.4" +name = "thiserror" +version = "1.0.49" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0738ccf7ea06b608c10564b31debd4f5bc5e197fc8bfe088f68ae5ce81e7a4f1" +checksum = "1177e8c6d7ede7afde3585fd2513e611227efd6481bd78d2e82ba1ce16557ed4" dependencies = [ - "ptr_meta_derive", + "thiserror-impl", ] [[package]] -name = "ptr_meta_derive" -version = "0.1.4" +name = "thiserror-impl" +version = "1.0.49" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "16b845dbfca988fa33db069c0e230574d15a3088f147a87b64c7589eb662c9ac" +checksum = "10712f02019e9288794769fba95cd6847df9874d49d871d062172f9dd41bc4cc" dependencies = [ "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.37", ] [[package]] -name = "quote" -version = "1.0.29" +name = "thread-id" +version = "3.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "573015e8ab27661678357f27dc26460738fd2b6c86e46f386fde94cb5d913105" +checksum = "c7fbf4c9d56b320106cd64fd024dadfa0be7cb4706725fc44a7d7ce952d820c1" dependencies = [ - "proc-macro2", + "libc", + "redox_syscall 0.1.57", + "winapi 0.3.9", ] [[package]] -name = "radium" -version = "0.7.0" +name = "thread_local" +version = "1.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc33ff2d4973d518d823d61aa239014831e521c75da58e3df4840d3f47749d09" +checksum = "3fdd6f064ccff2d6567adcb3873ca630700f00b5ad3f060c25b5dcfd9a4ce152" +dependencies = [ + "cfg-if 1.0.0", + "once_cell", +] [[package]] -name = "rand" -version = "0.8.5" +name = "time" +version = "0.3.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" +checksum = "59e399c068f43a5d116fedaf73b203fa4f9c519f17e2b34f63221d3792f81446" dependencies = [ - "libc", - "rand_chacha", - "rand_core", + "itoa", + "serde", + "time-core", + "time-macros", ] [[package]] -name = "rand_chacha" -version = "0.3.1" +name = "time-core" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" -dependencies = [ - "ppv-lite86", - "rand_core", -] +checksum = "7300fbefb4dadc1af235a9cef3737cea692a9d97e1b9cbcd4ebdae6f8868e6fb" [[package]] -name = "rand_core" -version = "0.6.4" +name = "time-macros" +version = "0.2.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" +checksum = "96ba15a897f3c86766b757e5ac7221554c6750054d74d5b28844fce5fb36a6c4" dependencies = [ - "getrandom", + "time-core", ] [[package]] -name = "rand_distr" -version = "0.4.3" +name = "tiny-keccak" +version = "2.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32cb0b9bc82b0a0876c2dd994a7e7a2683d3e7390ca40e6886785ef0c7e3ee31" +checksum = "2c9d3793400a45f954c52e73d068316d76b6f4e36977e3fcebb13a2721e80237" dependencies = [ - "num-traits", - "rand", + "crunchy", ] [[package]] -name = "rawpointer" -version = "0.2.1" +name = "tinyvec" +version = "1.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "60a357793950651c4ed0f3f52338f53b2f809f32d83a07f72909fa13e4c6c1e3" +checksum = "87cc5ceb3875bb20c2890005a4e226a4651264a5c75edb2421b52861a0a0cb50" +dependencies = [ + "tinyvec_macros", +] [[package]] -name = "rayon" -version = "1.7.0" +name = "tinyvec_macros" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d2df5196e37bcc87abebc0053e20787d73847bb33134a69841207dd0a47f03b" -dependencies = [ - "either", - "rayon-core", -] +checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] -name = "rayon-core" -version = "1.11.0" +name = "tokio" +version = "1.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b8f95bd6966f5c87776639160a66bd8ab9895d9d4ab01ddba9fc60661aebe8d" +checksum = "17ed6077ed6cd6c74735e21f37eb16dc3935f96878b1fe961074089cc80893f9" dependencies = [ - "crossbeam-channel", - "crossbeam-deque", - "crossbeam-utils", + "backtrace", + "bytes", + "libc", + "mio", "num_cpus", + "parking_lot 0.12.1", + "pin-project-lite", + "signal-hook-registry", + "socket2 0.5.4", + "tokio-macros", + "windows-sys 0.48.0", ] [[package]] -name = "redox_syscall" -version = "0.3.5" +name = "tokio-macros" +version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "567664f262709473930a4bf9e51bf2ebf3348f2e748ccc50dea20646858f8f29" +checksum = "630bdcf245f78637c13ec01ffae6187cca34625e8c63150d424b59e55af2675e" dependencies = [ - "bitflags", + "proc-macro2", + "quote", + "syn 2.0.37", ] [[package]] -name = "regalloc" -version = "0.0.34" +name = "tokio-native-tls" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62446b1d3ebf980bdc68837700af1d77b37bc430e524bf95319c6eada2a4cc02" +checksum = "bbae76ab933c85776efabc971569dd6119c580d8f5d448769dec1764bf796ef2" dependencies = [ - "log", - "rustc-hash", - "smallvec", + "native-tls", + "tokio", ] [[package]] -name = "regex" -version = "1.9.1" +name = "tokio-rustls" +version = "0.23.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2eae68fc220f7cf2532e4494aded17545fce192d59cd996e0fe7887f4ceb575" +checksum = "c43ee83903113e03984cb9e5cebe6c04a5116269e900e3ddba8f068a62adda59" dependencies = [ - "aho-corasick", - "memchr", - "regex-automata", - "regex-syntax", + "rustls 0.20.9", + "tokio", + "webpki 0.22.2", ] [[package]] -name = "regex-automata" -version = "0.3.2" +name = "tokio-stream" +version = "0.1.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83d3daa6976cffb758ec878f108ba0e062a45b2d6ca3a2cca965338855476caf" +checksum = "397c988d37662c7dda6d2208364a706264bf3d6138b11d436cbac0ad38832842" dependencies = [ - "aho-corasick", - "memchr", - "regex-syntax", + "futures-core", + "pin-project-lite", + "tokio", + "tokio-util", ] [[package]] -name = "regex-syntax" -version = "0.7.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5ea92a5b6195c6ef2a0295ea818b312502c6fc94dde986c5553242e18fd4ce2" - -[[package]] -name = "region" -version = "3.0.0" +name = "tokio-tungstenite" +version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76e189c2369884dce920945e2ddf79b3dff49e071a167dd1817fa9c4c00d512e" +checksum = "e1a5f475f1b9d077ea1017ecbc60890fda8e54942d680ca0b1d2b47cfa2d861b" dependencies = [ - "bitflags", - "libc", - "mach", - "winapi", + "futures-util", + "log", + "native-tls", + "pin-project", + "tokio", + "tokio-native-tls", + "tungstenite 0.12.0", ] [[package]] -name = "rend" -version = "0.4.0" +name = "tokio-tungstenite" +version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "581008d2099240d37fb08d77ad713bcaec2c4d89d50b5b21a8bb1996bbab68ab" +checksum = "54319c93411147bced34cb5609a80e0a8e44c5999c93903a81cd866630ec0bfd" dependencies = [ - "bytecheck", + "futures-util", + "log", + "rustls 0.20.9", + "rustls-native-certs", + "tokio", + "tokio-rustls", + "tungstenite 0.18.0", + "webpki 0.22.2", ] [[package]] -name = "rkyv" -version = "0.7.42" +name = "tokio-tungstenite" +version = "0.20.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0200c8230b013893c0b2d6213d6ec64ed2b9be2e0e016682b7224ff82cff5c58" +checksum = "212d5dcb2a1ce06d81107c3d0ffa3121fe974b73f068c8282cb1c32328113b6c" dependencies = [ - "bitvec", - "bytecheck", - "hashbrown 0.12.3", - "ptr_meta", - "rend", - "rkyv_derive", - "seahash", - "tinyvec", - "uuid", + "futures-util", + "log", + "tokio", + "tungstenite 0.20.1", ] [[package]] -name = "rkyv_derive" -version = "0.7.42" +name = "tokio-util" +version = "0.7.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2e06b915b5c230a17d7a736d1e2e63ee753c256a8614ef3f5147b13a4f5541d" +checksum = "1d68074620f57a0b21594d9735eb2e98ab38b17f80d3fcb189fca266771ca60d" dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", + "bytes", + "futures-core", + "futures-sink", + "pin-project-lite", + "tokio", + "tracing", ] [[package]] -name = "rmp" -version = "0.8.11" +name = "toml" +version = "0.5.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44519172358fd6d58656c86ab8e7fbc9e1490c3e8f14d35ed78ca0dd07403c9f" +checksum = "f4f7f0dd8d50a853a531c426359045b1998f04219d88799810762cd4ad314234" dependencies = [ - "byteorder", - "num-traits", - "paste", + "serde", ] [[package]] -name = "rmp-serde" -version = "0.15.5" +name = "toml" +version = "0.7.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "723ecff9ad04f4ad92fe1c8ca6c20d2196d9286e9c60727c4cb5511629260e9d" +checksum = "dd79e69d3b627db300ff956027cc6c3798cef26d22526befdfcd12feeb6d2257" dependencies = [ - "byteorder", - "rmp", "serde", + "serde_spanned", + "toml_datetime", + "toml_edit", ] [[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" +name = "toml_datetime" +version = "0.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366" +checksum = "7cda73e2f1397b1262d6dfdcef8aafae14d1de7748d66822d3bfeeb6d03e5e4b" dependencies = [ - "semver 1.0.17", + "serde", ] [[package]] -name = "rustix" -version = "0.37.23" +name = "toml_edit" +version = "0.19.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d69718bf81c6127a49dc64e44a742e8bb9213c0ff8869a22c308f84c1d4ab06" +checksum = "1b5bb770da30e5cbfde35a2d7b9b8a2c4b8ef89548a7a6aeab5c9a576e3e7421" dependencies = [ - "bitflags", - "errno", - "io-lifetimes", - "libc", - "linux-raw-sys", - "windows-sys 0.48.0", + "indexmap 2.0.2", + "serde", + "serde_spanned", + "toml_datetime", + "winnow", ] [[package]] -name = "rustversion" -version = "1.0.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc31bd9b61a32c31f9650d18add92aa83a49ba979c143eefd27fe7177b05bd5f" - -[[package]] -name = "ryu" -version = "1.0.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fe232bdf6be8c8de797b22184ee71118d63780ea42ac85b61d1baa6d3b782ae9" - -[[package]] -name = "same-file" -version = "1.0.6" +name = "toolchain_find" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" +checksum = "5e85654a10e7a07a47c6f19d93818f3f343e22927f2fa280c84f7c8042743413" dependencies = [ - "winapi-util", + "home", + "lazy_static", + "regex", + "semver 0.11.0", + "walkdir", ] [[package]] -name = "scopeguard" -version = "1.1.0" +name = "tower-service" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd" +checksum = "b6bc1c9ce2b5135ac7f93c72918fc37feb872bdc6a5533a8b85eb4b86bfdae52" [[package]] -name = "seahash" -version = "4.1.0" +name = "tracing" +version = "0.1.37" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c107b6f4780854c8b126e228ea8869f4d7b71260f962fefb57b996b8959ba6b" +checksum = "8ce8c33a8d48bd45d624a6e523445fd21ec13d3653cd51f681abf67418f54eb8" +dependencies = [ + "cfg-if 1.0.0", + "log", + "pin-project-lite", + "tracing-attributes", + "tracing-core", +] [[package]] -name = "semver" -version = "0.11.0" +name = "tracing-attributes" +version = "0.1.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f301af10236f6df4160f7c3f04eec6dbc70ace82d23326abad5edee88801c6b6" +checksum = "5f4f31f56159e98206da9efd823404b79b6ef3143b4a7ab76e67b1751b25a4ab" dependencies = [ - "semver-parser", + "proc-macro2", + "quote", + "syn 2.0.37", ] [[package]] -name = "semver" -version = "1.0.17" +name = "tracing-core" +version = "0.1.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bebd363326d05ec3e2f532ab7660680f3b02130d780c299bca73469d521bc0ed" +checksum = "0955b8137a1df6f1a2e9a37d8a6656291ff0297c1a97c24e0d8425fe2312f79a" dependencies = [ - "serde", + "once_cell", + "valuable", ] [[package]] -name = "semver-parser" -version = "0.10.2" +name = "tracing-futures" +version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "00b0bef5b7f9e0df16536d3961cfb6e84331c065b4066afb39768d0e319411f7" +checksum = "97d095ae15e245a057c8e8451bab9b3ee1e1f68e9ba2b4fbc18d0ac5237835f2" dependencies = [ - "pest", + "pin-project", + "tracing", ] [[package]] -name = "serde" -version = "1.0.171" +name = "tracing-log" +version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "30e27d1e4fd7659406c492fd6cfaf2066ba8773de45ca75e855590f856dc34a9" +checksum = "78ddad33d2d10b1ed7eb9d1f518a5674713876e97e5bb9b7345a7984fbb4f922" dependencies = [ - "serde_derive", + "lazy_static", + "log", + "tracing-core", ] [[package]] -name = "serde-transcode" -version = "1.1.1" +name = "tracing-serde" +version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "590c0e25c2a5bb6e85bf5c1bce768ceb86b316e7a01bdf07d2cb4ec2271990e2" +checksum = "bc6b213177105856957181934e4920de57730fc69bf42c37ee5bb664d406d9e1" dependencies = [ "serde", + "tracing-core", ] [[package]] -name = "serde_bytes" -version = "0.11.11" +name = "tracing-subscriber" +version = "0.3.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a16be4fe5320ade08736447e3198294a5ea9a6d44dde6f35f0a5e06859c427a" +checksum = "30a651bc37f915e81f087d86e62a18eec5f79550c7faff886f7090b4ea757c77" dependencies = [ + "matchers", + "nu-ansi-term", + "once_cell", + "regex", "serde", + "serde_json", + "sharded-slab", + "smallvec 1.11.1", + "thread_local", + "time", + "tracing", + "tracing-core", + "tracing-log", + "tracing-serde", ] [[package]] -name = "serde_derive" -version = "1.0.171" +name = "trilean" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "389894603bd18c46fa56231694f8d827779c0951a667087194cf9de94ed24682" +checksum = "683ba5022fe6dbd7133cad150478ccf51bdb6d861515181e5fc6b4323d4fa424" + +[[package]] +name = "trust_atom" +version = "0.1.1-dev" +source = "git+https://github.com/trustgraph/trustgraph-holochain.git?branch=mewsfeed-hackathon-10-17-23#398ccda642ed748dcbbc26db54c0ad46c616b182" dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.25", + "hdk", + "rust_decimal", + "serde", + "trust_atom_integrity", + "trust_atom_types", ] [[package]] -name = "serde_json" -version = "1.0.102" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b5062a995d481b2308b6064e9af76011f2921c35f97b0468811ed9f6cd91dfed" +name = "trust_atom_integrity" +version = "0.1.1-dev" +source = "git+https://github.com/trustgraph/trustgraph-holochain.git?branch=mewsfeed-hackathon-10-17-23#398ccda642ed748dcbbc26db54c0ad46c616b182" dependencies = [ - "indexmap 2.0.0", - "itoa", - "ryu", + "hdi", + "paste", + "rust_decimal", "serde", + "trust_atom_types", ] [[package]] -name = "sha-1" -version = "0.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f5058ada175748e33390e40e872bd0fe59a19f265d0158daa551c5a88a76009c" +name = "trust_atom_integrity_zome" +version = "0.0.1" dependencies = [ - "cfg-if", - "cpufeatures", - "digest", + "hdk", + "rust_decimal", + "serde", + "trust_atom_integrity", ] [[package]] -name = "shrinkwraprs" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e63e6744142336dfb606fe2b068afa2e1cca1ee6a5d8377277a92945d81fa331" +name = "trust_atom_types" +version = "0.1.1-dev" +source = "git+https://github.com/trustgraph/trustgraph-holochain.git?branch=mewsfeed-hackathon-10-17-23#398ccda642ed748dcbbc26db54c0ad46c616b182" dependencies = [ - "bitflags", - "itertools", - "proc-macro2", - "quote", - "syn 1.0.109", + "hdk", + "paste", + "serde", ] [[package]] -name = "simba" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e82063457853d00243beda9952e910b82593e4b07ae9f721b9278a99a0d3d5c" +name = "trust_atom_zome" +version = "0.0.1" dependencies = [ - "approx", - "num-complex", - "num-traits", - "paste", + "futures", + "hdk", + "holochain", + "rust_decimal", + "serde", + "tokio", + "trust_atom", ] [[package]] -name = "simdutf8" -version = "0.1.4" +name = "try-lock" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f27f6278552951f1f2b8cf9da965d10969b2efdea95a6ec47987ab46edfe263a" +checksum = "3528ecfd12c466c6f163363caf2d02a71161dd5e1cc6ae7b34207ea2d42d81ed" [[package]] -name = "slab" -version = "0.4.8" +name = "ts_opentelemetry_api" +version = "0.20.0-beta.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6528351c9bc8ab22353f9d776db39a20288e8d6c37ef8cfe3317cf875eecfc2d" +checksum = "d186495330f646b5881aeb3b83bac75b8a462d7ef32fda06a2a68f3869d5ba82" dependencies = [ - "autocfg", + "futures-channel", + "futures-util", + "indexmap 1.9.3", + "js-sys", + "once_cell", + "pin-project-lite", + "thiserror", + "urlencoding", ] [[package]] -name = "smallvec" -version = "1.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62bb4feee49fdd9f707ef802e22365a35de4b7b299de4763d44bfea899442ff9" - -[[package]] -name = "stable_deref_trait" -version = "1.2.0" +name = "tungstenite" +version = "0.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" +checksum = "8ada8297e8d70872fa9a551d93250a9f407beb9f37ef86494eb20012a2ff7c24" +dependencies = [ + "base64 0.13.1", + "byteorder", + "bytes", + "http", + "httparse", + "input_buffer", + "log", + "native-tls", + "rand 0.8.5", + "sha-1 0.9.8", + "url 2.4.1", + "utf-8", +] [[package]] -name = "statrs" -version = "0.15.0" +name = "tungstenite" +version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05bdbb8e4e78216a85785a85d3ec3183144f98d0097b9281802c019bb07a6f05" +checksum = "30ee6ab729cd4cf0fd55218530c4522ed30b7b6081752839b68fcec8d0960788" dependencies = [ - "approx", - "lazy_static", - "nalgebra", - "num-traits", - "rand", + "base64 0.13.1", + "byteorder", + "bytes", + "http", + "httparse", + "log", + "rand 0.8.5", + "rustls 0.20.9", + "sha1", + "thiserror", + "url 2.4.1", + "utf-8", + "webpki 0.22.2", ] [[package]] -name = "strsim" -version = "0.10.0" +name = "tungstenite" +version = "0.20.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" +checksum = "9e3dac10fd62eaf6617d3a904ae222845979aec67c615d1c842b4002c7666fb9" +dependencies = [ + "byteorder", + "bytes", + "data-encoding", + "http", + "httparse", + "log", + "rand 0.8.5", + "sha1", + "thiserror", + "url 2.4.1", + "utf-8", +] [[package]] -name = "strum_macros" -version = "0.24.3" +name = "tx5" +version = "0.0.2-alpha" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e385be0d24f186b4ce2f9982191e7101bb737312ad61c1f2f984f34bcf85d59" +checksum = "a76decf02d813606a817a33793aa5b7bf3cbf8d85d1623157ca7b05ef939c5e1" dependencies = [ - "heck", - "proc-macro2", - "quote", - "rustversion", - "syn 1.0.109", + "bytes", + "futures", + "influxive-otel-atomic-obs", + "once_cell", + "parking_lot 0.12.1", + "rand 0.8.5", + "rand-utf8", + "serde", + "serde_json", + "tokio", + "tracing", + "ts_opentelemetry_api", + "tx5-core", + "tx5-go-pion", + "tx5-signal", + "url 2.4.1", ] [[package]] -name = "subprocess" -version = "0.2.9" +name = "tx5-core" +version = "0.0.2-alpha" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c2e86926081dda636c546d8c5e641661049d7562a68f5488be4a1f7f66f6086" +checksum = "062c8fa9036a5f4e2795e5d6abe1b2e4591f36d0480732ddc0e7405a7489d01f" dependencies = [ - "libc", - "winapi", + "base64 0.13.1", + "dirs", + "once_cell", + "rand 0.8.5", + "serde", + "serde_json", + "sha2", + "tempfile", + "tracing", + "url 2.4.1", ] [[package]] -name = "subtle" -version = "2.5.0" +name = "tx5-go-pion" +version = "0.0.2-alpha" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81cdd64d312baedb58e21336b31bc043b77e01cc99033ce76ef539f78e965ebc" +checksum = "8fc0ceeb67c3c846ea7bb6f5d30088f75359a5a55646d80f6a01a3ec235a2eb5" +dependencies = [ + "parking_lot 0.12.1", + "tokio", + "tracing", + "tx5-go-pion-sys", + "url 2.4.1", +] [[package]] -name = "syn" -version = "1.0.109" +name = "tx5-go-pion-sys" +version = "0.0.2-alpha" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" +checksum = "a12b039d7f78e57ab84b7db1293cd194147895b7b43a6a8910f1e82268756fbe" dependencies = [ - "proc-macro2", - "quote", - "unicode-ident", + "Inflector", + "base64 0.13.1", + "dirs", + "libc", + "libloading 0.8.1", + "once_cell", + "ouroboros", + "sha2", + "tracing", + "tx5-core", + "zip", ] [[package]] -name = "syn" -version = "2.0.25" +name = "tx5-signal" +version = "0.0.2-alpha" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "15e3fc8c0c74267e2df136e5e5fb656a464158aa57624053375eb9c8c6e25ae2" +checksum = "7698b18a456f298ae7c4bb3c2a5e76c7193242f0a53d91866cc9507e1ff4373b" dependencies = [ - "proc-macro2", - "quote", - "unicode-ident", + "futures", + "lair_keystore_api", + "once_cell", + "parking_lot 0.12.1", + "rand 0.8.5", + "rand-utf8", + "rcgen 0.10.0", + "ring", + "rustls 0.20.9", + "rustls-native-certs", + "rustls-pemfile 1.0.3", + "serde_json", + "sha2", + "socket2 0.5.4", + "tokio", + "tokio-rustls", + "tokio-tungstenite 0.18.0", + "tracing", + "tx5-core", + "url 2.4.1", + "webpki-roots 0.23.1", ] [[package]] -name = "tap" -version = "1.0.1" +name = "typenum" +version = "1.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" +checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825" [[package]] -name = "target-lexicon" -version = "0.12.9" +name = "ucd-trie" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "df8e77cb757a61f51b947ec4a7e3646efd825b73561db1c232a8ccb639e611a0" +checksum = "ed646292ffc8188ef8ea4d1e0e0150fb15a5c2e12ad9b8fc191ae7a8a7f3c4b9" [[package]] -name = "tempfile" -version = "3.6.0" +name = "unicase" +version = "2.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "31c0432476357e58790aaa47a8efb0c5138f137343f3b5f23bd36a27e3b0a6d6" +checksum = "f7d2d4dafb69621809a81864c9c1b864479e1235c0dd4e199924b9742439ed89" dependencies = [ - "autocfg", - "cfg-if", - "fastrand", - "redox_syscall", - "rustix", - "windows-sys 0.48.0", + "version_check", ] [[package]] -name = "test-fuzz" -version = "3.0.4" +name = "unicode-bidi" +version = "0.3.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "125df852011c4f8f31df5620f4aea38ecddb5dfb4d9bc569b30485b15ffc3d4e" -dependencies = [ - "serde", - "test-fuzz-internal", - "test-fuzz-macro", - "test-fuzz-runtime", -] +checksum = "92888ba5573ff080736b3648696b70cafad7d250551175acbaa4e0385b3e1460" [[package]] -name = "test-fuzz-internal" -version = "3.0.4" +name = "unicode-ident" +version = "1.0.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58071dc2471840e9f374eeb0f6e405a31bccb3cc5d59bb4598f02cafc274b5c4" -dependencies = [ - "cargo_metadata", - "proc-macro2", - "quote", - "serde", - "strum_macros", -] +checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" [[package]] -name = "test-fuzz-macro" -version = "3.0.4" +name = "unicode-normalization" +version = "0.1.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "856bbca0314c328004691b9c0639fb198ca764d1ce0e20d4dd8b78f2697c2a6f" +checksum = "5c5713f0fc4b5db668a2ac63cdb7bb4469d8c9fed047b1d0292cc7b0ce2ba921" dependencies = [ - "darling 0.14.4", - "if_chain", - "lazy_static", - "proc-macro2", - "quote", - "subprocess", - "syn 1.0.109", - "test-fuzz-internal", - "toolchain_find", - "unzip-n", + "tinyvec", ] [[package]] -name = "test-fuzz-runtime" -version = "3.0.4" +name = "unicode-segmentation" +version = "1.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "303774eb17994c2ddb59c460369f4c3a55496f013380278d78eeebd2deb896ac" -dependencies = [ - "bincode", - "hex", - "num-traits", - "serde", - "sha-1", - "test-fuzz-internal", -] +checksum = "1dd624098567895118886609431a7c3b8f516e41d30e0643f03d94592a147e36" [[package]] -name = "thiserror" -version = "1.0.43" +name = "unicode-width" +version = "0.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a35fc5b8971143ca348fa6df4f024d4d55264f3468c71ad1c2f365b0a4d58c42" -dependencies = [ - "thiserror-impl", -] +checksum = "e51733f11c9c4f72aa0c160008246859e340b00807569a0da0e7a1079b27ba85" + +[[package]] +name = "unicode-xid" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f962df74c8c05a667b5ee8bcf162993134c104e96440b663c8daa176dc772d8c" [[package]] -name = "thiserror-impl" -version = "1.0.43" +name = "unicode_categories" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "463fe12d7993d3b327787537ce8dd4dfa058de32fc2b195ef3cde03dc4771e8f" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.25", -] +checksum = "39ec24b3121d976906ece63c9daad25b85969647682eee313cb5779fdd69e14e" [[package]] -name = "time" -version = "0.1.45" +name = "unsafe-libyaml" +version = "0.2.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b797afad3f312d1c66a56d11d0316f916356d11bd158fbc6ca6389ff6bf805a" -dependencies = [ - "libc", - "wasi 0.10.0+wasi-snapshot-preview1", - "winapi", -] +checksum = "f28467d3e1d3c6586d8f25fa243f544f5800fec42d97032474e17222c2b75cfa" [[package]] -name = "tinyvec" -version = "1.6.0" +name = "untrusted" +version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87cc5ceb3875bb20c2890005a4e226a4651264a5c75edb2421b52861a0a0cb50" -dependencies = [ - "tinyvec_macros", -] +checksum = "a156c684c91ea7d62626509bce3cb4e1d9ed5c4d978f7b4352658f96a4c26b4a" [[package]] -name = "tinyvec_macros" -version = "0.1.1" +name = "unwrap_to" +version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" +checksum = "cad414b2eed757c1b6f810f8abc814e298a9c89176b21fae092c7a87756fb839" [[package]] -name = "toolchain_find" -version = "0.2.0" +name = "unzip-n" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e85654a10e7a07a47c6f19d93818f3f343e22927f2fa280c84f7c8042743413" +checksum = "c2e7e85a0596447f0f2ac090e16bc4c516c6fe91771fb0c0ccf7fa3dae896b9c" dependencies = [ - "home", - "lazy_static", - "regex", - "semver 0.11.0", - "walkdir", + "proc-macro2", + "quote", + "syn 1.0.109", ] [[package]] -name = "tracing" -version = "0.1.37" +name = "ureq" +version = "2.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ce8c33a8d48bd45d624a6e523445fd21ec13d3653cd51f681abf67418f54eb8" +checksum = "f5ccd538d4a604753ebc2f17cd9946e89b77bf87f6a8e2309667c6f2e87855e3" dependencies = [ - "cfg-if", + "base64 0.21.4", "log", - "pin-project-lite", - "tracing-attributes", - "tracing-core", + "once_cell", + "rustls 0.21.7", + "rustls-webpki 0.101.6", + "url 2.4.1", + "webpki-roots 0.25.2", ] [[package]] -name = "tracing-attributes" -version = "0.1.26" +name = "url" +version = "1.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f4f31f56159e98206da9efd823404b79b6ef3143b4a7ab76e67b1751b25a4ab" +checksum = "dd4e7c0d531266369519a4aa4f399d748bd37043b00bde1e4ff1f60a120b355a" dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.25", + "idna 0.1.5", + "matches", + "percent-encoding 1.0.1", ] [[package]] -name = "tracing-core" -version = "0.1.31" +name = "url" +version = "2.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0955b8137a1df6f1a2e9a37d8a6656291ff0297c1a97c24e0d8425fe2312f79a" +checksum = "143b538f18257fac9cad154828a57c6bf5157e1aa604d4816b5995bf6de87ae5" dependencies = [ - "once_cell", - "valuable", + "form_urlencoded", + "idna 0.4.0", + "percent-encoding 2.3.0", + "serde", ] [[package]] -name = "trilean" -version = "1.1.0" +name = "url2" +version = "0.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "683ba5022fe6dbd7133cad150478ccf51bdb6d861515181e5fc6b4323d4fa424" +checksum = "c89cd13f1de9862d363308f5ffdadcd2b64b2a4a812fb296a80b7d3e80011b1e" +dependencies = [ + "serde", + "url 2.4.1", +] [[package]] -name = "typenum" -version = "1.16.0" +name = "url_serde" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "497961ef93d974e23eb6f433eb5fe1b7930b659f06d12dec6fc44a8f554c0bba" +checksum = "74e7d099f1ee52f823d4bdd60c93c3602043c728f5db3b97bdb548467f7bddea" +dependencies = [ + "serde", + "url 1.7.2", +] [[package]] -name = "ucd-trie" -version = "0.1.6" +name = "urlencoding" +version = "2.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed646292ffc8188ef8ea4d1e0e0150fb15a5c2e12ad9b8fc191ae7a8a7f3c4b9" +checksum = "daf8dba3b7eb870caf1ddeed7bc9d2a049f3cfdfae7cb521b087cc33ae4c49da" [[package]] -name = "unicode-ident" -version = "1.0.10" +name = "utf-8" +version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22049a19f4a68748a168c0fc439f9516686aa045927ff767eca0a85101fb6e73" +checksum = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9" [[package]] -name = "unicode-width" -version = "0.1.10" +name = "utf8parse" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0edd1e5b14653f783770bce4a4dabb4a5108a5370a5f5d8cfe8710c361f6c8b" +checksum = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a" [[package]] -name = "unzip-n" -version = "0.1.2" +name = "uuid" +version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2e7e85a0596447f0f2ac090e16bc4c516c6fe91771fb0c0ccf7fa3dae896b9c" +checksum = "90dbc611eb48397705a6b0f6e917da23ae517e4d127123d2cf7674206627d32a" dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", + "rand 0.6.5", + "serde", ] [[package]] name = "uuid" -version = "1.4.0" +version = "1.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d023da39d1fde5a8a3fe1f3e01ca9632ada0a63e9797de55a879d6e2236277be" +checksum = "79daa5ed5740825c40b389c5e50312b9c86df53fccd33f281df655642b43869d" +dependencies = [ + "getrandom 0.2.10", +] [[package]] name = "valuable" @@ -2450,27 +7249,91 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d" +[[package]] +name = "value-bag" +version = "1.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d92ccd67fb88503048c01b59152a04effd0782d035a83a6d256ce6085f08f4a3" + +[[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" +version = "2.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "36df944cda56c7d8d8b7496af378e6b16de9284591917d307c9b4d313c44e698" +checksum = "d71d857dc86794ca4c280d616f7da00d2dbfd8cd788846559a6813e6aa4b54ee" dependencies = [ "same-file", "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.0", + "pin-project", + "rustls-pemfile 1.0.3", + "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.10.0+wasi-snapshot-preview1" +version = "0.9.0+wasi-snapshot-preview1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a143597ca7c7793eff794def352d41792a93c481eb1042423ff7ff72ba2c31f" +checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519" [[package]] name = "wasi" @@ -2484,7 +7347,7 @@ version = "0.2.87" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7706a72ab36d8cb1f80ffbf0e071533974a60d0a308d01a5d0375bf60499a342" dependencies = [ - "cfg-if", + "cfg-if 1.0.0", "wasm-bindgen-macro", ] @@ -2499,10 +7362,22 @@ dependencies = [ "once_cell", "proc-macro2", "quote", - "syn 2.0.25", + "syn 2.0.37", "wasm-bindgen-shared", ] +[[package]] +name = "wasm-bindgen-futures" +version = "0.4.37" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c02dbc21516f9f1f04f187958890d7e6026df8d16540b7ad9492bc34a67cea03" +dependencies = [ + "cfg-if 1.0.0", + "js-sys", + "wasm-bindgen", + "web-sys", +] + [[package]] name = "wasm-bindgen-macro" version = "0.2.87" @@ -2521,7 +7396,7 @@ checksum = "54681b18a46765f095758388f2d0cf16eb8d4169b639ab575a8f5693af210c7b" dependencies = [ "proc-macro2", "quote", - "syn 2.0.25", + "syn 2.0.37", "wasm-bindgen-backend", "wasm-bindgen-shared", ] @@ -2534,9 +7409,9 @@ checksum = "ca6ad05a4870b2bf5fe995117d3728437bd27d7cd5f06f13c17443ef369775a1" [[package]] name = "wasm-encoder" -version = "0.30.0" +version = "0.33.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2f8e9778e04cbf44f58acc301372577375a666b966c50b03ef46144f80436a8" +checksum = "34180c89672b3e4825c3a8db4b61a674f1447afd5fe2445b2d22c3d8b6ea086c" dependencies = [ "leb128", ] @@ -2547,7 +7422,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 1.9.3", "js-sys", "loupe", @@ -2565,7 +7440,7 @@ dependencies = [ "wasmer-types", "wasmer-vm", "wat", - "winapi", + "winapi 0.3.9", ] [[package]] @@ -2592,7 +7467,7 @@ dependencies = [ "rkyv", "serde", "serde_bytes", - "smallvec", + "smallvec 1.11.1", "target-lexicon", "thiserror", "wasmer-types", @@ -2612,7 +7487,7 @@ dependencies = [ "loupe", "more-asserts", "rayon", - "smallvec", + "smallvec 1.11.1", "target-lexicon", "tracing", "wasmer-compiler", @@ -2660,11 +7535,11 @@ 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", - "libloading", + "libloading 0.7.4", "loupe", "object 0.28.4", "rkyv", @@ -2686,7 +7561,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", @@ -2697,7 +7572,7 @@ dependencies = [ "wasmer-engine-universal-artifact", "wasmer-types", "wasmer-vm", - "winapi", + "winapi 0.3.9", ] [[package]] @@ -2716,6 +7591,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" @@ -2752,7 +7639,7 @@ checksum = "30d965fa61f4dc4cdb35a54daaf7ecec3563fbb94154a6c35433f879466247dd" dependencies = [ "backtrace", "cc", - "cfg-if", + "cfg-if 1.0.0", "corosensei", "enum-iterator", "indexmap 1.9.3", @@ -2769,7 +7656,7 @@ dependencies = [ "thiserror", "wasmer-artifact", "wasmer-types", - "winapi", + "winapi 0.3.9", ] [[package]] @@ -2780,9 +7667,9 @@ checksum = "718ed7c55c2add6548cca3ddd6383d738cd73b892df400e96b9aa876f0141d7a" [[package]] name = "wast" -version = "61.0.0" +version = "66.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc6b347851b52fd500657d301155c79e8c67595501d179cef87b6f04ebd25ac4" +checksum = "0da7529bb848d58ab8bf32230fc065b363baee2bd338d5e58c589a1e7d83ad07" dependencies = [ "leb128", "memchr", @@ -2792,24 +7679,76 @@ dependencies = [ [[package]] name = "wat" -version = "1.0.67" +version = "1.0.75" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "459e764d27c3ab7beba1ebd617cc025c7e76dea6e7c5ce3189989a970aea3491" +checksum = "4780374047c65b6b6e86019093fe80c18b66825eb684df778a4e068282a780e7" dependencies = [ "wast", ] +[[package]] +name = "web-sys" +version = "0.3.64" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b85cbef8c220a6abc02aefd892dfc0fc23afb1c6a426316ec33253a3877249b" +dependencies = [ + "js-sys", + "wasm-bindgen", +] + +[[package]] +name = "webpki" +version = "0.21.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b8e38c0608262c46d4a56202ebabdeb094cef7e560ca7a226c6bf055188aa4ea" +dependencies = [ + "ring", + "untrusted", +] + +[[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.23.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b03058f88386e5ff5310d9111d53f48b17d732b401aeb83a8d5190f2ac459338" +dependencies = [ + "rustls-webpki 0.100.3", +] + +[[package]] +name = "webpki-roots" +version = "0.25.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "14247bb57be4f377dfb94c72830b8ce8fc6beac03cf4bf7b9732eadd414123fc" + [[package]] name = "which" -version = "4.4.0" +version = "4.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2441c784c52b289a054b7201fc93253e288f094e2f4be9058343127c4226a269" +checksum = "87ba24419a2078cd2b0f2ede2691b6c66d8e47836da3b6db8265ebad47afbfc7" dependencies = [ "either", - "libc", + "home", "once_cell", + "rustix 0.38.17", ] +[[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" @@ -2828,11 +7767,11 @@ checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" [[package]] name = "winapi-util" -version = "0.1.5" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178" +checksum = "f29e6f9198ba0d26b4c9f07dbe6f9ed633e1f3d5b8b414090084349e46a52596" dependencies = [ - "winapi", + "winapi 0.3.9", ] [[package]] @@ -2863,6 +7802,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.48.0" @@ -2874,24 +7828,30 @@ dependencies = [ [[package]] name = "windows-targets" -version = "0.48.1" +version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05d4b17490f70499f20b9e791dcf6a299785ce8af4d709018206dc5b4953e95f" +checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" dependencies = [ - "windows_aarch64_gnullvm", - "windows_aarch64_msvc 0.48.0", - "windows_i686_gnu 0.48.0", - "windows_i686_msvc 0.48.0", - "windows_x86_64_gnu 0.48.0", - "windows_x86_64_gnullvm", - "windows_x86_64_msvc 0.48.0", + "windows_aarch64_gnullvm 0.48.5", + "windows_aarch64_msvc 0.48.5", + "windows_i686_gnu 0.48.5", + "windows_i686_msvc 0.48.5", + "windows_x86_64_gnu 0.48.5", + "windows_x86_64_gnullvm 0.48.5", + "windows_x86_64_msvc 0.48.5", ] [[package]] name = "windows_aarch64_gnullvm" -version = "0.48.0" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8" + +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91ae572e1b79dba883e0d315474df7305d12f569b400fcf90581b06062f7e1bc" +checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" [[package]] name = "windows_aarch64_msvc" @@ -2901,9 +7861,15 @@ checksum = "cd761fd3eb9ab8cc1ed81e56e567f02dd82c4c837e48ac3b2181b9ffc5060807" [[package]] name = "windows_aarch64_msvc" -version = "0.48.0" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43" + +[[package]] +name = "windows_aarch64_msvc" +version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2ef27e0d7bdfcfc7b868b317c1d32c641a6fe4629c171b8928c7b08d98d7cf3" +checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" [[package]] name = "windows_i686_gnu" @@ -2913,9 +7879,15 @@ checksum = "cab0cf703a96bab2dc0c02c0fa748491294bf9b7feb27e1f4f96340f208ada0e" [[package]] name = "windows_i686_gnu" -version = "0.48.0" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f" + +[[package]] +name = "windows_i686_gnu" +version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "622a1962a7db830d6fd0a69683c80a18fda201879f0f447f065a3b7467daa241" +checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" [[package]] name = "windows_i686_msvc" @@ -2925,9 +7897,15 @@ checksum = "8cfdbe89cc9ad7ce618ba34abc34bbb6c36d99e96cae2245b7943cd75ee773d0" [[package]] name = "windows_i686_msvc" -version = "0.48.0" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060" + +[[package]] +name = "windows_i686_msvc" +version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4542c6e364ce21bf45d69fdd2a8e455fa38d316158cfd43b3ac1c5b1b19f8e00" +checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" [[package]] name = "windows_x86_64_gnu" @@ -2937,15 +7915,27 @@ checksum = "b4dd9b0c0e9ece7bb22e84d70d01b71c6d6248b81a3c60d11869451b4cb24784" [[package]] name = "windows_x86_64_gnu" -version = "0.48.0" +version = "0.42.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca2b8a661f7628cbd23440e50b05d705db3686f894fc9580820623656af974b1" +checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36" + +[[package]] +name = "windows_x86_64_gnu" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" [[package]] name = "windows_x86_64_gnullvm" -version = "0.48.0" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3" + +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7896dbc1f41e08872e9d5e8f8baa8fdd2677f29468c4e156210174edc7f7b953" +checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" [[package]] name = "windows_x86_64_msvc" @@ -2955,9 +7945,34 @@ checksum = "ff1e4aa646495048ec7f3ffddc411e1d829c026a2ec62b39da15c1055e406eaa" [[package]] name = "windows_x86_64_msvc" -version = "0.48.0" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0" + +[[package]] +name = "windows_x86_64_msvc" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" + +[[package]] +name = "winnow" +version = "0.5.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7c2e3184b9c4e92ad5167ca73039d0c42476302ab603e2fec4487511f38ccefc" +dependencies = [ + "memchr", +] + +[[package]] +name = "winreg" +version = "0.50.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a515f5799fe4961cb532f983ce2b23082366b898e52ffbce459c86f67c8378a" +checksum = "524e57b2c537c0f9b1e69f1965311ec12182b4122e45035b1508cd24d2adadb1" +dependencies = [ + "cfg-if 1.0.0", + "windows-sys 0.48.0", +] [[package]] name = "wyz" @@ -2967,3 +7982,45 @@ checksum = "05f360fc0b24296329c78fda852a1e9ae82de9cf7b27dae4b7f62f118f77b9ed" dependencies = [ "tap", ] + +[[package]] +name = "xattr" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f4686009f71ff3e5c4dbcf1a282d0a44db3f021ba69350cd42086b3e5f1c6985" +dependencies = [ + "libc", +] + +[[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", +] + +[[package]] +name = "zeroize" +version = "1.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2a0956f1ba7c7909bfb66c2e9e4124ab6f6482560f6628b5aaeba39207c9aad9" + +[[package]] +name = "zip" +version = "0.6.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "760394e246e4c28189f19d488c058bf16f564016aefac5d32bb1f3b51d5e9261" +dependencies = [ + "byteorder", + "crc32fast", + "crossbeam-utils", + "flate2", +] diff --git a/Cargo.toml b/Cargo.toml index 122d6416..187cc538 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,12 +3,14 @@ members = ["dnas/*/zomes/coordinator/*", "dnas/*/zomes/integrity/*", "crates/*"] resolver = "2" [workspace.dependencies] -hdi = "=0.3.1" -hdk = "=0.2.1" -holochain_integrity_types = "=0.2.1" +hdi = "=0.3.2" +hdk = "=0.2.2" +holochain_integrity_types = "=0.2.2" serde = "1" paste = "1.0" +trust_atom_types = { git = "https://github.com/trustgraph/trustgraph-holochain.git", package = "trust_atom_types", branch = "mewsfeed-hackathon-10-17-23" } + [workspace.dependencies.agent_pins] path = "dnas/mewsfeed/zomes/coordinator/agent_pins" @@ -53,3 +55,9 @@ path = "crates/hc_call_utils" [workspace.dependencies.hc_link_pagination] path = "crates/hc_link_pagination" + +[workspace.dependencies.trust_atom] +path = "dnas/mewsfeed/zomes/coordinator/trust_atom" + +[workspace.dependencies.trust_atom_integrity] +path = "dnas/mewsfeed/zomes/integrity/trust_atom" diff --git a/crates/follows_types/src/lib.rs b/crates/follows_types/src/lib.rs index 9a11ee9d..199bd661 100644 --- a/crates/follows_types/src/lib.rs +++ b/crates/follows_types/src/lib.rs @@ -2,24 +2,28 @@ use hc_link_pagination::AgentPubKeyPagination; use hdk::prelude::*; #[derive(Serialize, Deserialize, SerializedBytes, Clone, Debug)] +#[serde(rename_all = "camelCase")] pub struct AddCreatorForFollowerInput { pub base_follower: AgentPubKey, pub target_creator: AgentPubKey, } #[derive(Serialize, Deserialize, SerializedBytes, Clone, Debug)] +#[serde(rename_all = "camelCase")] pub struct GetCreatorsForFollowerInput { pub follower: AgentPubKey, pub page: Option, } #[derive(Serialize, Deserialize, SerializedBytes, Clone, Debug)] +#[serde(rename_all = "camelCase")] pub struct GetFollowersForCreatorInput { pub creator: AgentPubKey, pub page: Option, } #[derive(Serialize, Deserialize, SerializedBytes, Clone, Debug)] +#[serde(rename_all = "camelCase")] pub struct RemoveCreatorForFollowerInput { pub base_follower: AgentPubKey, pub target_creator: AgentPubKey, diff --git a/crates/mews_types/src/lib.rs b/crates/mews_types/src/lib.rs index daccaf78..a060e527 100644 --- a/crates/mews_types/src/lib.rs +++ b/crates/mews_types/src/lib.rs @@ -2,6 +2,8 @@ use hc_link_pagination::Timestamped; use hdk::prelude::*; use std::collections::BTreeMap; +pub const FOLLOW_TOPIC: &str = "__FOLLOW__"; + #[derive(Serialize, Deserialize, SerializedBytes, Debug, Clone, PartialEq, Eq)] pub enum LinkTarget { Mention(AgentPubKey), @@ -41,6 +43,7 @@ pub struct Profile { #[derive(Serialize, Deserialize, SerializedBytes, Debug, Clone)] pub struct FeedMew { + // Mew with context pub mew: Mew, pub action: Action, pub action_hash: ActionHash, @@ -56,6 +59,8 @@ pub struct FeedMew { pub is_replied: bool, pub is_quoted: bool, pub original_mew: Option, + pub weight: Option, // introduced with TrustAtoms + pub topic: Option, // introduced with TrustAtoms } #[derive(Serialize, Deserialize, SerializedBytes, Debug, Clone)] diff --git a/dnas/mewsfeed/workdir/dna.yaml b/dnas/mewsfeed/workdir/dna.yaml index f03367da..d21c8bfe 100644 --- a/dnas/mewsfeed/workdir/dna.yaml +++ b/dnas/mewsfeed/workdir/dna.yaml @@ -28,6 +28,10 @@ integrity: hash: ~ bundled: "../../../target/wasm32-unknown-unknown/release/agent_pins_integrity.wasm" dependencies: ~ + - name: trust_atom_integrity + hash: ~ + bundled: "../../../target/wasm32-unknown-unknown/release/trust_atom_integrity_zome.wasm" + dependencies: ~ coordinator: zomes: - name: profiles @@ -60,3 +64,8 @@ coordinator: hash: ~ bundled: "../../../target/wasm32-unknown-unknown/release/ping.wasm" dependencies: [] + - name: trust_atom + hash: ~ + bundled: "../../../target/wasm32-unknown-unknown/release/trust_atom_zome.wasm" + dependencies: + - name: trust_atom_integrity diff --git a/dnas/mewsfeed/zomes/coordinator/follows/Cargo.toml b/dnas/mewsfeed/zomes/coordinator/follows/Cargo.toml index 6dcd6e32..8686cd1a 100644 --- a/dnas/mewsfeed/zomes/coordinator/follows/Cargo.toml +++ b/dnas/mewsfeed/zomes/coordinator/follows/Cargo.toml @@ -11,6 +11,9 @@ name = "follows" hdk = { workspace = true } holochain_integrity_types = { workspace = true } serde = { workspace = true } -follows_integrity = { workspace = true } +follows_integrity = { workspace = true } hc_link_pagination = { workspace = true } +hc_call_utils = { workspace = true } follows_types = { workspace = true } +mews_types = { workspace = true } +trust_atom_types = { workspace = true } diff --git a/dnas/mewsfeed/zomes/coordinator/follows/src/follower_to_creators.rs b/dnas/mewsfeed/zomes/coordinator/follows/src/follower_to_creators.rs index c58b6ba9..e078b889 100644 --- a/dnas/mewsfeed/zomes/coordinator/follows/src/follower_to_creators.rs +++ b/dnas/mewsfeed/zomes/coordinator/follows/src/follower_to_creators.rs @@ -1,21 +1,37 @@ -use follows_integrity::*; +// use follows_integrity::*; use follows_types::*; -use hc_link_pagination::paginate_by_agentpubkey; +use hc_call_utils::call_local_zome; +// use hc_link_pagination::paginate_by_agentpubkey; use hdk::prelude::*; +use mews_types::FOLLOW_TOPIC; +use trust_atom_types::{DeleteReport, QueryInput, TrustAtom, TrustAtomInput}; + +#[derive(Debug, Serialize, Deserialize, SerializedBytes)] +#[serde(rename_all = "camelCase")] +pub struct FollowInput { + pub agent: AgentPubKey, + pub follow_topics: Vec, +} + +#[derive(Debug, Serialize, Deserialize, SerializedBytes)] +#[serde(rename_all = "camelCase")] +pub struct FollowTopicInput { + pub topic: String, + pub weight: Option, +} + #[hdk_extern] pub fn add_creator_for_follower(input: AddCreatorForFollowerInput) -> ExternResult<()> { - create_link( - input.base_follower.clone(), - input.target_creator.clone(), - LinkTypes::FollowerToCreators, - (), - )?; - create_link( - input.target_creator, - input.base_follower, - LinkTypes::CreatorToFollowers, - (), + let _: TrustAtom = call_local_zome( + "trust_atom", + "create_trust_atom", + TrustAtomInput { + target: AnyLinkableHash::from(input.target_creator), + content: Some(String::from(FOLLOW_TOPIC)), + value: None, + extra: None, + }, )?; Ok(()) @@ -25,31 +41,48 @@ pub fn add_creator_for_follower(input: AddCreatorForFollowerInput) -> ExternResu pub fn get_creators_for_follower( input: GetCreatorsForFollowerInput, ) -> ExternResult> { - let links = get_links(input.follower, LinkTypes::FollowerToCreators, None)?; - let links_page = paginate_by_agentpubkey(links, input.page)?; + let links_from_follower_to_creators: Vec = call_local_zome( + "trust_atom", + "query", + QueryInput { + source: Some(AnyLinkableHash::from(input.follower)), + target: None, + content_full: Some(String::from(FOLLOW_TOPIC)), + content_starts_with: None, + value_starts_with: None, + }, + )?; - let agents: Vec = links_page + let creators: Vec = links_from_follower_to_creators .into_iter() - .filter_map(|link| EntryHash::try_from(link.target).ok()) + .filter_map(|link| link.target_hash.into_entry_hash()) .map(AgentPubKey::from) .collect(); - Ok(agents) + Ok(creators) } #[hdk_extern] -pub fn get_followers_for_creator( - input: GetFollowersForCreatorInput, -) -> ExternResult> { - let links = get_follower_links_for_creator(input)?; +pub fn get_followers_for_creator(creator: AgentPubKey) -> ExternResult> { + let links_from_followers_to_creator: Vec = call_local_zome( + "trust_atom", + "query", + QueryInput { + source: None, + target: Some(AnyLinkableHash::from(creator)), + content_full: Some(String::from(FOLLOW_TOPIC)), + content_starts_with: None, + value_starts_with: None, + }, + )?; - let agents: Vec = links + let followers: Vec = links_from_followers_to_creator .into_iter() - .filter_map(|link| EntryHash::try_from(link.target).ok()) + .filter_map(|link| link.source_hash.into_entry_hash()) .map(AgentPubKey::from) .collect(); - Ok(agents) + Ok(followers) } #[hdk_extern] @@ -76,63 +109,67 @@ pub fn count_followers_for_creator(creator: AgentPubKey) -> ExternResult count_links(query) } -#[hdk_extern] -pub fn get_follower_links_for_creator( - input: GetFollowersForCreatorInput, -) -> ExternResult> { - let mut links = get_links(input.creator, LinkTypes::CreatorToFollowers, None)?; - links.dedup_by_key(|l| l.target.clone()); - let links_page = paginate_by_agentpubkey(links, input.page)?; - - Ok(links_page) -} - -#[hdk_extern] -pub fn get_follower_link_details_for_creator(creator: AgentPubKey) -> ExternResult { - let links = get_link_details(creator, LinkTypes::CreatorToFollowers, None)?; - - Ok(links) -} - #[hdk_extern] pub fn remove_creator_for_follower(input: RemoveCreatorForFollowerInput) -> ExternResult<()> { - let links = get_links( - input.base_follower.clone(), - LinkTypes::FollowerToCreators, - None, + let _deleted_link_count: DeleteReport = call_local_zome( + "trust_atom", + "delete_trust_atoms", + AnyLinkableHash::from(input.target_creator), )?; - for link in links { - let entry_hash = - EntryHash::try_from(link.target.clone()).map_err(|err| wasm_error!(err))?; - if AgentPubKey::from(entry_hash).eq(&input.target_creator) { - delete_link(link.create_link_hash)?; - } - } - - let links = get_links( - input.target_creator.clone(), - LinkTypes::CreatorToFollowers, - None, - )?; - - for link in links { - let entry_hash = - EntryHash::try_from(link.target.clone()).map_err(|err| wasm_error!(err))?; - if AgentPubKey::from(entry_hash).eq(&input.base_follower) { - delete_link(link.create_link_hash)?; - } - } + // let links = get_links( + // input.base_follower.clone(), + // LinkTypes::FollowerToCreators, + // None, + // )?; + + // for link in links { + // if AgentPubKey::from(EntryHash::from(link.target.clone())).eq(&input.target_creator) { + // delete_link(link.create_link_hash)?; + // } + // } + + // let links = get_links( + // input.target_creator.clone(), + // // TODO trust atoms instead + // // LinkTypes::TrustAtom, + // None, + // )?; + + // for link in links { + // if AgentPubKey::from(EntryHash::from(link.target.clone())).eq(&input.base_follower) { + // delete_link(link.create_link_hash)?; + // } + // } Ok(()) } #[hdk_extern] -pub fn follow(agent: AgentPubKey) -> ExternResult<()> { +pub fn follow(input: FollowInput) -> ExternResult<()> { + let agent_pubkey = agent_info()?.agent_initial_pubkey; + if input.agent == agent_pubkey { + return Err(wasm_error!("You cannot follow yourself")); + } + add_creator_for_follower(AddCreatorForFollowerInput { - base_follower: agent_info()?.agent_initial_pubkey, - target_creator: agent, - }) + base_follower: agent_pubkey, + target_creator: input.agent.clone(), + })?; + + for follow_topic in input.follow_topics { + let _: TrustAtom = call_local_zome( + "trust_atom", + "create_trust_atom", + TrustAtomInput { + target: AnyLinkableHash::from(input.agent.clone()), + content: Some(follow_topic.topic), + value: follow_topic.weight, + extra: None, + }, + )?; + } + Ok(()) } #[hdk_extern] diff --git a/dnas/mewsfeed/zomes/coordinator/mews/Cargo.toml b/dnas/mewsfeed/zomes/coordinator/mews/Cargo.toml index 844c2618..6d620f0e 100644 --- a/dnas/mewsfeed/zomes/coordinator/mews/Cargo.toml +++ b/dnas/mewsfeed/zomes/coordinator/mews/Cargo.toml @@ -11,11 +11,12 @@ name = "mews" hdk = { workspace = true } serde = { workspace = true } regex = "1" -mews_integrity = { workspace = true } -prefix_index = { git = "https://github.com/holochain-open-dev/holochain-prefix-index", tag = "0.6.0", module = "lib/prefix_index" } +mews_integrity = { workspace = true } +prefix_index = { git = "https://github.com/holochain-open-dev/holochain-prefix-index", tag = "0.7.0", module = "lib/prefix_index" } profiles_integrity = { workspace = true } mews_types = { workspace = true } rand = "0.8.5" hc_call_utils = { workspace = true } hc_link_pagination = { workspace = true } follows_types = { workspace = true } +trust_atom_types = { workspace = true } diff --git a/dnas/mewsfeed/zomes/coordinator/mews/src/all_mews.rs b/dnas/mewsfeed/zomes/coordinator/mews/src/all_mews.rs index d9808d62..d780225e 100644 --- a/dnas/mewsfeed/zomes/coordinator/mews/src/all_mews.rs +++ b/dnas/mewsfeed/zomes/coordinator/mews/src/all_mews.rs @@ -1,6 +1,137 @@ +use crate::hashtag_to_mews::*; +use crate::mew_with_context::get_batch_mews_with_context; +use hc_call_utils::call_local_zome; use hdk::prelude::*; use mews_integrity::*; +use trust_atom_types::{QueryMineInput, TrustAtom}; +#[hdk_extern] +pub fn get_all_mews(_: ()) -> ExternResult> { + let hashes = get_all_mew_hashes()?; + let get_input: Vec = hashes + .into_iter() + .map(|hash| GetInput::new(hash.into(), GetOptions::default())) + .collect(); + let records = HDK.with(|hdk| hdk.borrow().get(get_input))?; + let records: Vec = records.into_iter().flatten().collect(); + + Ok(records) +} + +#[hdk_extern] +pub fn get_all_mews_with_context(_: ()) -> ExternResult> { + let hashes = get_all_mew_hashes()?; + + get_batch_mews_with_context(hashes) +} + +#[hdk_extern] +pub fn get_trusted_mews_with_context(input: RecommendedInput) -> ExternResult> { + let oldest_mew_seconds = input.oldest_mew_seconds.unwrap_or(60 * 60 * 24 * 7 * 2); + + // get all TrustAtoms -- topic/author combos "rated" by this agent + let trust_atoms: Vec = call_local_zome( + "trust_atom", + "query_mine", + QueryMineInput { + target: None, + content_full: None, + content_starts_with: None, + // content_not_starts_with: Some(String::from("__")), // TODO use this or manually filter + value_starts_with: None, + }, + )?; + + let topics_by_author: Vec = trust_atoms + .into_iter() + .filter(|atom| match atom.content.clone() { + Some(content) => content != FOLLOW_TOPIC, + None => true, + }) + .collect(); + + // debug!("topics_by_author: {:#?}", topics_by_author); + + // filter for those TrustAtoms above a weight threshold (>= 0) + let recomended_topics_by_author = + topics_by_author + .into_iter() + .filter_map(|atom| match atom.value.clone() { + Some(value_string) => { + let value_float: Result = value_string.parse(); + match value_float { + Ok(value_float) => { + if value_float >= 0f32 { + // let key = format!( + // "{}{}", + // atom.target_hash.clone(), + // atom.content.clone().unwrap_or(String::from("")) + // ); + Some(atom) + } else { + None + } + } + _ => None, + } + } + None => None, // null value/weight is allowed in TrustAtom lib, but not in MewsFeed + }); + + debug!( + "recomended_topics_by_author: {:#?}", + recomended_topics_by_author, + ); + + // get all mews by those authors + let mut trust_feed_mews: Vec = recomended_topics_by_author + .flat_map(|atom| { + let followed_author = atom.target_hash.clone().into_agent_pub_key(); + if let Some(pubkey) = followed_author { + match atom.content.clone() { + None => vec![], // TODO get all mews by this author + Some(content) => { + let feed_mews_result = get_mews_for_hashtag_by_author_with_context( + format!("#{}", content), // add # (hash) to make it a hashtag + pubkey, + ); + // debug!("feed_mews_result: {:#?}", feed_mews_result); + match feed_mews_result { + Ok(feed_mews) => feed_mews + .into_iter() + .map(|feed_mew| FeedMew { + weight: Some( + atom.value + .clone() + .unwrap_or_else(|| String::from("0")) + .parse::() + .unwrap_or(0.0), + ), + topic: atom.content.clone(), + ..feed_mew + }) + .collect(), + Err(_) => vec![], + } + } + } + } else { + vec![] + } + }) + .collect(); + + debug!( + "trust_feed_mews: {:#?}", + trust_feed_mews + .clone() + .into_iter() + .map(|feed_mew| feed_mew.clone().mew.text) + .collect::>() + ); + + Ok(trust_feed_mews) +} pub fn get_all_mew_hashes() -> ExternResult> { let path = Path::from("all_mews"); let mut links = get_links(path.path_entry_hash()?, LinkTypes::AllMews, None)?; diff --git a/dnas/mewsfeed/zomes/coordinator/mews/src/hashtag_to_mews.rs b/dnas/mewsfeed/zomes/coordinator/mews/src/hashtag_to_mews.rs index 4b89b733..26d34762 100644 --- a/dnas/mewsfeed/zomes/coordinator/mews/src/hashtag_to_mews.rs +++ b/dnas/mewsfeed/zomes/coordinator/mews/src/hashtag_to_mews.rs @@ -3,14 +3,16 @@ use hc_link_pagination::HashPagination; use hdk::prelude::*; use mews_integrity::*; -#[derive(Serialize, Deserialize, Debug)] +use crate::mew_with_context::get_mew_with_context; + +#[derive(Serialize, Deserialize, Debug, Clone)] pub struct AddHashtagForMewInput { pub base_hashtag: String, pub target_mew_hash: ActionHash, } #[hdk_extern] pub fn add_hashtag_for_mew(input: AddHashtagForMewInput) -> ExternResult<()> { - // Add cashtag to prefix index + // Add hashtag to prefix index let tag_text = make_tag_text(input.base_hashtag.clone()); let prefix_index = make_tag_prefix_index()?; let path = prefix_index.add_result_with_label(tag_text, input.base_hashtag.clone())?; @@ -18,11 +20,34 @@ pub fn add_hashtag_for_mew(input: AddHashtagForMewInput) -> ExternResult<()> { // Link from hashtag to mew_hash create_link( path.path_entry_hash()?, - input.target_mew_hash, + input.clone().target_mew_hash, LinkTypes::HashtagToMews, LinkTag(input.base_hashtag.as_bytes().to_vec()), )?; + add_hashtag_by_author_for_mew(input)?; + + Ok(()) +} + +pub fn add_hashtag_by_author_for_mew(input: AddHashtagForMewInput) -> ExternResult<()> { + let tag_text = make_hashtag_text(input.base_hashtag.clone()); + let prefix_index = make_tag_prefix_index()?; + + let me = agent_info()?.agent_latest_pubkey; + let path_text = format!("{}.{}", tag_text, me); + debug!("path_text on create --- {}", path_text); + + let path = prefix_index.add_result(path_text)?; + + // Link from hashtag to mew_hash + create_link( + path.path_entry_hash()?, + input.target_mew_hash, + LinkTypes::HashtagByAuthorToMews, + LinkTag(input.base_hashtag.as_bytes().to_vec()), + )?; + Ok(()) } @@ -62,5 +87,55 @@ pub struct GetMewsForHashtagWithContextInput { pub fn get_mews_for_hashtag_with_context( input: GetMewsForHashtagWithContextInput, ) -> ExternResult> { - get_mews_for_tag_with_context(input.hashtag, LinkTypes::HashtagToMews, input.page) + // Get links from hashtag to mew + let tag = make_hashtag_text(input.hashtag.clone()); + let prefix_index = make_tag_prefix_index()?; + let result_path: Path = prefix_index.make_result_path(tag, Some(input.hashtag))?; + + let links = get_links( + result_path.path_entry_hash()?, + LinkTypes::HashtagToMews, + None, + )?; + + // Get mews with context + let feedmews: Vec = links + .into_iter() + .filter_map(|l| l.target.into_action_hash()) + .filter_map(|ah| get_mew_with_context(ah).ok()) + .collect(); + + Ok(feedmews) +} + +pub fn get_mews_for_hashtag_by_author_with_context( + hashtag: String, + agent: AgentPubKey, +) -> ExternResult> { + // Get links from hashtag to mew + let tag = make_hashtag_text(hashtag.clone()); + let prefix_index = make_tag_prefix_index()?; + + let path_text = format!("{}.{}", tag, agent); + debug!("path_text --- {}", path_text); + + let result_path: Path = prefix_index.make_result_path(path_text, None)?; + + let links = get_links( + result_path.path_entry_hash()?, + LinkTypes::HashtagByAuthorToMews, + None, + )?; + + // Get mews with context + let feedmews: Vec = links + .into_iter() + .filter_map(|l| l.target.into_action_hash()) + .filter_map(|ah| get_mew_with_context(ah).ok()) + .collect(); + Ok(feedmews) +} + +fn make_hashtag_text(text: String) -> String { + text.split('#').nth(1).unwrap_or(&text).to_string() } diff --git a/dnas/mewsfeed/zomes/coordinator/mews/src/mew_to_responses.rs b/dnas/mewsfeed/zomes/coordinator/mews/src/mew_to_responses.rs index a67799cc..dda1997e 100644 --- a/dnas/mewsfeed/zomes/coordinator/mews/src/mew_to_responses.rs +++ b/dnas/mewsfeed/zomes/coordinator/mews/src/mew_to_responses.rs @@ -52,7 +52,7 @@ pub fn get_response_hashes_for_mew( let links_page = paginate_by_hash(links, input.page)?; let hashes: Vec = links_page .into_iter() - .filter_map(|link| ActionHash::try_from(link.target).ok()) + .filter_map(|link| link.target.into_action_hash()) .collect(); Ok(hashes) diff --git a/dnas/mewsfeed/zomes/coordinator/mews/src/mew_with_context.rs b/dnas/mewsfeed/zomes/coordinator/mews/src/mew_with_context.rs index 5cbbee75..8b07f714 100644 --- a/dnas/mewsfeed/zomes/coordinator/mews/src/mew_with_context.rs +++ b/dnas/mewsfeed/zomes/coordinator/mews/src/mew_with_context.rs @@ -5,6 +5,7 @@ use hc_call_utils::call_local_zome; use hdk::prelude::*; use mews_integrity::*; use mews_types::Profile; +use trust_atom_types::{QueryInput, TrustAtom}; #[hdk_extern] pub fn get_mew_with_context(original_mew_hash: ActionHash) -> ExternResult { @@ -24,6 +25,7 @@ pub fn get_mew_with_context(original_mew_hash: ActionHash) -> ExternResult ExternResult = call_local_zome( + "trust_atom", + "query", + QueryInput { + source: None, + target: Some(AnyLinkableHash::from(creator.clone())), + content_full: Some(String::from(FOLLOW_TOPIC)), + content_starts_with: None, + value_starts_with: None, + }, + )?; + match mew.clone().mew_type { MewType::Original => Ok(FeedMew { mew, @@ -84,6 +98,8 @@ pub fn get_mew_with_context(original_mew_hash: ActionHash) -> ExternResult ExternResult Err(wasm_error!(WasmErrorInner::Guest(String::from( diff --git a/dnas/mewsfeed/zomes/coordinator/mews/src/tag_to_mews.rs b/dnas/mewsfeed/zomes/coordinator/mews/src/tag_to_mews.rs index 62b45e6e..d662cf37 100644 --- a/dnas/mewsfeed/zomes/coordinator/mews/src/tag_to_mews.rs +++ b/dnas/mewsfeed/zomes/coordinator/mews/src/tag_to_mews.rs @@ -16,7 +16,7 @@ pub fn get_mew_hashes_for_tag( let links_page = paginate_by_hash(links, page)?; let hashes: Vec = links_page .iter() - .filter_map(|l| ActionHash::try_from(l.target.clone()).ok()) + .filter_map(|l| l.target.clone().into_action_hash()) .collect(); Ok(hashes) diff --git a/dnas/mewsfeed/zomes/coordinator/trust_atom/Cargo.toml b/dnas/mewsfeed/zomes/coordinator/trust_atom/Cargo.toml new file mode 100644 index 00000000..15bd5ce3 --- /dev/null +++ b/dnas/mewsfeed/zomes/coordinator/trust_atom/Cargo.toml @@ -0,0 +1,22 @@ +[package] +edition = "2021" +name = "trust_atom_zome" +version = "0.0.1" + +[lib] +crate-type = ["cdylib", "rlib"] +name = "trust_atom_zome" + +[dependencies] +trust_atom = { git = "https://github.com/trustgraph/trustgraph-holochain.git", package = "trust_atom", branch = "mewsfeed-hackathon-10-17-23" } + +hdk = { workspace = true } +serde = { workspace = true } +rust_decimal = "1" + +[dev-dependencies] +holochain = { version = "=0.2.2", default-features = false, features = [ + "test_utils", +] } +tokio = { version = "1.3", features = ["full"] } +futures = { version = "0.3.1", default-features = false } diff --git a/dnas/mewsfeed/zomes/coordinator/trust_atom/src/lib.rs b/dnas/mewsfeed/zomes/coordinator/trust_atom/src/lib.rs new file mode 100644 index 00000000..c8ebc9f6 --- /dev/null +++ b/dnas/mewsfeed/zomes/coordinator/trust_atom/src/lib.rs @@ -0,0 +1 @@ +pub extern crate trust_atom; diff --git a/dnas/mewsfeed/zomes/coordinator/trust_atom/tests/trust_atom_tests.rs b/dnas/mewsfeed/zomes/coordinator/trust_atom/tests/trust_atom_tests.rs new file mode 100644 index 00000000..5a86a1bc --- /dev/null +++ b/dnas/mewsfeed/zomes/coordinator/trust_atom/tests/trust_atom_tests.rs @@ -0,0 +1,265 @@ +#![warn(warnings)] + +use serial_test::serial; + +use hdk::prelude::*; +use holochain::conductor::config::ConductorConfig; +use holochain::sweettest::{ + SweetCell, SweetConductor, SweetConductorBatch, SweetDnaFile, SweetZome, +}; +use holochain::test_utils::consistency_60s; + +use mews_integrity::*; // for the types + +const DNA_FILEPATH: &str = "../../workdir/mewsfeed.dna"; +const ZOME_NAME: &str = "mews"; + +#[tokio::test(flavor = "multi_thread")] +#[serial] + +async fn trusted_feed_is_based_on_follow_topics() { + let mut agent_group = setup().await; + let agents = agent_group.create_agents().await; + let ann = &agents[0]; + let bob = &agents[1]; + let cat = &agents[2]; + + ann.follow(FollowInput { + agent: bob.pubkey.clone(), + follow_topics: vec![FollowTopicInput { + topic: String::from("holochain"), + weight: String::from("1.0"), + }], + follow_other: false, + }) + .await; + + ann.follow(FollowInput { + agent: cat.pubkey.clone(), + follow_topics: vec![FollowTopicInput { + topic: String::from("blockchain"), + weight: String::from("1.0"), + }], + follow_other: false, + }) + .await; + + bob.create_mew(CreateMewInput { + mew_type: MewType::Original, + text: Some(String::from("Wow #holochain is cool!")), + links: None, + }) + .await; + + cat.create_mew(CreateMewInput { + mew_type: MewType::Original, + text: Some(String::from("Doh #holochain when moon?")), + links: None, + }) + .await; + + consistency_60s([ + &(ann.cell.clone()), + &(bob.cell.clone()), + &(cat.cell.clone()), + ]) + .await; +} + +#[tokio::test(flavor = "multi_thread")] +#[serial] + +async fn trusted_feed_is_ordered_by_topic_weights() { + let mut agent_group = setup().await; + let agents = agent_group.create_agents().await; + let ann = &agents[0]; + let bob = &agents[1]; + let cat = &agents[2]; + + ann.follow(FollowInput { + agent: bob.pubkey.clone(), + follow_topics: vec![FollowTopicInput { + topic: String::from("holochain"), + weight: String::from("1.0"), + }], + follow_other: false, + }) + .await; + + ann.follow(FollowInput { + agent: cat.pubkey.clone(), + follow_topics: vec![FollowTopicInput { + topic: String::from("holochain"), + weight: String::from("0.5"), + }], + follow_other: false, + }) + .await; + + ann.follow(FollowInput { + agent: bob.pubkey.clone(), + follow_topics: vec![FollowTopicInput { + topic: String::from("blockchain"), + weight: String::from("0.25"), + }], + follow_other: false, + }) + .await; + + ann.follow(FollowInput { + agent: cat.pubkey.clone(), + follow_topics: vec![FollowTopicInput { + topic: String::from("blockchain"), + weight: String::from("0"), + }], + follow_other: false, + }) + .await; + + bob.create_mew(CreateMewInput { + mew_type: MewType::Original, + text: Some(String::from("#holochain from bob, weight 1.0")), + links: None, + }) + .await; + + bob.create_mew(CreateMewInput { + mew_type: MewType::Original, + text: Some(String::from("#blockchain from bob, weight 0.25")), + links: None, + }) + .await; + + cat.create_mew(CreateMewInput { + mew_type: MewType::Original, + text: Some(String::from("#blockchain from cat, weight 0.0")), + links: None, + }) + .await; + + cat.create_mew(CreateMewInput { + mew_type: MewType::Original, + text: Some(String::from("#holochain from cat, weight 0.5")), + links: None, + }) + .await; + + consistency_60s([ + &(ann.cell.clone()), + &(bob.cell.clone()), + &(cat.cell.clone()), + ]) + .await; + + assert_eq!(recommended_feed.len(), 4); + assert_eq!( + recommended_feed[0] + .feed_mew + .mew + .content + .as_ref() + .unwrap() + .text, + String::from("#holochain from bob, weight 1.0") + ); + assert_eq!( + recommended_feed[1] + .feed_mew + .mew + .content + .as_ref() + .unwrap() + .text, + String::from("#holochain from cat, weight 0.5") + ); + assert_eq!( + recommended_feed[2] + .feed_mew + .mew + .content + .as_ref() + .unwrap() + .text, + String::from("#blockchain from bob, weight 0.25") + ); + assert_eq!( + recommended_feed[3] + .feed_mew + .mew + .content + .as_ref() + .unwrap() + .text, + String::from("#blockchain from cat, weight 0.0") + ); +} + +// +// ^^^ TESTS: ^^^ +// +// vvv TEST HELPERS: vvv +// + +pub struct Agent<'a> { + pub cell: SweetCell, + pub conductor: &'a SweetConductor, + pub pubkey: AgentPubKey, + pub zome: SweetZome, +} + +impl Agent<'_> { + pub async fn follow(&self, input: FollowInput) { + self.conductor.call(&self.zome, "follow", input).await + } + + pub async fn create_mew(&self, input: CreateMewInput) -> ActionHash { + self.conductor.call(&self.zome, "create_mew", input).await + } + + pub async fn recommended(&self, input: RecommendedInput) -> Vec { + self.conductor.call(&self.zome, "recommended", input).await + } +} + +pub struct AgentGroup { + conductors: SweetConductorBatch, +} + +impl AgentGroup { + #[allow(clippy::needless_lifetimes)] + pub async fn create_agents<'a>(&'a mut self) -> Vec> { + let dna_path = std::env::current_dir().unwrap().join(DNA_FILEPATH); + let dna = SweetDnaFile::from_bundle(&dna_path).await.unwrap(); + + let apps = self.conductors.setup_app(ZOME_NAME, &[dna]).await.unwrap(); + self.conductors.exchange_peer_info().await; + + let ((ann_cell,), (bob_cell,), (cat_cell,)) = apps.into_tuples(); + + let ann = Agent { + cell: ann_cell.clone(), + conductor: self.conductors.get(0).unwrap(), + pubkey: ann_cell.agent_pubkey().clone(), + zome: ann_cell.zome(ZOME_NAME), + }; + let bob = Agent { + cell: bob_cell.clone(), + conductor: self.conductors.get(1).unwrap(), + pubkey: bob_cell.agent_pubkey().clone(), + zome: bob_cell.zome(ZOME_NAME), + }; + let cat = Agent { + cell: cat_cell.clone(), + conductor: self.conductors.get(2).unwrap(), + pubkey: cat_cell.agent_pubkey().clone(), + zome: cat_cell.zome(ZOME_NAME), + }; + + vec![ann, bob, cat] + } +} + +pub async fn setup() -> AgentGroup { + let conductors = SweetConductorBatch::from_config(3, ConductorConfig::default()).await; + AgentGroup { conductors } +} diff --git a/dnas/mewsfeed/zomes/integrity/mews/Cargo.toml b/dnas/mewsfeed/zomes/integrity/mews/Cargo.toml index f5d00d75..a4e6ec13 100644 --- a/dnas/mewsfeed/zomes/integrity/mews/Cargo.toml +++ b/dnas/mewsfeed/zomes/integrity/mews/Cargo.toml @@ -11,5 +11,5 @@ name = "mews_integrity" hdi = { workspace = true } hdk = { workspace = true } serde = { workspace = true } -prefix_index = { git = "https://github.com/holochain-open-dev/holochain-prefix-index", tag = "0.6.0", module = "lib/prefix_index" } -mews_types = { workspace = true } \ No newline at end of file +prefix_index = { git = "https://github.com/holochain-open-dev/holochain-prefix-index", tag = "0.7.0", module = "lib/prefix_index" } +mews_types = { workspace = true } diff --git a/dnas/mewsfeed/zomes/integrity/mews/src/all_mews.rs b/dnas/mewsfeed/zomes/integrity/mews/src/all_mews.rs index b70fc7c0..08cee493 100644 --- a/dnas/mewsfeed/zomes/integrity/mews/src/all_mews.rs +++ b/dnas/mewsfeed/zomes/integrity/mews/src/all_mews.rs @@ -1,6 +1,12 @@ use hdi::prelude::*; use hdk::prelude::Path; +#[derive(Serialize, Deserialize, SerializedBytes, Debug, Clone)] +pub struct RecommendedInput { + pub now: hdi::prelude::Timestamp, + pub oldest_mew_seconds: Option, +} + pub fn validate_create_link_all_mews( _action: CreateLink, base_address: AnyLinkableHash, diff --git a/dnas/mewsfeed/zomes/integrity/mews/src/lib.rs b/dnas/mewsfeed/zomes/integrity/mews/src/lib.rs index cf73e499..0dd89988 100644 --- a/dnas/mewsfeed/zomes/integrity/mews/src/lib.rs +++ b/dnas/mewsfeed/zomes/integrity/mews/src/lib.rs @@ -45,6 +45,7 @@ pub enum LinkTypes { MewToResponses, MentionToMews, HashtagToMews, + HashtagByAuthorToMews, CashtagToMews, } @@ -137,7 +138,7 @@ pub fn validate(op: Op) -> ExternResult { LinkTypes::MentionToMews => { validate_create_link_mention_to_mews(action, base_address, target_address, tag) } - LinkTypes::HashtagToMews => { + LinkTypes::HashtagToMews | LinkTypes::HashtagByAuthorToMews => { validate_create_link_hashtag_to_mews(action, base_address, target_address, tag) } LinkTypes::CashtagToMews => { @@ -204,13 +205,15 @@ pub fn validate(op: Op) -> ExternResult { target_address, tag, ), - LinkTypes::HashtagToMews => validate_delete_link_hashtag_to_mews( - action, - original_action, - base_address, - target_address, - tag, - ), + LinkTypes::HashtagToMews | LinkTypes::HashtagByAuthorToMews => { + validate_delete_link_hashtag_to_mews( + action, + original_action, + base_address, + target_address, + tag, + ) + } }, FlatOp::StoreRecord(store_record) => match store_record { OpRecord::CreateEntry { app_entry, action } => match app_entry { @@ -358,7 +361,7 @@ pub fn validate(op: Op) -> ExternResult { LinkTypes::MentionToMews => { validate_create_link_mention_to_mews(action, base_address, target_address, tag) } - LinkTypes::HashtagToMews => { + LinkTypes::HashtagToMews | LinkTypes::HashtagByAuthorToMews => { validate_create_link_hashtag_to_mews(action, base_address, target_address, tag) } LinkTypes::CashtagToMews => { @@ -443,13 +446,15 @@ pub fn validate(op: Op) -> ExternResult { create_link.target_address, create_link.tag, ), - LinkTypes::HashtagToMews => validate_delete_link_hashtag_to_mews( - action, - create_link.clone(), - base_address, - create_link.target_address, - create_link.tag, - ), + LinkTypes::HashtagToMews | LinkTypes::HashtagByAuthorToMews => { + validate_delete_link_hashtag_to_mews( + action, + create_link.clone(), + base_address, + create_link.target_address, + create_link.tag, + ) + } } } OpRecord::CreatePrivateEntry { .. } => Ok(ValidateCallbackResult::Valid), diff --git a/dnas/mewsfeed/zomes/integrity/trust_atom/Cargo.toml b/dnas/mewsfeed/zomes/integrity/trust_atom/Cargo.toml new file mode 100644 index 00000000..1cde5a6a --- /dev/null +++ b/dnas/mewsfeed/zomes/integrity/trust_atom/Cargo.toml @@ -0,0 +1,15 @@ +[package] +edition = "2021" +name = "trust_atom_integrity_zome" +version = "0.0.1" + +[lib] +crate-type = ["cdylib", "rlib"] +name = "trust_atom_integrity_zome" + +[dependencies] +trust_atom_integrity = { git = "https://github.com/trustgraph/trustgraph-holochain.git", package = "trust_atom_integrity", branch = "mewsfeed-hackathon-10-17-23" } + +hdk = { workspace = true } +serde = { workspace = true } +rust_decimal = "1" diff --git a/dnas/mewsfeed/zomes/integrity/trust_atom/src/lib.rs b/dnas/mewsfeed/zomes/integrity/trust_atom/src/lib.rs new file mode 100644 index 00000000..c5d8cc20 --- /dev/null +++ b/dnas/mewsfeed/zomes/integrity/trust_atom/src/lib.rs @@ -0,0 +1 @@ +pub extern crate trust_atom_integrity; diff --git a/flake.lock b/flake.lock index f482e97f..4c8d9f22 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": [ - "holonix", - "holochain", - "nixpkgs" - ], - "rust-overlay": "rust-overlay_2" - }, - "locked": { - "lastModified": 1675475924, - "narHash": "sha256-KWdfV9a6+zG6Ij/7PZYLnomjBZZUu8gdRy+hfjGrrJQ=", - "owner": "ipetkov", - "repo": "crane", - "rev": "1bde9c762ebf26de9f8ecf502357c92105bc4577", - "type": "github" - }, - "original": { - "owner": "ipetkov", - "repo": "crane", - "type": "github" - } - }, "crate2nix": { "flake": false, "locked": { @@ -133,22 +74,6 @@ "type": "github" } }, - "crate2nix_2": { - "flake": false, - "locked": { - "lastModified": 1675642992, - "narHash": "sha256-uDBDZuiq7qyg82Udp82/r4zg5HKfIzBQqgl2U9THiQM=", - "owner": "kolloch", - "repo": "crate2nix", - "rev": "45fc83132c8c91c77a1cd61fe0c945411d1edba8", - "type": "github" - }, - "original": { - "owner": "kolloch", - "repo": "crate2nix", - "type": "github" - } - }, "empty": { "flake": false, "locked": { @@ -165,22 +90,6 @@ "type": "github" } }, - "empty_2": { - "flake": false, - "locked": { - "lastModified": 1683792623, - "narHash": "sha256-pQpattmS9VmO3ZIQUFn66az8GSmB4IvYhTTCFn6SUmo=", - "owner": "steveej", - "repo": "empty", - "rev": "8e328e450e4cd32e072eba9e99fe92cf2a1ef5cf", - "type": "github" - }, - "original": { - "owner": "steveej", - "repo": "empty", - "type": "github" - } - }, "flake-compat": { "flake": false, "locked": { @@ -213,38 +122,6 @@ "type": "github" } }, - "flake-compat_3": { - "flake": false, - "locked": { - "lastModified": 1673956053, - "narHash": "sha256-4gtG9iQuiKITOjNQQeQIpoIB6b16fm+504Ch3sNKLd8=", - "owner": "edolstra", - "repo": "flake-compat", - "rev": "35bb57c0c8d8b62bbfd284272c928ceb64ddbde9", - "type": "github" - }, - "original": { - "owner": "edolstra", - "repo": "flake-compat", - "type": "github" - } - }, - "flake-compat_4": { - "flake": false, - "locked": { - "lastModified": 1673956053, - "narHash": "sha256-4gtG9iQuiKITOjNQQeQIpoIB6b16fm+504Ch3sNKLd8=", - "owner": "edolstra", - "repo": "flake-compat", - "rev": "35bb57c0c8d8b62bbfd284272c928ceb64ddbde9", - "type": "github" - }, - "original": { - "owner": "edolstra", - "repo": "flake-compat", - "type": "github" - } - }, "flake-parts": { "inputs": { "nixpkgs-lib": "nixpkgs-lib" @@ -262,23 +139,6 @@ "type": "indirect" } }, - "flake-parts_2": { - "inputs": { - "nixpkgs-lib": "nixpkgs-lib_2" - }, - "locked": { - "lastModified": 1675295133, - "narHash": "sha256-dU8fuLL98WFXG0VnRgM00bqKX6CEPBLybhiIDIgO45o=", - "owner": "hercules-ci", - "repo": "flake-parts", - "rev": "bf53492df08f3178ce85e0c9df8ed8d03c030c9f", - "type": "github" - }, - "original": { - "id": "flake-parts", - "type": "indirect" - } - }, "flake-utils": { "locked": { "lastModified": 1667395993, @@ -295,21 +155,6 @@ } }, "flake-utils_2": { - "locked": { - "lastModified": 1667395993, - "narHash": "sha256-nuEHfE/LcWyuSWnS8t12N1wc105Qtau+/OdUAjtQ0rA=", - "owner": "numtide", - "repo": "flake-utils", - "rev": "5aed5285a952e0b949eb3ba02c12fa4fcfef535f", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "flake-utils", - "type": "github" - } - }, - "flake-utils_3": { "inputs": { "systems": "systems" }, @@ -327,104 +172,36 @@ "type": "github" } }, - "flake-utils_4": { - "inputs": { - "systems": "systems_2" - }, - "locked": { - "lastModified": 1681202837, - "narHash": "sha256-H+Rh19JDwRtpVPAWp64F+rlEtxUWBAQW28eAi3SRSzg=", - "owner": "numtide", - "repo": "flake-utils", - "rev": "cfacdce06f30d2b68473a46042957675eebb3401", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "flake-utils", - "type": "github" - } - }, "holochain": { - "inputs": { - "cargo-chef": "cargo-chef_2", - "cargo-rdme": "cargo-rdme_2", - "crane": "crane_2", - "crate2nix": "crate2nix_2", - "empty": "empty_2", - "flake-compat": "flake-compat_4", - "flake-parts": "flake-parts_2", - "holochain": [ - "holonix", - "holochain", - "empty" - ], - "lair": [ - "holonix", - "holochain", - "empty" - ], - "launcher": [ - "holonix", - "holochain", - "empty" - ], - "nix-filter": "nix-filter", - "nixpkgs": "nixpkgs", - "pre-commit-hooks-nix": "pre-commit-hooks-nix", - "rust-overlay": "rust-overlay_3", - "scaffolding": [ - "holonix", - "holochain", - "empty" - ], - "versions": "versions" - }, - "locked": { - "lastModified": 1690227710, - "narHash": "sha256-HRVEz5Ldg2+pqciOpZ9fNdMfU93r/3LmUsbTA9jfDIY=", - "owner": "holochain", - "repo": "holochain", - "rev": "3f594f1a5cef41e896b99b6b46d336d54da3299d", - "type": "github" - }, - "original": { - "owner": "holochain", - "ref": "holochain-0.2.1", - "repo": "holochain", - "type": "github" - } - }, - "holochain_2": { "flake": false, "locked": { - "lastModified": 1686257124, - "narHash": "sha256-SvXGHOr96ob/NfQCeVJ2J4LWc83qkZn+/pnE9qVNB+I=", + "lastModified": 1694632043, + "narHash": "sha256-5QWUpWnwuzUi3hROrOZyQNla8iGdr+oGCH2nniRePBE=", "owner": "holochain", "repo": "holochain", - "rev": "db5b8b27da3bf296958c3bf54ac3950dc60a39c8", + "rev": "1f59d33623031eefe76b5f3573970c9c33f21877", "type": "github" }, "original": { "owner": "holochain", - "ref": "holochain-0.1.5", + "ref": "holochain-0.2.2", "repo": "holochain", "type": "github" } }, - "holochain_3": { + "holochain_2": { "flake": false, "locked": { - "lastModified": 1690227710, - "narHash": "sha256-HRVEz5Ldg2+pqciOpZ9fNdMfU93r/3LmUsbTA9jfDIY=", + "lastModified": 1694632043, + "narHash": "sha256-5QWUpWnwuzUi3hROrOZyQNla8iGdr+oGCH2nniRePBE=", "owner": "holochain", "repo": "holochain", - "rev": "3f594f1a5cef41e896b99b6b46d336d54da3299d", + "rev": "1f59d33623031eefe76b5f3573970c9c33f21877", "type": "github" }, "original": { "owner": "holochain", - "ref": "holochain-0.2.1", + "ref": "holochain-0.2.2", "repo": "holochain", "type": "github" } @@ -447,11 +224,11 @@ "holonix", "empty" ], - "nix-filter": "nix-filter_2", - "nixpkgs": "nixpkgs_2", - "pre-commit-hooks-nix": "pre-commit-hooks-nix_2", + "nix-filter": "nix-filter", + "nixpkgs": "nixpkgs", + "pre-commit-hooks-nix": "pre-commit-hooks-nix", "repo-git": "repo-git", - "rust-overlay": "rust-overlay_4", + "rust-overlay": "rust-overlay_2", "scaffolding": [ "holonix", "empty" @@ -461,11 +238,11 @@ ] }, "locked": { - "lastModified": 1694163327, - "narHash": "sha256-bZinDVDRa3aKshL2KaI5Nna3ohtwu1q27z8Z+IbwJrk=", + "lastModified": 1696455184, + "narHash": "sha256-vAXeWhyQ0310knoxSAdKFRsdRI+Ntiy6A/LjLduArrE=", "owner": "holochain", "repo": "holochain", - "rev": "78ae6e3a7d69a906e6112b09fada7ac43b0b1eea", + "rev": "764e44951a2271f69ef6e1ea192c9ccadfb4022e", "type": "github" }, "original": { @@ -477,55 +254,21 @@ "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", - "repo": "lair", - "type": "github" - } - }, - "lair_2": { - "flake": false, - "locked": { - "lastModified": 1682356264, - "narHash": "sha256-5ZYJ1gyyL3hLR8hCjcN5yremg8cSV6w1iKCOrpJvCmc=", - "owner": "holochain", - "repo": "lair", - "rev": "43be404da0fd9d57bf4429c44def405bd6490f61", - "type": "github" - }, - "original": { - "owner": "holochain", - "ref": "lair_keystore-v0.2.4", + "ref": "lair_keystore-v0.3.0", "repo": "lair", "type": "github" } }, "launcher": { - "flake": false, - "locked": { - "lastModified": 1677270906, - "narHash": "sha256-/xT//6nqhjpKLMMv41JE0W3H5sE9jKMr8Dedr88D4N8=", - "owner": "holochain", - "repo": "launcher", - "rev": "1ad188a43900c139e52df10a21e3722f41dfb967", - "type": "github" - }, - "original": { - "owner": "holochain", - "ref": "holochain-0.1", - "repo": "launcher", - "type": "github" - } - }, - "launcher_2": { "flake": false, "locked": { "lastModified": 1684183666, @@ -557,28 +300,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": 1686869522, - "narHash": "sha256-tbJ9B8WLCTnVP/LwESRlg0dII6Zyg2LmUU/mB9Lu98E=", + "lastModified": 1696193975, + "narHash": "sha256-mnQjUcYgp9Guu3RNVAB2Srr1TqKcPpRXmJf4LJk6KRY=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "7c67f006ea0e7d0265f16d7df07cc076fdffd91f", + "rev": "fdd898f8f79e8d2f99ed2ab6b3751811ef683242", "type": "github" }, "original": { @@ -605,39 +333,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": 1693985761, - "narHash": "sha256-K5b+7j7Tt3+AqbWkcw+wMeqOAWyCD1MH26FPZyWXpdo=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "0bffda19b8af722f8069d09d8b6a24594c80b352", - "type": "github" - }, - "original": { - "id": "nixpkgs", - "ref": "nixos-unstable", - "type": "indirect" - } - }, "pre-commit-hooks-nix": { "flake": false, "locked": { @@ -654,22 +349,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" - } - }, "repo-git": { "flake": false, "locked": { @@ -689,7 +368,7 @@ "holonix", "nixpkgs" ], - "versions": "versions_2" + "versions": "versions" } }, "rust-overlay": { @@ -721,70 +400,18 @@ }, "rust-overlay_2": { "inputs": { - "flake-utils": [ - "holonix", - "holochain", - "crane", - "flake-utils" - ], - "nixpkgs": [ - "holonix", - "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": [ - "holonix", - "holochain", - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1689647697, - "narHash": "sha256-8ZX/DVpKLmr85FRKILb+2p+JuxfLQ49LjXG/gmwsoIU=", - "owner": "oxalica", - "repo": "rust-overlay", - "rev": "ed2774a9131ddad12e552ba04bd92f87df04a28b", - "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": [ "holonix", "nixpkgs" ] }, "locked": { - "lastModified": 1694139063, - "narHash": "sha256-M2dhhe6IzHmS0zQkmnzbcG98jEQGZ4UcS3VcT+rG/Do=", + "lastModified": 1696385562, + "narHash": "sha256-5JSgA1JZUZyXFx5ZQoF0y7rUQetlAm0LTkoff3jcsmo=", "owner": "oxalica", "repo": "rust-overlay", - "rev": "46dbbcaf435b0d22b149684589b9b059f73f4ffc", + "rev": "f144d5022c94a893d14c2b0e632672935dc83662", "type": "github" }, "original": { @@ -796,28 +423,11 @@ "scaffolding": { "flake": false, "locked": { - "lastModified": 1686617155, - "narHash": "sha256-ZeWnh27JNb/abu/ii8e3u4DHns49MOFMNXGPGFPqS0k=", - "owner": "holochain", - "repo": "scaffolding", - "rev": "861397c975542306be6d8529e5c6bdb21c7ba6a6", - "type": "github" - }, - "original": { - "owner": "holochain", - "ref": "holochain-0.1", - "repo": "scaffolding", - "type": "github" - } - }, - "scaffolding_2": { - "flake": false, - "locked": { - "lastModified": 1692147670, - "narHash": "sha256-jFt4LTUaUZTiOg2DLlbUqyeV2edfUxiJSljRjVJlObE=", + "lastModified": 1695674679, + "narHash": "sha256-IwgQbgitUo61ZXYSXBAro5ThfYy/yMGmzZGTb3c6sT0=", "owner": "holochain", "repo": "scaffolding", - "rev": "8a63d356a0856643769adc567e078796c6509511", + "rev": "821439b8dd49d5ce594be04c4720df25e88a4dbc", "type": "github" }, "original": { @@ -842,21 +452,6 @@ "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", @@ -864,33 +459,13 @@ "launcher": "launcher", "scaffolding": "scaffolding" }, - "locked": { - "lastModified": 1686618210, - "narHash": "sha256-lXY9ob0WAekcoEgWcFL3cJiPkwoKlsR2OMqG0S3vXzA=", - "path": "./versions/0_1", - "type": "path" - }, - "original": { - "dir": "versions/0_1", - "owner": "holochain", - "repo": "holochain", - "type": "github" - } - }, - "versions_2": { - "inputs": { - "holochain": "holochain_3", - "lair": "lair_2", - "launcher": "launcher_2", - "scaffolding": "scaffolding_2" - }, "locked": { "dir": "versions/0_2", - "lastModified": 1694163327, - "narHash": "sha256-bZinDVDRa3aKshL2KaI5Nna3ohtwu1q27z8Z+IbwJrk=", + "lastModified": 1696455184, + "narHash": "sha256-vAXeWhyQ0310knoxSAdKFRsdRI+Ntiy6A/LjLduArrE=", "owner": "holochain", "repo": "holochain", - "rev": "78ae6e3a7d69a906e6112b09fada7ac43b0b1eea", + "rev": "764e44951a2271f69ef6e1ea192c9ccadfb4022e", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index 6a03a6c6..7234f13c 100644 --- a/flake.nix +++ b/flake.nix @@ -5,7 +5,7 @@ versions.url = "github:holochain/holochain?dir=versions/0_2"; holonix.url = "github:holochain/holochain"; holonix.inputs.versions.follows = "versions"; - holonix.inputs.holochain.url = "github:holochain/holochain/holochain-0.2.1"; + holonix.inputs.holochain.url = "github:holochain/holochain/holochain-0.2.2"; }; outputs = inputs@{ holonix, ... }: diff --git a/package-lock.json b/package-lock.json index f9afd0b7..d4819cad 100644 --- a/package-lock.json +++ b/package-lock.json @@ -221,51 +221,6 @@ "kuler": "^2.0.0" } }, - "node_modules/@esbuild/android-arm": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.17.19.tgz", - "integrity": "sha512-rIKddzqhmav7MSmoFCmDIb6e2W57geRsM94gV2l38fzhXMwq7hZoClug9USI2pFRGL06f4IOPHHpFNOkWieR8A==", - "cpu": [ - "arm" - ], - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/android-arm64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.17.19.tgz", - "integrity": "sha512-KBMWvEZooR7+kzY0BtbTQn0OAYY7CsiydT63pVEaPtVYF0hXbUaOyZog37DKxK7NF3XacBJOpYT4adIJh+avxA==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/android-x64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.17.19.tgz", - "integrity": "sha512-uUTTc4xGNDT7YSArp/zbtmbhO0uEEK9/ETW29Wk1thYUJBz3IVnvgEiEwEa9IeLyvnpKrWK64Utw2bgUmDveww==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">=12" - } - }, "node_modules/@esbuild/darwin-arm64": { "version": "0.17.19", "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.17.19.tgz", @@ -281,276 +236,6 @@ "node": ">=12" } }, - "node_modules/@esbuild/darwin-x64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.17.19.tgz", - "integrity": "sha512-IJM4JJsLhRYr9xdtLytPLSH9k/oxR3boaUIYiHkAawtwNOXKE8KoU8tMvryogdcT8AU+Bflmh81Xn6Q0vTZbQw==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/freebsd-arm64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.17.19.tgz", - "integrity": "sha512-pBwbc7DufluUeGdjSU5Si+P3SoMF5DQ/F/UmTSb8HXO80ZEAJmrykPyzo1IfNbAoaqw48YRpv8shwd1NoI0jcQ==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "freebsd" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/freebsd-x64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.17.19.tgz", - "integrity": "sha512-4lu+n8Wk0XlajEhbEffdy2xy53dpR06SlzvhGByyg36qJw6Kpfk7cp45DR/62aPH9mtJRmIyrXAS5UWBrJT6TQ==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "freebsd" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-arm": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.17.19.tgz", - "integrity": "sha512-cdmT3KxjlOQ/gZ2cjfrQOtmhG4HJs6hhvm3mWSRDPtZ/lP5oe8FWceS10JaSJC13GBd4eH/haHnqf7hhGNLerA==", - "cpu": [ - "arm" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-arm64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.17.19.tgz", - "integrity": "sha512-ct1Tg3WGwd3P+oZYqic+YZF4snNl2bsnMKRkb3ozHmnM0dGWuxcPTTntAF6bOP0Sp4x0PjSF+4uHQ1xvxfRKqg==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-ia32": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.17.19.tgz", - "integrity": "sha512-w4IRhSy1VbsNxHRQpeGCHEmibqdTUx61Vc38APcsRbuVgK0OPEnQ0YD39Brymn96mOx48Y2laBQGqgZ0j9w6SQ==", - "cpu": [ - "ia32" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-loong64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.17.19.tgz", - "integrity": "sha512-2iAngUbBPMq439a+z//gE+9WBldoMp1s5GWsUSgqHLzLJ9WoZLZhpwWuym0u0u/4XmZ3gpHmzV84PonE+9IIdQ==", - "cpu": [ - "loong64" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-mips64el": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.17.19.tgz", - "integrity": "sha512-LKJltc4LVdMKHsrFe4MGNPp0hqDFA1Wpt3jE1gEyM3nKUvOiO//9PheZZHfYRfYl6AwdTH4aTcXSqBerX0ml4A==", - "cpu": [ - "mips64el" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-ppc64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.17.19.tgz", - "integrity": "sha512-/c/DGybs95WXNS8y3Ti/ytqETiW7EU44MEKuCAcpPto3YjQbyK3IQVKfF6nbghD7EcLUGl0NbiL5Rt5DMhn5tg==", - "cpu": [ - "ppc64" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-riscv64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.17.19.tgz", - "integrity": "sha512-FC3nUAWhvFoutlhAkgHf8f5HwFWUL6bYdvLc/TTuxKlvLi3+pPzdZiFKSWz/PF30TB1K19SuCxDTI5KcqASJqA==", - "cpu": [ - "riscv64" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-s390x": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.17.19.tgz", - "integrity": "sha512-IbFsFbxMWLuKEbH+7sTkKzL6NJmG2vRyy6K7JJo55w+8xDk7RElYn6xvXtDW8HCfoKBFK69f3pgBJSUSQPr+4Q==", - "cpu": [ - "s390x" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-x64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.17.19.tgz", - "integrity": "sha512-68ngA9lg2H6zkZcyp22tsVt38mlhWde8l3eJLWkyLrp4HwMUr3c1s/M2t7+kHIhvMjglIBrFpncX1SzMckomGw==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/netbsd-x64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.17.19.tgz", - "integrity": "sha512-CwFq42rXCR8TYIjIfpXCbRX0rp1jo6cPIUPSaWwzbVI4aOfX96OXY8M6KNmtPcg7QjYeDmN+DD0Wp3LaBOLf4Q==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "netbsd" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/openbsd-x64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.17.19.tgz", - "integrity": "sha512-cnq5brJYrSZ2CF6c35eCmviIN3k3RczmHz8eYaVlNasVqsNY+JKohZU5MKmaOI+KkllCdzOKKdPs762VCPC20g==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "openbsd" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/sunos-x64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.17.19.tgz", - "integrity": "sha512-vCRT7yP3zX+bKWFeP/zdS6SqdWB8OIpaRq/mbXQxTGHnIxspRtigpkUcDMlSCOejlHowLqII7K2JKevwyRP2rg==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "sunos" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/win32-arm64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.17.19.tgz", - "integrity": "sha512-yYx+8jwowUstVdorcMdNlzklLYhPxjniHWFKgRqH7IFlUEa0Umu3KuYplf1HUZZ422e3NU9F4LGb+4O0Kdcaag==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/win32-ia32": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.17.19.tgz", - "integrity": "sha512-eggDKanJszUtCdlVs0RB+h35wNlb5v4TWEkq4vZcmVt5u/HiDZrTXe2bWFQUez3RgNHwx/x4sk5++4NSSicKkw==", - "cpu": [ - "ia32" - ], - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/win32-x64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.17.19.tgz", - "integrity": "sha512-lAhycmKnVOuRYNtRtatQR1LPQf2oYCkRGkSFnseDAKPl8lu5SOsK/e1sXe5a0Pc5kHIHe6P2I/ilntNv2xf3cA==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">=12" - } - }, "node_modules/@eslint-community/eslint-utils": { "version": "4.4.0", "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz", @@ -3585,9 +3270,9 @@ } }, "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==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.2.tgz", + "integrity": "sha512-8vXOvuE167CtIc3OyItco7N/dpRtBbYOsPsXCz7X/PMnlGjYjSGuZJgM1Y7mmew7BKf9BqvLX2tnOVy1BBUsxQ==", "engines": { "node": "*" } @@ -5058,9 +4743,9 @@ } }, "node_modules/postcss": { - "version": "8.4.24", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.24.tgz", - "integrity": "sha512-M0RzbcI0sO/XJNucsGjvWU9ERWxb/ytp1w6dKtxTKgixdtQDq4rmx/g8W1hnaheq9jgwL/oyEdH5Bc4WwJKMqg==", + "version": "8.4.31", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.31.tgz", + "integrity": "sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ==", "funding": [ { "type": "opencollective", @@ -5838,9 +5523,9 @@ } }, "node_modules/semver": { - "version": "7.5.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.1.tgz", - "integrity": "sha512-Wvss5ivl8TMRZXXESstBA4uR5iXgEN/VC5/sOcuXdVLzcdkz4HWetIoRfG5gb5X+ij/G9rw9YoGn3QoQ8OCSpw==", + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", "dependencies": { "lru-cache": "^6.0.0" }, @@ -7201,9 +6886,9 @@ } }, "node_modules/word-wrap": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz", - "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==", + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz", + "integrity": "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==", "dev": true, "engines": { "node": ">=0.10.0" From 1c30f2ed4ff25100a04f7173a90cb01d56136bd1 Mon Sep 17 00:00:00 2001 From: Zeek Date: Mon, 16 Oct 2023 02:00:36 -0600 Subject: [PATCH 2/6] new fn get_batch_context_weighted et, expand tests --- Cargo.lock | 29 ++ crates/mews_types/src/lib.rs | 2 +- .../follows/src/follower_to_creators.rs | 4 +- .../zomes/coordinator/follows/src/lib.rs | 10 +- .../zomes/coordinator/mews/Cargo.toml | 1 + .../zomes/coordinator/mews/src/all_mews.rs | 204 ++++++------ .../coordinator/mews/src/hashtag_to_mews.rs | 4 +- .../coordinator/mews/src/mew_with_context.rs | 72 +++- .../zomes/coordinator/trust_atom/Cargo.toml | 4 + .../trust_atom/tests/trust_atom_tests.rs | 315 +++++++++++------- 10 files changed, 397 insertions(+), 248 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 2f2e3dfd..97c353ef 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3846,6 +3846,7 @@ dependencies = [ name = "mews" version = "0.1.0" dependencies = [ + "follows", "follows_types", "hc_call_utils", "hc_link_pagination", @@ -5883,6 +5884,31 @@ dependencies = [ "unsafe-libyaml", ] +[[package]] +name = "serial_test" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0e56dd856803e253c8f298af3f4d7eb0ae5e23a737252cd90bb4f3b435033b2d" +dependencies = [ + "dashmap 5.5.3", + "futures", + "lazy_static", + "log", + "parking_lot 0.12.1", + "serial_test_derive", +] + +[[package]] +name = "serial_test_derive" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "91d129178576168c589c9ec973feedf7d3126c01ac2bf08795109aa35b69fb8f" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.37", +] + [[package]] name = "sha-1" version = "0.9.8" @@ -6859,11 +6885,14 @@ dependencies = [ name = "trust_atom_zome" version = "0.0.1" dependencies = [ + "follows", "futures", "hdk", "holochain", + "mews_types", "rust_decimal", "serde", + "serial_test", "tokio", "trust_atom", ] diff --git a/crates/mews_types/src/lib.rs b/crates/mews_types/src/lib.rs index a060e527..0b559fa0 100644 --- a/crates/mews_types/src/lib.rs +++ b/crates/mews_types/src/lib.rs @@ -59,7 +59,7 @@ pub struct FeedMew { pub is_replied: bool, pub is_quoted: bool, pub original_mew: Option, - pub weight: Option, // introduced with TrustAtoms + pub weight: Option, // introduced with TrustAtoms pub topic: Option, // introduced with TrustAtoms } diff --git a/dnas/mewsfeed/zomes/coordinator/follows/src/follower_to_creators.rs b/dnas/mewsfeed/zomes/coordinator/follows/src/follower_to_creators.rs index e078b889..227e771e 100644 --- a/dnas/mewsfeed/zomes/coordinator/follows/src/follower_to_creators.rs +++ b/dnas/mewsfeed/zomes/coordinator/follows/src/follower_to_creators.rs @@ -18,7 +18,7 @@ pub struct FollowInput { #[serde(rename_all = "camelCase")] pub struct FollowTopicInput { pub topic: String, - pub weight: Option, + pub weight: String, } #[hdk_extern] @@ -164,7 +164,7 @@ pub fn follow(input: FollowInput) -> ExternResult<()> { TrustAtomInput { target: AnyLinkableHash::from(input.agent.clone()), content: Some(follow_topic.topic), - value: follow_topic.weight, + value: Some(follow_topic.weight), extra: None, }, )?; diff --git a/dnas/mewsfeed/zomes/coordinator/follows/src/lib.rs b/dnas/mewsfeed/zomes/coordinator/follows/src/lib.rs index 6da48da3..52f0f00f 100644 --- a/dnas/mewsfeed/zomes/coordinator/follows/src/lib.rs +++ b/dnas/mewsfeed/zomes/coordinator/follows/src/lib.rs @@ -1,7 +1,7 @@ -use hdk::prelude::*; +// use hdk::prelude::*; pub mod follower_to_creators; -#[hdk_extern] -pub fn init(_: ()) -> ExternResult { - Ok(InitCallbackResult::Pass) -} +// #[hdk_extern] +// pub fn init(_: ()) -> ExternResult { +// Ok(InitCallbackResult::Pass) +// } diff --git a/dnas/mewsfeed/zomes/coordinator/mews/Cargo.toml b/dnas/mewsfeed/zomes/coordinator/mews/Cargo.toml index 6d620f0e..be02e02b 100644 --- a/dnas/mewsfeed/zomes/coordinator/mews/Cargo.toml +++ b/dnas/mewsfeed/zomes/coordinator/mews/Cargo.toml @@ -20,3 +20,4 @@ hc_call_utils = { workspace = true } hc_link_pagination = { workspace = true } follows_types = { workspace = true } trust_atom_types = { workspace = true } +follows = { workspace = true } diff --git a/dnas/mewsfeed/zomes/coordinator/mews/src/all_mews.rs b/dnas/mewsfeed/zomes/coordinator/mews/src/all_mews.rs index d780225e..447657e4 100644 --- a/dnas/mewsfeed/zomes/coordinator/mews/src/all_mews.rs +++ b/dnas/mewsfeed/zomes/coordinator/mews/src/all_mews.rs @@ -1,9 +1,9 @@ -use crate::hashtag_to_mews::*; +// use crate::hashtag_to_mews::*; use crate::mew_with_context::get_batch_mews_with_context; -use hc_call_utils::call_local_zome; +// use hc_call_utils::call_local_zome; use hdk::prelude::*; use mews_integrity::*; -use trust_atom_types::{QueryMineInput, TrustAtom}; +// use trust_atom_types::{QueryMineInput, TrustAtom}; #[hdk_extern] pub fn get_all_mews(_: ()) -> ExternResult> { @@ -25,113 +25,113 @@ pub fn get_all_mews_with_context(_: ()) -> ExternResult> { get_batch_mews_with_context(hashes) } -#[hdk_extern] -pub fn get_trusted_mews_with_context(input: RecommendedInput) -> ExternResult> { - let oldest_mew_seconds = input.oldest_mew_seconds.unwrap_or(60 * 60 * 24 * 7 * 2); +// #[hdk_extern] +// pub fn get_trusted_mews_with_context(input: RecommendedInput) -> ExternResult> { +// let _oldest_mew_seconds = input.oldest_mew_seconds.unwrap_or(60 * 60 * 24 * 7 * 2); - // get all TrustAtoms -- topic/author combos "rated" by this agent - let trust_atoms: Vec = call_local_zome( - "trust_atom", - "query_mine", - QueryMineInput { - target: None, - content_full: None, - content_starts_with: None, - // content_not_starts_with: Some(String::from("__")), // TODO use this or manually filter - value_starts_with: None, - }, - )?; +// // get all TrustAtoms -- topic/author combos "rated" by this agent +// let trust_atoms: Vec = call_local_zome( +// "trust_atom", +// "query_mine", +// QueryMineInput { +// target: None, +// content_full: None, +// content_starts_with: None, +// // content_not_starts_with: Some(String::from("__")), // TODO use this or manually filter +// value_starts_with: None, +// }, +// )?; - let topics_by_author: Vec = trust_atoms - .into_iter() - .filter(|atom| match atom.content.clone() { - Some(content) => content != FOLLOW_TOPIC, - None => true, - }) - .collect(); +// let topics_by_author: Vec = trust_atoms +// .into_iter() +// .filter(|atom| match atom.content.clone() { +// Some(content) => content != FOLLOW_TOPIC, +// None => true, +// }) +// .collect(); - // debug!("topics_by_author: {:#?}", topics_by_author); +// // debug!("topics_by_author: {:#?}", topics_by_author); - // filter for those TrustAtoms above a weight threshold (>= 0) - let recomended_topics_by_author = - topics_by_author - .into_iter() - .filter_map(|atom| match atom.value.clone() { - Some(value_string) => { - let value_float: Result = value_string.parse(); - match value_float { - Ok(value_float) => { - if value_float >= 0f32 { - // let key = format!( - // "{}{}", - // atom.target_hash.clone(), - // atom.content.clone().unwrap_or(String::from("")) - // ); - Some(atom) - } else { - None - } - } - _ => None, - } - } - None => None, // null value/weight is allowed in TrustAtom lib, but not in MewsFeed - }); +// // filter for those TrustAtoms above a weight threshold (>= 0) +// let recomended_topics_by_author = +// topics_by_author +// .into_iter() +// .filter_map(|atom| match atom.value.clone() { +// Some(value_string) => { +// let value_float: Result = value_string.parse(); +// match value_float { +// Ok(value_float) => { +// if value_float >= 0f32 { +// // let key = format!( +// // "{}{}", +// // atom.target_hash.clone(), +// // atom.content.clone().unwrap_or(String::from("")) +// // ); +// Some(atom) +// } else { +// None +// } +// } +// _ => None, +// } +// } +// None => None, // null value/weight is allowed in TrustAtom lib, but not in MewsFeed +// }); - debug!( - "recomended_topics_by_author: {:#?}", - recomended_topics_by_author, - ); +// debug!( +// "recomended_topics_by_author: {:#?}", +// recomended_topics_by_author, +// ); - // get all mews by those authors - let mut trust_feed_mews: Vec = recomended_topics_by_author - .flat_map(|atom| { - let followed_author = atom.target_hash.clone().into_agent_pub_key(); - if let Some(pubkey) = followed_author { - match atom.content.clone() { - None => vec![], // TODO get all mews by this author - Some(content) => { - let feed_mews_result = get_mews_for_hashtag_by_author_with_context( - format!("#{}", content), // add # (hash) to make it a hashtag - pubkey, - ); - // debug!("feed_mews_result: {:#?}", feed_mews_result); - match feed_mews_result { - Ok(feed_mews) => feed_mews - .into_iter() - .map(|feed_mew| FeedMew { - weight: Some( - atom.value - .clone() - .unwrap_or_else(|| String::from("0")) - .parse::() - .unwrap_or(0.0), - ), - topic: atom.content.clone(), - ..feed_mew - }) - .collect(), - Err(_) => vec![], - } - } - } - } else { - vec![] - } - }) - .collect(); +// // get all mews by those authors +// let trust_feed_mews: Vec = recomended_topics_by_author +// .flat_map(|atom| { +// let followed_author = atom.target_hash.clone().into_agent_pub_key(); +// if let Some(pubkey) = followed_author { +// match atom.content.clone() { +// None => vec![], // TODO get all mews by this author +// Some(content) => { +// let feed_mews_result = get_mews_for_hashtag_by_author_with_context( +// format!("#{}", content), // add # (hash) to make it a hashtag +// pubkey, +// ); +// // debug!("feed_mews_result: {:#?}", feed_mews_result); +// match feed_mews_result { +// Ok(feed_mews) => feed_mews +// .into_iter() +// .map(|feed_mew| FeedMew { +// weight: Some( +// atom.value +// .clone() +// .unwrap_or_else(|| String::from("0")) +// .parse::() +// .unwrap_or(0.0), +// ), +// topic: atom.content.clone(), +// ..feed_mew +// }) +// .collect(), +// Err(_) => vec![], +// } +// } +// } +// } else { +// vec![] +// } +// }) +// .collect(); - debug!( - "trust_feed_mews: {:#?}", - trust_feed_mews - .clone() - .into_iter() - .map(|feed_mew| feed_mew.clone().mew.text) - .collect::>() - ); +// debug!( +// "trust_feed_mews: {:#?}", +// trust_feed_mews +// .clone() +// .into_iter() +// .map(|feed_mew| feed_mew.clone().mew.text) +// .collect::>() +// ); - Ok(trust_feed_mews) -} +// Ok(trust_feed_mews) +// } pub fn get_all_mew_hashes() -> ExternResult> { let path = Path::from("all_mews"); let mut links = get_links(path.path_entry_hash()?, LinkTypes::AllMews, None)?; diff --git a/dnas/mewsfeed/zomes/coordinator/mews/src/hashtag_to_mews.rs b/dnas/mewsfeed/zomes/coordinator/mews/src/hashtag_to_mews.rs index 26d34762..be812b80 100644 --- a/dnas/mewsfeed/zomes/coordinator/mews/src/hashtag_to_mews.rs +++ b/dnas/mewsfeed/zomes/coordinator/mews/src/hashtag_to_mews.rs @@ -36,7 +36,7 @@ pub fn add_hashtag_by_author_for_mew(input: AddHashtagForMewInput) -> ExternResu let me = agent_info()?.agent_latest_pubkey; let path_text = format!("{}.{}", tag_text, me); - debug!("path_text on create --- {}", path_text); + // debug!("path_text on create --- {}", path_text); let path = prefix_index.add_result(path_text)?; @@ -117,7 +117,7 @@ pub fn get_mews_for_hashtag_by_author_with_context( let prefix_index = make_tag_prefix_index()?; let path_text = format!("{}.{}", tag, agent); - debug!("path_text --- {}", path_text); + // debug!("path_text --- {}", path_text); let result_path: Path = prefix_index.make_result_path(path_text, None)?; diff --git a/dnas/mewsfeed/zomes/coordinator/mews/src/mew_with_context.rs b/dnas/mewsfeed/zomes/coordinator/mews/src/mew_with_context.rs index 8b07f714..6df60a0e 100644 --- a/dnas/mewsfeed/zomes/coordinator/mews/src/mew_with_context.rs +++ b/dnas/mewsfeed/zomes/coordinator/mews/src/mew_with_context.rs @@ -1,11 +1,13 @@ +use crate::hashtag_to_mews::get_mews_for_hashtag_by_author_with_context; use crate::licker_to_mews::*; use crate::mew_to_responses::*; use crate::pinner_to_mews::get_is_hash_pinned; +use follows::follower_to_creators::FollowTopicInput; use hc_call_utils::call_local_zome; use hdk::prelude::*; use mews_integrity::*; use mews_types::Profile; -use trust_atom_types::{QueryInput, TrustAtom}; +use trust_atom_types::{QueryMineInput, TrustAtom}; #[hdk_extern] pub fn get_mew_with_context(original_mew_hash: ActionHash) -> ExternResult { @@ -25,7 +27,7 @@ pub fn get_mew_with_context(original_mew_hash: ActionHash) -> ExternResult ExternResult = call_local_zome( - "trust_atom", - "query", - QueryInput { - source: None, - target: Some(AnyLinkableHash::from(creator.clone())), - content_full: Some(String::from(FOLLOW_TOPIC)), - content_starts_with: None, - value_starts_with: None, - }, - )?; - match mew.clone().mew_type { MewType::Original => Ok(FeedMew { mew, @@ -98,7 +88,7 @@ pub fn get_mew_with_context(original_mew_hash: ActionHash) -> ExternResult ExternResult ExternResult> { + let topic = input.topic; + let weight = input.weight; + + let trust_atoms_by_topic: Vec = call_local_zome( + "trust_atom", + "query_mine", + QueryMineInput { + target: None, + content_full: Some(topic.clone()), // query by agent rated in a certain topic + content_starts_with: None, + value_starts_with: Some(weight.clone()), // filter by threshold + }, + )?; + + let mut weighted_trust_feed_mews: Vec = Vec::new(); + + for atom in trust_atoms_by_topic { + let agent = atom.target_hash.into_agent_pub_key(); + if let Some(pubkey) = agent { + let mut mews = get_mews_for_hashtag_by_author_with_context(topic.clone(), pubkey)?; + for mew in &mut mews { + mew.topic = Some(topic.clone()); + mew.weight = atom.value.clone(); + } + weighted_trust_feed_mews.append(&mut mews); + } else { + return Err(wasm_error!( + "error converting target hash, should be an agent pubkey" + )); + } + } + + weighted_trust_feed_mews.sort_by(|a, b| a.weight.cmp(&b.weight)); + + println!("weighted feed: {:#?}", weighted_trust_feed_mews.clone()); + + // debug!( + // "trust_feed_mews: {:#?}", + // weighted_trust_feed_mews + // .clone() + // .into_iter() + // .map(|feed_mew| feed_mew.clone().mew.text) + // .collect::>() + // ); + + Ok(weighted_trust_feed_mews) +} + #[hdk_extern] pub fn get_batch_mews_with_context(hashes: Vec) -> ExternResult> { hashes diff --git a/dnas/mewsfeed/zomes/coordinator/trust_atom/Cargo.toml b/dnas/mewsfeed/zomes/coordinator/trust_atom/Cargo.toml index 15bd5ce3..4dbba62c 100644 --- a/dnas/mewsfeed/zomes/coordinator/trust_atom/Cargo.toml +++ b/dnas/mewsfeed/zomes/coordinator/trust_atom/Cargo.toml @@ -10,6 +10,9 @@ name = "trust_atom_zome" [dependencies] trust_atom = { git = "https://github.com/trustgraph/trustgraph-holochain.git", package = "trust_atom", branch = "mewsfeed-hackathon-10-17-23" } +follows = { workspace = true } +mews_types = { workspace = true } + hdk = { workspace = true } serde = { workspace = true } rust_decimal = "1" @@ -20,3 +23,4 @@ holochain = { version = "=0.2.2", default-features = false, features = [ ] } tokio = { version = "1.3", features = ["full"] } futures = { version = "0.3.1", default-features = false } +serial_test = "*" diff --git a/dnas/mewsfeed/zomes/coordinator/trust_atom/tests/trust_atom_tests.rs b/dnas/mewsfeed/zomes/coordinator/trust_atom/tests/trust_atom_tests.rs index 5a86a1bc..c8f779ad 100644 --- a/dnas/mewsfeed/zomes/coordinator/trust_atom/tests/trust_atom_tests.rs +++ b/dnas/mewsfeed/zomes/coordinator/trust_atom/tests/trust_atom_tests.rs @@ -9,189 +9,223 @@ use holochain::sweettest::{ }; use holochain::test_utils::consistency_60s; -use mews_integrity::*; // for the types +use follows::follower_to_creators::{FollowInput, FollowTopicInput}; +use mews_types::{FeedMew, Mew, MewType}; -const DNA_FILEPATH: &str = "../../workdir/mewsfeed.dna"; -const ZOME_NAME: &str = "mews"; +const DNA_FILEPATH: &str = "../../../workdir/mewsfeed.dna"; +const MEWS_ZOME_NAME: &str = "mews"; +const FOLLOWS_ZOME_NAME: &str = "follows"; #[tokio::test(flavor = "multi_thread")] #[serial] - -async fn trusted_feed_is_based_on_follow_topics() { +async fn trusted_feed_based_on_follow_topics_ordered_by_weight() { let mut agent_group = setup().await; let agents = agent_group.create_agents().await; - let ann = &agents[0]; + + let ann = &agents[0]; // Ann is the testing agent let bob = &agents[1]; let cat = &agents[2]; + let dave = &agents[3]; + // let emma = &agents[4]; + // let frank = &agents[5]; + + // FOLLOWS // + + // #Holochain ann.follow(FollowInput { agent: bob.pubkey.clone(), follow_topics: vec![FollowTopicInput { topic: String::from("holochain"), - weight: String::from("1.0"), + weight: String::from("0.5"), }], - follow_other: false, }) .await; ann.follow(FollowInput { agent: cat.pubkey.clone(), follow_topics: vec![FollowTopicInput { - topic: String::from("blockchain"), + topic: String::from("holochain"), weight: String::from("1.0"), }], - follow_other: false, }) .await; - bob.create_mew(CreateMewInput { - mew_type: MewType::Original, - text: Some(String::from("Wow #holochain is cool!")), - links: None, - }) - .await; - - cat.create_mew(CreateMewInput { - mew_type: MewType::Original, - text: Some(String::from("Doh #holochain when moon?")), - links: None, + ann.follow(FollowInput { + agent: dave.pubkey.clone(), + follow_topics: vec![FollowTopicInput { + topic: String::from("holochain"), + weight: String::from("0.25"), + }], }) .await; - consistency_60s([ - &(ann.cell.clone()), - &(bob.cell.clone()), - &(cat.cell.clone()), - ]) - .await; -} - -#[tokio::test(flavor = "multi_thread")] -#[serial] - -async fn trusted_feed_is_ordered_by_topic_weights() { - let mut agent_group = setup().await; - let agents = agent_group.create_agents().await; - let ann = &agents[0]; - let bob = &agents[1]; - let cat = &agents[2]; + // ann.follow(FollowInput { + // agent: emma.pubkey.clone(), + // follow_topics: vec![FollowTopicInput { + // topic: String::from("holochain"), + // weight: String::from("0.75"), + // }], + // }) + // .await; + + // ann.follow(FollowInput { + // agent: frank.pubkey.clone(), + // follow_topics: vec![FollowTopicInput { + // topic: String::from("holochain"), + // weight: String::from("-1"), // Negative indicates spam or otherwise matierial to be thrown out + // }], + // }) + // .await; + + // #Blockchain ann.follow(FollowInput { agent: bob.pubkey.clone(), follow_topics: vec![FollowTopicInput { - topic: String::from("holochain"), - weight: String::from("1.0"), + topic: String::from("blockchain"), + weight: String::from("0.1"), }], - follow_other: false, }) .await; ann.follow(FollowInput { agent: cat.pubkey.clone(), follow_topics: vec![FollowTopicInput { - topic: String::from("holochain"), - weight: String::from("0.5"), + topic: String::from("blockchain"), + weight: String::from("0"), }], - follow_other: false, }) .await; ann.follow(FollowInput { - agent: bob.pubkey.clone(), + agent: dave.pubkey.clone(), follow_topics: vec![FollowTopicInput { topic: String::from("blockchain"), - weight: String::from("0.25"), + weight: String::from("0.55"), }], - follow_other: false, }) .await; - ann.follow(FollowInput { - agent: cat.pubkey.clone(), - follow_topics: vec![FollowTopicInput { - topic: String::from("blockchain"), - weight: String::from("0"), - }], - follow_other: false, + // ann.follow(FollowInput { + // agent: emma.pubkey.clone(), + // follow_topics: vec![FollowTopicInput { + // topic: String::from("blockchain"), + // weight: String::from("0.33"), + // }], + // }) + // .await; + + // ann.follow(FollowInput { + // agent: frank.pubkey.clone(), + // follow_topics: vec![FollowTopicInput { + // topic: String::from("blockchain"), + // weight: String::from("0.9"), + // }], + // }) + // .await; + + // MEWS // + + // #Holochain + + bob.create_mew(Mew { + mew_type: MewType::Original, + text: String::from("#holochain from bob, weight 0.5"), + links: vec![], }) .await; - bob.create_mew(CreateMewInput { + cat.create_mew(Mew { mew_type: MewType::Original, - text: Some(String::from("#holochain from bob, weight 1.0")), - links: None, + text: String::from("#holochain from cat, weight 1.0"), + links: vec![], }) .await; - bob.create_mew(CreateMewInput { + dave.create_mew(Mew { mew_type: MewType::Original, - text: Some(String::from("#blockchain from bob, weight 0.25")), - links: None, + text: String::from("#holochain from dave, weight 0.25"), + links: vec![], }) .await; - cat.create_mew(CreateMewInput { + // emma.create_mew(Mew { + // mew_type: MewType::Original, + // text: String::from("#holochain from emma, weight 0.75"), + // links: vec![], + // }) + // .await; + + // frank + // .create_mew(Mew { + // mew_type: MewType::Original, + // text: String::from("#holochain from frank, weight -1 should not be seen"), + // links: vec![], + // }) + // .await; + + // #Blockchain + + bob.create_mew(Mew { mew_type: MewType::Original, - text: Some(String::from("#blockchain from cat, weight 0.0")), - links: None, + text: String::from("#blockchain from bob, weight 0.1"), + links: vec![], }) .await; - cat.create_mew(CreateMewInput { + cat.create_mew(Mew { mew_type: MewType::Original, - text: Some(String::from("#holochain from cat, weight 0.5")), - links: None, + text: String::from("#blockchain from cat, weight 0 should not be seen"), + links: vec![], }) .await; + dave.create_mew(Mew { + mew_type: MewType::Original, + text: String::from("#blockchain from dave, weight 0.55"), + links: vec![], + }) + .await; + + // emma.create_mew(Mew { + // mew_type: MewType::Original, + // text: String::from("#blockchain from emma, weight 0.33"), + // links: vec![], + // }) + // .await; + + // frank + // .create_mew(Mew { + // mew_type: MewType::Original, + // text: String::from("#blockchain from frank, weight 0.9"), + // links: vec![], + // }) + // .await; + consistency_60s([ &(ann.cell.clone()), &(bob.cell.clone()), &(cat.cell.clone()), + &(dave.cell.clone()), + // &(emma.cell.clone()), + // &(frank.cell.clone()), ]) .await; - assert_eq!(recommended_feed.len(), 4); - assert_eq!( - recommended_feed[0] - .feed_mew - .mew - .content - .as_ref() - .unwrap() - .text, - String::from("#holochain from bob, weight 1.0") - ); - assert_eq!( - recommended_feed[1] - .feed_mew - .mew - .content - .as_ref() - .unwrap() - .text, - String::from("#holochain from cat, weight 0.5") - ); - assert_eq!( - recommended_feed[2] - .feed_mew - .mew - .content - .as_ref() - .unwrap() - .text, - String::from("#blockchain from bob, weight 0.25") - ); - assert_eq!( - recommended_feed[3] - .feed_mew - .mew - .content - .as_ref() - .unwrap() - .text, - String::from("#blockchain from cat, weight 0.0") - ); + let trusted_feed = ann + .trusted_feed_weighted(FollowTopicInput { + topic: "holochain".to_string(), + weight: "0.001".to_string(), + }) + .await; + + println!("trusted feed: {:#?}", trusted_feed.clone()); + + // assert_eq!( + // trusted_feed[0].mew.text, + // String::from("#holochain from cat, weight 1.0") + // ); } // @@ -204,20 +238,35 @@ pub struct Agent<'a> { pub cell: SweetCell, pub conductor: &'a SweetConductor, pub pubkey: AgentPubKey, - pub zome: SweetZome, + pub mews_zome: SweetZome, + pub follows_zome: SweetZome, } impl Agent<'_> { pub async fn follow(&self, input: FollowInput) { - self.conductor.call(&self.zome, "follow", input).await + self.conductor + .call(&self.follows_zome, "follow", input) + .await } - pub async fn create_mew(&self, input: CreateMewInput) -> ActionHash { - self.conductor.call(&self.zome, "create_mew", input).await + pub async fn create_mew(&self, input: Mew) -> ActionHash { + self.conductor + .call(&self.mews_zome, "create_mew", input) + .await } - pub async fn recommended(&self, input: RecommendedInput) -> Vec { - self.conductor.call(&self.zome, "recommended", input).await + // pub async fn recommended(&self, input: RecommendedInput) -> Vec { + // self.conductor.call(&self.zome, "recommended", input).await + // } + + pub async fn trusted_feed_weighted(&self, input: FollowTopicInput) -> Vec { + self.conductor + .call( + &self.mews_zome, + "get_batch_mews_with_context_based_on_topic_and_weight_threshold", + input, + ) + .await } } @@ -231,35 +280,59 @@ impl AgentGroup { let dna_path = std::env::current_dir().unwrap().join(DNA_FILEPATH); let dna = SweetDnaFile::from_bundle(&dna_path).await.unwrap(); - let apps = self.conductors.setup_app(ZOME_NAME, &[dna]).await.unwrap(); + let apps = self.conductors.setup_app("mewsfeed", &[dna]).await.unwrap(); self.conductors.exchange_peer_info().await; - let ((ann_cell,), (bob_cell,), (cat_cell,)) = apps.into_tuples(); + let ((ann_cell,), (bob_cell,), (cat_cell,), (dave_cell,)) = apps.into_tuples(); let ann = Agent { cell: ann_cell.clone(), conductor: self.conductors.get(0).unwrap(), pubkey: ann_cell.agent_pubkey().clone(), - zome: ann_cell.zome(ZOME_NAME), + mews_zome: ann_cell.zome(MEWS_ZOME_NAME), + follows_zome: ann_cell.zome(FOLLOWS_ZOME_NAME), }; let bob = Agent { cell: bob_cell.clone(), conductor: self.conductors.get(1).unwrap(), pubkey: bob_cell.agent_pubkey().clone(), - zome: bob_cell.zome(ZOME_NAME), + mews_zome: bob_cell.zome(MEWS_ZOME_NAME), + follows_zome: bob_cell.zome(FOLLOWS_ZOME_NAME), }; let cat = Agent { cell: cat_cell.clone(), conductor: self.conductors.get(2).unwrap(), pubkey: cat_cell.agent_pubkey().clone(), - zome: cat_cell.zome(ZOME_NAME), + mews_zome: cat_cell.zome(MEWS_ZOME_NAME), + follows_zome: cat_cell.zome(FOLLOWS_ZOME_NAME), }; - - vec![ann, bob, cat] + let dave = Agent { + cell: dave_cell.clone(), + conductor: self.conductors.get(3).unwrap(), + pubkey: dave_cell.agent_pubkey().clone(), + mews_zome: dave_cell.zome(MEWS_ZOME_NAME), + follows_zome: dave_cell.zome(FOLLOWS_ZOME_NAME), + }; + // let emma = Agent { + // cell: emma_cell.clone(), + // conductor: self.conductors.get(4).unwrap(), + // pubkey: emma_cell.agent_pubkey().clone(), + // mews_zome: emma_cell.zome(MEWS_ZOME_NAME), + // follows_zome: emma_cell.zome(FOLLOWS_ZOME_NAME), + // }; + // let frank = Agent { + // cell: frank_cell.clone(), + // conductor: self.conductors.get(5).unwrap(), + // pubkey: frank_cell.agent_pubkey().clone(), + // mews_zome: frank_cell.zome(MEWS_ZOME_NAME), + // follows_zome: frank_cell.zome(FOLLOWS_ZOME_NAME), + // }; + + vec![ann, bob, cat, dave] } } pub async fn setup() -> AgentGroup { - let conductors = SweetConductorBatch::from_config(3, ConductorConfig::default()).await; + let conductors = SweetConductorBatch::from_config(4, ConductorConfig::default()).await; AgentGroup { conductors } } From 3ab33637a321d5c0129591d98012d4907f8aef9c Mon Sep 17 00:00:00 2001 From: Zeek Date: Thu, 19 Oct 2023 12:21:37 -0600 Subject: [PATCH 3/6] attempt fix weight filter --- .../coordinator/mews/src/mew_with_context.rs | 99 ++++++++++++------- .../trust_atom/tests/trust_atom_tests.rs | 2 + 2 files changed, 64 insertions(+), 37 deletions(-) diff --git a/dnas/mewsfeed/zomes/coordinator/mews/src/mew_with_context.rs b/dnas/mewsfeed/zomes/coordinator/mews/src/mew_with_context.rs index 6df60a0e..809ee079 100644 --- a/dnas/mewsfeed/zomes/coordinator/mews/src/mew_with_context.rs +++ b/dnas/mewsfeed/zomes/coordinator/mews/src/mew_with_context.rs @@ -160,51 +160,76 @@ pub fn get_batch_mews_with_context_based_on_topic_and_weight_threshold( input: FollowTopicInput, ) -> ExternResult> { let topic = input.topic; - let weight = input.weight; - - let trust_atoms_by_topic: Vec = call_local_zome( - "trust_atom", - "query_mine", - QueryMineInput { - target: None, - content_full: Some(topic.clone()), // query by agent rated in a certain topic - content_starts_with: None, - value_starts_with: Some(weight.clone()), // filter by threshold - }, - )?; + let min_weight = input.weight.parse::(); + + if let Ok(weight) = min_weight { + let trust_atoms_by_topic: Vec = call_local_zome( + "trust_atom", + "query_mine", + QueryMineInput { + target: None, + content_full: Some(topic.clone()), // query by agent rated in a certain topic + content_starts_with: None, + value_starts_with: None, + }, + )?; + + let weighted_filter = // CAUTION: this may be broken + trust_atoms_by_topic + .into_iter() + .filter_map(|atom| match atom.value.clone() { + Some(value_string) => { + let value_float: Result = value_string.parse::(); // TODO: find way to escape iterator with an error + if let Ok(value) = value_float { + if value >= weight { + Some(atom) + } else { + None + } + } else { + None + } + } + None => None, + }); - let mut weighted_trust_feed_mews: Vec = Vec::new(); + debug!("trust_atoms: {:#?}", weighted_filter.clone()); - for atom in trust_atoms_by_topic { - let agent = atom.target_hash.into_agent_pub_key(); - if let Some(pubkey) = agent { - let mut mews = get_mews_for_hashtag_by_author_with_context(topic.clone(), pubkey)?; - for mew in &mut mews { - mew.topic = Some(topic.clone()); - mew.weight = atom.value.clone(); + let mut weighted_trust_feed_mews: Vec = Vec::new(); + + for atom in weighted_filter { + let agent = atom.target_hash.into_agent_pub_key(); + if let Some(pubkey) = agent { + let mut mews = get_mews_for_hashtag_by_author_with_context(topic.clone(), pubkey)?; + for mew in &mut mews { + mew.topic = Some(topic.clone()); + mew.weight = atom.value.clone(); + } + weighted_trust_feed_mews.append(&mut mews); + } else { + return Err(wasm_error!( + "error converting target hash, should be an agent pubkey" + )); } - weighted_trust_feed_mews.append(&mut mews); - } else { - return Err(wasm_error!( - "error converting target hash, should be an agent pubkey" - )); } - } - weighted_trust_feed_mews.sort_by(|a, b| a.weight.cmp(&b.weight)); + weighted_trust_feed_mews.sort_by(|a, b| a.weight.cmp(&b.weight)); - println!("weighted feed: {:#?}", weighted_trust_feed_mews.clone()); + println!("weighted feed: {:#?}", weighted_trust_feed_mews.clone()); - // debug!( - // "trust_feed_mews: {:#?}", - // weighted_trust_feed_mews - // .clone() - // .into_iter() - // .map(|feed_mew| feed_mew.clone().mew.text) - // .collect::>() - // ); + // debug!( + // "trust_feed_mews: {:#?}", + // weighted_trust_feed_mews + // .clone() + // .into_iter() + // .map(|feed_mew| feed_mew.clone().mew.text) + // .collect::>() + // ); - Ok(weighted_trust_feed_mews) + Ok(weighted_trust_feed_mews) + } else { + Err(wasm_error!("could not parse weight")) + } } #[hdk_extern] diff --git a/dnas/mewsfeed/zomes/coordinator/trust_atom/tests/trust_atom_tests.rs b/dnas/mewsfeed/zomes/coordinator/trust_atom/tests/trust_atom_tests.rs index c8f779ad..0b715d33 100644 --- a/dnas/mewsfeed/zomes/coordinator/trust_atom/tests/trust_atom_tests.rs +++ b/dnas/mewsfeed/zomes/coordinator/trust_atom/tests/trust_atom_tests.rs @@ -213,6 +213,7 @@ async fn trusted_feed_based_on_follow_topics_ordered_by_weight() { ]) .await; + // WIP // let trusted_feed = ann .trusted_feed_weighted(FollowTopicInput { topic: "holochain".to_string(), @@ -260,6 +261,7 @@ impl Agent<'_> { // } pub async fn trusted_feed_weighted(&self, input: FollowTopicInput) -> Vec { + // BROKEN? self.conductor .call( &self.mews_zome, From a52107c99627e43872b0a78245480929d2729c3d Mon Sep 17 00:00:00 2001 From: Zeek Date: Sun, 24 Dec 2023 02:16:40 -0700 Subject: [PATCH 4/6] trusted_feed_based_on_follow_topics_ordered_by_weight initial test passing --- Cargo.lock | 1 + crates/mews_types/src/lib.rs | 5 +- .../follows/src/follower_to_creators.rs | 8 ++ .../coordinator/mews/src/mew_with_context.rs | 81 +++++++++-------- .../zomes/coordinator/trust_atom/Cargo.toml | 2 +- .../trust_atom/tests/trust_atom_tests.rs | 90 +++++++++++++++---- 6 files changed, 131 insertions(+), 56 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 97c353ef..5cd8f136 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -6895,6 +6895,7 @@ dependencies = [ "serial_test", "tokio", "trust_atom", + "trust_atom_types", ] [[package]] diff --git a/crates/mews_types/src/lib.rs b/crates/mews_types/src/lib.rs index 0b559fa0..16fb1015 100644 --- a/crates/mews_types/src/lib.rs +++ b/crates/mews_types/src/lib.rs @@ -59,8 +59,9 @@ pub struct FeedMew { pub is_replied: bool, pub is_quoted: bool, pub original_mew: Option, - pub weight: Option, // introduced with TrustAtoms - pub topic: Option, // introduced with TrustAtoms + // introduced with TrustAtoms + pub weight: Option, + pub topic: Option, } #[derive(Serialize, Deserialize, SerializedBytes, Debug, Clone)] diff --git a/dnas/mewsfeed/zomes/coordinator/follows/src/follower_to_creators.rs b/dnas/mewsfeed/zomes/coordinator/follows/src/follower_to_creators.rs index 227e771e..7f60aea3 100644 --- a/dnas/mewsfeed/zomes/coordinator/follows/src/follower_to_creators.rs +++ b/dnas/mewsfeed/zomes/coordinator/follows/src/follower_to_creators.rs @@ -21,6 +21,14 @@ pub struct FollowTopicInput { pub weight: String, } +#[derive(Debug, Serialize, Deserialize, SerializedBytes)] +#[serde(rename_all = "camelCase")] +pub struct TrustedFeedInput { + pub agent: AgentPubKey, + pub topic: String, + pub weight: String, +} + #[hdk_extern] pub fn add_creator_for_follower(input: AddCreatorForFollowerInput) -> ExternResult<()> { let _: TrustAtom = call_local_zome( diff --git a/dnas/mewsfeed/zomes/coordinator/mews/src/mew_with_context.rs b/dnas/mewsfeed/zomes/coordinator/mews/src/mew_with_context.rs index 809ee079..14f53e9e 100644 --- a/dnas/mewsfeed/zomes/coordinator/mews/src/mew_with_context.rs +++ b/dnas/mewsfeed/zomes/coordinator/mews/src/mew_with_context.rs @@ -2,12 +2,12 @@ use crate::hashtag_to_mews::get_mews_for_hashtag_by_author_with_context; use crate::licker_to_mews::*; use crate::mew_to_responses::*; use crate::pinner_to_mews::get_is_hash_pinned; -use follows::follower_to_creators::FollowTopicInput; +use follows::follower_to_creators::TrustedFeedInput; use hc_call_utils::call_local_zome; use hdk::prelude::*; use mews_integrity::*; use mews_types::Profile; -use trust_atom_types::{QueryMineInput, TrustAtom}; +use trust_atom_types::{QueryInput, TrustAtom}; #[hdk_extern] pub fn get_mew_with_context(original_mew_hash: ActionHash) -> ExternResult { @@ -157,7 +157,7 @@ pub fn get_mew_with_context(original_mew_hash: ActionHash) -> ExternResult ExternResult> { let topic = input.topic; let min_weight = input.weight.parse::(); @@ -165,47 +165,52 @@ pub fn get_batch_mews_with_context_based_on_topic_and_weight_threshold( if let Ok(weight) = min_weight { let trust_atoms_by_topic: Vec = call_local_zome( "trust_atom", - "query_mine", - QueryMineInput { + "query", + QueryInput { + source: Some(AnyLinkableHash::from(input.agent)), // ?TODO: handle potential conversion error target: None, - content_full: Some(topic.clone()), // query by agent rated in a certain topic + content_full: Some(topic.clone()), // query by topic content_starts_with: None, value_starts_with: None, }, )?; - let weighted_filter = // CAUTION: this may be broken - trust_atoms_by_topic - .into_iter() - .filter_map(|atom| match atom.value.clone() { - Some(value_string) => { - let value_float: Result = value_string.parse::(); // TODO: find way to escape iterator with an error - if let Ok(value) = value_float { - if value >= weight { - Some(atom) - } else { - None - } + // debug!("trust_atoms: {:#?}", trust_atoms_by_topic.clone()); + + let weighted_filter: Vec = trust_atoms_by_topic + .clone() + .into_iter() + .filter_map(|atom| match atom.value.clone() { + Some(value_string) => { + let value_float: Result = value_string.parse::(); // TODO: find way to escape iterator with an error + if let Ok(value) = value_float { + if value >= weight { + Some(atom) } else { None } + } else { + None } - None => None, - }); + } + None => None, + }) + .collect(); - debug!("trust_atoms: {:#?}", weighted_filter.clone()); + // debug!("weighted_filter: {:#?}", weighted_filter.clone()); let mut weighted_trust_feed_mews: Vec = Vec::new(); - for atom in weighted_filter { + for atom in weighted_filter.clone() { let agent = atom.target_hash.into_agent_pub_key(); if let Some(pubkey) = agent { - let mut mews = get_mews_for_hashtag_by_author_with_context(topic.clone(), pubkey)?; - for mew in &mut mews { - mew.topic = Some(topic.clone()); - mew.weight = atom.value.clone(); + let mut feed_mews = + get_mews_for_hashtag_by_author_with_context(topic.clone(), pubkey)?; + for feed_mew in &mut feed_mews { + feed_mew.topic = atom.content.clone(); + feed_mew.weight = atom.value.clone(); } - weighted_trust_feed_mews.append(&mut mews); + weighted_trust_feed_mews.append(&mut feed_mews); } else { return Err(wasm_error!( "error converting target hash, should be an agent pubkey" @@ -213,20 +218,20 @@ pub fn get_batch_mews_with_context_based_on_topic_and_weight_threshold( } } - weighted_trust_feed_mews.sort_by(|a, b| a.weight.cmp(&b.weight)); + weighted_trust_feed_mews.sort_by(|a, b| b.weight.cmp(&a.weight)); - println!("weighted feed: {:#?}", weighted_trust_feed_mews.clone()); + // debug!("weighted feed: {:#?}", weighted_trust_feed_mews.clone()); - // debug!( - // "trust_feed_mews: {:#?}", - // weighted_trust_feed_mews - // .clone() - // .into_iter() - // .map(|feed_mew| feed_mew.clone().mew.text) - // .collect::>() - // ); + debug!( + "trust_feed_mews: {:#?}", + weighted_trust_feed_mews + .clone() + .into_iter() + .map(|feed_mew| feed_mew.clone().mew.text) + .collect::>() + ); - Ok(weighted_trust_feed_mews) + Ok(weighted_trust_feed_mews.clone()) } else { Err(wasm_error!("could not parse weight")) } diff --git a/dnas/mewsfeed/zomes/coordinator/trust_atom/Cargo.toml b/dnas/mewsfeed/zomes/coordinator/trust_atom/Cargo.toml index 4dbba62c..83d70e87 100644 --- a/dnas/mewsfeed/zomes/coordinator/trust_atom/Cargo.toml +++ b/dnas/mewsfeed/zomes/coordinator/trust_atom/Cargo.toml @@ -9,7 +9,7 @@ name = "trust_atom_zome" [dependencies] trust_atom = { git = "https://github.com/trustgraph/trustgraph-holochain.git", package = "trust_atom", branch = "mewsfeed-hackathon-10-17-23" } - +trust_atom_types = { workspace = true } follows = { workspace = true } mews_types = { workspace = true } diff --git a/dnas/mewsfeed/zomes/coordinator/trust_atom/tests/trust_atom_tests.rs b/dnas/mewsfeed/zomes/coordinator/trust_atom/tests/trust_atom_tests.rs index 0b715d33..f32e2398 100644 --- a/dnas/mewsfeed/zomes/coordinator/trust_atom/tests/trust_atom_tests.rs +++ b/dnas/mewsfeed/zomes/coordinator/trust_atom/tests/trust_atom_tests.rs @@ -1,20 +1,39 @@ #![warn(warnings)] +use futures::future::join_all; use serial_test::serial; use hdk::prelude::*; use holochain::conductor::config::ConductorConfig; use holochain::sweettest::{ - SweetCell, SweetConductor, SweetConductorBatch, SweetDnaFile, SweetZome, + SweetAgents, SweetAppBatch, SweetCell, SweetConductor, SweetConductorBatch, SweetDnaFile, + SweetZome, }; -use holochain::test_utils::consistency_60s; +use holochain::test_utils::consistency_10s; -use follows::follower_to_creators::{FollowInput, FollowTopicInput}; +use trust_atom_types::{QueryInput, TrustAtom}; + +use follows::follower_to_creators::{FollowInput, FollowTopicInput, TrustedFeedInput}; use mews_types::{FeedMew, Mew, MewType}; const DNA_FILEPATH: &str = "../../../workdir/mewsfeed.dna"; const MEWS_ZOME_NAME: &str = "mews"; const FOLLOWS_ZOME_NAME: &str = "follows"; +const TRUST_ATOM_ZOME_NAME: &str = "trust_atom"; + +// Map of Follows for convenience calculations: +// Ann -> Bob in HC 0.5 +// Ann -> Cat in HC 1.0 +// Ann -> Dave in HC 0.25 +// Ann -> Bob in BC 0.1 +// Ann -> Cat in BC 0 +// Ann -> Dave in BC 0.55 +// +// Feed order should be: +// HC +// Cat,Bob,Dave +// BC +// Dave,Bob (Cat excluded because of 0 value) #[tokio::test(flavor = "multi_thread")] #[serial] @@ -203,7 +222,7 @@ async fn trusted_feed_based_on_follow_topics_ordered_by_weight() { // }) // .await; - consistency_60s([ + consistency_10s([ &(ann.cell.clone()), &(bob.cell.clone()), &(cat.cell.clone()), @@ -213,20 +232,57 @@ async fn trusted_feed_based_on_follow_topics_ordered_by_weight() { ]) .await; - // WIP // - let trusted_feed = ann - .trusted_feed_weighted(FollowTopicInput { + // Show all mews on holochain topic above 0 threshold + let trusted_feed_holochain_topic_positive = ann + .trusted_feed_weighted(TrustedFeedInput { + agent: ann.pubkey.clone(), topic: "holochain".to_string(), - weight: "0.001".to_string(), + weight: "0.000001".to_string(), }) .await; - println!("trusted feed: {:#?}", trusted_feed.clone()); + println!( + "trusted feed: {:#?}", + trusted_feed_holochain_topic_positive.clone() + ); + + assert!(trusted_feed_holochain_topic_positive.len() == 3); + assert_eq!( + trusted_feed_holochain_topic_positive[0].mew.text, + String::from("#holochain from cat, weight 1.0") + ); + assert_eq!( + trusted_feed_holochain_topic_positive[1].mew.text, + String::from("#holochain from bob, weight 0.5") + ); + assert_eq!( + trusted_feed_holochain_topic_positive[2].mew.text, + String::from("#holochain from dave, weight 0.25") + ); + + // Show all mews on blockchain topic above 0 threshold + let trusted_feed_blockchain_topic_positive = ann + .trusted_feed_weighted(TrustedFeedInput { + agent: ann.pubkey.clone(), + topic: "blockchain".to_string(), + weight: "0.000001".to_string(), + }) + .await; - // assert_eq!( - // trusted_feed[0].mew.text, - // String::from("#holochain from cat, weight 1.0") - // ); + println!( + "trusted feed: {:#?}", + trusted_feed_blockchain_topic_positive.clone() + ); + + assert!(trusted_feed_blockchain_topic_positive.len() == 2); + assert_eq!( + trusted_feed_blockchain_topic_positive[0].mew.text, + String::from("#blockchain from dave, weight 0.55") + ); + assert_eq!( + trusted_feed_blockchain_topic_positive[1].mew.text, + String::from("#blockchain from bob, weight 0.1") + ); } // @@ -241,6 +297,7 @@ pub struct Agent<'a> { pub pubkey: AgentPubKey, pub mews_zome: SweetZome, pub follows_zome: SweetZome, + pub trust_atom_zome: SweetZome, } impl Agent<'_> { @@ -260,8 +317,7 @@ impl Agent<'_> { // self.conductor.call(&self.zome, "recommended", input).await // } - pub async fn trusted_feed_weighted(&self, input: FollowTopicInput) -> Vec { - // BROKEN? + pub async fn trusted_feed_weighted(&self, input: TrustedFeedInput) -> Vec { self.conductor .call( &self.mews_zome, @@ -293,6 +349,7 @@ impl AgentGroup { pubkey: ann_cell.agent_pubkey().clone(), mews_zome: ann_cell.zome(MEWS_ZOME_NAME), follows_zome: ann_cell.zome(FOLLOWS_ZOME_NAME), + trust_atom_zome: ann_cell.zome(TRUST_ATOM_ZOME_NAME), }; let bob = Agent { cell: bob_cell.clone(), @@ -300,6 +357,7 @@ impl AgentGroup { pubkey: bob_cell.agent_pubkey().clone(), mews_zome: bob_cell.zome(MEWS_ZOME_NAME), follows_zome: bob_cell.zome(FOLLOWS_ZOME_NAME), + trust_atom_zome: bob_cell.zome(TRUST_ATOM_ZOME_NAME), }; let cat = Agent { cell: cat_cell.clone(), @@ -307,6 +365,7 @@ impl AgentGroup { pubkey: cat_cell.agent_pubkey().clone(), mews_zome: cat_cell.zome(MEWS_ZOME_NAME), follows_zome: cat_cell.zome(FOLLOWS_ZOME_NAME), + trust_atom_zome: cat_cell.zome(TRUST_ATOM_ZOME_NAME), }; let dave = Agent { cell: dave_cell.clone(), @@ -314,6 +373,7 @@ impl AgentGroup { pubkey: dave_cell.agent_pubkey().clone(), mews_zome: dave_cell.zome(MEWS_ZOME_NAME), follows_zome: dave_cell.zome(FOLLOWS_ZOME_NAME), + trust_atom_zome: dave_cell.zome(TRUST_ATOM_ZOME_NAME), }; // let emma = Agent { // cell: emma_cell.clone(), From d8f3b432947bd388dddcf0f85f42de3ee1b2c1be Mon Sep 17 00:00:00 2001 From: zeek <45241372+dauphin3@users.noreply.github.com> Date: Fri, 29 Dec 2023 18:32:49 -0700 Subject: [PATCH 5/6] Update Cargo.lock Update Cargo.lock Update Cargo.lock rm duplicates Update Cargo.lock Update Cargo.lock --- Cargo.lock | 1243 +--------------------------------------------------- 1 file changed, 4 insertions(+), 1239 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 025a28c2..6c4068b8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -50,23 +50,6 @@ dependencies = [ "serde", ] -[[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 0.2.10", - "once_cell", - "version_check", -] - [[package]] name = "ahash" version = "0.8.3" @@ -202,12 +185,6 @@ version = "0.3.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6b4930d2cb77ce62f89ee5d5289b4ac049559b1c45539271f5ed4fdc7db34545" -[[package]] -name = "arrayvec" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23b62fc65de8e4e7f52534fb52b0f3ed04746ae267519eef2a83941e8085068b" - [[package]] name = "arrayvec" version = "0.7.4" @@ -405,15 +382,6 @@ dependencies = [ "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]] name = "autocfg" version = "1.1.0" @@ -447,12 +415,6 @@ dependencies = [ "rustc-demangle", ] -[[package]] -name = "base64" -version = "0.13.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8" - [[package]] name = "base64" version = "0.21.4" @@ -492,12 +454,6 @@ dependencies = [ "serde", ] -[[package]] -name = "bitflags" -version = "1.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" - [[package]] name = "bitflags" version = "2.4.0" @@ -516,17 +472,6 @@ dependencies = [ "wyz", ] -[[package]] -name = "blake2b_simd" -version = "0.5.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "afa748e348ad3be8263be728124b24a24f268266f6f5d58af9d75f6a40b5c587" -dependencies = [ - "arrayref", - "arrayvec 0.5.2", - "constant_time_eq 0.1.5", -] - [[package]] name = "blake2b_simd" version = "1.0.2" @@ -538,15 +483,6 @@ dependencies = [ "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]] name = "block-buffer" version = "0.10.4" @@ -721,18 +657,6 @@ dependencies = [ "libc", ] -[[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 = "0.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822" - [[package]] name = "cfg-if" version = "1.0.0" @@ -764,38 +688,6 @@ dependencies = [ "windows-targets", ] -[[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.6" @@ -818,19 +710,6 @@ dependencies = [ "strsim 0.10.0", ] -[[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.2" @@ -843,15 +722,6 @@ dependencies = [ "syn 2.0.37", ] -[[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.5.1" @@ -893,12 +763,6 @@ dependencies = [ "crossbeam-utils", ] -[[package]] -name = "constant_time_eq" -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" @@ -1122,36 +986,6 @@ dependencies = [ "syn 1.0.109", ] -[[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 0.14.4", - "darling_macro 0.14.4", -] - [[package]] name = "darling" version = "0.20.3" @@ -1162,48 +996,6 @@ dependencies = [ "darling_macro 0.20.3", ] -[[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]] -name = "darling_core" -version = "0.14.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "109c1ca6e6b7f82cc233a97004ea8ed7ca123a9af07a8230878fcfda9b158bf0" -dependencies = [ - "fnv", - "ident_case", - "proc-macro2", - "quote", - "strsim 0.10.0", - "syn 1.0.109", -] - [[package]] name = "darling_core" version = "0.20.3" @@ -1217,39 +1009,6 @@ dependencies = [ "syn 2.0.37", ] -[[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", -] - -[[package]] -name = "darling_macro" -version = "0.14.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4aab4dbc9f7611d8b55048a3a16d2d010c2c8334e46304b40ac1cc14bf3b48e" -dependencies = [ - "darling_core 0.14.4", - "quote", - "syn 1.0.109", -] - [[package]] name = "darling_macro" version = "0.20.3" @@ -1267,16 +1026,6 @@ version = "0.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7762d17f1241643615821a8455a0b2c3e803784b058693d990b11f2dce25a0ca" -[[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.5.3" @@ -1374,15 +1123,6 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6184e33543162437515c2e2b48714794e37845ec9851711914eec9d308f6ebe8" -[[package]] -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" @@ -1412,17 +1152,6 @@ 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" @@ -1452,8 +1181,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1435fa1053d8b2fbbe9be7e97eca7f33d37b28409959813daefc1446a14247f1" [[package]] -======= ->>>>>>> main name = "dunce" version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -1605,15 +1332,6 @@ version = "0.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7360491ce676a36bf9bb3c56c1aa791658183a54d2744120f27285738d90465a" -[[package]] -name = "fastrand" -version = "1.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e51093e27b0797c359783294ca4f0a911c270184cb10f85783b118614a1501be" -dependencies = [ - "instant", -] - [[package]] name = "fastrand" version = "2.0.1" @@ -1659,15 +1377,6 @@ dependencies = [ "miniz_oxide", ] -[[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" @@ -1926,17 +1635,6 @@ dependencies = [ "libc", ] -[[package]] -name = "getrandom" -version = "0.1.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8fc3cb4d91f53b50155bdcfd23f6a4c39ae1969c2ae85982b135750cccaf5fce" -dependencies = [ - "cfg-if 1.0.0", - "libc", - "wasi 0.9.0+wasi-snapshot-preview1", -] - [[package]] name = "getrandom" version = "0.2.10" @@ -1948,22 +1646,6 @@ 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" @@ -1974,17 +1656,6 @@ dependencies = [ "tracing", ] -[[package]] -name = "gimli" -version = "0.26.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22030e2c5a68ec659fde1e949a745124b48e6fa8b045b7ed5bd1fe4ccc5c4e5d" -dependencies = [ - "fallible-iterator", - "indexmap 1.9.3", - "stable_deref_trait", -] - [[package]] name = "gimli" version = "0.28.0" @@ -2039,43 +1710,6 @@ dependencies = [ "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.3", -] - [[package]] name = "hashbrown" version = "0.14.1" @@ -2226,30 +1860,12 @@ 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" 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.3.3" @@ -2425,107 +2041,12 @@ dependencies = [ name = "holochain_conductor_api" version = "0.2.2" -[[package]] -name = "holochain_serialized_bytes_derive" -version = "0.0.51" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1077232d0c427d64feb9e138fa22800e447eafb1810682d6c13beb95333cb32c" -dependencies = [ - "quote", - "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" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4696d86bc639c07469f95d369d1e93d5a50f9afd782ed14fa74e7040293a133a" -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.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fdfffeca0c6dea328a1ff7097946a951035dd137f4b9ad0db00f5377cd6c9326" -dependencies = [ - "arbitrary", - "derive_builder", - "holo_hash", - "holochain_serialized_bytes", - "holochain_util", - "kitsune_p2p_dht", - "kitsune_p2p_timestamp", - "paste", - "serde", - "serde_bytes", - "subtle", - "subtle-encoding", - "tracing", -] - [[package]] name = "holochain_keystore" version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f03dedeb6f3e244558f491356c4a00da9c5a44a05ca683e460c6e5434ed2e149" -[[package]] -name = "holochain_zome_types" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b77f5caa760c7b34019739fb3b0a986a235fa0a09086b8eaff8cf7a72a2a6ce" -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_p2p" version = "0.2.2" @@ -3042,17 +2563,6 @@ 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.4.0" @@ -3063,16 +2573,6 @@ dependencies = [ "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" @@ -3089,17 +2589,6 @@ 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.0.2" @@ -3211,24 +2700,6 @@ dependencies = [ "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.11.0" @@ -3614,16 +3085,6 @@ 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" @@ -3713,27 +3174,12 @@ version = "0.5.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0717cef1bc8b636c6e1c1bbdefc09e6322da8a9321966e8928ef80d20f7f770f" -[[package]] -name = "linux-raw-sys" -version = "0.3.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519" - [[package]] name = "linux-raw-sys" version = "0.4.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3852614a3bd9ca9804678ba6be5e3b8ce76dfc902cae004e3e0c44051b6e88db" -[[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.10" @@ -3774,15 +3220,6 @@ dependencies = [ "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" @@ -3875,15 +3312,6 @@ 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.9.0" @@ -4101,15 +3529,6 @@ dependencies = [ "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" @@ -4170,15 +3589,6 @@ 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" @@ -4338,18 +3748,6 @@ dependencies = [ "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.32.1" @@ -4510,38 +3908,6 @@ version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e52c774a4c39359c1d1c52e43f73dd91a75a614652c825408eec30c95a9b2067" -[[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.10", - "parking_lot_core 0.8.6", -] - [[package]] name = "parking_lot" version = "0.12.1" @@ -4552,46 +3918,6 @@ dependencies = [ "parking_lot_core 0.9.8", ] -[[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.11.1", - "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.11.1", - "winapi 0.3.9", -] - [[package]] name = "parking_lot_core" version = "0.9.8" @@ -4620,12 +3946,6 @@ 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.0" @@ -4722,19 +4042,6 @@ 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" @@ -4775,18 +4082,6 @@ dependencies = [ "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" @@ -4797,15 +4092,6 @@ dependencies = [ "yansi", ] -[[package]] -name = "proc-macro-crate" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d6ea3c4595b96363c13943497db34af4460fb474a95c43f4446ad341b8c9785" -dependencies = [ - "toml 0.5.11", -] - [[package]] name = "proc-macro-crate" version = "1.3.1" @@ -5002,51 +4288,6 @@ version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dc33ff2d4973d518d823d61aa239014831e521c75da58e3df4840d3f47749d09" -[[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" @@ -5067,26 +4308,6 @@ 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" @@ -5097,30 +4318,6 @@ dependencies = [ "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" @@ -5140,15 +4337,6 @@ dependencies = [ "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" @@ -5237,18 +4425,6 @@ dependencies = [ "crossbeam-utils", ] -[[package]] -name = "rcgen" -version = "0.9.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6413f3de1edee53342e6138e75b56d32e7bc6e332b3bd62d497b1929d4cfbcdd" -dependencies = [ - "pem", - "ring", - "time", - "yasna", -] - [[package]] name = "rcgen" version = "0.10.0" @@ -5271,21 +4447,6 @@ 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.3.5" @@ -5329,15 +4490,6 @@ dependencies = [ "regex-syntax 0.7.5", ] -[[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-automata" version = "0.3.9" @@ -5349,12 +4501,6 @@ dependencies = [ "regex-syntax 0.7.5", ] -[[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.5" @@ -5523,16 +4669,6 @@ dependencies = [ "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.2.0" @@ -5605,20 +4741,6 @@ dependencies = [ "semver 1.0.19", ] -[[package]] -name = "rustix" -version = "0.37.24" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4279d76516df406a8bd37e7dff53fd37d1a093f997a3c34a5c21658c126db06d" -dependencies = [ - "bitflags 1.3.2", - "errno", - "io-lifetimes", - "libc", - "linux-raw-sys 0.3.8", - "windows-sys 0.48.0", -] - [[package]] name = "rustix" version = "0.38.17" @@ -5632,18 +4754,6 @@ dependencies = [ "windows-sys 0.48.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 0.22.2", -] - [[package]] name = "rustls" version = "0.21.7" @@ -5662,19 +4772,10 @@ version = "0.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a9aace74cb666635c918e9c12bc0d348266037aa8eb599b5cba565709a8dff00" dependencies = [ - "openssl-probe", - "rustls-pemfile 1.0.3", - "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", + "openssl-probe", + "rustls-pemfile 1.0.3", + "schannel", + "security-framework", ] [[package]] @@ -5686,16 +4787,6 @@ dependencies = [ "base64 0.21.4", ] -[[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 = "rustls-webpki" version = "0.101.6" @@ -5803,15 +4894,6 @@ dependencies = [ "cfg-if 1.0.0", ] -[[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.19" @@ -5853,9 +4935,6 @@ name = "serde_bytes" version = "0.11.12" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ab33ec92f677585af6d88c65593ae2375adde54efdbf16d597f2cbc7a6d368ff" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb0b2032c0ee5683bc4d4c7c705f545992655bd5dc6235e62d0f916197a5c0af" dependencies = [ "base64", "derive_more", @@ -5975,30 +5054,6 @@ dependencies = [ "winapi", ] -[[package]] -name = "sha-1" -version = "0.9.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "99cd6713db3cf16b6c84e06321e049a9b9f699826e16096d23bbcc44d15d51a6" -dependencies = [ - "block-buffer 0.9.0", - "cfg-if 1.0.0", - "cpufeatures", - "digest 0.9.0", - "opaque-debug", -] - -[[package]] -name = "sha-1" -version = "0.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f5058ada175748e33390e40e872bd0fe59a19f265d0158daa551c5a88a76009c" -dependencies = [ - "cfg-if 1.0.0", - "cpufeatures", - "digest 0.10.7", -] - [[package]] name = "sha1" version = "0.10.6" @@ -6072,11 +5127,9 @@ dependencies = [ "num-complex", "num-traits", "paste", -======= "hdk", "likes_integrity", "serde", ->>>>>>> main ] [[package]] @@ -6104,31 +5157,12 @@ dependencies = [ "autocfg 1.1.0", ] -[[package]] -name = "smallvec" -version = "0.6.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b97fcaeba89edba30f044a10c6a3cc39df9c3f17d7cd829dd1446cab35f890e0" -dependencies = [ - "maybe-uninit", -] - [[package]] name = "smallvec" version = "1.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "942b4a808e05215192e39f4ab80813e599068285906cc91aa64f923db842bd5a" -[[package]] -name = "socket2" -version = "0.4.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "64a4a911eed85daf18834cfaa86a79b7d266ff93ff5ba14005426219480ed662" -dependencies = [ - "libc", - "winapi 0.3.9", -] - [[package]] name = "socket2" version = "0.5.4" @@ -6154,29 +5188,12 @@ dependencies = [ "tokio", ] -[[package]] -name = "spin" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d" - [[package]] name = "spin" version = "0.9.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67" -[[package]] -name = "sqlformat" -version = "0.1.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4b7922be017ee70900be125523f38bdd644f4f06a1b16e8fa5a8ee8c34bffd4" -dependencies = [ - "itertools 0.10.5", - "nom 7.1.3", - "unicode_categories", -] - [[package]] name = "sqlformat" version = "0.2.2" @@ -6224,18 +5241,6 @@ dependencies = [ "tokio", ] -[[package]] -name = "strsim" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a" - -[[package]] -name = "strsim" -version = "0.9.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6446ced80d6c486436db5c078dde11a9f73d42b57fb273121e160b84f63d894c" - [[package]] name = "strsim" version = "0.10.0" @@ -6272,18 +5277,6 @@ version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "57bd81eb48f4c437cadc685403cad539345bf703d78e63707418431cecd4522b" -[[package]] -name = "strum_macros" -version = "0.18.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87c85aa3f8ea653bfd3ddf25f7ee357ee4d204731f6aa9ad04002306f6e2774c" -dependencies = [ - "heck 0.3.3", - "proc-macro2", - "quote", - "syn 1.0.109", -] - [[package]] name = "strum_macros" version = "0.24.3" @@ -6322,17 +5315,6 @@ dependencies = [ "zeroize", ] -[[package]] -name = "syn" -version = "1.0.109" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" -dependencies = [ - "proc-macro2", - "quote", - "unicode-ident", -] - [[package]] name = "syn" version = "2.0.37" @@ -6356,21 +5338,6 @@ dependencies = [ "unicode-xid", ] -[[package]] -name = "sysinfo" -version = "0.27.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a902e9050fca0a5d6877550b769abd2bd1ce8c04634b941dbe2809735e1a1e33" -dependencies = [ - "cfg-if 1.0.0", - "core-foundation-sys", - "libc", - "ntapi", - "once_cell", - "rayon", - "winapi 0.3.9", -] - [[package]] name = "sysinfo" version = "0.28.4" @@ -6531,15 +5498,6 @@ dependencies = [ "test-fuzz-internal", ] -[[package]] -name = "textwrap" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060" -dependencies = [ - "unicode-width", -] - [[package]] name = "textwrap" version = "0.16.0" @@ -6758,15 +5716,6 @@ dependencies = [ "tracing", ] -[[package]] -name = "toml" -version = "0.5.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4f7f0dd8d50a853a531c426359045b1998f04219d88799810762cd4ad314234" -dependencies = [ - "serde", -] - [[package]] name = "toml" version = "0.7.8" @@ -7001,47 +5950,6 @@ dependencies = [ "urlencoding", ] -[[package]] -name = "tungstenite" -version = "0.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ada8297e8d70872fa9a551d93250a9f407beb9f37ef86494eb20012a2ff7c24" -dependencies = [ - "base64 0.13.1", - "byteorder", - "bytes", - "http", - "httparse", - "input_buffer", - "log", - "native-tls", - "rand 0.8.5", - "sha-1 0.9.8", - "url 2.4.1", - "utf-8", -] - -[[package]] -name = "tungstenite" -version = "0.18.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "30ee6ab729cd4cf0fd55218530c4522ed30b7b6081752839b68fcec8d0960788" -dependencies = [ - "base64 0.13.1", - "byteorder", - "bytes", - "http", - "httparse", - "log", - "rand 0.8.5", - "rustls 0.20.9", - "sha1", - "thiserror", - "url 2.4.1", - "utf-8", - "webpki 0.22.2", -] - [[package]] name = "tungstenite" version = "0.20.1" @@ -7281,17 +6189,6 @@ dependencies = [ "webpki-roots 0.25.2", ] -[[package]] -name = "url" -version = "1.7.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd4e7c0d531266369519a4aa4f399d748bd37043b00bde1e4ff1f60a120b355a" -dependencies = [ - "idna 0.1.5", - "matches", - "percent-encoding 1.0.1", -] - [[package]] name = "url" version = "2.4.1" @@ -7342,16 +6239,6 @@ version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a" -[[package]] -name = "uuid" -version = "0.7.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90dbc611eb48397705a6b0f6e917da23ae517e4d127123d2cf7674206627d32a" -dependencies = [ - "rand 0.6.5", - "serde", -] - [[package]] name = "uuid" version = "1.4.1" @@ -7447,12 +6334,6 @@ dependencies = [ "tracing", ] -[[package]] -name = "wasi" -version = "0.9.0+wasi-snapshot-preview1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519" - [[package]] name = "wasi" version = "0.11.0+wasi-snapshot-preview1" @@ -7814,16 +6695,6 @@ dependencies = [ "wasm-bindgen", ] -[[package]] -name = "webpki" -version = "0.21.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8e38c0608262c46d4a56202ebabdeb094cef7e560ca7a226c6bf055188aa4ea" -dependencies = [ - "ring", - "untrusted", -] - [[package]] name = "webpki" version = "0.22.2" @@ -7861,12 +6732,6 @@ dependencies = [ "rustix 0.38.17", ] -[[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" @@ -7907,34 +6772,6 @@ dependencies = [ "windows-targets", ] -[[package]] -name = "windows-sys" -version = "0.33.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43dbb096663629518eb1dfa72d80243ca5a6aca764cae62a2df70af760a9be75" -dependencies = [ - "windows_aarch64_msvc 0.33.0", - "windows_i686_gnu 0.33.0", - "windows_i686_msvc 0.33.0", - "windows_x86_64_gnu 0.33.0", - "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.48.0" @@ -7959,114 +6796,42 @@ dependencies = [ "windows_x86_64_msvc 0.48.5", ] -[[package]] -name = "windows_aarch64_gnullvm" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8" - [[package]] name = "windows_aarch64_gnullvm" version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" -[[package]] -name = "windows_aarch64_msvc" -version = "0.33.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd761fd3eb9ab8cc1ed81e56e567f02dd82c4c837e48ac3b2181b9ffc5060807" - -[[package]] -name = "windows_aarch64_msvc" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43" - [[package]] name = "windows_aarch64_msvc" version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" -[[package]] -name = "windows_i686_gnu" -version = "0.33.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cab0cf703a96bab2dc0c02c0fa748491294bf9b7feb27e1f4f96340f208ada0e" - -[[package]] -name = "windows_i686_gnu" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f" - [[package]] name = "windows_i686_gnu" version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" -[[package]] -name = "windows_i686_msvc" -version = "0.33.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8cfdbe89cc9ad7ce618ba34abc34bbb6c36d99e96cae2245b7943cd75ee773d0" - -[[package]] -name = "windows_i686_msvc" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060" - [[package]] name = "windows_i686_msvc" version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" -[[package]] -name = "windows_x86_64_gnu" -version = "0.33.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4dd9b0c0e9ece7bb22e84d70d01b71c6d6248b81a3c60d11869451b4cb24784" - -[[package]] -name = "windows_x86_64_gnu" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36" - [[package]] name = "windows_x86_64_gnu" version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" -[[package]] -name = "windows_x86_64_gnullvm" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3" - [[package]] name = "windows_x86_64_gnullvm" version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" -[[package]] -name = "windows_x86_64_msvc" -version = "0.33.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff1e4aa646495048ec7f3ffddc411e1d829c026a2ec62b39da15c1055e406eaa" - -[[package]] -name = "windows_x86_64_msvc" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0" - [[package]] name = "windows_x86_64_msvc" version = "0.48.5" From 3ed6aa8db4b4178052099a4c76b04b70c88ac932 Mon Sep 17 00:00:00 2001 From: Zeek Date: Tue, 2 Jan 2024 19:00:55 -0700 Subject: [PATCH 6/6] ignore cargo lock in push --- .gitignore | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index c8b3ef82..5b6abe26 100644 --- a/.gitignore +++ b/.gitignore @@ -19,4 +19,6 @@ target/ dist.zip ## holo files -holo-dev-server \ No newline at end of file +holo-dev-server + +Cargo.lock \ No newline at end of file