diff --git a/Cargo.lock b/Cargo.lock index 6ac850a..eb28b64 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -162,9 +162,9 @@ checksum = "7c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50" [[package]] name = "async-trait" -version = "0.1.82" +version = "0.1.83" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a27b8a3a6e1a44fa4c8baf1f653e4172e81486d4941f2237e20dc2d0cf4ddff1" +checksum = "721cae7de5c34fbb2acd27e21e6d2cf7b886dce0c27388d46c4e6c47ea4318dd" dependencies = [ "proc-macro2", "quote", @@ -934,9 +934,9 @@ dependencies = [ [[package]] name = "fixt" -version = "0.4.0-dev.3" +version = "0.4.0-dev.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58f00f6a51bfb4b9f808a7fc2accb891682bda7cfcafbf08a283393f7db49a80" +checksum = "193caf94296b18355f2ce2845ce03e42d0dd8db252147ab110c2c309fb1e13a5" dependencies = [ "holochain_serialized_bytes", "lazy_static", @@ -1203,31 +1203,6 @@ dependencies = [ "hashbrown 0.14.5", ] -[[package]] -name = "hc_deepkey_sdk" -version = "0.7.0-dev.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea908bf540cdceeac81a53e348a8bfb2e011ba8bd41aeaebe0cf826151152fa3" -dependencies = [ - "hc_deepkey_types", - "hdk", - "serde", - "serde_bytes", -] - -[[package]] -name = "hc_deepkey_types" -version = "0.8.0-dev.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c2df5dd06aea65209ee9c92cbb5b78f58dabcee44e67e2ce8ce72269c36e019" -dependencies = [ - "hdi", - "holo_hash", - "holochain_integrity_types", - "rmpv", - "serde", -] - [[package]] name = "hc_r2d2_sqlite" version = "0.25.0" @@ -1256,9 +1231,9 @@ dependencies = [ [[package]] name = "hdi" -version = "0.5.0-dev.15" +version = "0.5.0-dev.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da97eabe84f2eccc10ffad392da05a1998e0b5df8eb35960cd30a1a1dbc7a96a" +checksum = "8d675f92d27a9f130edd3888fd057c9013a99cfd057ae856b6a892bb2578dabb" dependencies = [ "getrandom", "hdk_derive", @@ -1274,9 +1249,9 @@ dependencies = [ [[package]] name = "hdk" -version = "0.4.0-dev.17" +version = "0.4.0-dev.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7d0362e8a94f17e3d050be68a83fe9313a950aebd345bae6db0f60a7eb6f93a" +checksum = "a21b6ea4d469cb9851828f3f3f02ab593816a286e3cf01889898de5f3610479f" dependencies = [ "getrandom", "hdi", @@ -1294,9 +1269,9 @@ dependencies = [ [[package]] name = "hdk_derive" -version = "0.4.0-dev.14" +version = "0.4.0-dev.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "379fea8efc247dec919950b52c8dd6cf184da2c72ab9a90a2994bfe50fc3496b" +checksum = "eea1c46fbe682e26f55189825eb5fa2c83636099c0700b9a33e627978f1ea760" dependencies = [ "darling 0.14.4", "heck 0.5.0", @@ -1352,9 +1327,9 @@ checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" [[package]] name = "holo_hash" -version = "0.4.0-dev.12" +version = "0.4.0-dev.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84ab790f4a750f08ff11824dd6bc13c1b091371b7b4bac92733b15bb135c2fa6" +checksum = "78093a721f73f0b9d7aded3219330c40a021e90fe161f6a212dd44f7b1e5cb56" dependencies = [ "base64 0.22.1", "blake2b_simd", @@ -1375,9 +1350,9 @@ dependencies = [ [[package]] name = "holochain_integrity_types" -version = "0.4.0-dev.14" +version = "0.4.0-dev.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b79568981a1da6981295b6b9d821d88b330afc262fb65693336dcacae20c9b9d" +checksum = "af9bd9d3f3f3a75c1e5ed6f65c9e3281cf1983e83780f9f24658f3b5c169ec2f" dependencies = [ "derive_builder", "holo_hash", @@ -1394,9 +1369,9 @@ dependencies = [ [[package]] name = "holochain_keystore" -version = "0.4.0-dev.22" +version = "0.4.0-dev.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c0c8cdaa7098a946ecd6ff4a8d6b5eb0e2a117c0b1d6b2db2946021596b0d34" +checksum = "206f4935ee25bf5fee4cd4409848a3fa7a448456536545b2ce30cb1a6cfa9014" dependencies = [ "base64 0.22.1", "derive_more", @@ -1483,9 +1458,9 @@ dependencies = [ [[package]] name = "holochain_sqlite" -version = "0.4.0-dev.21" +version = "0.4.0-dev.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "442cb846bf887b42ebf7636118b3c57145e140391990cbb727aa34273abbffbf" +checksum = "57c20d1d3993f70613812984fa465bcbdc3264c33138ba866be57937240afc7e" dependencies = [ "anyhow", "async-trait", @@ -1528,9 +1503,9 @@ dependencies = [ [[package]] name = "holochain_trace" -version = "0.4.0-dev.5" +version = "0.4.0-dev.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3e00bdd969d61fab25573441a201ee8da89d34df655b4153e1d092e54dca29a" +checksum = "7d337ddc8dd6bdabe6a39c08ec7e6a64135724fcbbd49b3b5f154b5e6b3a66fb" dependencies = [ "chrono", "derive_more", @@ -1546,9 +1521,9 @@ dependencies = [ [[package]] name = "holochain_types" -version = "0.4.0-dev.24" +version = "0.4.0-dev.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "605386a24b66b4effc7057645b11e6cd62eec14a5ed88962417956bb700766b1" +checksum = "42e28c3caee6330e9484018e172877eb00030e2ef32310d854e595260145dd77" dependencies = [ "anyhow", "async-trait", @@ -1563,7 +1538,6 @@ dependencies = [ "flate2", "futures", "getrandom", - "hc_deepkey_sdk", "holo_hash", "holochain_keystore", "holochain_nonce", @@ -1599,9 +1573,9 @@ dependencies = [ [[package]] name = "holochain_util" -version = "0.4.0-dev.4" +version = "0.4.0-dev.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac1c491b6ba90c68041b393264b1e67c2990b68094caa7fdfe1ea5a959c82107" +checksum = "57f1cb30b20d3b0bf1d84e697c3d95fb6b1ec74c9178e7c5e7fd4f1c051695d8" dependencies = [ "backtrace", "cfg-if 1.0.0", @@ -1612,7 +1586,6 @@ dependencies = [ "rpassword", "sodoken", "tokio", - "tracing", ] [[package]] @@ -1644,9 +1617,9 @@ dependencies = [ [[package]] name = "holochain_zome_types" -version = "0.4.0-dev.17" +version = "0.4.0-dev.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "64752eeef8c57e0549f09a9fac7b6fb73c94028bc021589f94c7cfd68b4b54c8" +checksum = "6d33d51ba7af1de0cb911211702443d49d8cdc71e1bc891591dc29259bbc8566" dependencies = [ "derive_builder", "derive_more", @@ -1666,7 +1639,6 @@ dependencies = [ "serde_yaml", "shrinkwraprs", "subtle", - "subtle-encoding", "thiserror", "tracing", ] @@ -1775,9 +1747,9 @@ dependencies = [ [[package]] name = "hyper-util" -version = "0.1.8" +version = "0.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da62f120a8a37763efb0cf8fdf264b884c7b8b9ac8660b900c8661030c00e6ba" +checksum = "41296eb09f183ac68eec06e03cdbea2e759633d4067b2f6552fc2e009bcad08b" dependencies = [ "bytes", "futures-channel", @@ -1788,7 +1760,6 @@ dependencies = [ "pin-project-lite", "socket2", "tokio", - "tower", "tower-service", "tracing", ] @@ -1992,9 +1963,9 @@ dependencies = [ [[package]] name = "kitsune_p2p_bin_data" -version = "0.4.0-dev.11" +version = "0.4.0-dev.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d5bc477873f3c25e263946caa431f236dec465d4c7c75a715bdf41cc87f45013" +checksum = "63c91ce3185b0e533db622a9f4fecd15bb4c400f09b3798cb9f8973973f6ea9c" dependencies = [ "base64 0.22.1", "derive_more", @@ -2007,9 +1978,9 @@ dependencies = [ [[package]] name = "kitsune_p2p_block" -version = "0.4.0-dev.11" +version = "0.4.0-dev.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb37277cef33bacf6113448c8c224296c3ceb25ce1c72eca7911984f0bff0d65" +checksum = "dc97c168e96d21e8638b6b5b89d13f7a83ccf43443553219b0969d550c9e33b0" dependencies = [ "kitsune_p2p_bin_data", "kitsune_p2p_timestamp", @@ -2018,9 +1989,9 @@ dependencies = [ [[package]] name = "kitsune_p2p_dht" -version = "0.4.0-dev.9" +version = "0.4.0-dev.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "724960e037263eca03dad008d68a28fcab20f14a7a93a6572ff9c2743becdb1a" +checksum = "c17cfb5e0bd26b559d2c2f85b02e6b81838577d146c7871c1688768142dbc763" dependencies = [ "arbitrary", "colored", @@ -2042,9 +2013,9 @@ dependencies = [ [[package]] name = "kitsune_p2p_dht_arc" -version = "0.4.0-dev.9" +version = "0.4.0-dev.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49cefd7f1867eb14ade8fce5b6a9975c399780f4735aad7701ed1b2036b72ae9" +checksum = "ee8192d3f5534dcb2aebf38432e001b2b458f30364b6f26e84dc267c08188808" dependencies = [ "arbitrary", "derive_more", @@ -2076,9 +2047,9 @@ dependencies = [ [[package]] name = "kitsune_p2p_types" -version = "0.4.0-dev.13" +version = "0.4.0-dev.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0305bc228d171847cc35439e6ad56d41bd61da019900964026d771b5de69f896" +checksum = "af13b9b93115aabd8737016685c6599dad31ec731cf1dc336e5f35117c5cca54" dependencies = [ "base64 0.22.1", "derive_more", @@ -2155,9 +2126,9 @@ checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" [[package]] name = "libc" -version = "0.2.158" +version = "0.2.159" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d8adc4bb1803a324070e64a98ae98f38934d91957a99cfb3a43dcbc01bc56439" +checksum = "561d97a539a36e26a9a5fad1ea11a3039a67714694aaa379433e580854bc3dc5" [[package]] name = "libflate" @@ -2331,9 +2302,9 @@ dependencies = [ [[package]] name = "mr_bundle" -version = "0.4.0-dev.7" +version = "0.4.0-dev.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bec8cf33890b9d37580b77210cf52adc23b7a6528eaeb780b91c982374a19343" +checksum = "438162278a3b42da506ee9d250435e20af44aa8a4b256356bcbad99a55b6d162" dependencies = [ "derive_more", "flate2", @@ -2808,9 +2779,9 @@ checksum = "c1be1ec9e59f0360aefe84efa6f699198b685ab0d5718081e9f72aa2344289e2" [[package]] name = "pkg-config" -version = "0.3.30" +version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d231b230927b5e4ad203db57bbcbee2802f6bce620b1e4a9024a07d94e2907ec" +checksum = "953ec861398dccce10c670dfeaf3ec4911ca479e9c02154b3a215178c5f566f2" [[package]] name = "powerfmt" @@ -3045,9 +3016,9 @@ dependencies = [ [[package]] name = "redox_syscall" -version = "0.5.4" +version = "0.5.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0884ad60e090bf1345b93da0a5de8923c93884cd03f40dfcfddd3b4bee661853" +checksum = "355ae415ccd3a04315d3f8246e86d67689ea74d88d915576e1589a351062a13b" dependencies = [ "bitflags 2.6.0", ] @@ -3438,6 +3409,7 @@ dependencies = [ "nix_scaffolding_utils", "npm_scaffolding_utils", "path-clean", + "pretty_assertions", "regex", "serde", "serde_json", @@ -3565,9 +3537,9 @@ dependencies = [ [[package]] name = "serde_spanned" -version = "0.6.7" +version = "0.6.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb5b1b31579f3811bf615c144393417496f152e12ac8b7663bf664f4a815306d" +checksum = "87607cb1398ed59d48732e575a4c28a7a8ebf2454b964fe3f224f2afc07909e1" dependencies = [ "serde", ] @@ -3950,9 +3922,9 @@ dependencies = [ [[package]] name = "tar" -version = "0.4.41" +version = "0.4.42" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb797dad5fb5b76fcf519e702f4a589483b5ef06567f160c392832c1f5e44909" +checksum = "4ff6c40d3aedb5e06b57c6f669ad17ab063dd1e63d977c6a88e7f4dfa4f04020" dependencies = [ "filetime", "libc", @@ -4225,9 +4197,9 @@ dependencies = [ [[package]] name = "toml_edit" -version = "0.22.21" +version = "0.22.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b072cee73c449a636ffd6f32bd8de3a9f7119139aff882f44943ce2986dc5cf" +checksum = "4ae48d6208a266e853d946088ed816055e556cc6028c5e8e2b84d9fa5dd7c7f5" dependencies = [ "indexmap 2.5.0", "serde", @@ -4236,27 +4208,6 @@ dependencies = [ "winnow", ] -[[package]] -name = "tower" -version = "0.4.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8fa9be0de6cf49e536ce1851f987bd21a43b771b09473c3549a6c853db37c1c" -dependencies = [ - "futures-core", - "futures-util", - "pin-project", - "pin-project-lite", - "tokio", - "tower-layer", - "tower-service", -] - -[[package]] -name = "tower-layer" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "121c2a6cda46980bb0fcd1647ffaf6cd3fc79a013de288782836f6df9c48780e" - [[package]] name = "tower-service" version = "0.3.3" @@ -4866,9 +4817,9 @@ checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" [[package]] name = "winnow" -version = "0.6.18" +version = "0.6.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68a9bda4691f099d435ad181000724da8e5899daa10713c2d432552b9ccd3a6f" +checksum = "36c1fec1a2bb5866f07c25f68c26e565c4c200aebb96d7e55710c19d3e8ac49b" dependencies = [ "memchr", ] diff --git a/crates/compare_dnas_integrity/default.nix b/crates/compare_dnas_integrity/default.nix index 45359f6..38ce509 100644 --- a/crates/compare_dnas_integrity/default.nix +++ b/crates/compare_dnas_integrity/default.nix @@ -15,7 +15,7 @@ commonArgs = { src = craneLib.cleanCargoSource (craneLib.path ../../.); doCheck = false; - buildInputs = self.lib.holochainDeps { inherit pkgs lib; }; + buildInputs = self'.dependencies.holochain.buildInputs; }; cargoArtifacts = craneLib.buildDepsOnly (commonArgs // { pname = "t-nesh-workspace"; diff --git a/crates/nix_scaffolding_utils/fixture/flake.nix b/crates/nix_scaffolding_utils/fixture/flake.nix index 0300978..7d6db21 100644 --- a/crates/nix_scaffolding_utils/fixture/flake.nix +++ b/crates/nix_scaffolding_utils/fixture/flake.nix @@ -3,20 +3,14 @@ inputs = { nixpkgs.follows = "holochain/nixpkgs"; - - versions.url = "github:holochain/holochain?dir=versions/weekly"; - - holochain = { - url = "github:holochain/holochain"; - inputs.versions.follows = "versions"; - }; + holonix.url = "github:holochain/holonix"; }; outputs = inputs@{ ... }: - inputs.holochain.inputs.flake-parts.lib.mkFlake { inherit inputs; } { + inputs.holonix.inputs.flake-parts.lib.mkFlake { inherit inputs; } { imports = [ ./dna.nix ]; - systems = builtins.attrNames inputs.holochain.devShells; + systems = builtins.attrNames inputs.holonix.devShells; perSystem = { inputs', config, pkgs, system, lib, self', ... }: { }; }; } diff --git a/crates/scaffold_remote_zome/Cargo.toml b/crates/scaffold_remote_zome/Cargo.toml index e16439f..2bb4d11 100644 --- a/crates/scaffold_remote_zome/Cargo.toml +++ b/crates/scaffold_remote_zome/Cargo.toml @@ -32,3 +32,6 @@ dialoguer = "0.11" colored = "2.1.0" holochain_types = { workspace = true } + +[dev-dependencies] +pretty_assertions = "1.4.1" diff --git a/crates/scaffold_remote_zome/default.nix b/crates/scaffold_remote_zome/default.nix index b366cf0..7c74942 100644 --- a/crates/scaffold_remote_zome/default.nix +++ b/crates/scaffold_remote_zome/default.nix @@ -15,7 +15,7 @@ commonArgs = { src = craneLib.cleanCargoSource (craneLib.path ../../.); doCheck = false; - buildInputs = self.lib.holochainDeps { inherit pkgs lib; }; + buildInputs = self'.dependencies.holochain.buildInputs; }; cargoArtifacts = craneLib.buildDepsOnly (commonArgs // { pname = "t-nesh-workspace"; diff --git a/crates/scaffold_remote_zome/fixture/dna.nix b/crates/scaffold_remote_zome/fixture/dna.nix index 11b7533..21010ce 100644 --- a/crates/scaffold_remote_zome/fixture/dna.nix +++ b/crates/scaffold_remote_zome/fixture/dna.nix @@ -1,19 +1,11 @@ { inputs, ... }: { - perSystem = - { inputs' - , self' - , lib - , ... - }: { - packages.forum = inputs.hc-infra.outputs.lib.dna { - dnaManifest = ./dna.yaml; - holochain = inputs'.holochain; - zomes = { - - }; - }; - }; + perSystem = { inputs', self', lib, system, ... }: { + packages.forum = inputs.hc-infra.outputs.builders.${system}.dna { + dnaManifest = ./dna.yaml; + zomes = { }; + }; + }; } diff --git a/crates/scaffold_remote_zome/fixture/flake.nix b/crates/scaffold_remote_zome/fixture/flake.nix index 0300978..104e847 100644 --- a/crates/scaffold_remote_zome/fixture/flake.nix +++ b/crates/scaffold_remote_zome/fixture/flake.nix @@ -2,21 +2,16 @@ description = "Template for Holochain app development"; inputs = { - nixpkgs.follows = "holochain/nixpkgs"; + nixpkgs.follows = "holonix/nixpkgs"; - versions.url = "github:holochain/holochain?dir=versions/weekly"; - - holochain = { - url = "github:holochain/holochain"; - inputs.versions.follows = "versions"; - }; + holonix.url = "github:holochain/holonix"; }; outputs = inputs@{ ... }: - inputs.holochain.inputs.flake-parts.lib.mkFlake { inherit inputs; } { + inputs.holonix.inputs.flake-parts.lib.mkFlake { inherit inputs; } { imports = [ ./dna.nix ]; - systems = builtins.attrNames inputs.holochain.devShells; + systems = builtins.attrNames inputs.holonix.devShells; perSystem = { inputs', config, pkgs, system, lib, self', ... }: { }; }; } diff --git a/crates/scaffold_remote_zome/src/lib.rs b/crates/scaffold_remote_zome/src/lib.rs index 29f51ee..3715767 100644 --- a/crates/scaffold_remote_zome/src/lib.rs +++ b/crates/scaffold_remote_zome/src/lib.rs @@ -343,6 +343,7 @@ fn find_nixified_dnas(file_tree: &FileTree) -> Result, Scaffold #[cfg(test)] mod tests { use super::*; + use pretty_assertions::assert_eq; use build_fs_tree::{dir, file}; use file_tree_utils::file_content; @@ -426,19 +427,14 @@ coordinator: inputs = { profiles.url = "github:holochain-open-dev/profiles/nixify"; - nixpkgs.follows = "holochain/nixpkgs"; + nixpkgs.follows = "holonix/nixpkgs"; - versions.url = "github:holochain/holochain?dir=versions/weekly"; - - holochain = { - url = "github:holochain/holochain"; - inputs.versions.follows = "versions"; - }; + holonix.url = "github:holochain/holonix"; hc-infra.url = "github:holochain-open-dev/utils"; }; outputs = inputs @ { ... }: - inputs.holochain.inputs.flake-parts.lib.mkFlake + inputs.holonix.inputs.flake-parts.lib.mkFlake { inherit inputs; } @@ -447,7 +443,7 @@ coordinator: ./dna.nix ]; - systems = builtins.attrNames inputs.holochain.devShells; + systems = builtins.attrNames inputs.holonix.devShells; perSystem = { inputs' , config @@ -460,7 +456,7 @@ coordinator: devShells.default = pkgs.mkShell { inputsFrom = [ inputs'.hc-infra.devShells.synchronized-pnpm - inputs'.holochain.devShells.holonix + inputs'.holonix.devShells.default ]; }; }; @@ -477,20 +473,19 @@ coordinator: perSystem = { inputs' , self' + , system , ... }: { - packages.my_dna = inputs.hc-infra.outputs.lib.dna { + packages.my_dna = inputs.hc-infra.outputs.builders.${system}.dna { dnaManifest = ./dna.yaml; - holochain = inputs'.holochain; zomes = { profiles_integrity = inputs'.profiles.packages.profiles_integrity; profiles = inputs'.profiles.packages.profiles; }; }; - packages.another_dna = inputs.hc-infra.outputs.lib.dna { + packages.another_dna = inputs.hc-infra.outputs.builders.${system}.dna { dnaManifest = ./workdir/dna.yaml; - holochain = inputs'.holochain; zomes = { }; }; @@ -533,31 +528,23 @@ coordinator: description = "Template for Holochain app development"; inputs = { - nixpkgs.follows = "holochain/nixpkgs"; - - versions.url = "github:holochain/holochain?dir=versions/weekly"; + nixpkgs.follows = "holonix/nixpkgs"; - holochain = { - url = "github:holochain/holochain"; - inputs.versions.follows = "versions"; - }; + holonix.url = "github:holochain/holonix"; hc-infra.url = "github:holochain-open-dev/utils"; }; outputs = inputs @ { ... }: - inputs.holochain.inputs.flake-parts.lib.mkFlake + inputs.holonix.inputs.flake-parts.lib.mkFlake { inherit inputs; - specialArgs = { - rootPath = ./.; - }; } { imports = [ ./dna.nix ]; - systems = builtins.attrNames inputs.holochain.devShells; + systems = builtins.attrNames inputs.holonix.devShells; perSystem = { inputs' , config @@ -570,7 +557,7 @@ coordinator: devShells.default = pkgs.mkShell { inputsFrom = [ inputs'.hc-infra.devShells.synchronized-pnpm - inputs'.holochain.devShells.holonix + inputs'.holonix.devShells.default ]; }; }; @@ -588,18 +575,17 @@ coordinator: perSystem = { inputs' , self' + , system , ... }: { - packages.my_dna = inputs.hc-infra.outputs.lib.dna { + packages.my_dna = inputs.hc-infra.outputs.builders.${system}.dna { dnaManifest = ./dna.yaml; - holochain = inputs'.holochain; zomes = { }; }; - packages.another_dna = inputs.hc-infra.outputs.lib.dna { + packages.another_dna = inputs.hc-infra.outputs.builders.${system}.dna { dnaManifest = ./workdir/dna.yaml; - holochain = inputs'.holochain; zomes = { }; }; diff --git a/crates/sync_npm_git_dependencies_with_nix/default.nix b/crates/sync_npm_git_dependencies_with_nix/default.nix index 63e1399..c002926 100644 --- a/crates/sync_npm_git_dependencies_with_nix/default.nix +++ b/crates/sync_npm_git_dependencies_with_nix/default.nix @@ -15,7 +15,7 @@ commonArgs = { src = craneLib.cleanCargoSource (craneLib.path ../../.); doCheck = false; - buildInputs = self.lib.holochainDeps { inherit pkgs lib; }; + buildInputs = self'.dependencies.holochain.buildInputs; }; cargoArtifacts = craneLib.buildDepsOnly (commonArgs // { pname = "t-nesh-workspace"; diff --git a/crates/zome_wasm_hash/default.nix b/crates/zome_wasm_hash/default.nix index 6f98321..349b7fa 100644 --- a/crates/zome_wasm_hash/default.nix +++ b/crates/zome_wasm_hash/default.nix @@ -15,7 +15,7 @@ commonArgs = { src = craneLib.cleanCargoSource (craneLib.path ../../.); doCheck = false; - buildInputs = self.lib.holochainDeps { inherit pkgs lib; }; + buildInputs = self'.dependencies.holochain.buildInputs; }; cargoArtifacts = craneLib.buildDepsOnly (commonArgs // { pname = "t-nesh-workspace"; diff --git a/flake.lock b/flake.lock index 1853f4a..ddda163 100644 --- a/flake.lock +++ b/flake.lock @@ -2,11 +2,11 @@ "nodes": { "crane": { "locked": { - "lastModified": 1725409566, - "narHash": "sha256-PrtLmqhM6UtJP7v7IGyzjBFhbG4eOAHT6LPYOFmYfbk=", + "lastModified": 1727235847, + "narHash": "sha256-MoEot8izwkfGm1h5ak8hS2bu59mLmKeevlP/OvFLCzM=", "owner": "ipetkov", "repo": "crane", - "rev": "7e4586bad4e3f8f97a9271def747cf58c4b68f3c", + "rev": "08f45b5a2e01cf34ca6081188c6d16aa35581b09", "type": "github" }, "original": { @@ -70,16 +70,16 @@ "holochain": { "flake": false, "locked": { - "lastModified": 1726621288, - "narHash": "sha256-zUvEfTRX7acCzhEBgL8gkrngH7ryT18p1J2lOTE9uOo=", + "lastModified": 1727226305, + "narHash": "sha256-a4zt59D7LRnhkryusxyDGCmBxB2GOmEJDCOTLab1gY0=", "owner": "holochain", "repo": "holochain", - "rev": "1c38ad228103e2994399e735ccca9c4d850aec19", + "rev": "b42fb1ba3c439a7fe561cc627c5d53280fd2a83b", "type": "github" }, "original": { "owner": "holochain", - "ref": "holochain-0.4.0-dev.25", + "ref": "holochain-0.4.0-dev.26", "repo": "holochain", "type": "github" } @@ -96,11 +96,11 @@ "rust-overlay": "rust-overlay" }, "locked": { - "lastModified": 1726665849, - "narHash": "sha256-c6+HhJ5xSUuCVbvS67+52EDH8cSDCWYk5c2v84/yZqw=", + "lastModified": 1727258034, + "narHash": "sha256-hjO4HXA/42iorkeM0T+T+qDrFG2Edu0+tROQ5ji/npY=", "owner": "holochain", "repo": "holonix", - "rev": "25e2d39e876b93cfef091f484e80dafcf287bf83", + "rev": "2647d78d7083b5560a9f77df618345a64d4ddb6e", "type": "github" }, "original": { @@ -112,16 +112,16 @@ "lair-keystore": { "flake": false, "locked": { - "lastModified": 1726521249, - "narHash": "sha256-SZPhvZ7D5tNr3dKuxUp/zUOnfFe8UBG/uqWc9vQgUMM=", + "lastModified": 1726865440, + "narHash": "sha256-+ARQs+Sfmh8QXMyjjHjm6Ib8Ag86Jm2vnyB6l3zTCgA=", "owner": "holochain", "repo": "lair", - "rev": "6bbd604bff3d5eda528bb2da9c3aa1e1e71e429d", + "rev": "9f306efed597765b70da704e1739ecc67f2510e0", "type": "github" }, "original": { "owner": "holochain", - "ref": "lair_keystore-v0.5.1", + "ref": "lair_keystore-v0.5.2", "repo": "lair", "type": "github" } @@ -156,11 +156,11 @@ }, "pnpmnixpkgs": { "locked": { - "lastModified": 1726838390, - "narHash": "sha256-NmcVhGElxDbmEWzgXsyAjlRhUus/nEqPC5So7BOJLUM=", + "lastModified": 1727264057, + "narHash": "sha256-KQPI8CTTnB9CrJ7LrmLC4VWbKZfljEPBXOFGZFRpxao=", "owner": "nixos", "repo": "nixpkgs", - "rev": "944b2aea7f0a2d7c79f72468106bc5510cbf5101", + "rev": "759537f06e6999e141588ff1c9be7f3a5c060106", "type": "github" }, "original": { @@ -196,11 +196,11 @@ ] }, "locked": { - "lastModified": 1726453838, - "narHash": "sha256-pupsow4L79SBfNwT6vh/5RAbVZuhngIA0RTCZksXmZY=", + "lastModified": 1727231386, + "narHash": "sha256-XLloPtQHKk/Tdt8t8zIb+JhmunlH3YB9Jz8RTlQ3N/4=", "owner": "oxalica", "repo": "rust-overlay", - "rev": "ca2e79cd22625d214b8437c2c4080ce79bd9f7d2", + "rev": "b5f76c3b09a8194889f5328a480fbea1a9115518", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index 1ca0056..935707e 100644 --- a/flake.nix +++ b/flake.nix @@ -16,169 +16,136 @@ rec { }; outputs = inputs@{ ... }: - inputs.holonix.inputs.flake-parts.lib.mkFlake { inherit inputs; } rec { + inputs.holonix.inputs.flake-parts.lib.mkFlake { inherit inputs; } { flake = { - lib = rec { - holochainDeps = { pkgs, lib }: - (with pkgs; [ perl openssl ]) - ++ (lib.optionals pkgs.stdenv.isLinux [ pkgs.pkg-config pkgs.go ]) - ++ (pkgs.lib.optionals pkgs.stdenv.isDarwin [ - pkgs.libiconv - - pkgs.darwin.apple_sdk.frameworks.AppKit - pkgs.darwin.apple_sdk.frameworks.WebKit - (pkgs.darwin.apple_sdk_11_0.stdenv.mkDerivation { - name = "go"; - nativeBuildInputs = with pkgs; [ makeBinaryWrapper go ]; - dontBuild = true; - dontUnpack = true; - installPhase = '' - makeWrapper ${pkgs.go}/bin/go $out/bin/go - ''; - }) - - ]); - - zomeCargoArtifacts = { system, craneLib ? (let - pkgs = import inputs.nixpkgs { - inherit system; - overlays = [ (import inputs.rust-overlay) ]; - }; - craneLib = (inputs.crane.mkLib pkgs).overrideToolchain - inputs.holonix.outputs.packages.${system}.rust; - in craneLib), debug ? false }: - let - src = - craneLib.cleanCargoSource (craneLib.path ./nix/reference-happ); - commonArgs = { - inherit src; - doCheck = false; - CARGO_BUILD_TARGET = "wasm32-unknown-unknown"; - }; - cargoArtifacts = craneLib.buildDepsOnly (commonArgs // { - pname = "zome"; - version = "for-holochain-0.4"; - }); - - in cargoArtifacts; - - holochainCargoArtifacts = { system }: - let - pkgs = import inputs.nixpkgs { - inherit system; - overlays = [ (import inputs.rust-overlay) ]; - }; - craneLib = (inputs.crane.mkLib pkgs).overrideToolchain - inputs.holonix.outputs.packages.${system}.rust; - - buildInputs = holochainDeps { - inherit pkgs; - lib = pkgs.lib; - }; - cargoArtifacts = craneLib.buildDepsOnly { - inherit buildInputs; - src = craneLib.cleanCargoSource - (craneLib.path ./nix/reference-happ); - doCheck = false; - # RUSTFLAGS = - # "--remap-path-prefix ${cargoVendorDir}=/build/source/"; - # CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUSTFLAGS = - # " -Clink-arg=-fuse-ld=mold"; - # CARGO_PROFILE = "release"; - CARGO_PROFILE = "release"; - pname = "sweettest"; - version = "for-holochain-0.4.0"; - }; - in cargoArtifacts; - - rustZome = { crateCargoToml, system, workspacePath - , cargoArtifacts ? null, matchingZomeHash ? null }: + flakeModules.builders = ./nix/builders-option.nix; + flakeModules.dependencies = ./nix/dependencies-option.nix; + }; + + imports = [ + ./crates/scaffold_remote_zome/default.nix + ./crates/compare_dnas_integrity/default.nix + ./crates/zome_wasm_hash/default.nix + ./crates/dna_hash/default.nix + ./crates/sync_npm_git_dependencies_with_nix/default.nix + ./nix/builders-option.nix + ./nix/dependencies-option.nix + # inputs.holonix.inputs.flake-parts.flakeModules.flakeModules + ]; + + systems = builtins.attrNames inputs.holonix.devShells; + + perSystem = { inputs', self', config, pkgs, system, lib, ... }: rec { + dependencies.holochain.buildInputs = (with pkgs; [ perl openssl ]) + ++ (lib.optionals pkgs.stdenv.isLinux [ pkgs.pkg-config pkgs.go ]) + ++ (pkgs.lib.optionals pkgs.stdenv.isDarwin [ + pkgs.libiconv + + pkgs.darwin.apple_sdk.frameworks.AppKit + pkgs.darwin.apple_sdk.frameworks.WebKit + (pkgs.darwin.apple_sdk_11_0.stdenv.mkDerivation { + name = "go"; + nativeBuildInputs = with pkgs; [ makeBinaryWrapper go ]; + dontBuild = true; + dontUnpack = true; + installPhase = '' + makeWrapper ${pkgs.go}/bin/go $out/bin/go + ''; + }) + ]); + builders = { + rustZome = { crateCargoToml, workspacePath, cargoArtifacts ? null + , matchingZomeHash ? null, meta ? { } }: let - pkgs = import inputs.nixpkgs { - inherit system; - overlays = [ (import inputs.rust-overlay) ]; - }; deterministicCraneLib = let rustToolchain = inputs.holonix.outputs.packages."x86_64-linux".rust; in (inputs.crane.mkLib pkgs).overrideToolchain rustToolchain; craneLib = (inputs.crane.mkLib pkgs).overrideToolchain - inputs.holonix.outputs.packages.${system}.rust; - zome-wasm-hash = - (outputs inputs).packages.${system}.zome-wasm-hash; + inputs'.holonix.packages.rust; + zome-wasm-hash = self'.packages.zome-wasm-hash; in pkgs.callPackage ./nix/zome.nix { inherit deterministicCraneLib craneLib crateCargoToml - cargoArtifacts workspacePath matchingZomeHash zome-wasm-hash; + cargoArtifacts workspacePath matchingZomeHash zome-wasm-hash + meta; }; - sweettest = { system, dna, workspacePath, crateCargoToml - , buildInputs ? [ ], nativeBuildInputs ? [ ], cargoArtifacts ? null - }: + sweettest = { dna, workspacePath, crateCargoToml, buildInputs ? [ ] + , nativeBuildInputs ? [ ], cargoArtifacts ? null }: let - pkgs = import inputs.nixpkgs { - inherit system; - overlays = [ (import inputs.rust-overlay) ]; - }; craneLib = (inputs.crane.mkLib pkgs).overrideToolchain - inputs.holonix.outputs.packages.${system}.rust; + inputs'.holonix.packages.rust; in pkgs.callPackage ./nix/sweettest.nix { inherit dna craneLib crateCargoToml cargoArtifacts workspacePath; - buildInputs = buildInputs ++ holochainDeps { - inherit pkgs; - lib = pkgs.lib; - }; + buildInputs = buildInputs + ++ self'.dependencies.holochain.buildInputs; }; - dna = { system, dnaManifest, zomes, matchingIntegrityDna ? null }: + dna = { dnaManifest, zomes, matchingIntegrityDna ? null, meta ? { } }: let - pkgs = import inputs.nixpkgs { - inherit system; - overlays = [ (import inputs.rust-overlay) ]; - }; - compare-dnas-integrity = - (outputs inputs).packages.${system}.compare-dnas-integrity; - dna-hash = (outputs inputs).packages.${system}.dna-hash; - holochain = inputs.holonix.outputs.packages.${system}.holochain; + compare-dnas-integrity = self'.packages.compare-dnas-integrity; + holochain = inputs'.holonix.packages.holochain; in pkgs.callPackage ./nix/dna.nix { inherit zomes holochain dnaManifest compare-dnas-integrity - dna-hash matchingIntegrityDna; + matchingIntegrityDna meta; }; - happ = { system, happManifest, dnas }: - let - pkgs = import inputs.nixpkgs { - inherit system; - overlays = [ (import inputs.rust-overlay) ]; - }; - holochain = inputs.holonix.outputs.packages.${system}.holochain; - in pkgs.callPackage ./nix/happ.nix { - inherit dnas holochain happManifest; + happ = { happManifest, dnas, meta ? { } }: + pkgs.callPackage ./nix/happ.nix { + inherit dnas happManifest meta; + holochain = inputs'.holonix.packages.holochain; }; }; - }; - imports = [ - ./crates/scaffold_remote_zome/default.nix - ./crates/compare_dnas_integrity/default.nix - ./crates/zome_wasm_hash/default.nix - ./crates/dna_hash/default.nix - ./crates/sync_npm_git_dependencies_with_nix/default.nix - ]; - - systems = builtins.attrNames inputs.holonix.devShells; - - perSystem = { inputs', self', config, pkgs, system, lib, ... }: rec { devShells.default = pkgs.mkShell { inputsFrom = [ inputs'.holonix.devShells.default ]; packages = with pkgs; [ nodejs_20 # more packages go here - ] ++ flake.lib.holochainDeps { inherit pkgs lib; }; + ] ++ self'.dependencies.holochain.buildInputs; }; devShells.holochainDev = pkgs.mkShell { - buildInputs = flake.lib.holochainDeps { inherit pkgs lib; }; + buildInputs = self'.dependencies.holochain.buildInputs; + }; + + packages = { + zomeCargoArtifacts = let + craneLib = (inputs.crane.mkLib pkgs).overrideToolchain + inputs'.holonix.packages.rust; + src = + craneLib.cleanCargoSource (craneLib.path ./nix/reference-happ); + commonArgs = { + inherit src; + doCheck = false; + CARGO_BUILD_TARGET = "wasm32-unknown-unknown"; + }; + cargoArtifacts = craneLib.buildDepsOnly (commonArgs // { + pname = "zome"; + version = "for-holochain-0.4.x"; + }); + + in cargoArtifacts; + + holochainCargoArtifacts = let + craneLib = (inputs.crane.mkLib pkgs).overrideToolchain + inputs'.holonix.packages.rust; + cargoArtifacts = craneLib.buildDepsOnly { + buildInputs = self'.dependencies.holochain.buildInputs; + src = + craneLib.cleanCargoSource (craneLib.path ./nix/reference-happ); + doCheck = false; + # RUSTFLAGS = + # "--remap-path-prefix ${cargoVendorDir}=/build/source/"; + # CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUSTFLAGS = + # " -Clink-arg=-fuse-ld=mold"; + # CARGO_PROFILE = "release"; + CARGO_PROFILE = "release"; + pname = "sweettest"; + version = "for-holochain-0.4.x"; + }; + in cargoArtifacts; }; packages.synchronized-pnpm = pkgs.symlinkJoin { diff --git a/nix/builders-option.nix b/nix/builders-option.nix new file mode 100644 index 0000000..e73454a --- /dev/null +++ b/nix/builders-option.nix @@ -0,0 +1,15 @@ +{ lib, flake-parts-lib, ... }: +let + inherit (lib) mkOption types; + inherit (flake-parts-lib) mkTransposedPerSystemModule; +in mkTransposedPerSystemModule { + name = "builders"; + option = mkOption { + description = + "Nix function that receives arguments and returns a derivation"; + type = types.attrsOf (types.functionTo types.package); + + default = null; + }; + file = ./builders-option.nix; +} diff --git a/nix/dependencies-option.nix b/nix/dependencies-option.nix new file mode 100644 index 0000000..f1759f0 --- /dev/null +++ b/nix/dependencies-option.nix @@ -0,0 +1,30 @@ +{ lib, flake-parts-lib, ... }: +let + inherit (lib) mkOption types; + inherit (flake-parts-lib) mkTransposedPerSystemModule; +in mkTransposedPerSystemModule { + name = "dependencies"; + option = mkOption { + description = + "Attribute that contains the buildInputs and nativeBuildInputs packages that a certain class of derivation needs to be built"; + type = types.attrsOf (types.submodule { + options = { + buildInputs = mkOption { + type = types.listOf types.package; + description = + "The buildInputs that a certain class of derivation needs to be build"; + default = null; + }; + nativeBuildInputs = mkOption { + type = types.listOf types.package; + description = + "The nativeBuildInputs that a certain class of derivation needs to be build"; + default = null; + }; + }; + }); + + default = null; + }; + file = ./dependencies-option.nix; +} diff --git a/nix/dna.nix b/nix/dna.nix index bf39761..ade3e9d 100644 --- a/nix/dna.nix +++ b/nix/dna.nix @@ -1,8 +1,10 @@ # Build a DNA -{ dnaManifest, json2yaml, runCommandLocal, pkgs, writeText, holochain +{ dnaManifest, json2yaml, runCommandNoCC, runCommandLocal, pkgs, writeText +, holochain # If given a DNA, will check whether the DNA hashes for the given `matchingIntegrityDna` and the DNA to be built match # If they don't, it will print an error describing which zomes don't match -, matchingIntegrityDna ? null, compare-dnas-integrity, dna-hash, zomes ? { } }: +, matchingIntegrityDna ? null, compare-dnas-integrity, dna-hash, zomes ? { } +, meta }: let zomeSrcs = builtins.attrValues zomes; @@ -23,7 +25,7 @@ let " ${json2yaml}/bin/json2yaml ${dnaManifestJson} $out\n"; # Recurse over the zomes, and add the correct bundled zome package by name # Debug package - debug = runCommandLocal manifest.name { + debug = runCommandNoCC "${manifest.name}-debug" { srcs = builtins.map (zome: zome.meta.debug) zomeSrcs; } '' mkdir workdir @@ -76,8 +78,8 @@ let else release; -in runCommandLocal manifest.name { - meta = { inherit debug; }; +in runCommandNoCC manifest.name { + meta = meta // { inherit debug; }; outputs = [ "out" "hash" ]; } '' cp ${guardedRelease} $out diff --git a/nix/fixtures/app-repo/flake.lock b/nix/fixtures/app-repo/flake.lock index c0dc631..4a22ccb 100644 --- a/nix/fixtures/app-repo/flake.lock +++ b/nix/fixtures/app-repo/flake.lock @@ -2,11 +2,11 @@ "nodes": { "crane": { "locked": { - "lastModified": 1725409566, - "narHash": "sha256-PrtLmqhM6UtJP7v7IGyzjBFhbG4eOAHT6LPYOFmYfbk=", + "lastModified": 1727235847, + "narHash": "sha256-MoEot8izwkfGm1h5ak8hS2bu59mLmKeevlP/OvFLCzM=", "owner": "ipetkov", "repo": "crane", - "rev": "7e4586bad4e3f8f97a9271def747cf58c4b68f3c", + "rev": "08f45b5a2e01cf34ca6081188c6d16aa35581b09", "type": "github" }, "original": { @@ -17,11 +17,11 @@ }, "crane_2": { "locked": { - "lastModified": 1725409566, - "narHash": "sha256-PrtLmqhM6UtJP7v7IGyzjBFhbG4eOAHT6LPYOFmYfbk=", + "lastModified": 1727235847, + "narHash": "sha256-MoEot8izwkfGm1h5ak8hS2bu59mLmKeevlP/OvFLCzM=", "owner": "ipetkov", "repo": "crane", - "rev": "7e4586bad4e3f8f97a9271def747cf58c4b68f3c", + "rev": "08f45b5a2e01cf34ca6081188c6d16aa35581b09", "type": "github" }, "original": { @@ -32,11 +32,11 @@ }, "crane_3": { "locked": { - "lastModified": 1725409566, - "narHash": "sha256-PrtLmqhM6UtJP7v7IGyzjBFhbG4eOAHT6LPYOFmYfbk=", + "lastModified": 1727235847, + "narHash": "sha256-MoEot8izwkfGm1h5ak8hS2bu59mLmKeevlP/OvFLCzM=", "owner": "ipetkov", "repo": "crane", - "rev": "7e4586bad4e3f8f97a9271def747cf58c4b68f3c", + "rev": "08f45b5a2e01cf34ca6081188c6d16aa35581b09", "type": "github" }, "original": { @@ -47,11 +47,11 @@ }, "crane_4": { "locked": { - "lastModified": 1725409566, - "narHash": "sha256-PrtLmqhM6UtJP7v7IGyzjBFhbG4eOAHT6LPYOFmYfbk=", + "lastModified": 1727235847, + "narHash": "sha256-MoEot8izwkfGm1h5ak8hS2bu59mLmKeevlP/OvFLCzM=", "owner": "ipetkov", "repo": "crane", - "rev": "7e4586bad4e3f8f97a9271def747cf58c4b68f3c", + "rev": "08f45b5a2e01cf34ca6081188c6d16aa35581b09", "type": "github" }, "original": { @@ -322,7 +322,7 @@ }, "locked": { "lastModified": 0, - "narHash": "sha256-7Edgh+DiAGrYKV8/4nD7QnyYbHgARRYM3ikFeM2FkxE=", + "narHash": "sha256-8CAgwB3xCWKefdh6q6sx73Pzv0kIwoTf9CW+MazEHWY=", "path": "./../../..", "type": "path" }, @@ -687,16 +687,16 @@ "holochain": { "flake": false, "locked": { - "lastModified": 1726621288, - "narHash": "sha256-zUvEfTRX7acCzhEBgL8gkrngH7ryT18p1J2lOTE9uOo=", + "lastModified": 1727226305, + "narHash": "sha256-a4zt59D7LRnhkryusxyDGCmBxB2GOmEJDCOTLab1gY0=", "owner": "holochain", "repo": "holochain", - "rev": "1c38ad228103e2994399e735ccca9c4d850aec19", + "rev": "b42fb1ba3c439a7fe561cc627c5d53280fd2a83b", "type": "github" }, "original": { "owner": "holochain", - "ref": "holochain-0.4.0-dev.25", + "ref": "holochain-0.4.0-dev.26", "repo": "holochain", "type": "github" } @@ -704,16 +704,16 @@ "holochain_2": { "flake": false, "locked": { - "lastModified": 1726621288, - "narHash": "sha256-zUvEfTRX7acCzhEBgL8gkrngH7ryT18p1J2lOTE9uOo=", + "lastModified": 1727226305, + "narHash": "sha256-a4zt59D7LRnhkryusxyDGCmBxB2GOmEJDCOTLab1gY0=", "owner": "holochain", "repo": "holochain", - "rev": "1c38ad228103e2994399e735ccca9c4d850aec19", + "rev": "b42fb1ba3c439a7fe561cc627c5d53280fd2a83b", "type": "github" }, "original": { "owner": "holochain", - "ref": "holochain-0.4.0-dev.25", + "ref": "holochain-0.4.0-dev.26", "repo": "holochain", "type": "github" } @@ -721,16 +721,16 @@ "holochain_3": { "flake": false, "locked": { - "lastModified": 1726621288, - "narHash": "sha256-zUvEfTRX7acCzhEBgL8gkrngH7ryT18p1J2lOTE9uOo=", + "lastModified": 1727226305, + "narHash": "sha256-a4zt59D7LRnhkryusxyDGCmBxB2GOmEJDCOTLab1gY0=", "owner": "holochain", "repo": "holochain", - "rev": "1c38ad228103e2994399e735ccca9c4d850aec19", + "rev": "b42fb1ba3c439a7fe561cc627c5d53280fd2a83b", "type": "github" }, "original": { "owner": "holochain", - "ref": "holochain-0.4.0-dev.25", + "ref": "holochain-0.4.0-dev.26", "repo": "holochain", "type": "github" } @@ -738,16 +738,16 @@ "holochain_4": { "flake": false, "locked": { - "lastModified": 1726621288, - "narHash": "sha256-zUvEfTRX7acCzhEBgL8gkrngH7ryT18p1J2lOTE9uOo=", + "lastModified": 1727226305, + "narHash": "sha256-a4zt59D7LRnhkryusxyDGCmBxB2GOmEJDCOTLab1gY0=", "owner": "holochain", "repo": "holochain", - "rev": "1c38ad228103e2994399e735ccca9c4d850aec19", + "rev": "b42fb1ba3c439a7fe561cc627c5d53280fd2a83b", "type": "github" }, "original": { "owner": "holochain", - "ref": "holochain-0.4.0-dev.25", + "ref": "holochain-0.4.0-dev.26", "repo": "holochain", "type": "github" } @@ -832,11 +832,11 @@ "rust-overlay": "rust-overlay" }, "locked": { - "lastModified": 1726665849, - "narHash": "sha256-c6+HhJ5xSUuCVbvS67+52EDH8cSDCWYk5c2v84/yZqw=", + "lastModified": 1727258034, + "narHash": "sha256-hjO4HXA/42iorkeM0T+T+qDrFG2Edu0+tROQ5ji/npY=", "owner": "holochain", "repo": "holonix", - "rev": "25e2d39e876b93cfef091f484e80dafcf287bf83", + "rev": "2647d78d7083b5560a9f77df618345a64d4ddb6e", "type": "github" }, "original": { @@ -857,11 +857,11 @@ "rust-overlay": "rust-overlay_2" }, "locked": { - "lastModified": 1726665849, - "narHash": "sha256-c6+HhJ5xSUuCVbvS67+52EDH8cSDCWYk5c2v84/yZqw=", + "lastModified": 1727258034, + "narHash": "sha256-hjO4HXA/42iorkeM0T+T+qDrFG2Edu0+tROQ5ji/npY=", "owner": "holochain", "repo": "holonix", - "rev": "25e2d39e876b93cfef091f484e80dafcf287bf83", + "rev": "2647d78d7083b5560a9f77df618345a64d4ddb6e", "type": "github" }, "original": { @@ -882,11 +882,11 @@ "rust-overlay": "rust-overlay_3" }, "locked": { - "lastModified": 1726665849, - "narHash": "sha256-c6+HhJ5xSUuCVbvS67+52EDH8cSDCWYk5c2v84/yZqw=", + "lastModified": 1727258034, + "narHash": "sha256-hjO4HXA/42iorkeM0T+T+qDrFG2Edu0+tROQ5ji/npY=", "owner": "holochain", "repo": "holonix", - "rev": "25e2d39e876b93cfef091f484e80dafcf287bf83", + "rev": "2647d78d7083b5560a9f77df618345a64d4ddb6e", "type": "github" }, "original": { @@ -907,11 +907,11 @@ "rust-overlay": "rust-overlay_4" }, "locked": { - "lastModified": 1726665849, - "narHash": "sha256-c6+HhJ5xSUuCVbvS67+52EDH8cSDCWYk5c2v84/yZqw=", + "lastModified": 1727258034, + "narHash": "sha256-hjO4HXA/42iorkeM0T+T+qDrFG2Edu0+tROQ5ji/npY=", "owner": "holochain", "repo": "holonix", - "rev": "25e2d39e876b93cfef091f484e80dafcf287bf83", + "rev": "2647d78d7083b5560a9f77df618345a64d4ddb6e", "type": "github" }, "original": { @@ -1027,16 +1027,16 @@ "lair-keystore": { "flake": false, "locked": { - "lastModified": 1726521249, - "narHash": "sha256-SZPhvZ7D5tNr3dKuxUp/zUOnfFe8UBG/uqWc9vQgUMM=", + "lastModified": 1726865440, + "narHash": "sha256-+ARQs+Sfmh8QXMyjjHjm6Ib8Ag86Jm2vnyB6l3zTCgA=", "owner": "holochain", "repo": "lair", - "rev": "6bbd604bff3d5eda528bb2da9c3aa1e1e71e429d", + "rev": "9f306efed597765b70da704e1739ecc67f2510e0", "type": "github" }, "original": { "owner": "holochain", - "ref": "lair_keystore-v0.5.1", + "ref": "lair_keystore-v0.5.2", "repo": "lair", "type": "github" } @@ -1044,16 +1044,16 @@ "lair-keystore_2": { "flake": false, "locked": { - "lastModified": 1726521249, - "narHash": "sha256-SZPhvZ7D5tNr3dKuxUp/zUOnfFe8UBG/uqWc9vQgUMM=", + "lastModified": 1726865440, + "narHash": "sha256-+ARQs+Sfmh8QXMyjjHjm6Ib8Ag86Jm2vnyB6l3zTCgA=", "owner": "holochain", "repo": "lair", - "rev": "6bbd604bff3d5eda528bb2da9c3aa1e1e71e429d", + "rev": "9f306efed597765b70da704e1739ecc67f2510e0", "type": "github" }, "original": { "owner": "holochain", - "ref": "lair_keystore-v0.5.1", + "ref": "lair_keystore-v0.5.2", "repo": "lair", "type": "github" } @@ -1061,16 +1061,16 @@ "lair-keystore_3": { "flake": false, "locked": { - "lastModified": 1726521249, - "narHash": "sha256-SZPhvZ7D5tNr3dKuxUp/zUOnfFe8UBG/uqWc9vQgUMM=", + "lastModified": 1726865440, + "narHash": "sha256-+ARQs+Sfmh8QXMyjjHjm6Ib8Ag86Jm2vnyB6l3zTCgA=", "owner": "holochain", "repo": "lair", - "rev": "6bbd604bff3d5eda528bb2da9c3aa1e1e71e429d", + "rev": "9f306efed597765b70da704e1739ecc67f2510e0", "type": "github" }, "original": { "owner": "holochain", - "ref": "lair_keystore-v0.5.1", + "ref": "lair_keystore-v0.5.2", "repo": "lair", "type": "github" } @@ -1078,16 +1078,16 @@ "lair-keystore_4": { "flake": false, "locked": { - "lastModified": 1726521249, - "narHash": "sha256-SZPhvZ7D5tNr3dKuxUp/zUOnfFe8UBG/uqWc9vQgUMM=", + "lastModified": 1726865440, + "narHash": "sha256-+ARQs+Sfmh8QXMyjjHjm6Ib8Ag86Jm2vnyB6l3zTCgA=", "owner": "holochain", "repo": "lair", - "rev": "6bbd604bff3d5eda528bb2da9c3aa1e1e71e429d", + "rev": "9f306efed597765b70da704e1739ecc67f2510e0", "type": "github" }, "original": { "owner": "holochain", - "ref": "lair_keystore-v0.5.1", + "ref": "lair_keystore-v0.5.2", "repo": "lair", "type": "github" } @@ -1177,7 +1177,7 @@ }, "locked": { "lastModified": 1, - "narHash": "sha256-wew+OBHffXpdAmy1pprc4UX0mM8DZXycO+PIQxO3O2s=", + "narHash": "sha256-tQoUqd5Zi1JfNKJyKsIqGCi5SE3bFoFBRW8yQooD/VE=", "path": "./../module-repo", "type": "path" }, @@ -1412,11 +1412,11 @@ }, "pnpmnixpkgs": { "locked": { - "lastModified": 1726838390, - "narHash": "sha256-NmcVhGElxDbmEWzgXsyAjlRhUus/nEqPC5So7BOJLUM=", + "lastModified": 1727264057, + "narHash": "sha256-KQPI8CTTnB9CrJ7LrmLC4VWbKZfljEPBXOFGZFRpxao=", "owner": "nixos", "repo": "nixpkgs", - "rev": "944b2aea7f0a2d7c79f72468106bc5510cbf5101", + "rev": "759537f06e6999e141588ff1c9be7f3a5c060106", "type": "github" }, "original": { @@ -1499,11 +1499,11 @@ ] }, "locked": { - "lastModified": 1726453838, - "narHash": "sha256-pupsow4L79SBfNwT6vh/5RAbVZuhngIA0RTCZksXmZY=", + "lastModified": 1727231386, + "narHash": "sha256-XLloPtQHKk/Tdt8t8zIb+JhmunlH3YB9Jz8RTlQ3N/4=", "owner": "oxalica", "repo": "rust-overlay", - "rev": "ca2e79cd22625d214b8437c2c4080ce79bd9f7d2", + "rev": "b5f76c3b09a8194889f5328a480fbea1a9115518", "type": "github" }, "original": { @@ -1520,11 +1520,11 @@ ] }, "locked": { - "lastModified": 1726453838, - "narHash": "sha256-pupsow4L79SBfNwT6vh/5RAbVZuhngIA0RTCZksXmZY=", + "lastModified": 1727231386, + "narHash": "sha256-XLloPtQHKk/Tdt8t8zIb+JhmunlH3YB9Jz8RTlQ3N/4=", "owner": "oxalica", "repo": "rust-overlay", - "rev": "ca2e79cd22625d214b8437c2c4080ce79bd9f7d2", + "rev": "b5f76c3b09a8194889f5328a480fbea1a9115518", "type": "github" }, "original": { @@ -1542,11 +1542,11 @@ ] }, "locked": { - "lastModified": 1726453838, - "narHash": "sha256-pupsow4L79SBfNwT6vh/5RAbVZuhngIA0RTCZksXmZY=", + "lastModified": 1727231386, + "narHash": "sha256-XLloPtQHKk/Tdt8t8zIb+JhmunlH3YB9Jz8RTlQ3N/4=", "owner": "oxalica", "repo": "rust-overlay", - "rev": "ca2e79cd22625d214b8437c2c4080ce79bd9f7d2", + "rev": "b5f76c3b09a8194889f5328a480fbea1a9115518", "type": "github" }, "original": { @@ -1565,11 +1565,11 @@ ] }, "locked": { - "lastModified": 1726453838, - "narHash": "sha256-pupsow4L79SBfNwT6vh/5RAbVZuhngIA0RTCZksXmZY=", + "lastModified": 1727231386, + "narHash": "sha256-XLloPtQHKk/Tdt8t8zIb+JhmunlH3YB9Jz8RTlQ3N/4=", "owner": "oxalica", "repo": "rust-overlay", - "rev": "ca2e79cd22625d214b8437c2c4080ce79bd9f7d2", + "rev": "b5f76c3b09a8194889f5328a480fbea1a9115518", "type": "github" }, "original": { @@ -1690,7 +1690,7 @@ }, "locked": { "lastModified": 1, - "narHash": "sha256-riaKW9gWiuigsXkCRwek6npPV8JEn1MLqd5OmXeuS5A=", + "narHash": "sha256-jd4h1pJmVH3Rq4lTxWr5G0vWVc2xnKhdoI6SbXpu2Q4=", "path": "./../service-repo", "type": "path" }, diff --git a/nix/fixtures/app-repo/happ/happ.nix b/nix/fixtures/app-repo/happ/happ.nix index 5cd259f..f7525ff 100644 --- a/nix/fixtures/app-repo/happ/happ.nix +++ b/nix/fixtures/app-repo/happ/happ.nix @@ -3,9 +3,8 @@ { perSystem = { inputs', config, pkgs, system, lib, self', options, ... }: { packages = { - my_happ = inputs.hc-infra.outputs.lib.happ { + my_happ = inputs.hc-infra.outputs.builders.${system}.happ { happManifest = ./happ.yaml; - inherit system; dnas = { my_dna = inputs'.service.packages.my_dna; }; }; }; diff --git a/nix/fixtures/module-repo/Cargo.lock b/nix/fixtures/module-repo/Cargo.lock index a8e1270..33a52a9 100644 --- a/nix/fixtures/module-repo/Cargo.lock +++ b/nix/fixtures/module-repo/Cargo.lock @@ -85,13 +85,12 @@ dependencies = [ [[package]] name = "aitia" -version = "0.3.0-dev.5" +version = "0.3.0-dev.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf586cb9185c985fd25a4fae5cf2e8e2f590dd7c60beffd9cc62da64ac80d16a" +checksum = "110a12624e9e8e725b4f28fb6a75d39549258cc6ee3c9e7aee2ce7a17103d957" dependencies = [ "anyhow", "derive_more", - "holochain_trace", "parking_lot 0.12.3", "petgraph", "regex", @@ -438,9 +437,9 @@ checksum = "8b75356056920673b02621b35afd0f7dda9306d03c79a30f5c56c44cf256e3de" [[package]] name = "async-trait" -version = "0.1.82" +version = "0.1.83" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a27b8a3a6e1a44fa4c8baf1f653e4172e81486d4941f2237e20dc2d0cf4ddff1" +checksum = "721cae7de5c34fbb2acd27e21e6d2cf7b886dce0c27388d46c4e6c47ea4318dd" dependencies = [ "proc-macro2", "quote", @@ -1754,9 +1753,9 @@ checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80" [[package]] name = "fixt" -version = "0.4.0-dev.3" +version = "0.4.0-dev.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58f00f6a51bfb4b9f808a7fc2accb891682bda7cfcafbf08a283393f7db49a80" +checksum = "193caf94296b18355f2ce2845ce03e42d0dd8db252147ab110c2c309fb1e13a5" dependencies = [ "holochain_serialized_bytes", "lazy_static", @@ -2177,9 +2176,9 @@ dependencies = [ [[package]] name = "hc_deepkey_sdk" -version = "0.7.0-dev.6" +version = "0.7.0-dev.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea908bf540cdceeac81a53e348a8bfb2e011ba8bd41aeaebe0cf826151152fa3" +checksum = "4c2f14b69e2104406049b64e2040362f2c7cc94b649455ce3e71f363753144d2" dependencies = [ "arbitrary", "hc_deepkey_types", @@ -2190,9 +2189,9 @@ dependencies = [ [[package]] name = "hc_deepkey_types" -version = "0.8.0-dev.6" +version = "0.8.0-dev.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c2df5dd06aea65209ee9c92cbb5b78f58dabcee44e67e2ce8ce72269c36e019" +checksum = "aa5cdbda722fec8a640cdae47dc057052dcf5e96071f3e26abcb4d1dbe93716e" dependencies = [ "arbitrary", "hdi", @@ -2230,14 +2229,13 @@ dependencies = [ [[package]] name = "hc_sleuth" -version = "0.4.0-dev.24" +version = "0.4.0-dev.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ace6050ba4dbb9b2be272c25312e540c12a967cfa0ae2f00cf624f67f027172d" +checksum = "982323ae90d7324a697fe187e796cf88cf9b51f8631e2ba5f7d994385bed6751" dependencies = [ "aitia", "anyhow", "derive_more", - "holochain_state_types", "holochain_trace", "holochain_types", "kitsune_p2p", @@ -2253,9 +2251,9 @@ dependencies = [ [[package]] name = "hdi" -version = "0.5.0-dev.15" +version = "0.5.0-dev.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da97eabe84f2eccc10ffad392da05a1998e0b5df8eb35960cd30a1a1dbc7a96a" +checksum = "8d675f92d27a9f130edd3888fd057c9013a99cfd057ae856b6a892bb2578dabb" dependencies = [ "getrandom 0.2.15", "hdk_derive", @@ -2271,9 +2269,9 @@ dependencies = [ [[package]] name = "hdk" -version = "0.4.0-dev.17" +version = "0.4.0-dev.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7d0362e8a94f17e3d050be68a83fe9313a950aebd345bae6db0f60a7eb6f93a" +checksum = "a21b6ea4d469cb9851828f3f3f02ab593816a286e3cf01889898de5f3610479f" dependencies = [ "getrandom 0.2.15", "hdi", @@ -2291,9 +2289,9 @@ dependencies = [ [[package]] name = "hdk_derive" -version = "0.4.0-dev.14" +version = "0.4.0-dev.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "379fea8efc247dec919950b52c8dd6cf184da2c72ab9a90a2994bfe50fc3496b" +checksum = "eea1c46fbe682e26f55189825eb5fa2c83636099c0700b9a33e627978f1ea760" dependencies = [ "darling 0.14.4", "heck 0.5.0", @@ -2388,9 +2386,9 @@ dependencies = [ [[package]] name = "holo_hash" -version = "0.4.0-dev.12" +version = "0.4.0-dev.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84ab790f4a750f08ff11824dd6bc13c1b091371b7b4bac92733b15bb135c2fa6" +checksum = "78093a721f73f0b9d7aded3219330c40a021e90fe161f6a212dd44f7b1e5cb56" dependencies = [ "arbitrary", "base64 0.22.1", @@ -2414,9 +2412,9 @@ dependencies = [ [[package]] name = "holochain" -version = "0.4.0-dev.25" +version = "0.4.0-dev.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "771313f58af9d7c51962959507ad2e51ffcd2fc75a013041ad44c6a718cee2c4" +checksum = "92fd8c3ebbac592bd3a8393dd09851e1706b13718eefd14782acfa01a455cccc" dependencies = [ "aitia", "anyhow", @@ -2482,7 +2480,6 @@ dependencies = [ "opentelemetry_api", "parking_lot 0.12.3", "petgraph", - "predicates 3.1.2", "rand 0.8.5", "rand-utf8", "rand_chacha 0.3.1", @@ -2520,9 +2517,9 @@ dependencies = [ [[package]] name = "holochain_cascade" -version = "0.4.0-dev.25" +version = "0.4.0-dev.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6715d1cbef3e5dd19fed9e5ae33c34de22077ddc5da4dcc39c64b262dcd0a3c2" +checksum = "89d431b1d5a1161be9286a2085a65872118260ce7f552d8b9271207a066ce11b" dependencies = [ "async-trait", "fixt", @@ -2548,9 +2545,9 @@ dependencies = [ [[package]] name = "holochain_chc" -version = "0.1.0-dev.5" +version = "0.1.0-dev.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c51a47d4ed05689c741f41d5caf7d4dc2d36b9616a598612d04d326d7887622" +checksum = "f409e6061c5b4bb21f41b4180253cae4e8ef71c4d46905183812e8e96ba5077e" dependencies = [ "async-trait", "derive_more", @@ -2574,9 +2571,9 @@ dependencies = [ [[package]] name = "holochain_conductor_api" -version = "0.4.0-dev.25" +version = "0.4.0-dev.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e0f60e806482d1f927d472d2d9e52228a576a1bf1dec82a9e034668df6a3d8df" +checksum = "332f5aee43b36bdb411b9b25c715fb02dfbd9921123e78b696387a8d9a3e8dbd" dependencies = [ "derive_more", "holo_hash", @@ -2598,9 +2595,9 @@ dependencies = [ [[package]] name = "holochain_conductor_services" -version = "0.3.0-dev.25" +version = "0.3.0-dev.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "269aa50a8c56f05693b6c4cb4926ba3cef359296ef6645bdb7b65042b0e7104b" +checksum = "29568ab5d7bc7ba58413567c8d6f32daa374d71cc46013826cbd3aca1349ebe8" dependencies = [ "anyhow", "arbitrary", @@ -2608,7 +2605,6 @@ dependencies = [ "derive_more", "futures", "hc_deepkey_sdk", - "holochain_deepkey_dna", "holochain_keystore", "holochain_types", "holochain_util", @@ -2630,9 +2626,9 @@ checksum = "be0aa773b74c40ef5e4e02f414d8cbfc4e92520a93511055a3fbccc12d2dd045" [[package]] name = "holochain_integrity_types" -version = "0.4.0-dev.14" +version = "0.4.0-dev.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b79568981a1da6981295b6b9d821d88b330afc262fb65693336dcacae20c9b9d" +checksum = "af9bd9d3f3f3a75c1e5ed6f65c9e3281cf1983e83780f9f24658f3b5c169ec2f" dependencies = [ "arbitrary", "derive_builder 0.20.1", @@ -2652,9 +2648,9 @@ dependencies = [ [[package]] name = "holochain_keystore" -version = "0.4.0-dev.22" +version = "0.4.0-dev.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c0c8cdaa7098a946ecd6ff4a8d6b5eb0e2a117c0b1d6b2db2946021596b0d34" +checksum = "206f4935ee25bf5fee4cd4409848a3fa7a448456536545b2ce30cb1a6cfa9014" dependencies = [ "base64 0.22.1", "derive_more", @@ -2703,9 +2699,9 @@ dependencies = [ [[package]] name = "holochain_p2p" -version = "0.4.0-dev.25" +version = "0.4.0-dev.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fd19cb0e269c1d3d4fc44ba3454b408ff4428082e8c1d5c0a4a50789d6e2764" +checksum = "118fa38cd2db00ddc03edf6b3020a7d6182c90dcfcb6268f318aaaa347bc586d" dependencies = [ "aitia", "async-trait", @@ -2775,9 +2771,9 @@ dependencies = [ [[package]] name = "holochain_sqlite" -version = "0.4.0-dev.21" +version = "0.4.0-dev.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "442cb846bf887b42ebf7636118b3c57145e140391990cbb727aa34273abbffbf" +checksum = "57c20d1d3993f70613812984fa465bcbdc3264c33138ba866be57937240afc7e" dependencies = [ "anyhow", "async-trait", @@ -2820,9 +2816,9 @@ dependencies = [ [[package]] name = "holochain_state" -version = "0.4.0-dev.25" +version = "0.4.0-dev.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0766fbe46f99d4e568af6f387e5c0943a9bdcf1df35ac66c475153831c817ec3" +checksum = "f258090a74214965261336b414ef05ec13d8619ac782ba6789c0806f54f16ac1" dependencies = [ "aitia", "async-recursion", @@ -2858,9 +2854,9 @@ dependencies = [ [[package]] name = "holochain_state_types" -version = "0.4.0-dev.14" +version = "0.4.0-dev.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bfb4a2f32f44489d2154f9d9fb69df0ae3430be7c8cda1c4a5332f4d48344225" +checksum = "97b8938b11be4938bf686caee3f97bbbb6f3e1be7c26d408fe4708afbdddb53b" dependencies = [ "holo_hash", "holochain_integrity_types", @@ -2869,9 +2865,9 @@ dependencies = [ [[package]] name = "holochain_test_wasm_common" -version = "0.4.0-dev.17" +version = "0.4.0-dev.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0964534c6d4f3f9254eec306a4e19c8890ebea1f077d0b7ca83c50792d84e70" +checksum = "08601c3bbe9d5d7b98b8bfcdcdcc67cb53b0e495c8f868c739138a6b23e4628c" dependencies = [ "hdk", "serde", @@ -2879,9 +2875,9 @@ dependencies = [ [[package]] name = "holochain_trace" -version = "0.4.0-dev.5" +version = "0.4.0-dev.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3e00bdd969d61fab25573441a201ee8da89d34df655b4153e1d092e54dca29a" +checksum = "7d337ddc8dd6bdabe6a39c08ec7e6a64135724fcbbd49b3b5f154b5e6b3a66fb" dependencies = [ "chrono", "derive_more", @@ -2897,9 +2893,9 @@ dependencies = [ [[package]] name = "holochain_types" -version = "0.4.0-dev.24" +version = "0.4.0-dev.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "605386a24b66b4effc7057645b11e6cd62eec14a5ed88962417956bb700766b1" +checksum = "42e28c3caee6330e9484018e172877eb00030e2ef32310d854e595260145dd77" dependencies = [ "anyhow", "arbitrary", @@ -2916,7 +2912,6 @@ dependencies = [ "flate2", "futures", "getrandom 0.2.15", - "hc_deepkey_sdk", "holo_hash", "holochain_keystore", "holochain_nonce", @@ -2955,9 +2950,9 @@ dependencies = [ [[package]] name = "holochain_util" -version = "0.4.0-dev.4" +version = "0.4.0-dev.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac1c491b6ba90c68041b393264b1e67c2990b68094caa7fdfe1ea5a959c82107" +checksum = "57f1cb30b20d3b0bf1d84e697c3d95fb6b1ec74c9178e7c5e7fd4f1c051695d8" dependencies = [ "backtrace", "cfg-if 1.0.0", @@ -2968,14 +2963,13 @@ dependencies = [ "rpassword", "sodoken 0.0.11", "tokio", - "tracing", ] [[package]] name = "holochain_wasm_test_utils" -version = "0.4.0-dev.24" +version = "0.4.0-dev.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "315f0df41891674fba092b36ccd28c89a12e597d3ab6ca33fdb0b9e4259e3dd7" +checksum = "b8fa4b919bb82d263f50f93a575c240b7a7a8e34235f0b8dc1eb2ddcb39e2273" dependencies = [ "holochain_types", "holochain_util", @@ -3034,9 +3028,9 @@ dependencies = [ [[package]] name = "holochain_websocket" -version = "0.4.0-dev.24" +version = "0.4.0-dev.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26b58d60f421cc793d999e6a0445a44061af0809569e522afcfca42b64d5602b" +checksum = "ac25c97c54db3875e198e31457d6194a0e573710332ee6e7de6d3f3229764c16" dependencies = [ "async-trait", "futures", @@ -3052,9 +3046,9 @@ dependencies = [ [[package]] name = "holochain_zome_types" -version = "0.4.0-dev.17" +version = "0.4.0-dev.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "64752eeef8c57e0549f09a9fac7b6fb73c94028bc021589f94c7cfd68b4b54c8" +checksum = "6d33d51ba7af1de0cb911211702443d49d8cdc71e1bc891591dc29259bbc8566" dependencies = [ "arbitrary", "contrafact", @@ -3082,7 +3076,6 @@ dependencies = [ "shrinkwraprs", "strum", "subtle", - "subtle-encoding", "thiserror", "tracing", ] @@ -3286,9 +3279,9 @@ dependencies = [ [[package]] name = "hyper-util" -version = "0.1.8" +version = "0.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da62f120a8a37763efb0cf8fdf264b884c7b8b9ac8660b900c8661030c00e6ba" +checksum = "41296eb09f183ac68eec06e03cdbea2e759633d4067b2f6552fc2e009bcad08b" dependencies = [ "bytes", "futures-channel", @@ -3299,7 +3292,6 @@ dependencies = [ "pin-project-lite", "socket2 0.5.7", "tokio", - "tower", "tower-service", "tracing", ] @@ -3659,9 +3651,9 @@ dependencies = [ [[package]] name = "kitsune_p2p" -version = "0.4.0-dev.21" +version = "0.4.0-dev.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e9daf4a7d6ba1b0e0aac0fad4cc9669760f2292eb571efddb6b27276cb57c057" +checksum = "d4ba811e3553ae2a1ebccf090d79202c684215ece3830f8f5dd9cde1ad82aca4" dependencies = [ "arrayref", "base64 0.22.1", @@ -3674,7 +3666,6 @@ dependencies = [ "ghost_actor", "governor", "holochain_trace", - "itertools 0.12.1", "kitsune_p2p_bin_data", "kitsune_p2p_block", "kitsune_p2p_bootstrap_client", @@ -3705,9 +3696,9 @@ dependencies = [ [[package]] name = "kitsune_p2p_bin_data" -version = "0.4.0-dev.11" +version = "0.4.0-dev.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d5bc477873f3c25e263946caa431f236dec465d4c7c75a715bdf41cc87f45013" +checksum = "63c91ce3185b0e533db622a9f4fecd15bb4c400f09b3798cb9f8973973f6ea9c" dependencies = [ "arbitrary", "base64 0.22.1", @@ -3724,9 +3715,9 @@ dependencies = [ [[package]] name = "kitsune_p2p_block" -version = "0.4.0-dev.11" +version = "0.4.0-dev.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb37277cef33bacf6113448c8c224296c3ceb25ce1c72eca7911984f0bff0d65" +checksum = "dc97c168e96d21e8638b6b5b89d13f7a83ccf43443553219b0969d550c9e33b0" dependencies = [ "kitsune_p2p_bin_data", "kitsune_p2p_timestamp", @@ -3735,9 +3726,9 @@ dependencies = [ [[package]] name = "kitsune_p2p_bootstrap" -version = "0.3.0-dev.14" +version = "0.3.0-dev.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "621ce8508260ffc2e153cdfefe3f21d48b8877fcf97ae9cdcec112a202c6822e" +checksum = "c2756322a4f1ac9960110aabac8dc8a6f229fdcdc02067a2d26e8a1a67052c99" dependencies = [ "clap 4.5.18", "futures", @@ -3755,9 +3746,9 @@ dependencies = [ [[package]] name = "kitsune_p2p_bootstrap_client" -version = "0.4.0-dev.14" +version = "0.4.0-dev.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91789c24788db108e92e455efa06338b53593e749d2cad6cab1ddd46b545944f" +checksum = "61dae2fba4e142c48d134a22c7ce28edaa7d5a7ea1bf81d4b54a6d0a37732425" dependencies = [ "kitsune_p2p_bin_data", "kitsune_p2p_bootstrap", @@ -3770,9 +3761,9 @@ dependencies = [ [[package]] name = "kitsune_p2p_dht" -version = "0.4.0-dev.9" +version = "0.4.0-dev.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "724960e037263eca03dad008d68a28fcab20f14a7a93a6572ff9c2743becdb1a" +checksum = "c17cfb5e0bd26b559d2c2f85b02e6b81838577d146c7871c1688768142dbc763" dependencies = [ "arbitrary", "colored", @@ -3794,9 +3785,9 @@ dependencies = [ [[package]] name = "kitsune_p2p_dht_arc" -version = "0.4.0-dev.9" +version = "0.4.0-dev.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49cefd7f1867eb14ade8fce5b6a9975c399780f4735aad7701ed1b2036b72ae9" +checksum = "ee8192d3f5534dcb2aebf38432e001b2b458f30364b6f26e84dc267c08188808" dependencies = [ "arbitrary", "derive_more", @@ -3812,9 +3803,9 @@ dependencies = [ [[package]] name = "kitsune_p2p_fetch" -version = "0.4.0-dev.13" +version = "0.4.0-dev.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3482a52b635f770f7235efe6bf2dd1928574702fcfbade69f7aabec613c70a10" +checksum = "46b34fe990fe3a0861fbac359cfc4f0bbb091f3d862b93d31d811817848cc276" dependencies = [ "backon", "derive_more", @@ -3828,13 +3819,12 @@ dependencies = [ [[package]] name = "kitsune_p2p_mdns" -version = "0.4.0-dev.2" +version = "0.4.0-dev.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4d57ccdbad385b104ffdadd3db14abe73024f586df8160f2dc89560d5b807ae" +checksum = "08e9528ab59939c887f989d2e1078cc0460b6d35e4f3498bf1319703c3a1dccb" dependencies = [ "base64 0.22.1", "err-derive 0.3.1", - "futures", "libmdns", "mdns", "tokio", @@ -3843,9 +3833,9 @@ dependencies = [ [[package]] name = "kitsune_p2p_proxy" -version = "0.4.0-dev.13" +version = "0.4.0-dev.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d1efae608bc19578bf5377e6ba11b2e006203fc55cf1637cd11c5522e384f001" +checksum = "fe07e6d0312ed1404e9c3aed476facdf58fcb317ecfffabf123e2e3963905213" dependencies = [ "base64 0.22.1", "derive_more", @@ -3854,7 +3844,6 @@ dependencies = [ "kitsune_p2p_types", "serde", "serde_bytes", - "structopt", "tokio", ] @@ -3876,9 +3865,9 @@ dependencies = [ [[package]] name = "kitsune_p2p_types" -version = "0.4.0-dev.13" +version = "0.4.0-dev.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0305bc228d171847cc35439e6ad56d41bd61da019900964026d771b5de69f896" +checksum = "af13b9b93115aabd8737016685c6599dad31ec731cf1dc336e5f35117c5cca54" dependencies = [ "arbitrary", "base64 0.22.1", @@ -3975,9 +3964,9 @@ checksum = "884e2677b40cc8c339eaefcb701c32ef1fd2493d71118dc0ca4b6a736c93bd67" [[package]] name = "libc" -version = "0.2.158" +version = "0.2.159" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d8adc4bb1803a324070e64a98ae98f38934d91957a99cfb3a43dcbc01bc56439" +checksum = "561d97a539a36e26a9a5fad1ea11a3039a67714694aaa379433e580854bc3dc5" [[package]] name = "libflate" @@ -4047,7 +4036,7 @@ checksum = "c0ff37bd590ca25063e35af745c343cb7a0271906fb7b37e4813e8f79f00268d" dependencies = [ "bitflags 2.6.0", "libc", - "redox_syscall 0.5.4", + "redox_syscall 0.5.6", ] [[package]] @@ -4299,7 +4288,7 @@ dependencies = [ "fragile", "lazy_static", "mockall_derive", - "predicates 2.1.5", + "predicates", "predicates-tree", ] @@ -4323,9 +4312,9 @@ checksum = "7843ec2de400bcbc6a6328c958dc38e5359da6e93e72e37bc5246bf1ae776389" [[package]] name = "mr_bundle" -version = "0.4.0-dev.7" +version = "0.4.0-dev.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bec8cf33890b9d37580b77210cf52adc23b7a6528eaeb780b91c982374a19343" +checksum = "438162278a3b42da506ee9d250435e20af44aa8a4b256356bcbad99a55b6d162" dependencies = [ "arbitrary", "derive_more", @@ -4849,7 +4838,7 @@ checksum = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8" dependencies = [ "cfg-if 1.0.0", "libc", - "redox_syscall 0.5.4", + "redox_syscall 0.5.6", "smallvec", "windows-targets 0.52.6", ] @@ -4941,9 +4930,9 @@ dependencies = [ [[package]] name = "pkg-config" -version = "0.3.30" +version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d231b230927b5e4ad203db57bbcbee2802f6bce620b1e4a9024a07d94e2907ec" +checksum = "953ec861398dccce10c670dfeaf3ec4911ca479e9c02154b3a215178c5f566f2" [[package]] name = "polling" @@ -4989,20 +4978,6 @@ dependencies = [ "regex", ] -[[package]] -name = "predicates" -version = "3.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e9086cc7640c29a356d1a29fd134380bee9d8f79a17410aa76e7ad295f42c97" -dependencies = [ - "anstyle", - "difflib", - "float-cmp", - "normalize-line-endings", - "predicates-core", - "regex", -] - [[package]] name = "predicates-core" version = "1.0.8" @@ -5468,9 +5443,9 @@ dependencies = [ [[package]] name = "redox_syscall" -version = "0.5.4" +version = "0.5.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0884ad60e090bf1345b93da0a5de8923c93884cd03f40dfcfddd3b4bee661853" +checksum = "355ae415ccd3a04315d3f8246e86d67689ea74d88d915576e1589a351062a13b" dependencies = [ "bitflags 2.6.0", ] @@ -6203,9 +6178,9 @@ dependencies = [ [[package]] name = "serde_spanned" -version = "0.6.7" +version = "0.6.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb5b1b31579f3811bf615c144393417496f152e12ac8b7663bf664f4a815306d" +checksum = "87607cb1398ed59d48732e575a4c28a7a8ebf2454b964fe3f224f2afc07909e1" dependencies = [ "serde", ] @@ -6699,9 +6674,9 @@ checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" [[package]] name = "tar" -version = "0.4.41" +version = "0.4.42" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb797dad5fb5b76fcf519e702f4a589483b5ef06567f160c392832c1f5e44909" +checksum = "4ff6c40d3aedb5e06b57c6f669ad17ab063dd1e63d977c6a88e7f4dfa4f04020" dependencies = [ "filetime", "libc", @@ -7047,9 +7022,9 @@ dependencies = [ [[package]] name = "toml_edit" -version = "0.22.21" +version = "0.22.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b072cee73c449a636ffd6f32bd8de3a9f7119139aff882f44943ce2986dc5cf" +checksum = "4ae48d6208a266e853d946088ed816055e556cc6028c5e8e2b84d9fa5dd7c7f5" dependencies = [ "indexmap 2.5.0", "serde", @@ -7058,27 +7033,6 @@ dependencies = [ "winnow", ] -[[package]] -name = "tower" -version = "0.4.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8fa9be0de6cf49e536ce1851f987bd21a43b771b09473c3549a6c853db37c1c" -dependencies = [ - "futures-core", - "futures-util", - "pin-project", - "pin-project-lite", - "tokio", - "tower-layer", - "tower-service", -] - -[[package]] -name = "tower-layer" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "121c2a6cda46980bb0fcd1647ffaf6cd3fc79a013de288782836f6df9c48780e" - [[package]] name = "tower-service" version = "0.3.3" @@ -8271,9 +8225,9 @@ checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" [[package]] name = "winnow" -version = "0.6.18" +version = "0.6.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68a9bda4691f099d435ad181000724da8e5899daa10713c2d432552b9ccd3a6f" +checksum = "36c1fec1a2bb5866f07c25f68c26e565c4c200aebb96d7e55710c19d3e8ac49b" dependencies = [ "memchr", ] diff --git a/nix/fixtures/module-repo/flake.lock b/nix/fixtures/module-repo/flake.lock index b657393..7a9ad18 100644 --- a/nix/fixtures/module-repo/flake.lock +++ b/nix/fixtures/module-repo/flake.lock @@ -2,11 +2,11 @@ "nodes": { "crane": { "locked": { - "lastModified": 1725409566, - "narHash": "sha256-PrtLmqhM6UtJP7v7IGyzjBFhbG4eOAHT6LPYOFmYfbk=", + "lastModified": 1727235847, + "narHash": "sha256-MoEot8izwkfGm1h5ak8hS2bu59mLmKeevlP/OvFLCzM=", "owner": "ipetkov", "repo": "crane", - "rev": "7e4586bad4e3f8f97a9271def747cf58c4b68f3c", + "rev": "08f45b5a2e01cf34ca6081188c6d16aa35581b09", "type": "github" }, "original": { @@ -17,11 +17,11 @@ }, "crane_2": { "locked": { - "lastModified": 1725409566, - "narHash": "sha256-PrtLmqhM6UtJP7v7IGyzjBFhbG4eOAHT6LPYOFmYfbk=", + "lastModified": 1727235847, + "narHash": "sha256-MoEot8izwkfGm1h5ak8hS2bu59mLmKeevlP/OvFLCzM=", "owner": "ipetkov", "repo": "crane", - "rev": "7e4586bad4e3f8f97a9271def747cf58c4b68f3c", + "rev": "08f45b5a2e01cf34ca6081188c6d16aa35581b09", "type": "github" }, "original": { @@ -169,7 +169,7 @@ }, "locked": { "lastModified": 0, - "narHash": "sha256-1GYxD67HwWP3aYWPBA/I0vlNY2Fg4oNPTup3xVfZ98M=", + "narHash": "sha256-ck19+FBmkbzQGJwWO19jvokekjrg/VDnPWPAEnr7zN4=", "path": "./../../..", "type": "path" }, @@ -353,16 +353,16 @@ "holochain": { "flake": false, "locked": { - "lastModified": 1726621288, - "narHash": "sha256-zUvEfTRX7acCzhEBgL8gkrngH7ryT18p1J2lOTE9uOo=", + "lastModified": 1727226305, + "narHash": "sha256-a4zt59D7LRnhkryusxyDGCmBxB2GOmEJDCOTLab1gY0=", "owner": "holochain", "repo": "holochain", - "rev": "1c38ad228103e2994399e735ccca9c4d850aec19", + "rev": "b42fb1ba3c439a7fe561cc627c5d53280fd2a83b", "type": "github" }, "original": { "owner": "holochain", - "ref": "holochain-0.4.0-dev.25", + "ref": "holochain-0.4.0-dev.26", "repo": "holochain", "type": "github" } @@ -370,16 +370,16 @@ "holochain_2": { "flake": false, "locked": { - "lastModified": 1726621288, - "narHash": "sha256-zUvEfTRX7acCzhEBgL8gkrngH7ryT18p1J2lOTE9uOo=", + "lastModified": 1727226305, + "narHash": "sha256-a4zt59D7LRnhkryusxyDGCmBxB2GOmEJDCOTLab1gY0=", "owner": "holochain", "repo": "holochain", - "rev": "1c38ad228103e2994399e735ccca9c4d850aec19", + "rev": "b42fb1ba3c439a7fe561cc627c5d53280fd2a83b", "type": "github" }, "original": { "owner": "holochain", - "ref": "holochain-0.4.0-dev.25", + "ref": "holochain-0.4.0-dev.26", "repo": "holochain", "type": "github" } @@ -430,11 +430,11 @@ "rust-overlay": "rust-overlay" }, "locked": { - "lastModified": 1726665849, - "narHash": "sha256-c6+HhJ5xSUuCVbvS67+52EDH8cSDCWYk5c2v84/yZqw=", + "lastModified": 1727258034, + "narHash": "sha256-hjO4HXA/42iorkeM0T+T+qDrFG2Edu0+tROQ5ji/npY=", "owner": "holochain", "repo": "holonix", - "rev": "25e2d39e876b93cfef091f484e80dafcf287bf83", + "rev": "2647d78d7083b5560a9f77df618345a64d4ddb6e", "type": "github" }, "original": { @@ -455,11 +455,11 @@ "rust-overlay": "rust-overlay_2" }, "locked": { - "lastModified": 1726665849, - "narHash": "sha256-c6+HhJ5xSUuCVbvS67+52EDH8cSDCWYk5c2v84/yZqw=", + "lastModified": 1727258034, + "narHash": "sha256-hjO4HXA/42iorkeM0T+T+qDrFG2Edu0+tROQ5ji/npY=", "owner": "holochain", "repo": "holonix", - "rev": "25e2d39e876b93cfef091f484e80dafcf287bf83", + "rev": "2647d78d7083b5560a9f77df618345a64d4ddb6e", "type": "github" }, "original": { @@ -523,16 +523,16 @@ "lair-keystore": { "flake": false, "locked": { - "lastModified": 1726521249, - "narHash": "sha256-SZPhvZ7D5tNr3dKuxUp/zUOnfFe8UBG/uqWc9vQgUMM=", + "lastModified": 1726865440, + "narHash": "sha256-+ARQs+Sfmh8QXMyjjHjm6Ib8Ag86Jm2vnyB6l3zTCgA=", "owner": "holochain", "repo": "lair", - "rev": "6bbd604bff3d5eda528bb2da9c3aa1e1e71e429d", + "rev": "9f306efed597765b70da704e1739ecc67f2510e0", "type": "github" }, "original": { "owner": "holochain", - "ref": "lair_keystore-v0.5.1", + "ref": "lair_keystore-v0.5.2", "repo": "lair", "type": "github" } @@ -540,16 +540,16 @@ "lair-keystore_2": { "flake": false, "locked": { - "lastModified": 1726521249, - "narHash": "sha256-SZPhvZ7D5tNr3dKuxUp/zUOnfFe8UBG/uqWc9vQgUMM=", + "lastModified": 1726865440, + "narHash": "sha256-+ARQs+Sfmh8QXMyjjHjm6Ib8Ag86Jm2vnyB6l3zTCgA=", "owner": "holochain", "repo": "lair", - "rev": "6bbd604bff3d5eda528bb2da9c3aa1e1e71e429d", + "rev": "9f306efed597765b70da704e1739ecc67f2510e0", "type": "github" }, "original": { "owner": "holochain", - "ref": "lair_keystore-v0.5.1", + "ref": "lair_keystore-v0.5.2", "repo": "lair", "type": "github" } @@ -702,11 +702,11 @@ }, "pnpmnixpkgs": { "locked": { - "lastModified": 1726838390, - "narHash": "sha256-NmcVhGElxDbmEWzgXsyAjlRhUus/nEqPC5So7BOJLUM=", + "lastModified": 1727264057, + "narHash": "sha256-KQPI8CTTnB9CrJ7LrmLC4VWbKZfljEPBXOFGZFRpxao=", "owner": "nixos", "repo": "nixpkgs", - "rev": "944b2aea7f0a2d7c79f72468106bc5510cbf5101", + "rev": "759537f06e6999e141588ff1c9be7f3a5c060106", "type": "github" }, "original": { @@ -761,11 +761,11 @@ ] }, "locked": { - "lastModified": 1726453838, - "narHash": "sha256-pupsow4L79SBfNwT6vh/5RAbVZuhngIA0RTCZksXmZY=", + "lastModified": 1727231386, + "narHash": "sha256-XLloPtQHKk/Tdt8t8zIb+JhmunlH3YB9Jz8RTlQ3N/4=", "owner": "oxalica", "repo": "rust-overlay", - "rev": "ca2e79cd22625d214b8437c2c4080ce79bd9f7d2", + "rev": "b5f76c3b09a8194889f5328a480fbea1a9115518", "type": "github" }, "original": { @@ -782,11 +782,11 @@ ] }, "locked": { - "lastModified": 1726453838, - "narHash": "sha256-pupsow4L79SBfNwT6vh/5RAbVZuhngIA0RTCZksXmZY=", + "lastModified": 1727231386, + "narHash": "sha256-XLloPtQHKk/Tdt8t8zIb+JhmunlH3YB9Jz8RTlQ3N/4=", "owner": "oxalica", "repo": "rust-overlay", - "rev": "ca2e79cd22625d214b8437c2c4080ce79bd9f7d2", + "rev": "b5f76c3b09a8194889f5328a480fbea1a9115518", "type": "github" }, "original": { diff --git a/nix/fixtures/module-repo/flake.nix b/nix/fixtures/module-repo/flake.nix index 6fb0035..6fc4586 100644 --- a/nix/fixtures/module-repo/flake.nix +++ b/nix/fixtures/module-repo/flake.nix @@ -12,7 +12,11 @@ outputs = inputs@{ ... }: inputs.holonix.inputs.flake-parts.lib.mkFlake { inherit inputs; } { - imports = [ ./zomes/coordinator/zome.nix ./zomes/integrity/zome.nix ]; + imports = [ + ./zomes/coordinator/zome.nix + ./zomes/integrity/zome.nix + inputs.hc-infra.flakeModules.builders + ]; systems = builtins.attrNames inputs.holonix.devShells; perSystem = { inputs', config, pkgs, system, lib, self', ... }: { diff --git a/nix/fixtures/module-repo/zomes/coordinator/zome.nix b/nix/fixtures/module-repo/zomes/coordinator/zome.nix index ab5183b..2d22665 100644 --- a/nix/fixtures/module-repo/zomes/coordinator/zome.nix +++ b/nix/fixtures/module-repo/zomes/coordinator/zome.nix @@ -2,19 +2,16 @@ { perSystem = { inputs', self', system, ... }: { - packages.my_zome = inputs.hc-infra.outputs.lib.rustZome { + packages.my_zome = inputs.hc-infra.outputs.builders.${system}.rustZome { workspacePath = inputs.self.outPath; - inherit system; crateCargoToml = ./Cargo.toml; - cargoArtifacts = - inputs.hc-infra.lib.zomeCargoArtifacts { inherit system; }; + cargoArtifacts = inputs'.hc-infra.packages.zomeCargoArtifacts; # matchingZomeHash = inputs'.previousZomeVersion.packages.my_zome; }; - checks.my_zome = inputs.hc-infra.outputs.lib.sweettest { + checks.my_zome = inputs.hc-infra.outputs.builders.${system}.sweettest { workspacePath = inputs.self.outPath; - inherit system; - dna = inputs.hc-infra.outputs.lib.dna { + dna = inputs.hc-infra.outputs.builders.${system}.dna { dnaManifest = builtins.toFile "dna.yaml" '' --- manifest_version: "1" @@ -32,11 +29,9 @@ dylib: ~ ''; zomes = { my_zome = self'.packages.my_zome; }; - inherit system; }.meta.debug; crateCargoToml = ./Cargo.toml; - cargoArtifacts = - inputs.hc-infra.lib.holochainCargoArtifacts { inherit system; }; + cargoArtifacts = inputs'.hc-infra.packages.holochainCargoArtifacts; }; }; } diff --git a/nix/fixtures/module-repo/zomes/integrity/zome.nix b/nix/fixtures/module-repo/zomes/integrity/zome.nix index 3fb6870..974bf95 100644 --- a/nix/fixtures/module-repo/zomes/integrity/zome.nix +++ b/nix/fixtures/module-repo/zomes/integrity/zome.nix @@ -2,14 +2,12 @@ { perSystem = { inputs', self', system, ... }: { - packages.my_zome_integrity = inputs.hc-infra.outputs.lib.rustZome { - inherit system; - workspacePath = inputs.self.outPath; - crateCargoToml = ./Cargo.toml; - cargoArtifacts = - inputs.hc-infra.lib.zomeCargoArtifacts { inherit system; }; - # matchingZomeHash = inputs'.previousZomeVersion.packages.my_zome; - }; + packages.my_zome_integrity = + inputs.hc-infra.outputs.builders.${system}.rustZome { + workspacePath = inputs.self.outPath; + crateCargoToml = ./Cargo.toml; + cargoArtifacts = inputs'.hc-infra.packages.zomeCargoArtifacts; + # matchingZomeHash = inputs'.previousZomeVersion.packages.my_zome; + }; }; } - diff --git a/nix/fixtures/service-repo/dna/dna.nix b/nix/fixtures/service-repo/dna/dna.nix index d1f5317..00581fc 100644 --- a/nix/fixtures/service-repo/dna/dna.nix +++ b/nix/fixtures/service-repo/dna/dna.nix @@ -2,9 +2,8 @@ { perSystem = { inputs', config, pkgs, system, lib, self', options, ... }: { - packages.my_dna = inputs.hc-infra.outputs.lib.dna { + packages.my_dna = inputs.hc-infra.outputs.builders.${system}.dna { dnaManifest = ./dna.yaml; - inherit system; zomes = { my_zome = inputs'.module.packages.my_zome; my_zome_integrity = inputs'.module.packages.my_zome_integrity; diff --git a/nix/fixtures/service-repo/flake.lock b/nix/fixtures/service-repo/flake.lock index b0173d2..9d9ca8b 100644 --- a/nix/fixtures/service-repo/flake.lock +++ b/nix/fixtures/service-repo/flake.lock @@ -2,11 +2,11 @@ "nodes": { "crane": { "locked": { - "lastModified": 1725409566, - "narHash": "sha256-PrtLmqhM6UtJP7v7IGyzjBFhbG4eOAHT6LPYOFmYfbk=", + "lastModified": 1727235847, + "narHash": "sha256-MoEot8izwkfGm1h5ak8hS2bu59mLmKeevlP/OvFLCzM=", "owner": "ipetkov", "repo": "crane", - "rev": "7e4586bad4e3f8f97a9271def747cf58c4b68f3c", + "rev": "08f45b5a2e01cf34ca6081188c6d16aa35581b09", "type": "github" }, "original": { @@ -17,11 +17,11 @@ }, "crane_2": { "locked": { - "lastModified": 1725409566, - "narHash": "sha256-PrtLmqhM6UtJP7v7IGyzjBFhbG4eOAHT6LPYOFmYfbk=", + "lastModified": 1727235847, + "narHash": "sha256-MoEot8izwkfGm1h5ak8hS2bu59mLmKeevlP/OvFLCzM=", "owner": "ipetkov", "repo": "crane", - "rev": "7e4586bad4e3f8f97a9271def747cf58c4b68f3c", + "rev": "08f45b5a2e01cf34ca6081188c6d16aa35581b09", "type": "github" }, "original": { @@ -32,11 +32,11 @@ }, "crane_3": { "locked": { - "lastModified": 1725409566, - "narHash": "sha256-PrtLmqhM6UtJP7v7IGyzjBFhbG4eOAHT6LPYOFmYfbk=", + "lastModified": 1727235847, + "narHash": "sha256-MoEot8izwkfGm1h5ak8hS2bu59mLmKeevlP/OvFLCzM=", "owner": "ipetkov", "repo": "crane", - "rev": "7e4586bad4e3f8f97a9271def747cf58c4b68f3c", + "rev": "08f45b5a2e01cf34ca6081188c6d16aa35581b09", "type": "github" }, "original": { @@ -285,7 +285,7 @@ }, "locked": { "lastModified": 0, - "narHash": "sha256-GeGKMrZaGoeqQvuL3XkgR+RY5AYLZ81We0eYdlp0LEM=", + "narHash": "sha256-FI6HEliq+d7H+jXkqJqllSR/9LKAHi92OKGOit9elXE=", "path": "./../../..", "type": "path" }, @@ -610,16 +610,16 @@ "holochain": { "flake": false, "locked": { - "lastModified": 1726621288, - "narHash": "sha256-zUvEfTRX7acCzhEBgL8gkrngH7ryT18p1J2lOTE9uOo=", + "lastModified": 1727226305, + "narHash": "sha256-a4zt59D7LRnhkryusxyDGCmBxB2GOmEJDCOTLab1gY0=", "owner": "holochain", "repo": "holochain", - "rev": "1c38ad228103e2994399e735ccca9c4d850aec19", + "rev": "b42fb1ba3c439a7fe561cc627c5d53280fd2a83b", "type": "github" }, "original": { "owner": "holochain", - "ref": "holochain-0.4.0-dev.25", + "ref": "holochain-0.4.0-dev.26", "repo": "holochain", "type": "github" } @@ -627,16 +627,16 @@ "holochain_2": { "flake": false, "locked": { - "lastModified": 1726621288, - "narHash": "sha256-zUvEfTRX7acCzhEBgL8gkrngH7ryT18p1J2lOTE9uOo=", + "lastModified": 1727226305, + "narHash": "sha256-a4zt59D7LRnhkryusxyDGCmBxB2GOmEJDCOTLab1gY0=", "owner": "holochain", "repo": "holochain", - "rev": "1c38ad228103e2994399e735ccca9c4d850aec19", + "rev": "b42fb1ba3c439a7fe561cc627c5d53280fd2a83b", "type": "github" }, "original": { "owner": "holochain", - "ref": "holochain-0.4.0-dev.25", + "ref": "holochain-0.4.0-dev.26", "repo": "holochain", "type": "github" } @@ -644,16 +644,16 @@ "holochain_3": { "flake": false, "locked": { - "lastModified": 1726621288, - "narHash": "sha256-zUvEfTRX7acCzhEBgL8gkrngH7ryT18p1J2lOTE9uOo=", + "lastModified": 1727226305, + "narHash": "sha256-a4zt59D7LRnhkryusxyDGCmBxB2GOmEJDCOTLab1gY0=", "owner": "holochain", "repo": "holochain", - "rev": "1c38ad228103e2994399e735ccca9c4d850aec19", + "rev": "b42fb1ba3c439a7fe561cc627c5d53280fd2a83b", "type": "github" }, "original": { "owner": "holochain", - "ref": "holochain-0.4.0-dev.25", + "ref": "holochain-0.4.0-dev.26", "repo": "holochain", "type": "github" } @@ -738,11 +738,11 @@ "rust-overlay": "rust-overlay" }, "locked": { - "lastModified": 1726665849, - "narHash": "sha256-c6+HhJ5xSUuCVbvS67+52EDH8cSDCWYk5c2v84/yZqw=", + "lastModified": 1727258034, + "narHash": "sha256-hjO4HXA/42iorkeM0T+T+qDrFG2Edu0+tROQ5ji/npY=", "owner": "holochain", "repo": "holonix", - "rev": "25e2d39e876b93cfef091f484e80dafcf287bf83", + "rev": "2647d78d7083b5560a9f77df618345a64d4ddb6e", "type": "github" }, "original": { @@ -763,11 +763,11 @@ "rust-overlay": "rust-overlay_2" }, "locked": { - "lastModified": 1726665849, - "narHash": "sha256-c6+HhJ5xSUuCVbvS67+52EDH8cSDCWYk5c2v84/yZqw=", + "lastModified": 1727258034, + "narHash": "sha256-hjO4HXA/42iorkeM0T+T+qDrFG2Edu0+tROQ5ji/npY=", "owner": "holochain", "repo": "holonix", - "rev": "25e2d39e876b93cfef091f484e80dafcf287bf83", + "rev": "2647d78d7083b5560a9f77df618345a64d4ddb6e", "type": "github" }, "original": { @@ -788,11 +788,11 @@ "rust-overlay": "rust-overlay_3" }, "locked": { - "lastModified": 1726665849, - "narHash": "sha256-c6+HhJ5xSUuCVbvS67+52EDH8cSDCWYk5c2v84/yZqw=", + "lastModified": 1727258034, + "narHash": "sha256-hjO4HXA/42iorkeM0T+T+qDrFG2Edu0+tROQ5ji/npY=", "owner": "holochain", "repo": "holonix", - "rev": "25e2d39e876b93cfef091f484e80dafcf287bf83", + "rev": "2647d78d7083b5560a9f77df618345a64d4ddb6e", "type": "github" }, "original": { @@ -908,16 +908,16 @@ "lair-keystore": { "flake": false, "locked": { - "lastModified": 1726521249, - "narHash": "sha256-SZPhvZ7D5tNr3dKuxUp/zUOnfFe8UBG/uqWc9vQgUMM=", + "lastModified": 1726865440, + "narHash": "sha256-+ARQs+Sfmh8QXMyjjHjm6Ib8Ag86Jm2vnyB6l3zTCgA=", "owner": "holochain", "repo": "lair", - "rev": "6bbd604bff3d5eda528bb2da9c3aa1e1e71e429d", + "rev": "9f306efed597765b70da704e1739ecc67f2510e0", "type": "github" }, "original": { "owner": "holochain", - "ref": "lair_keystore-v0.5.1", + "ref": "lair_keystore-v0.5.2", "repo": "lair", "type": "github" } @@ -925,16 +925,16 @@ "lair-keystore_2": { "flake": false, "locked": { - "lastModified": 1726521249, - "narHash": "sha256-SZPhvZ7D5tNr3dKuxUp/zUOnfFe8UBG/uqWc9vQgUMM=", + "lastModified": 1726865440, + "narHash": "sha256-+ARQs+Sfmh8QXMyjjHjm6Ib8Ag86Jm2vnyB6l3zTCgA=", "owner": "holochain", "repo": "lair", - "rev": "6bbd604bff3d5eda528bb2da9c3aa1e1e71e429d", + "rev": "9f306efed597765b70da704e1739ecc67f2510e0", "type": "github" }, "original": { "owner": "holochain", - "ref": "lair_keystore-v0.5.1", + "ref": "lair_keystore-v0.5.2", "repo": "lair", "type": "github" } @@ -942,16 +942,16 @@ "lair-keystore_3": { "flake": false, "locked": { - "lastModified": 1726521249, - "narHash": "sha256-SZPhvZ7D5tNr3dKuxUp/zUOnfFe8UBG/uqWc9vQgUMM=", + "lastModified": 1726865440, + "narHash": "sha256-+ARQs+Sfmh8QXMyjjHjm6Ib8Ag86Jm2vnyB6l3zTCgA=", "owner": "holochain", "repo": "lair", - "rev": "6bbd604bff3d5eda528bb2da9c3aa1e1e71e429d", + "rev": "9f306efed597765b70da704e1739ecc67f2510e0", "type": "github" }, "original": { "owner": "holochain", - "ref": "lair_keystore-v0.5.1", + "ref": "lair_keystore-v0.5.2", "repo": "lair", "type": "github" } @@ -1039,7 +1039,7 @@ }, "locked": { "lastModified": 1, - "narHash": "sha256-wew+OBHffXpdAmy1pprc4UX0mM8DZXycO+PIQxO3O2s=", + "narHash": "sha256-tQoUqd5Zi1JfNKJyKsIqGCi5SE3bFoFBRW8yQooD/VE=", "path": "./../module-repo", "type": "path" }, @@ -1246,11 +1246,11 @@ }, "pnpmnixpkgs": { "locked": { - "lastModified": 1726838390, - "narHash": "sha256-NmcVhGElxDbmEWzgXsyAjlRhUus/nEqPC5So7BOJLUM=", + "lastModified": 1727264057, + "narHash": "sha256-KQPI8CTTnB9CrJ7LrmLC4VWbKZfljEPBXOFGZFRpxao=", "owner": "nixos", "repo": "nixpkgs", - "rev": "944b2aea7f0a2d7c79f72468106bc5510cbf5101", + "rev": "759537f06e6999e141588ff1c9be7f3a5c060106", "type": "github" }, "original": { @@ -1332,11 +1332,11 @@ ] }, "locked": { - "lastModified": 1726453838, - "narHash": "sha256-pupsow4L79SBfNwT6vh/5RAbVZuhngIA0RTCZksXmZY=", + "lastModified": 1727231386, + "narHash": "sha256-XLloPtQHKk/Tdt8t8zIb+JhmunlH3YB9Jz8RTlQ3N/4=", "owner": "oxalica", "repo": "rust-overlay", - "rev": "ca2e79cd22625d214b8437c2c4080ce79bd9f7d2", + "rev": "b5f76c3b09a8194889f5328a480fbea1a9115518", "type": "github" }, "original": { @@ -1353,11 +1353,11 @@ ] }, "locked": { - "lastModified": 1726453838, - "narHash": "sha256-pupsow4L79SBfNwT6vh/5RAbVZuhngIA0RTCZksXmZY=", + "lastModified": 1727231386, + "narHash": "sha256-XLloPtQHKk/Tdt8t8zIb+JhmunlH3YB9Jz8RTlQ3N/4=", "owner": "oxalica", "repo": "rust-overlay", - "rev": "ca2e79cd22625d214b8437c2c4080ce79bd9f7d2", + "rev": "b5f76c3b09a8194889f5328a480fbea1a9115518", "type": "github" }, "original": { @@ -1375,11 +1375,11 @@ ] }, "locked": { - "lastModified": 1726453838, - "narHash": "sha256-pupsow4L79SBfNwT6vh/5RAbVZuhngIA0RTCZksXmZY=", + "lastModified": 1727231386, + "narHash": "sha256-XLloPtQHKk/Tdt8t8zIb+JhmunlH3YB9Jz8RTlQ3N/4=", "owner": "oxalica", "repo": "rust-overlay", - "rev": "ca2e79cd22625d214b8437c2c4080ce79bd9f7d2", + "rev": "b5f76c3b09a8194889f5328a480fbea1a9115518", "type": "github" }, "original": { diff --git a/nix/happ.nix b/nix/happ.nix index 366b889..74eab7e 100644 --- a/nix/happ.nix +++ b/nix/happ.nix @@ -1,6 +1,6 @@ # Build a hApp -{ happManifest, holochain, writeText, json2yaml, callPackage, runCommandLocal -, dnas ? { } }: +{ happManifest, runCommandNoCC, holochain, writeText, json2yaml, callPackage +, runCommandLocal, dnas ? { }, meta }: let dnaSrcs = builtins.attrValues dnas; @@ -19,7 +19,7 @@ let happManifestYaml = runCommandLocal "json-to-yaml" { } " ${json2yaml}/bin/json2yaml ${happManifestJson} $out\n"; - debug = runCommandLocal "${manifest.name}-debug" { + debug = runCommandNoCC "${manifest.name}-debug" { srcs = builtins.map (dna: dna.meta.debug) dnaSrcs; } '' mkdir workdir @@ -36,8 +36,8 @@ let mv workdir/${manifest.name}.happ $out ''; -in runCommandLocal manifest.name { - meta = { inherit debug; }; +in runCommandNoCC manifest.name { + meta = meta // { inherit debug; }; srcs = dnaSrcs; } '' mkdir workdir diff --git a/nix/reference-happ/Cargo.lock b/nix/reference-happ/Cargo.lock index e84cc7f..774e25e 100644 --- a/nix/reference-happ/Cargo.lock +++ b/nix/reference-happ/Cargo.lock @@ -14,19 +14,13 @@ dependencies = [ [[package]] name = "addr2line" -version = "0.22.0" +version = "0.24.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e4503c46a5c0c7844e948c9a4d6acd9f50cccb4de1c48eb9e291ea17470c678" +checksum = "f5fb1d8e4442bd405fdfd1dacb42792696b0cf9cb15882e5d097b742a676d375" dependencies = [ - "gimli 0.29.0", + "gimli 0.31.0", ] -[[package]] -name = "adler" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" - [[package]] name = "adler2" version = "2.0.0" @@ -91,13 +85,12 @@ dependencies = [ [[package]] name = "aitia" -version = "0.3.0-dev.5" +version = "0.3.0-dev.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf586cb9185c985fd25a4fae5cf2e8e2f590dd7c60beffd9cc62da64ac80d16a" +checksum = "110a12624e9e8e725b4f28fb6a75d39549258cc6ee3c9e7aee2ce7a17103d957" dependencies = [ "anyhow", "derive_more", - "holochain_trace", "parking_lot 0.12.3", "petgraph", "regex", @@ -196,9 +189,9 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.86" +version = "1.0.89" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b3d1d046238990b9cf5bcde22a3fb3584ee5cf65fb2765f454ed428c7a0063da" +checksum = "86fdf8605db99b54d3cd748a44c6d04df638eb5dafb219b135d0149bd0db01f6" [[package]] name = "app_dirs2" @@ -232,9 +225,9 @@ dependencies = [ [[package]] name = "arrayref" -version = "0.3.8" +version = "0.3.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d151e35f61089500b617991b791fc8bfd237ae50cd5950803758a179b41e67a" +checksum = "76a2e8124351fda1ef8aaaa3bbd7ebbcb486bbcd4225aca0aa0d84bb2db8fecb" [[package]] name = "arrayvec" @@ -277,14 +270,14 @@ dependencies = [ [[package]] name = "async-executor" -version = "1.13.0" +version = "1.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d7ebdfa2ebdab6b1760375fa7d6f382b9f486eac35fc994625a00e89280bdbb7" +checksum = "30ca9a001c1e8ba5149f91a74362376cc6bc5b919d92d988668657bd570bdcec" dependencies = [ "async-task", "concurrent-queue", - "fastrand 2.1.1", - "futures-lite 2.3.0", + "fastrand", + "futures-lite", "slab", ] @@ -296,61 +289,32 @@ checksum = "05b1b633a2115cd122d73b955eadd9916c18c8f510ec9cd1686404c60ad1c29c" dependencies = [ "async-channel 2.3.1", "async-executor", - "async-io 2.3.4", - "async-lock 3.4.0", + "async-io", + "async-lock", "blocking", - "futures-lite 2.3.0", + "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 2.8.0", - "autocfg 1.3.0", - "cfg-if 1.0.0", - "concurrent-queue", - "futures-lite 1.13.0", - "log", - "parking", - "polling 2.8.0", - "rustix 0.37.27", - "slab", - "socket2 0.4.10", - "waker-fn", -] - [[package]] name = "async-io" version = "2.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "444b0228950ee6501b3568d3c93bf1176a1fdbc3b758dcd9475046d30f4dc7e8" dependencies = [ - "async-lock 3.4.0", + "async-lock", "cfg-if 1.0.0", "concurrent-queue", "futures-io", - "futures-lite 2.3.0", + "futures-lite", "parking", - "polling 3.7.3", - "rustix 0.38.35", + "polling", + "rustix", "slab", "tracing", "windows-sys 0.59.0", ] -[[package]] -name = "async-lock" -version = "2.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "287272293e9d8c41773cec55e365490fe034813a2f172f502d6ddcf75b2f582b" -dependencies = [ - "event-listener 2.5.3", -] - [[package]] name = "async-lock" version = "3.4.0" @@ -370,19 +334,21 @@ checksum = "9338790e78aa95a416786ec8389546c4b6a1dfc3dc36071ed9518a9413a542eb" [[package]] name = "async-process" -version = "1.8.1" +version = "2.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea6438ba0a08d81529c69b36700fa2f95837bfe3e776ab39cde9c14d9149da88" +checksum = "63255f1dc2381611000436537bbedfe83183faa303a5a0edaf191edef06526bb" dependencies = [ - "async-io 1.13.0", - "async-lock 2.8.0", + "async-channel 2.3.1", + "async-io", + "async-lock", "async-signal", + "async-task", "blocking", "cfg-if 1.0.0", - "event-listener 3.1.0", - "futures-lite 1.13.0", - "rustix 0.38.35", - "windows-sys 0.48.0", + "event-listener 5.3.1", + "futures-lite", + "rustix", + "tracing", ] [[package]] @@ -402,13 +368,13 @@ version = "0.2.10" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "637e00349800c0bdf8bfc21ebbc0b6524abea702b0da4168ac00d070d0c0b9f3" dependencies = [ - "async-io 2.3.4", - "async-lock 3.4.0", + "async-io", + "async-lock", "atomic-waker", "cfg-if 1.0.0", "futures-core", "futures-io", - "rustix 0.38.35", + "rustix", "signal-hook-registry", "slab", "windows-sys 0.59.0", @@ -416,21 +382,21 @@ dependencies = [ [[package]] name = "async-std" -version = "1.12.0" +version = "1.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62565bb4402e926b29953c785397c6dc0391b7b446e45008b0049eb43cec6f5d" +checksum = "c634475f29802fde2b8f0b505b1bd00dfe4df7d4a000f0b36f7671197d5c3615" dependencies = [ "async-attributes", "async-channel 1.9.0", "async-global-executor", - "async-io 1.13.0", - "async-lock 2.8.0", + "async-io", + "async-lock", "async-process", "crossbeam-utils", "futures-channel", "futures-core", "futures-io", - "futures-lite 1.13.0", + "futures-lite", "gloo-timers", "kv-log-macro", "log", @@ -471,9 +437,9 @@ checksum = "8b75356056920673b02621b35afd0f7dda9306d03c79a30f5c56c44cf256e3de" [[package]] name = "async-trait" -version = "0.1.82" +version = "0.1.83" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a27b8a3a6e1a44fa4c8baf1f653e4172e81486d4941f2237e20dc2d0cf4ddff1" +checksum = "721cae7de5c34fbb2acd27e21e6d2cf7b886dce0c27388d46c4e6c47ea4318dd" dependencies = [ "proc-macro2", "quote", @@ -530,7 +496,7 @@ version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d67782c3f868daa71d3533538e98a8e13713231969def7536e8039606fc46bf0" dependencies = [ - "fastrand 2.1.1", + "fastrand", "futures-core", "pin-project", "tokio", @@ -538,17 +504,17 @@ dependencies = [ [[package]] name = "backtrace" -version = "0.3.73" +version = "0.3.74" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5cc23269a4f8976d0a4d2e7109211a419fe30e8d88d677cd60b6bc79c5732e0a" +checksum = "8d82cb332cdfaed17ae235a638438ac4d4839913cc2af585c3c6746e8f8bee1a" dependencies = [ "addr2line", - "cc", "cfg-if 1.0.0", "libc", - "miniz_oxide 0.7.4", + "miniz_oxide", "object", "rustc-demangle", + "windows-targets 0.52.6", ] [[package]] @@ -667,7 +633,7 @@ dependencies = [ "async-channel 2.3.1", "async-task", "futures-io", - "futures-lite 2.3.0", + "futures-lite", "piper", ] @@ -712,9 +678,9 @@ dependencies = [ [[package]] name = "bytemuck" -version = "1.17.1" +version = "1.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "773d90827bc3feecfb67fab12e24de0749aad83c74b9504ecde46237b5cd24e2" +checksum = "94bbb0ad554ad961ddc5da507a12a29b14e4ae5bda06b19f575a3e6079d2e2ae" [[package]] name = "byteorder" @@ -724,9 +690,9 @@ checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" [[package]] name = "bytes" -version = "1.7.1" +version = "1.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8318a53db07bb3f8dca91a600466bdb3f2eaadeedfdbcf02e1accbad9271ba50" +checksum = "428d9aa8fbc0670b7b8d6030a7fadd0f86151cae55e4dbbece15f3780a3dfaf3" dependencies = [ "serde", ] @@ -787,13 +753,13 @@ dependencies = [ [[package]] name = "cargo_metadata" -version = "0.15.4" +version = "0.18.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eee4243f1f26fc7a42710e7439c149e2b10b05472f88090acce52632f231a73a" +checksum = "2d886547e41f740c616ae73108f6eb70afe6d940c7bc697cb30f13daec073037" dependencies = [ "camino", "cargo-platform", - "semver 1.0.23", + "semver", "serde", "serde_json", "thiserror", @@ -801,9 +767,9 @@ dependencies = [ [[package]] name = "cc" -version = "1.1.15" +version = "1.1.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57b6a275aa2903740dc87da01c62040406b8812552e97129a63ea8850a17c6e6" +checksum = "07b1695e2c7e8fc85310cde85aeaab7e3097f593c91d209d3f9df76c928100f0" dependencies = [ "jobserver", "libc", @@ -843,6 +809,33 @@ dependencies = [ "windows-targets 0.52.6", ] +[[package]] +name = "ciborium" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "42e69ffd6f0917f5c029256a24d0161db17cea3997d185db0d35926308770f0e" +dependencies = [ + "ciborium-io", + "ciborium-ll", + "serde", +] + +[[package]] +name = "ciborium-io" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "05afea1e0a06c9be33d539b876f1ce3692f4afea2cb41f740e7743225ed1c757" + +[[package]] +name = "ciborium-ll" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "57663b653d948a338bfb3eeba9bb2fd5fcfaecb9e199e87e1eda4d9e8b240fd9" +dependencies = [ + "ciborium-io", + "half", +] + [[package]] name = "cipher" version = "0.4.4" @@ -870,9 +863,9 @@ dependencies = [ [[package]] name = "clap" -version = "4.5.16" +version = "4.5.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed6719fffa43d0d87e5fd8caeab59be1554fb028cd30edc88fc4369b17971019" +checksum = "b0956a43b323ac1afaffc053ed5c4b7c1f1800bacd1683c353aabbb752515dd3" dependencies = [ "clap_builder", "clap_derive", @@ -880,9 +873,9 @@ dependencies = [ [[package]] name = "clap_builder" -version = "4.5.15" +version = "4.5.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "216aec2b177652e3846684cbfe25c9964d18ec45234f0f5da5157b207ed1aab6" +checksum = "4d72166dd41634086d5803a47eb71ae740e61d84709c36f3c34110173db3961b" dependencies = [ "anstream", "anstyle", @@ -893,9 +886,9 @@ dependencies = [ [[package]] name = "clap_derive" -version = "4.5.13" +version = "4.5.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "501d359d5f3dcaf6ecdeee48833ae73ec6e42723a1e52419c79abf9507eec0a0" +checksum = "4ac6a0c7b1a9e9a5186361f67dfa1b88213572f427fb9ab038efb2bd8c582dab" dependencies = [ "heck 0.5.0", "proc-macro2", @@ -1021,9 +1014,9 @@ dependencies = [ [[package]] name = "cpufeatures" -version = "0.2.13" +version = "0.2.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "51e852e6dc9a5bed1fae92dd2375037bf2b768725bf3be87811edee3249d09ad" +checksum = "608697df725056feaccfa42cffdaeeec3fccc4ffc38358ecd19b243e716a78e0" dependencies = [ "libc", ] @@ -1319,22 +1312,9 @@ dependencies = [ [[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.5", - "lock_api", - "once_cell", - "parking_lot_core 0.9.10", -] - -[[package]] -name = "dashmap" -version = "6.0.1" +version = "6.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "804c8821570c3f8b70230c2ba75ffa5c0f9a4189b9a432b6656c536712acae28" +checksum = "5041cc499144891f3790297212f32a74fb938e5136a14943f338ef9e0ae276cf" dependencies = [ "cfg-if 1.0.0", "crossbeam-utils", @@ -1702,17 +1682,6 @@ version = "2.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0206175f82b8d6bf6652ff7d71a1e27fd2e4efde587fd368662814d6ec1d9ce0" -[[package]] -name = "event-listener" -version = "3.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d93877bcde0eb80ca09131a08d23f0a5c18a620b01db137dba666d18cd9b30c2" -dependencies = [ - "concurrent-queue", - "parking", - "pin-project-lite", -] - [[package]] name = "event-listener" version = "5.3.1" @@ -1752,15 +1721,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.1.1" @@ -1793,9 +1753,9 @@ checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80" [[package]] name = "fixt" -version = "0.4.0-dev.3" +version = "0.4.0-dev.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58f00f6a51bfb4b9f808a7fc2accb891682bda7cfcafbf08a283393f7db49a80" +checksum = "193caf94296b18355f2ce2845ce03e42d0dd8db252147ab110c2c309fb1e13a5" dependencies = [ "holochain_serialized_bytes", "lazy_static", @@ -1805,7 +1765,7 @@ dependencies = [ "rand_core 0.6.4", "serde", "strum", - "strum_macros 0.18.0", + "strum_macros", ] [[package]] @@ -1815,7 +1775,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "324a1be68054ef05ad64b861cc9eaf1d623d2d8cb25b4bf2cb9cdd902b4bf253" dependencies = [ "crc32fast", - "miniz_oxide 0.8.0", + "miniz_oxide", ] [[package]] @@ -1923,28 +1883,13 @@ version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a44623e20b9681a318efdd71c299b6b222ed6f231972bfe2f224ebad6311f0c1" -[[package]] -name = "futures-lite" -version = "1.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49a9d51ce47660b1e808d3c990b4709f2f415d928835a17dfd16991515c46bce" -dependencies = [ - "fastrand 1.9.0", - "futures-core", - "futures-io", - "memchr", - "parking", - "pin-project-lite", - "waker-fn", -] - [[package]] name = "futures-lite" version = "2.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "52527eb5074e35e9339c6b4e8d12600c7128b68fb25dcb9fa9dec18f7c25f3a5" dependencies = [ - "fastrand 2.1.1", + "fastrand", "futures-core", "futures-io", "parking", @@ -2110,15 +2055,15 @@ dependencies = [ [[package]] name = "gimli" -version = "0.29.0" +version = "0.31.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "40ecd4077b5ae9fd2e9e169b102c6c330d0605168eb0e8bf79952b256dbefffd" +checksum = "32085ea23f3234fc7846555e85283ba4de91e21016dc0455a16286d87a292d64" [[package]] name = "gloo-timers" -version = "0.2.6" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b995a66bb87bebce9a0f4a95aed01daca4872c050bfcb21653361c03bc35e5c" +checksum = "bbb143cf96099802033e0d4f4963b19fd2e0b728bcf076cd9cf7f6634f092994" dependencies = [ "futures-channel", "futures-core", @@ -2183,9 +2128,13 @@ dependencies = [ [[package]] name = "half" -version = "1.8.3" +version = "2.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b43ede17f21864e81be2fa654110bf1e793774238d86ef8555c37e6519c0403" +checksum = "6dd08c532ae367adf81c312a4580bc67f1d0fe8bc9c460520283f4c0ff277888" +dependencies = [ + "cfg-if 1.0.0", + "crunchy", +] [[package]] name = "hashbrown" @@ -2227,9 +2176,9 @@ dependencies = [ [[package]] name = "hc_deepkey_sdk" -version = "0.7.0-dev.4" +version = "0.7.0-dev.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2bd21d01a9fab94eaed78c0e832de0638d2ac87feac4e377919c83a1fcf2af1" +checksum = "4c2f14b69e2104406049b64e2040362f2c7cc94b649455ce3e71f363753144d2" dependencies = [ "arbitrary", "hc_deepkey_types", @@ -2240,9 +2189,9 @@ dependencies = [ [[package]] name = "hc_deepkey_types" -version = "0.8.0-dev.4" +version = "0.8.0-dev.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b0489a841db4297d6ea2c19a8f57e1a92ef5c93688b3b6a27c20c01dff8c5854" +checksum = "aa5cdbda722fec8a640cdae47dc057052dcf5e96071f3e26abcb4d1dbe93716e" dependencies = [ "arbitrary", "hdi", @@ -2280,14 +2229,13 @@ dependencies = [ [[package]] name = "hc_sleuth" -version = "0.4.0-dev.21" +version = "0.4.0-dev.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "71dd733c1632619280240dde939b7e8917e8f8262454dc8e892b9073484a998c" +checksum = "982323ae90d7324a697fe187e796cf88cf9b51f8631e2ba5f7d994385bed6751" dependencies = [ "aitia", "anyhow", "derive_more", - "holochain_state_types", "holochain_trace", "holochain_types", "kitsune_p2p", @@ -2303,9 +2251,9 @@ dependencies = [ [[package]] name = "hdi" -version = "0.5.0-dev.13" +version = "0.5.0-dev.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6021690d57a5977b3317554fec7d66acc50eeadf4589ef1cbd95bfa3666c741a" +checksum = "8d675f92d27a9f130edd3888fd057c9013a99cfd057ae856b6a892bb2578dabb" dependencies = [ "getrandom 0.2.15", "hdk_derive", @@ -2321,9 +2269,9 @@ dependencies = [ [[package]] name = "hdk" -version = "0.4.0-dev.15" +version = "0.4.0-dev.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07c6d356375a1d03dce0d2f9362e2f4840cd74a6558782a0c7f012f55d1200e1" +checksum = "a21b6ea4d469cb9851828f3f3f02ab593816a286e3cf01889898de5f3610479f" dependencies = [ "getrandom 0.2.15", "hdi", @@ -2341,9 +2289,9 @@ dependencies = [ [[package]] name = "hdk_derive" -version = "0.4.0-dev.12" +version = "0.4.0-dev.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85905fbb6eb33b6da346f5d7b6b1b16b85c15d57b3fd2d0ed3e94dd78777c1b3" +checksum = "eea1c46fbe682e26f55189825eb5fa2c83636099c0700b9a33e627978f1ea760" dependencies = [ "darling 0.14.4", "heck 0.5.0", @@ -2388,12 +2336,6 @@ dependencies = [ "unicode-segmentation", ] -[[package]] -name = "heck" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" - [[package]] name = "heck" version = "0.5.0" @@ -2444,9 +2386,9 @@ dependencies = [ [[package]] name = "holo_hash" -version = "0.4.0-dev.11" +version = "0.4.0-dev.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f168530890ae501c964763d6bfdd92c3d4c633b643a909704f99929c9112205" +checksum = "78093a721f73f0b9d7aded3219330c40a021e90fe161f6a212dd44f7b1e5cb56" dependencies = [ "arbitrary", "base64 0.22.1", @@ -2470,9 +2412,9 @@ dependencies = [ [[package]] name = "holochain" -version = "0.4.0-dev.21" +version = "0.4.0-dev.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db1a3608a051dcf2177143550452150829f33d47bbfbcef9d58d5734b4c7a86e" +checksum = "92fd8c3ebbac592bd3a8393dd09851e1706b13718eefd14782acfa01a455cccc" dependencies = [ "aitia", "anyhow", @@ -2481,6 +2423,7 @@ dependencies = [ "async-trait", "backtrace", "base64 0.22.1", + "bytes", "cfg-if 1.0.0", "chrono", "contrafact", @@ -2498,6 +2441,7 @@ dependencies = [ "hdk", "holo_hash", "holochain_cascade", + "holochain_chc", "holochain_conductor_api", "holochain_conductor_services", "holochain_deepkey_dna", @@ -2536,10 +2480,10 @@ dependencies = [ "opentelemetry_api", "parking_lot 0.12.3", "petgraph", - "predicates 3.1.2", "rand 0.8.5", "rand-utf8", "rand_chacha 0.3.1", + "reqwest 0.12.7", "rusqlite", "sbd-server", "sd-notify", @@ -2573,14 +2517,15 @@ dependencies = [ [[package]] name = "holochain_cascade" -version = "0.4.0-dev.21" +version = "0.4.0-dev.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e6880975a822af42d81a46a8f3a0a05f1b8616cda0a48d201072df7856546c4" +checksum = "89d431b1d5a1161be9286a2085a65872118260ce7f552d8b9271207a066ce11b" dependencies = [ "async-trait", "fixt", "futures", "holo_hash", + "holochain_chc", "holochain_nonce", "holochain_p2p", "holochain_serialized_bytes", @@ -2598,11 +2543,37 @@ dependencies = [ "tracing", ] +[[package]] +name = "holochain_chc" +version = "0.1.0-dev.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f409e6061c5b4bb21f41b4180253cae4e8ef71c4d46905183812e8e96ba5077e" +dependencies = [ + "async-trait", + "derive_more", + "futures", + "getrandom 0.2.15", + "holochain_keystore", + "holochain_nonce", + "holochain_serialized_bytes", + "holochain_types", + "must_future", + "one_err", + "parking_lot 0.12.3", + "reqwest 0.12.7", + "serde", + "serde_bytes", + "serde_json", + "thiserror", + "tracing", + "url", +] + [[package]] name = "holochain_conductor_api" -version = "0.4.0-dev.21" +version = "0.4.0-dev.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d8904f0f697d9c81bc164e5b4610fe63248ccf46881f2ddd4d59f10db8c73258" +checksum = "332f5aee43b36bdb411b9b25c715fb02dfbd9921123e78b696387a8d9a3e8dbd" dependencies = [ "derive_more", "holo_hash", @@ -2613,6 +2584,7 @@ dependencies = [ "holochain_zome_types", "kitsune_p2p_bin_data", "kitsune_p2p_types", + "nanoid", "serde", "serde_yaml", "shrinkwraprs", @@ -2623,9 +2595,9 @@ dependencies = [ [[package]] name = "holochain_conductor_services" -version = "0.3.0-dev.21" +version = "0.3.0-dev.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ddac47178506396b9048a7e6165c3782d80560d189eaa26383977a4b3dd6b0da" +checksum = "29568ab5d7bc7ba58413567c8d6f32daa374d71cc46013826cbd3aca1349ebe8" dependencies = [ "anyhow", "arbitrary", @@ -2633,7 +2605,6 @@ dependencies = [ "derive_more", "futures", "hc_deepkey_sdk", - "holochain_deepkey_dna", "holochain_keystore", "holochain_types", "holochain_util", @@ -2655,9 +2626,9 @@ checksum = "be0aa773b74c40ef5e4e02f414d8cbfc4e92520a93511055a3fbccc12d2dd045" [[package]] name = "holochain_integrity_types" -version = "0.4.0-dev.12" +version = "0.4.0-dev.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d15fab21e6eab0af97cd1bb30494fe423b3740c438caf7bbda12e47979c926ea" +checksum = "af9bd9d3f3f3a75c1e5ed6f65c9e3281cf1983e83780f9f24658f3b5c169ec2f" dependencies = [ "arbitrary", "derive_builder 0.20.1", @@ -2677,9 +2648,9 @@ dependencies = [ [[package]] name = "holochain_keystore" -version = "0.4.0-dev.19" +version = "0.4.0-dev.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b39dd22818779c4ebfe4e173331b510e77a1b3494d87ab7000104e9b6235eb5" +checksum = "206f4935ee25bf5fee4cd4409848a3fa7a448456536545b2ce30cb1a6cfa9014" dependencies = [ "base64 0.22.1", "derive_more", @@ -2717,9 +2688,9 @@ dependencies = [ [[package]] name = "holochain_nonce" -version = "0.4.0-dev.6" +version = "0.4.0-dev.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8fca689af4b640f52849faa1d79387810eb97cfe0e96175febccecaf82bd3261" +checksum = "3bee65dd7e2558659687d7c8a02646739f1a6a9ebdc35015241a0bfdecf7fe5c" dependencies = [ "getrandom 0.2.15", "holochain_secure_primitive", @@ -2728,9 +2699,9 @@ dependencies = [ [[package]] name = "holochain_p2p" -version = "0.4.0-dev.21" +version = "0.4.0-dev.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a7a13004b1213151c8d0a5716bee906b5dc180d8467b43cbf7813c99453b8ed5" +checksum = "118fa38cd2db00ddc03edf6b3020a7d6182c90dcfcb6268f318aaaa347bc586d" dependencies = [ "aitia", "async-trait", @@ -2740,6 +2711,7 @@ dependencies = [ "ghost_actor", "hc_sleuth", "holo_hash", + "holochain_chc", "holochain_keystore", "holochain_nonce", "holochain_serialized_bytes", @@ -2799,9 +2771,9 @@ dependencies = [ [[package]] name = "holochain_sqlite" -version = "0.4.0-dev.19" +version = "0.4.0-dev.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a711e2d751f9fe3578bd466e525a8dd7c8741aa62571cebaf7950b51f872b916" +checksum = "57c20d1d3993f70613812984fa465bcbdc3264c33138ba866be57937240afc7e" dependencies = [ "anyhow", "async-trait", @@ -2844,9 +2816,9 @@ dependencies = [ [[package]] name = "holochain_state" -version = "0.4.0-dev.21" +version = "0.4.0-dev.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e581f03de5545175a5cf5b3aa0288ce2b158fbba9aaea0a8d23f791976318603" +checksum = "f258090a74214965261336b414ef05ec13d8619ac782ba6789c0806f54f16ac1" dependencies = [ "aitia", "async-recursion", @@ -2858,6 +2830,7 @@ dependencies = [ "fallible-iterator 0.3.0", "hc_sleuth", "holo_hash", + "holochain_chc", "holochain_keystore", "holochain_nonce", "holochain_p2p", @@ -2881,9 +2854,9 @@ dependencies = [ [[package]] name = "holochain_state_types" -version = "0.4.0-dev.12" +version = "0.4.0-dev.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9fb6a729e02c4bcc3c32227a705d8ca5f984229018cb3b380439395fce7fae8c" +checksum = "97b8938b11be4938bf686caee3f97bbbb6f3e1be7c26d408fe4708afbdddb53b" dependencies = [ "holo_hash", "holochain_integrity_types", @@ -2892,9 +2865,9 @@ dependencies = [ [[package]] name = "holochain_test_wasm_common" -version = "0.4.0-dev.15" +version = "0.4.0-dev.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf50775896c3e491d39cd0f69f38e65a68c3d54c5e9f2d74def2ba00437c0d80" +checksum = "08601c3bbe9d5d7b98b8bfcdcdcc67cb53b0e495c8f868c739138a6b23e4628c" dependencies = [ "hdk", "serde", @@ -2902,9 +2875,9 @@ dependencies = [ [[package]] name = "holochain_trace" -version = "0.4.0-dev.5" +version = "0.4.0-dev.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3e00bdd969d61fab25573441a201ee8da89d34df655b4153e1d092e54dca29a" +checksum = "7d337ddc8dd6bdabe6a39c08ec7e6a64135724fcbbd49b3b5f154b5e6b3a66fb" dependencies = [ "chrono", "derive_more", @@ -2920,9 +2893,9 @@ dependencies = [ [[package]] name = "holochain_types" -version = "0.4.0-dev.21" +version = "0.4.0-dev.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd2dd7b5e615b277683a80d862e3ea9db844c5888c75c0f90cee27d21b70e7ba" +checksum = "42e28c3caee6330e9484018e172877eb00030e2ef32310d854e595260145dd77" dependencies = [ "anyhow", "arbitrary", @@ -2939,7 +2912,6 @@ dependencies = [ "flate2", "futures", "getrandom 0.2.15", - "hc_deepkey_sdk", "holo_hash", "holochain_keystore", "holochain_nonce", @@ -2969,7 +2941,7 @@ dependencies = [ "serde_yaml", "shrinkwraprs", "strum", - "strum_macros 0.18.0", + "strum_macros", "tempfile", "thiserror", "tokio", @@ -2978,9 +2950,9 @@ dependencies = [ [[package]] name = "holochain_util" -version = "0.4.0-dev.4" +version = "0.4.0-dev.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac1c491b6ba90c68041b393264b1e67c2990b68094caa7fdfe1ea5a959c82107" +checksum = "57f1cb30b20d3b0bf1d84e697c3d95fb6b1ec74c9178e7c5e7fd4f1c051695d8" dependencies = [ "backtrace", "cfg-if 1.0.0", @@ -2991,42 +2963,40 @@ dependencies = [ "rpassword", "sodoken 0.0.11", "tokio", - "tracing", ] [[package]] name = "holochain_wasm_test_utils" -version = "0.4.0-dev.21" +version = "0.4.0-dev.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "65ed93c3bdb2f962c37c0bc6b0fd1a7f9ecb8b160239e531c4c8c2867aade11b" +checksum = "b8fa4b919bb82d263f50f93a575c240b7a7a8e34235f0b8dc1eb2ddcb39e2273" dependencies = [ "holochain_types", "holochain_util", "strum", - "strum_macros 0.18.0", + "strum_macros", "toml", "walkdir", ] [[package]] name = "holochain_wasmer_common" -version = "0.0.95" +version = "0.0.96" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81862ba8234412864273d21983c99af4e8b97739a5e4c354030470acdc6b431c" +checksum = "8c6dc4e75554cf8e0306f8e429a6112f734de74467a0a2c810f97c7b7036b689" dependencies = [ "holochain_serialized_bytes", "serde", "serde_bytes", "test-fuzz", "thiserror", - "wasmer", ] [[package]] name = "holochain_wasmer_guest" -version = "0.0.95" +version = "0.0.96" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fce20cd8eb137a355394e57612cf2cf7836dab57948d56af9f9fe080ea168d41" +checksum = "aa3d0105471c4f0fa2d9644c7113e4f7ed5385ed5dbb980eab14eb7c6efaff8a" dependencies = [ "holochain_serialized_bytes", "holochain_wasmer_common", @@ -3038,9 +3008,9 @@ dependencies = [ [[package]] name = "holochain_wasmer_host" -version = "0.0.95" +version = "0.0.96" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d6a4f17340ec82de3f33d81f2be9b5e7bf3b60c30f04e40d3bb9aa78674a36f7" +checksum = "cf87b72bbdc589f1859f385b25e3951e2a41cd7cc19ece3a2ad41009e8b1516c" dependencies = [ "bimap", "bytes", @@ -3050,6 +3020,7 @@ dependencies = [ "parking_lot 0.12.3", "rand 0.8.5", "serde", + "thiserror", "tracing", "wasmer", "wasmer-middlewares", @@ -3057,9 +3028,9 @@ dependencies = [ [[package]] name = "holochain_websocket" -version = "0.4.0-dev.21" +version = "0.4.0-dev.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "031f10c9cfa859c8eebfc68d20328609bc8c7fffc9a36bb95c6ec5481024b64f" +checksum = "ac25c97c54db3875e198e31457d6194a0e573710332ee6e7de6d3f3229764c16" dependencies = [ "async-trait", "futures", @@ -3067,6 +3038,7 @@ dependencies = [ "holochain_types", "serde", "serde_bytes", + "thiserror", "tokio", "tokio-tungstenite", "tracing", @@ -3074,9 +3046,9 @@ dependencies = [ [[package]] name = "holochain_zome_types" -version = "0.4.0-dev.15" +version = "0.4.0-dev.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e375679cf12d9add4bdff018d53dfb29d93610c3e91663830613acb2a2a9429" +checksum = "6d33d51ba7af1de0cb911211702443d49d8cdc71e1bc891591dc29259bbc8566" dependencies = [ "arbitrary", "contrafact", @@ -3104,20 +3076,10 @@ dependencies = [ "shrinkwraprs", "strum", "subtle", - "subtle-encoding", "thiserror", "tracing", ] -[[package]] -name = "home" -version = "0.5.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3d1354bf6b7235cb4a0576c2619fd4ed18183f689b12b006a0ee7329eeff9a5" -dependencies = [ - "windows-sys 0.52.0", -] - [[package]] name = "hostname" version = "0.3.1" @@ -3284,15 +3246,15 @@ dependencies = [ [[package]] name = "hyper-rustls" -version = "0.27.2" +version = "0.27.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ee4be2c948921a1a5320b629c4193916ed787a7f7f293fd3f7f5a6c9de74155" +checksum = "08afdbb5c31130e3034af566421053ab03787c640246a446327f550d11bcb333" dependencies = [ "futures-util", "http 1.1.0", "hyper 1.4.1", "hyper-util", - "rustls 0.23.12", + "rustls 0.23.13", "rustls-pki-types", "tokio", "tokio-rustls 0.26.0", @@ -3317,9 +3279,9 @@ dependencies = [ [[package]] name = "hyper-util" -version = "0.1.7" +version = "0.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cde7055719c54e36e95e8719f95883f22072a48ede39db7fc17a4e1d5281e9b9" +checksum = "41296eb09f183ac68eec06e03cdbea2e759633d4067b2f6552fc2e009bcad08b" dependencies = [ "bytes", "futures-channel", @@ -3330,16 +3292,15 @@ dependencies = [ "pin-project-lite", "socket2 0.5.7", "tokio", - "tower", "tower-service", "tracing", ] [[package]] name = "iana-time-zone" -version = "0.1.60" +version = "0.1.61" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7ffbb5a1b541ea2561f8c41c087286cc091e21e556a4f09a8f6cbf17b69b141" +checksum = "235e081f3925a06703c2d0117ea8b91f042756fd6e7a6e5d901e8ca1a996b220" dependencies = [ "android_system_properties", "core-foundation-sys", @@ -3394,12 +3355,6 @@ dependencies = [ "windows-sys 0.48.0", ] -[[package]] -name = "if_chain" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb56e1aa765b4b4f3aadfab769793b7087bb03a4ea4920644a6d238e2df5b9ed" - [[package]] name = "indexmap" version = "1.9.3" @@ -3429,10 +3384,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "232929e1d75fe899576a3d5c7416ad0d88dbfbb3c3d6aa00873a7408a50ddb88" dependencies = [ "ahash 0.8.11", - "clap 4.5.16", + "clap 4.5.18", "crossbeam-channel", "crossbeam-utils", - "dashmap 6.0.1", + "dashmap 6.1.0", "env_logger", "indexmap 2.5.0", "is-terminal", @@ -3579,22 +3534,11 @@ dependencies = [ "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.9", - "libc", - "windows-sys 0.48.0", -] - [[package]] name = "ipnet" -version = "2.9.0" +version = "2.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f518f335dce6725a761382244631d86cf0ccb2863413590b31338feb467f9c3" +checksum = "187674a687eed5fe42285b40c6291f9a01517d415fad1c3cbc6a9f778af7fcd4" [[package]] name = "is-terminal" @@ -3650,6 +3594,15 @@ dependencies = [ "either", ] +[[package]] +name = "itertools" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186" +dependencies = [ + "either", +] + [[package]] name = "itoa" version = "1.0.11" @@ -3698,9 +3651,9 @@ dependencies = [ [[package]] name = "kitsune_p2p" -version = "0.4.0-dev.19" +version = "0.4.0-dev.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db66f3fcc82d9af5bc2fb23a5096501f34e3e5f939c7ae8f3c33519d42327ae7" +checksum = "d4ba811e3553ae2a1ebccf090d79202c684215ece3830f8f5dd9cde1ad82aca4" dependencies = [ "arrayref", "base64 0.22.1", @@ -3713,7 +3666,6 @@ dependencies = [ "ghost_actor", "governor", "holochain_trace", - "itertools 0.12.1", "kitsune_p2p_bin_data", "kitsune_p2p_block", "kitsune_p2p_bootstrap_client", @@ -3744,9 +3696,9 @@ dependencies = [ [[package]] name = "kitsune_p2p_bin_data" -version = "0.4.0-dev.11" +version = "0.4.0-dev.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d5bc477873f3c25e263946caa431f236dec465d4c7c75a715bdf41cc87f45013" +checksum = "63c91ce3185b0e533db622a9f4fecd15bb4c400f09b3798cb9f8973973f6ea9c" dependencies = [ "arbitrary", "base64 0.22.1", @@ -3763,9 +3715,9 @@ dependencies = [ [[package]] name = "kitsune_p2p_block" -version = "0.4.0-dev.11" +version = "0.4.0-dev.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb37277cef33bacf6113448c8c224296c3ceb25ce1c72eca7911984f0bff0d65" +checksum = "dc97c168e96d21e8638b6b5b89d13f7a83ccf43443553219b0969d550c9e33b0" dependencies = [ "kitsune_p2p_bin_data", "kitsune_p2p_timestamp", @@ -3774,11 +3726,11 @@ dependencies = [ [[package]] name = "kitsune_p2p_bootstrap" -version = "0.3.0-dev.13" +version = "0.3.0-dev.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33224f105c4468e2daa01d1ecb55f4dcfe16ecfad63fe2a07a79edf8632db551" +checksum = "c2756322a4f1ac9960110aabac8dc8a6f229fdcdc02067a2d26e8a1a67052c99" dependencies = [ - "clap 4.5.16", + "clap 4.5.18", "futures", "kitsune_p2p_bin_data", "kitsune_p2p_types", @@ -3794,9 +3746,9 @@ dependencies = [ [[package]] name = "kitsune_p2p_bootstrap_client" -version = "0.4.0-dev.13" +version = "0.4.0-dev.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c771d5fddc2df2b879a70ac7c7af45c8ae14417f9aa1788f3907418072d7f350" +checksum = "61dae2fba4e142c48d134a22c7ce28edaa7d5a7ea1bf81d4b54a6d0a37732425" dependencies = [ "kitsune_p2p_bin_data", "kitsune_p2p_bootstrap", @@ -3809,9 +3761,9 @@ dependencies = [ [[package]] name = "kitsune_p2p_dht" -version = "0.4.0-dev.9" +version = "0.4.0-dev.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "724960e037263eca03dad008d68a28fcab20f14a7a93a6572ff9c2743becdb1a" +checksum = "c17cfb5e0bd26b559d2c2f85b02e6b81838577d146c7871c1688768142dbc763" dependencies = [ "arbitrary", "colored", @@ -3833,9 +3785,9 @@ dependencies = [ [[package]] name = "kitsune_p2p_dht_arc" -version = "0.4.0-dev.9" +version = "0.4.0-dev.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49cefd7f1867eb14ade8fce5b6a9975c399780f4735aad7701ed1b2036b72ae9" +checksum = "ee8192d3f5534dcb2aebf38432e001b2b458f30364b6f26e84dc267c08188808" dependencies = [ "arbitrary", "derive_more", @@ -3851,9 +3803,9 @@ dependencies = [ [[package]] name = "kitsune_p2p_fetch" -version = "0.4.0-dev.12" +version = "0.4.0-dev.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d528b0c488562552bbed8fe1fb9f8d7af1b0670e986e2827156bd0b40ca27d01" +checksum = "46b34fe990fe3a0861fbac359cfc4f0bbb091f3d862b93d31d811817848cc276" dependencies = [ "backon", "derive_more", @@ -3867,13 +3819,12 @@ dependencies = [ [[package]] name = "kitsune_p2p_mdns" -version = "0.4.0-dev.2" +version = "0.4.0-dev.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4d57ccdbad385b104ffdadd3db14abe73024f586df8160f2dc89560d5b807ae" +checksum = "08e9528ab59939c887f989d2e1078cc0460b6d35e4f3498bf1319703c3a1dccb" dependencies = [ "base64 0.22.1", "err-derive 0.3.1", - "futures", "libmdns", "mdns", "tokio", @@ -3882,9 +3833,9 @@ dependencies = [ [[package]] name = "kitsune_p2p_proxy" -version = "0.4.0-dev.12" +version = "0.4.0-dev.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf591fab44b5f4780320793753ef63f1a323b0123a35080ee79d9ecfa3d4a2da" +checksum = "fe07e6d0312ed1404e9c3aed476facdf58fcb317ecfffabf123e2e3963905213" dependencies = [ "base64 0.22.1", "derive_more", @@ -3893,7 +3844,6 @@ dependencies = [ "kitsune_p2p_types", "serde", "serde_bytes", - "structopt", "tokio", ] @@ -3915,9 +3865,9 @@ dependencies = [ [[package]] name = "kitsune_p2p_types" -version = "0.4.0-dev.12" +version = "0.4.0-dev.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e166b2e7390b1791ceafecc14731d786881a1fd836712207926db2c144ac0172" +checksum = "af13b9b93115aabd8737016685c6599dad31ec731cf1dc336e5f35117c5cca54" dependencies = [ "arbitrary", "base64 0.22.1", @@ -3960,9 +3910,9 @@ dependencies = [ [[package]] name = "lair_keystore" -version = "0.5.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db43da034583683b3a25d473e6024c7f529c31115418a7b95e609d5b0f090e5b" +checksum = "ff167fc218b19e270557f6e688969bf137521b4dcfe00ebbfb00df8a14caa5a4" dependencies = [ "lair_keystore_api", "pretty_assertions", @@ -3976,9 +3926,9 @@ dependencies = [ [[package]] name = "lair_keystore_api" -version = "0.5.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2da1e0069976825273a8ba0e36b09785dc83812a9b0cf2c5eef3d85351534592" +checksum = "241847cf5de13da9c60930b6ccd0d6411e68d9f6b2f942dd029bb668e3aa9e1d" dependencies = [ "base64 0.22.1", "dunce", @@ -4014,9 +3964,9 @@ checksum = "884e2677b40cc8c339eaefcb701c32ef1fd2493d71118dc0ca4b6a736c93bd67" [[package]] name = "libc" -version = "0.2.158" +version = "0.2.159" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d8adc4bb1803a324070e64a98ae98f38934d91957a99cfb3a43dcbc01bc56439" +checksum = "561d97a539a36e26a9a5fad1ea11a3039a67714694aaa379433e580854bc3dc5" [[package]] name = "libflate" @@ -4086,14 +4036,14 @@ checksum = "c0ff37bd590ca25063e35af745c343cb7a0271906fb7b37e4813e8f79f00268d" dependencies = [ "bitflags 2.6.0", "libc", - "redox_syscall 0.5.3", + "redox_syscall 0.5.6", ] [[package]] name = "libsodium-sys-stable" -version = "1.21.1" +version = "1.21.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5fd1882b85f01cdd4021c0664fd897710a04c5d01b593a5a70e1b0baa999c1f8" +checksum = "42631d334de875c636a1aae7adb515653ac2e771e5a2ce74b1053f5a4412df3a" dependencies = [ "cc", "libc", @@ -4118,12 +4068,6 @@ dependencies = [ "vcpkg", ] -[[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.14" @@ -4180,15 +4124,6 @@ dependencies = [ "crc", ] -[[package]] -name = "mach" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b823e83b2affd8f40a9ee8c29dbc56404c1e34cd2710921f2801e2cf29527afa" -dependencies = [ - "libc", -] - [[package]] name = "mach2" version = "0.4.2" @@ -4321,15 +4256,6 @@ version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a05b5d0594e0cb1ad8cee3373018d2b84e25905dc75b2468114cc9a8e86cfc20" -[[package]] -name = "miniz_oxide" -version = "0.7.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8a240ddb74feaf34a79a7add65a741f3167852fba007066dcac1ca548d89c08" -dependencies = [ - "adler", -] - [[package]] name = "miniz_oxide" version = "0.8.0" @@ -4362,7 +4288,7 @@ dependencies = [ "fragile", "lazy_static", "mockall_derive", - "predicates 2.1.5", + "predicates", "predicates-tree", ] @@ -4386,9 +4312,9 @@ checksum = "7843ec2de400bcbc6a6328c958dc38e5359da6e93e72e37bc5246bf1ae776389" [[package]] name = "mr_bundle" -version = "0.4.0-dev.7" +version = "0.4.0-dev.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bec8cf33890b9d37580b77210cf52adc23b7a6528eaeb780b91c982374a19343" +checksum = "438162278a3b42da506ee9d250435e20af44aa8a4b256356bcbad99a55b6d162" dependencies = [ "arbitrary", "derive_more", @@ -4760,9 +4686,9 @@ checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" [[package]] name = "openssl-src" -version = "300.3.1+3.3.1" +version = "300.3.2+3.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7259953d42a81bf137fbbd73bd30a8e1914d6dce43c2b90ed575783a22608b91" +checksum = "a211a18d945ef7e648cc6e0058f4c548ee46aab922ea203e0d30e966ea23647b" dependencies = [ "cc", ] @@ -4844,9 +4770,9 @@ checksum = "b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39" [[package]] name = "parking" -version = "2.2.0" +version = "2.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb813b8af86854136c6922af0598d719255ecb2179515e6e7730d468f05c9cae" +checksum = "f38d5652c16fde515bb1ecef450ab0f6a219d619a7274976324d5e377f7dceba" [[package]] name = "parking_lot" @@ -4891,7 +4817,7 @@ checksum = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8" dependencies = [ "cfg-if 1.0.0", "libc", - "redox_syscall 0.5.3", + "redox_syscall 0.5.6", "smallvec", "windows-targets 0.52.6", ] @@ -4927,17 +4853,6 @@ version = "2.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" -[[package]] -name = "pest" -version = "2.7.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd53dff83f26735fdc1ca837098ccf133605d794cdae66acfc2bfac3ec809d95" -dependencies = [ - "memchr", - "thiserror", - "ucd-trie", -] - [[package]] name = "petgraph" version = "0.6.5" @@ -4988,7 +4903,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "96c8c490f422ef9a4efd2cb5b42b76c8613d7e7dfc1caf667b8a3350a5acc066" dependencies = [ "atomic-waker", - "fastrand 2.1.1", + "fastrand", "futures-io", ] @@ -4998,22 +4913,6 @@ version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "953ec861398dccce10c670dfeaf3ec4911ca479e9c02154b3a215178c5f566f2" -[[package]] -name = "polling" -version = "2.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b2d323e8ca7996b3e23126511a523f7e62924d93ecd5ae73b333815b0eb3dce" -dependencies = [ - "autocfg 1.3.0", - "bitflags 1.3.2", - "cfg-if 1.0.0", - "concurrent-queue", - "libc", - "log", - "pin-project-lite", - "windows-sys 0.48.0", -] - [[package]] name = "polling" version = "3.7.3" @@ -5024,7 +4923,7 @@ dependencies = [ "concurrent-queue", "hermit-abi 0.4.0", "pin-project-lite", - "rustix 0.38.35", + "rustix", "tracing", "windows-sys 0.59.0", ] @@ -5058,20 +4957,6 @@ dependencies = [ "regex", ] -[[package]] -name = "predicates" -version = "3.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e9086cc7640c29a356d1a29fd134380bee9d8f79a17410aa76e7ad295f42c97" -dependencies = [ - "anstyle", - "difflib", - "float-cmp", - "normalize-line-endings", - "predicates-core", - "regex", -] - [[package]] name = "predicates-core" version = "1.0.8" @@ -5090,14 +4975,24 @@ dependencies = [ [[package]] name = "pretty_assertions" -version = "1.4.0" +version = "1.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af7cee1a6c8a5b9208b3cb1061f10c0cb689087b3d8ce85fb9d2dd7a29b6ba66" +checksum = "3ae130e2f271fbc2ac3a40fb1d07180839cdbbe443c7a27e1e3c13c5cac0116d" dependencies = [ "diff", "yansi", ] +[[package]] +name = "prettyplease" +version = "0.2.22" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "479cf940fbbb3426c32c5d5176f62ad57549a0bb84773423ba8be9d089f5faba" +dependencies = [ + "proc-macro2", + "syn 2.0.77", +] + [[package]] name = "proc-macro-crate" version = "3.2.0" @@ -5527,9 +5422,9 @@ dependencies = [ [[package]] name = "redox_syscall" -version = "0.5.3" +version = "0.5.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a908a6e00f1fdd0dfd9c0eb08ce85126f6d8bbda50017e74bc4a4b7d4a926a4" +checksum = "355ae415ccd3a04315d3f8246e86d67689ea74d88d915576e1589a351062a13b" dependencies = [ "bitflags 2.6.0", ] @@ -5679,7 +5574,7 @@ dependencies = [ "http-body 1.0.1", "http-body-util", "hyper 1.4.1", - "hyper-rustls 0.27.2", + "hyper-rustls 0.27.3", "hyper-tls", "hyper-util", "ipnet", @@ -5864,33 +5759,19 @@ version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92" dependencies = [ - "semver 1.0.23", -] - -[[package]] -name = "rustix" -version = "0.37.27" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fea8ca367a3a01fe35e6943c400addf443c0f57670e6ec51196f71a4b8762dd2" -dependencies = [ - "bitflags 1.3.2", - "errno", - "io-lifetimes", - "libc", - "linux-raw-sys 0.3.8", - "windows-sys 0.48.0", + "semver", ] [[package]] name = "rustix" -version = "0.38.35" +version = "0.38.37" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a85d50532239da68e9addb745ba38ff4612a242c1c7ceea689c4bc7c2f43c36f" +checksum = "8acb788b847c24f28525660c4d7758620a7210875711f79e7f663cc152726811" dependencies = [ "bitflags 2.6.0", "errno", "libc", - "linux-raw-sys 0.4.14", + "linux-raw-sys", "windows-sys 0.52.0", ] @@ -5915,20 +5796,20 @@ dependencies = [ "log", "ring 0.17.8", "rustls-pki-types", - "rustls-webpki 0.102.7", + "rustls-webpki 0.102.8", "subtle", "zeroize", ] [[package]] name = "rustls" -version = "0.23.12" +version = "0.23.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c58f8c84392efc0a126acce10fa59ff7b3d2ac06ab451a33f2741989b806b044" +checksum = "f2dabaac7466917e566adb06783a81ca48944c6898a1b08b9374106dd671f4c8" dependencies = [ "once_cell", "rustls-pki-types", - "rustls-webpki 0.102.7", + "rustls-webpki 0.102.8", "subtle", "zeroize", ] @@ -5983,9 +5864,9 @@ dependencies = [ [[package]] name = "rustls-webpki" -version = "0.102.7" +version = "0.102.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84678086bd54edf2b415183ed7a94d0efb049f1b646a33e22a36f3794be6ae56" +checksum = "64ca1bc8749bd4cf37b5ce386cc146580777b4e8572c7b97baf22c83f444bee9" dependencies = [ "ring 0.17.8", "rustls-pki-types", @@ -6050,7 +5931,7 @@ dependencies = [ "tokio-rustls 0.25.0", "tokio-tungstenite", "tracing", - "webpki-roots 0.26.5", + "webpki-roots 0.26.6", ] [[package]] @@ -6074,7 +5955,7 @@ dependencies = [ "anstyle", "base64 0.22.1", "bytes", - "clap 4.5.16", + "clap 4.5.18", "ed25519-dalek", "futures", "rand 0.8.5", @@ -6088,11 +5969,11 @@ dependencies = [ [[package]] name = "schannel" -version = "0.1.23" +version = "0.1.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fbc91545643bcf3a0bbb6569265615222618bdf33ce4ffbbd13c4bbd4c093534" +checksum = "e9aaafd5a2b6e3d657ff009d82fbd630b6bd54dd4eb06f21693925cdf80f9b8b" dependencies = [ - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] @@ -6178,9 +6059,9 @@ dependencies = [ [[package]] name = "security-framework-sys" -version = "2.11.1" +version = "2.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75da29fe9b9b08fe9d6b22b5b4bcbc75d8db3aa31e639aa56bb62e9d46bfceaf" +checksum = "ea4a292869320c0272d7bc55a5a6aafaff59b4f63404a003887b679a2e05b4b6" dependencies = [ "core-foundation-sys", "libc", @@ -6192,15 +6073,6 @@ version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d369a96f978623eb3dc28807c4852d6cc617fed53da5d3c400feff1ef34a714a" -[[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.23" @@ -6210,15 +6082,6 @@ dependencies = [ "serde", ] -[[package]] -name = "semver-parser" -version = "0.10.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "00b0bef5b7f9e0df16536d3961cfb6e84331c065b4066afb39768d0e319411f7" -dependencies = [ - "pest", -] - [[package]] name = "serde" version = "1.0.203" @@ -6257,16 +6120,6 @@ dependencies = [ "serde", ] -[[package]] -name = "serde_cbor" -version = "0.11.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2bef2ebfde456fb76bbcf9f59315333decc4fda0b2b44b420243c11e0f5ec1f5" -dependencies = [ - "half", - "serde", -] - [[package]] name = "serde_derive" version = "1.0.203" @@ -6291,9 +6144,9 @@ dependencies = [ [[package]] name = "serde_json" -version = "1.0.127" +version = "1.0.128" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8043c06d9f82bd7271361ed64f415fe5e12a77fdb52e573e7f06a516dea329ad" +checksum = "6ff5456707a1de34e7e37f2a6fd3d3f808c318259cbd01ab6377795054b483d8" dependencies = [ "indexmap 2.5.0", "itoa", @@ -6304,9 +6157,9 @@ dependencies = [ [[package]] name = "serde_spanned" -version = "0.6.7" +version = "0.6.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb5b1b31579f3811bf615c144393417496f152e12ac8b7663bf664f4a815306d" +checksum = "87607cb1398ed59d48732e575a4c28a7a8ebf2454b964fe3f224f2afc07909e1" dependencies = [ "serde", ] @@ -6366,17 +6219,6 @@ dependencies = [ "unsafe-libyaml", ] -[[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", -] - [[package]] name = "sha1" version = "0.10.6" @@ -6473,9 +6315,9 @@ checksum = "d66dc143e6b11c1eddc06d5c423cfc97062865baf299914ab64caa38182078fe" [[package]] name = "simdutf8" -version = "0.1.4" +version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f27f6278552951f1f2b8cf9da965d10969b2efdea95a6ec47987ab46edfe263a" +checksum = "e3a9fe34e3e7a50316060351f37187a3f546bce95496156754b601a5fa71b76e" [[package]] name = "siphasher" @@ -6566,9 +6408,9 @@ checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67" [[package]] name = "sqlformat" -version = "0.2.4" +version = "0.2.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f895e3734318cc55f1fe66258926c9b910c124d47520339efecbb6c59cec7c1f" +checksum = "7bba3a93db0cc4f7bdece8bb09e77e2e785c20bfebf79eb8340ed80708048790" dependencies = [ "nom", "unicode_categories", @@ -6682,29 +6524,6 @@ dependencies = [ "syn 1.0.109", ] -[[package]] -name = "strum_macros" -version = "0.24.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e385be0d24f186b4ce2f9982191e7101bb737312ad61c1f2f984f34bcf85d59" -dependencies = [ - "heck 0.4.1", - "proc-macro2", - "quote", - "rustversion", - "syn 1.0.109", -] - -[[package]] -name = "subprocess" -version = "0.2.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c2e86926081dda636c546d8c5e641661049d7562a68f5488be4a1f7f66f6086" -dependencies = [ - "libc", - "winapi 0.3.9", -] - [[package]] name = "subtle" version = "2.6.1" @@ -6834,9 +6653,9 @@ checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" [[package]] name = "tar" -version = "0.4.41" +version = "0.4.42" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb797dad5fb5b76fcf519e702f4a589483b5ef06567f160c392832c1f5e44909" +checksum = "4ff6c40d3aedb5e06b57c6f669ad17ab063dd1e63d977c6a88e7f4dfa4f04020" dependencies = [ "filetime", "libc", @@ -6868,9 +6687,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "04cbcdd0c794ebb0d4cf35e88edd2f7d2c4c3e9a5a6dab322839b321c6a87a64" dependencies = [ "cfg-if 1.0.0", - "fastrand 2.1.1", + "fastrand", "once_cell", - "rustix 0.38.35", + "rustix", "windows-sys 0.59.0", ] @@ -6880,7 +6699,7 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "21bebf2b7c9e0a515f6e0f8c51dc0f8e4696391e6f1ff30379559f8365fb0df7" dependencies = [ - "rustix 0.38.35", + "rustix", "windows-sys 0.48.0", ] @@ -6892,9 +6711,9 @@ checksum = "3369f5ac52d5eb6ab48c6b4ffdc8efbcad6b89c765749064ba298f2c68a16a76" [[package]] name = "test-fuzz" -version = "3.0.4" +version = "6.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "125df852011c4f8f31df5620f4aea38ecddb5dfb4d9bc569b30485b15ffc3d4e" +checksum = "3ab7a9bb33d134e863862ab9dad2ac7e022ac89707914627f498fe0f29248d9b" dependencies = [ "serde", "test-fuzz-internal", @@ -6904,46 +6723,41 @@ dependencies = [ [[package]] name = "test-fuzz-internal" -version = "3.0.4" +version = "6.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58071dc2471840e9f374eeb0f6e405a31bccb3cc5d59bb4598f02cafc274b5c4" +checksum = "d0bef5dd380747bd7b6e636a8032a24aa34fcecaf843e59fc97d299681922e86" dependencies = [ + "bincode", "cargo_metadata", - "proc-macro2", - "quote", "serde", - "strum_macros 0.24.3", ] [[package]] name = "test-fuzz-macro" -version = "3.0.4" +version = "6.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "856bbca0314c328004691b9c0639fb198ca764d1ce0e20d4dd8b78f2697c2a6f" +checksum = "a7e6b4c7391a38f0f026972ec2200bcfd1ec45533aa266fdae5858d011afc500" dependencies = [ - "darling 0.14.4", - "if_chain", - "lazy_static", + "darling 0.20.10", + "heck 0.5.0", + "itertools 0.13.0", + "once_cell", + "prettyplease", "proc-macro2", "quote", - "subprocess", - "syn 1.0.109", - "test-fuzz-internal", - "toolchain_find", - "unzip-n", + "syn 2.0.77", ] [[package]] name = "test-fuzz-runtime" -version = "3.0.4" +version = "6.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "303774eb17994c2ddb59c460369f4c3a55496f013380278d78eeebd2deb896ac" +checksum = "c9fbe6fb7481ec6d9bf64ae2c5d49cb1b40f8da624a91031482af7b08168c679" dependencies = [ - "bincode", "hex", "num-traits", "serde", - "sha-1", + "sha1", "test-fuzz-internal", ] @@ -6970,18 +6784,18 @@ dependencies = [ [[package]] name = "thiserror" -version = "1.0.63" +version = "1.0.64" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0342370b38b6a11b6cc11d6a805569958d54cfa061a29969c3b5ce2ea405724" +checksum = "d50af8abc119fb8bb6dbabcfa89656f46f84aa0ac7688088608076ad2b459a84" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.63" +version = "1.0.64" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4558b58466b9ad7ca0f102865eccc95938dca1a74a856f2b57b6629050da261" +checksum = "08904e7672f5eb876eaaf87e0ce17857500934f4981c4a0ab2b4aa98baac7fc3" dependencies = [ "proc-macro2", "quote", @@ -7119,16 +6933,16 @@ version = "0.26.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0c7bc40d0e5a97695bb96e27995cd3a08538541b0a846f65bba7a359f36700d4" dependencies = [ - "rustls 0.23.12", + "rustls 0.23.13", "rustls-pki-types", "tokio", ] [[package]] name = "tokio-stream" -version = "0.1.15" +version = "0.1.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "267ac89e0bec6e691e5813911606935d77c476ff49024f98abcea3e7b15e37af" +checksum = "4f4e6ce100d0eb49a2734f8c0812bcd324cf357d21810932c5df6b96ef2b86f1" dependencies = [ "futures-core", "pin-project-lite", @@ -7153,9 +6967,9 @@ dependencies = [ [[package]] name = "tokio-util" -version = "0.7.11" +version = "0.7.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9cf6b47b3771c49ac75ad09a6162f53ad4b8088b76ac60e8ec1455b31a189fe1" +checksum = "61e7c3654c13bcd040d4a03abee2c75b1d14a37b423cf5a813ceae1cc903ec6a" dependencies = [ "bytes", "futures-core", @@ -7187,9 +7001,9 @@ dependencies = [ [[package]] name = "toml_edit" -version = "0.22.20" +version = "0.22.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "583c44c02ad26b0c3f3066fe629275e50627026c51ac2e595cca4c230ce1ce1d" +checksum = "4ae48d6208a266e853d946088ed816055e556cc6028c5e8e2b84d9fa5dd7c7f5" dependencies = [ "indexmap 2.5.0", "serde", @@ -7198,40 +7012,6 @@ dependencies = [ "winnow", ] -[[package]] -name = "toolchain_find" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e85654a10e7a07a47c6f19d93818f3f343e22927f2fa280c84f7c8042743413" -dependencies = [ - "home", - "lazy_static", - "regex", - "semver 0.11.0", - "walkdir", -] - -[[package]] -name = "tower" -version = "0.4.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8fa9be0de6cf49e536ce1851f987bd21a43b771b09473c3549a6c853db37c1c" -dependencies = [ - "futures-core", - "futures-util", - "pin-project", - "pin-project-lite", - "tokio", - "tower-layer", - "tower-service", -] - -[[package]] -name = "tower-layer" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "121c2a6cda46980bb0fcd1647ffaf6cd3fc79a013de288782836f6df9c48780e" - [[package]] name = "tower-service" version = "0.3.3" @@ -7477,12 +7257,6 @@ version = "1.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825" -[[package]] -name = "ucd-trie" -version = "0.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed646292ffc8188ef8ea4d1e0e0150fb15a5c2e12ad9b8fc191ae7a8a7f3c4b9" - [[package]] name = "unarray" version = "0.1.4" @@ -7506,36 +7280,36 @@ checksum = "08f95100a766bf4f8f28f90d77e0a5461bbdb219042e7679bebe79004fed8d75" [[package]] name = "unicode-ident" -version = "1.0.12" +version = "1.0.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" +checksum = "e91b56cd4cadaeb79bbf1a5645f6b4f8dc5bde8834ad5894a8db35fda9efa1fe" [[package]] name = "unicode-normalization" -version = "0.1.23" +version = "0.1.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a56d1686db2308d901306f92a263857ef59ea39678a5458e7cb17f01415101f5" +checksum = "5033c97c4262335cded6d6fc3e5c18ab755e1a3dc96376350f3d8e9f009ad956" dependencies = [ "tinyvec", ] [[package]] name = "unicode-segmentation" -version = "1.11.0" +version = "1.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4c87d22b6e3f4a18d4d40ef354e97c90fcb14dd91d7dc0aa9d8a1172ebf7202" +checksum = "f6ccf251212114b54433ec949fd6a7841275f9ada20dddd2f29e9ceea4501493" [[package]] name = "unicode-width" -version = "0.1.13" +version = "0.1.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0336d538f7abc86d282a4189614dfaa90810dfc2c6f6427eaf88e16311dd225d" +checksum = "7dd6e30e90baa6f72411720665d41d89b9a3d039dc45b8faea1ddd07f617f6af" [[package]] name = "unicode-xid" -version = "0.2.5" +version = "0.2.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "229730647fbc343e3a80e463c1db7f78f3855d3f3739bee0dda773c9a037c90a" +checksum = "ebc1c04c71510c7f702b52b7c350734c9ff1295c464a03335b00bb84fc54f853" [[package]] name = "unicode_categories" @@ -7567,17 +7341,6 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cad414b2eed757c1b6f810f8abc814e298a9c89176b21fae092c7a87756fb839" -[[package]] -name = "unzip-n" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2e7e85a0596447f0f2ac090e16bc4c516c6fe91771fb0c0ccf7fa3dae896b9c" -dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", -] - [[package]] name = "ureq" version = "2.10.1" @@ -7680,12 +7443,6 @@ dependencies = [ "libc", ] -[[package]] -name = "waker-fn" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "317211a0dc0ceedd78fb2ca9a44aed3d7b9b26f81870d485c07122b4350673b7" - [[package]] name = "walkdir" version = "2.5.0" @@ -7837,9 +7594,9 @@ dependencies = [ [[package]] name = "wasmer" -version = "4.3.1" +version = "4.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ce4a267a570e121c9375136adefa2c48810273907de9c6817bc19db4d6144bc" +checksum = "3be5fa49d7d97f83e095f090dcc178d923f2970f588443283cd7a94974ab8cbe" dependencies = [ "bytes", "cfg-if 1.0.0", @@ -7861,14 +7618,14 @@ dependencies = [ "wasmer-types", "wasmer-vm", "wat", - "winapi 0.3.9", + "windows-sys 0.59.0", ] [[package]] name = "wasmer-compiler" -version = "4.3.1" +version = "4.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9c23098e86ef1038155684fe50f0c1079a0e2a2e70f115b789df17e6ba98d20" +checksum = "9696a040f935903db440078cd287c0288ab152394122de442fdd21b3eaa8cd2c" dependencies = [ "backtrace", "bytes", @@ -7877,6 +7634,7 @@ dependencies = [ "enumset", "lazy_static", "leb128", + "libc", "memmap2 0.5.10", "more-asserts", "region", @@ -7888,15 +7646,15 @@ dependencies = [ "wasmer-types", "wasmer-vm", "wasmparser", - "winapi 0.3.9", + "windows-sys 0.59.0", "xxhash-rust", ] [[package]] name = "wasmer-compiler-cranelift" -version = "4.3.1" +version = "4.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95287b79973ad5f485215733ef9f0d4bb951a6b7e655585d2bd3d4a4ba1253c9" +checksum = "c5959da148d41a5870d1b18a880e19353add47c0ca95e510061275ea467b6b44" dependencies = [ "cranelift-codegen", "cranelift-entity", @@ -7913,19 +7671,19 @@ dependencies = [ [[package]] name = "wasmer-config" -version = "0.4.0" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b4a632496950fde9ad821e195ef1a301440076f7c7d80de55239a140359bcbd" +checksum = "644b7e3547bd7e796d92220f60bf57734914254c6cee56607e80177a3e8a28da" dependencies = [ "anyhow", "bytesize", + "ciborium", "derive_builder 0.12.0", "hex", "indexmap 2.5.0", "schemars", - "semver 1.0.23", + "semver", "serde", - "serde_cbor", "serde_json", "serde_yaml", "thiserror", @@ -7935,9 +7693,9 @@ dependencies = [ [[package]] name = "wasmer-derive" -version = "4.3.1" +version = "4.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e48f36aeeecb655f15fdd358bdf6e4cec27df181468fa4226084157e8462bd5e" +checksum = "6f448efbe12d656ba96d997c9e338f15cd80934c81f2286c2730cb9224d4e41d" dependencies = [ "proc-macro-error", "proc-macro2", @@ -7947,9 +7705,9 @@ dependencies = [ [[package]] name = "wasmer-middlewares" -version = "4.3.1" +version = "4.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "667dbe64667a478fd5726111180dd757113f3589a589f831bfe4ae1a256ae77e" +checksum = "c4a3c1a7474e5abd75fe6bde4d34fee77c22261b45f157bb769d4a297749463c" dependencies = [ "wasmer", "wasmer-types", @@ -7958,9 +7716,9 @@ dependencies = [ [[package]] name = "wasmer-types" -version = "4.3.1" +version = "4.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83cb97b6b20084757a2a8d548dc0d4179c3fe9e2d711740423a1e6aa3f8b9091" +checksum = "c8b383ef63005176be3bc2056d3b4078ae1497b324f573d79acbf81036f1c9ec" dependencies = [ "bytecheck", "enum-iterator", @@ -7979,30 +7737,30 @@ dependencies = [ [[package]] name = "wasmer-vm" -version = "4.3.1" +version = "4.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc1e19d986844b17b927ec8b0c7f3da6a7a2c2cb3b0f8ca5d4cb1a1f71bfb124" +checksum = "3c371597ec33248e775de641c7a475173fb60f2b5ea085c74d34cee9fad06b83" dependencies = [ "backtrace", "cc", "cfg-if 1.0.0", "corosensei", "crossbeam-queue", - "dashmap 5.5.3", + "dashmap 6.1.0", "derivative", "enum-iterator", "fnv", "indexmap 1.9.3", "lazy_static", "libc", - "mach", + "mach2", "memoffset 0.9.1", "more-asserts", "region", "scopeguard", "thiserror", "wasmer-types", - "winapi 0.3.9", + "windows-sys 0.59.0", ] [[package]] @@ -8013,7 +7771,7 @@ checksum = "9dbe55c8f9d0dbd25d9447a5a889ff90c0cc3feaa7395310d3d826b2c703eaab" dependencies = [ "bitflags 2.6.0", "indexmap 2.5.0", - "semver 1.0.23", + "semver", ] [[package]] @@ -8049,22 +7807,22 @@ dependencies = [ [[package]] name = "webc" -version = "6.0.0-rc2" +version = "6.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb3e2ccb43d303c5bd48f31db7a129481a9aaa5343d623f92951751df190df81" +checksum = "c48441419be082f8d2537c84d8b1f502624d77bc08fbbd09ab17cadfe7f0ac53" dependencies = [ "anyhow", "base64 0.22.1", "bytes", "cfg-if 1.0.0", + "ciborium", "document-features", "flate2", "indexmap 1.9.3", "libc", "once_cell", - "semver 1.0.23", + "semver", "serde", - "serde_cbor", "serde_json", "sha2", "shared-buffer", @@ -8084,9 +7842,9 @@ checksum = "5f20c57d8d7db6d3b86154206ae5d8fba62dd39573114de97c2cb0578251f8e1" [[package]] name = "webpki-roots" -version = "0.26.5" +version = "0.26.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0bd24728e5af82c6c4ec1b66ac4844bdf8156257fccda846ec58b42cd0cdbe6a" +checksum = "841c67bff177718f1d4dfefde8d8f0e78f9b6589319ba88312f567fc5841a958" dependencies = [ "rustls-pki-types", ] @@ -8446,9 +8204,9 @@ checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" [[package]] name = "winnow" -version = "0.6.18" +version = "0.6.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68a9bda4691f099d435ad181000724da8e5899daa10713c2d432552b9ccd3a6f" +checksum = "36c1fec1a2bb5866f07c25f68c26e565c4c200aebb96d7e55710c19d3e8ac49b" dependencies = [ "memchr", ] @@ -8479,8 +8237,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8da84f1a25939b27f6820d92aed108f83ff920fdf11a7b19366c27c4cda81d4f" dependencies = [ "libc", - "linux-raw-sys 0.4.14", - "rustix 0.38.35", + "linux-raw-sys", + "rustix", ] [[package]] @@ -8497,9 +8255,9 @@ checksum = "6a5cbf750400958819fb6178eaa83bee5cd9c29a26a40cc241df8c70fdd46984" [[package]] name = "yansi" -version = "0.5.1" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09041cd90cf85f7f8b2df60c646f853b7f535ce68f85244eb6731cf89fa498ec" +checksum = "cfe53a6657fd280eaa890a3bc59152892ffa3e30101319d168b781ed6529b049" [[package]] name = "yasna" diff --git a/nix/zome.nix b/nix/zome.nix index 2fd9ab8..9600c45 100644 --- a/nix/zome.nix +++ b/nix/zome.nix @@ -1,6 +1,6 @@ -{ lib, workspacePath, cargoArtifacts, runCommandLocal, binaryen +{ lib, workspacePath, cargoArtifacts, runCommandLocal, runCommandNoCC, binaryen , deterministicCraneLib, craneLib, crateCargoToml, matchingZomeHash ? null -, zome-wasm-hash }: +, zome-wasm-hash, meta }: let cargoToml = builtins.fromTOML (builtins.readFile crateCargoToml); @@ -101,7 +101,7 @@ let meta = { holochainPackageType = "zome"; }; } " cp ${wasm}/lib/${crate}.wasm $out \n"; - debug = runCommandLocal "${crate}-debug" { } '' + debug = runCommandNoCC "${crate}-debug" { } '' cp ${wasm}/lib/${crate}.wasm $out ''; @@ -127,13 +127,11 @@ let else release; -in runCommandLocal crate { - meta = { inherit debug; }; +in runCommandNoCC crate { + meta = meta // { inherit debug; }; outputs = [ "out" "hash" ]; buildInputs = [ zome-wasm-hash ]; } '' - cp ${guardedRelease} $out zome-wasm-hash $out > $hash - ''