From 84a55768a8329018e44d48bf675fe147c44138bf Mon Sep 17 00:00:00 2001 From: ThetaSinner Date: Fri, 27 Sep 2024 18:21:34 +0100 Subject: [PATCH] Update weekly and ci improvements (#101) * Update weekly and add taplo * Update dependencies and format toml files * Add yaml formatter and format * Check formatting in CI * Remove inputsFrom * CI improvements --- .github/workflows/cargo_update.yaml | 12 +- .github/workflows/flake_update.yaml | 12 +- .github/workflows/performance.yaml | 8 +- .github/workflows/test.yaml | 26 +- .yamlfmt.yaml | 5 + Cargo.lock | 367 +++++++----------- Cargo.toml | 116 +++--- flake.lock | 34 +- flake.nix | 6 +- scenarios/remote_call_rate/Cargo.toml | 2 +- scenarios/two_party_countersigning/Cargo.toml | 2 +- scripts/format-toml.sh | 12 + scripts/format-yaml.sh | 9 + 13 files changed, 294 insertions(+), 317 deletions(-) create mode 100644 .yamlfmt.yaml create mode 100755 scripts/format-toml.sh create mode 100755 scripts/format-yaml.sh diff --git a/.github/workflows/cargo_update.yaml b/.github/workflows/cargo_update.yaml index bbd440b4..e2d8b4f9 100644 --- a/.github/workflows/cargo_update.yaml +++ b/.github/workflows/cargo_update.yaml @@ -24,9 +24,9 @@ jobs: - name: Create Pull Request uses: peter-evans/create-pull-request@v6 with: - commit-message: "Update Cargo.lock" - title: "Update Cargo.lock" - body: "This PR updates the Cargo.lock file." - branch: "update-cargo-lock" - branch-suffix: "short-commit-hash" - base: "main" + commit-message: "Update Cargo.lock" + title: "Update Cargo.lock" + body: "This PR updates the Cargo.lock file." + branch: "update-cargo-lock" + branch-suffix: "short-commit-hash" + base: "main" diff --git a/.github/workflows/flake_update.yaml b/.github/workflows/flake_update.yaml index fb0cc19d..f6ee3abc 100644 --- a/.github/workflows/flake_update.yaml +++ b/.github/workflows/flake_update.yaml @@ -24,9 +24,9 @@ jobs: - name: Create Pull Request uses: peter-evans/create-pull-request@v6 with: - commit-message: "Update flake.lock" - title: "Update flake.lock" - body: "This PR updates the flake.lock file." - branch: "update-flake-lock" - branch-suffix: "short-commit-hash" - base: "main" + commit-message: "Update flake.lock" + title: "Update flake.lock" + body: "This PR updates the flake.lock file." + branch: "update-flake-lock" + branch-suffix: "short-commit-hash" + base: "main" diff --git a/.github/workflows/performance.yaml b/.github/workflows/performance.yaml index d9197d3e..1842863e 100644 --- a/.github/workflows/performance.yaml +++ b/.github/workflows/performance.yaml @@ -7,6 +7,10 @@ env: INFLUX_TOKEN: ${{ secrets.INFLUX_TOKEN }} WT_METRICS_DIR: "${{ github.workspace }}/telegraf/metrics" +concurrency: + group: ${{ github.workflow }} + cancel-in-progress: false + jobs: local-test: runs-on: [self-hosted, wind-tunnel] @@ -14,7 +18,7 @@ jobs: fail-fast: false matrix: # To run a local test with default configuration, add the scenario name to this array. - scenario: [ zome_call_single_value, single_write_many_read, write_read, write_query, local_signals, write_validated ] + scenario: [zome_call_single_value, single_write_many_read, write_read, write_query, local_signals, write_validated] # To run a local test with additional configuration, add the scenario name and `extra-args` as an `include` item. include: - scenario: dht_sync_lag @@ -87,7 +91,7 @@ jobs: fail-fast: false matrix: # To run a test with TryCP and default configuration, add the scenario name to this array. - scenario: [ trycp_write_validated, remote_call_rate, validation_receipts ] + scenario: [trycp_write_validated, remote_call_rate, validation_receipts] # To run a test with TryCP and additional configuration, add the scenario name and `extra-args` as an `include` item. include: - scenario: two_party_countersigning diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index bf234a08..55003c8f 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -2,13 +2,13 @@ name: "test" on: push: - branches: [ main, develop ] + branches: [main] pull_request: - branches: [ main, develop ] + branches: [main] merge_group: concurrency: - group: ${{ github.ref_name }} + group: ${{ github.workflow }}-${{ github.ref_name }} cancel-in-progress: true jobs: @@ -16,7 +16,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ ubuntu-latest, macos-latest ] + os: [ubuntu-latest, macos-latest] runs-on: ${{ matrix.os }} steps: @@ -49,6 +49,14 @@ jobs: run: | nix develop .#ci -c bash -c "shellcheck scripts/*.sh" + - name: Check TOML formatting + run: | + nix develop .#ci -c bash -c "./scripts/format-toml.sh --check" + + - name: Check YAML formatting + run: | + nix develop .#ci -c bash -c "./scripts/format-yaml.sh -lint" + - name: Check Nix formatting run: | nix develop .#ci -c bash -c "source ./scripts/checks.sh && check_nix_fmt" @@ -74,20 +82,20 @@ jobs: run: | # Start a sandbox conductor and run it in the background nix develop .#ci -c bash -c "hc s clean && echo "1234" | hc s --piped create && echo "1234" | hc s --piped -f 8888 run &" - + # Run the scenario for 5 seconds RUST_LOG=info nix run .#zome_call_single_value -- --connection-string ws://localhost:8888 --duration 5 --no-progress - + pkill hc && pkill holochain && pkill lair-keystore - name: Smoke test - single_write_many_read run: | # Start a sandbox conductor and run it in the background nix develop .#ci -c bash -c "hc s clean && echo "1234" | hc s --piped create && echo "1234" | hc s --piped -f 8888 run &" - + # Run the scenario for 5 seconds RUST_LOG=info nix run .#single_write_many_read -- --connection-string ws://localhost:8888 --duration 5 --no-progress - + pkill hc && pkill holochain && pkill lair-keystore - name: Smoke test - dht_sync_lag @@ -180,7 +188,7 @@ jobs: - name: Smoke test - remote_call_rate run: | set -x - + # Start local network services nix develop .#ci -c bash -c "hc-run-local-services --bootstrap-port 4422 --signal-port 4423 &" # Start a TryCP instance diff --git a/.yamlfmt.yaml b/.yamlfmt.yaml new file mode 100644 index 00000000..658f0349 --- /dev/null +++ b/.yamlfmt.yaml @@ -0,0 +1,5 @@ +formatter: + type: basic + retain_line_breaks_single: true + trim_trailing_whitespace: true + eof_newline: true diff --git a/Cargo.lock b/Cargo.lock index d704adf6..228c736a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4,19 +4,13 @@ version = 3 [[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", ] -[[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" @@ -143,9 +137,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_install" @@ -177,9 +171,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" @@ -189,9 +183,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", @@ -217,9 +211,9 @@ dependencies = [ [[package]] name = "autocfg" -version = "1.3.0" +version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0" +checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26" [[package]] name = "automap" @@ -235,17 +229,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]] @@ -342,9 +336,9 @@ checksum = "5ce89b21cab1437276d2650d57e971f9d548a2d9037cc231abdc0562b97498ce" [[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" @@ -354,9 +348,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" [[package]] name = "callback" @@ -408,9 +402,9 @@ dependencies = [ [[package]] name = "cc" -version = "1.1.15" +version = "1.1.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57b6a275aa2903740dc87da01c62040406b8812552e97129a63ea8850a17c6e6" +checksum = "9540e661f81799159abee814118cc139a2004b3a3aa3ea37724a1b66530b90e0" dependencies = [ "shlex", ] @@ -459,9 +453,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", @@ -469,9 +463,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", @@ -481,9 +475,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", @@ -587,9 +581,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", ] @@ -769,9 +763,9 @@ checksum = "7762d17f1241643615821a8455a0b2c3e803784b058693d990b11f2dce25a0ca" [[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", @@ -1084,9 +1078,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", @@ -1101,12 +1095,12 @@ dependencies = [ [[package]] name = "flate2" -version = "1.0.33" +version = "1.0.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "324a1be68054ef05ad64b861cc9eaf1d623d2d8cb25b4bf2cb9cdd902b4bf253" +checksum = "a1b589b4dc103969ad3cf85c950899926ec64300a1a46d76c03a6072957036f0" dependencies = [ "crc32fast", - "miniz_oxide 0.8.0", + "miniz_oxide", ] [[package]] @@ -1289,9 +1283,9 @@ 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 = "h2" @@ -1368,31 +1362,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" @@ -1406,9 +1375,9 @@ dependencies = [ [[package]] name = "hc_seed_bundle" -version = "0.2.4" +version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "849aaef544dc9a561bcf1af4cbbc02e4cd24904b623aa1d0311f756fc2a96d38" +checksum = "4f930e251000e258ff14c36c4d045c9ec1dcbf2a6fff53b1432342b9a34df5ae" dependencies = [ "futures", "one_err", @@ -1421,9 +1390,9 @@ dependencies = [ [[package]] name = "hdi" -version = "0.5.0-dev.15" +version = "0.5.0-dev.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da97eabe84f2eccc10ffad392da05a1998e0b5df8eb35960cd30a1a1dbc7a96a" +checksum = "628eca7a3ad5aa3330e87e08bf0365aaf694e8e23fa59ccd31eb5d625219462c" dependencies = [ "getrandom 0.2.15", "hdk_derive", @@ -1439,9 +1408,9 @@ dependencies = [ [[package]] name = "hdk" -version = "0.4.0-dev.17" +version = "0.4.0-dev.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7d0362e8a94f17e3d050be68a83fe9313a950aebd345bae6db0f60a7eb6f93a" +checksum = "75f54d920bd32eba7d8ac8c16baa5b0f3bb94e48b0cdee7a01ace5badbc38da9" dependencies = [ "getrandom 0.2.15", "hdi", @@ -1459,9 +1428,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", @@ -1523,9 +1492,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", @@ -1546,9 +1515,9 @@ dependencies = [ [[package]] name = "holochain_client" -version = "0.6.0-dev.9" +version = "0.6.0-dev.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1d5d226f3433ad257cb19de1f355ca101e1a3571dc4fded8a20f38799b8e2bf" +checksum = "bed7313e4355ca3a55041998e971d5bf216e90af7d3c146c07f076d2547c954a" dependencies = [ "again", "anyhow", @@ -1589,9 +1558,9 @@ dependencies = [ [[package]] name = "holochain_conductor_api" -version = "0.4.0-dev.25" +version = "0.4.0-dev.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e0f60e806482d1f927d472d2d9e52228a576a1bf1dec82a9e034668df6a3d8df" +checksum = "ba10951922070c991e1ec047caa089d2e4c6136487a114d4c6ade9133ff97259" dependencies = [ "derive_more 0.99.18", "holo_hash", @@ -1613,9 +1582,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", @@ -1632,9 +1601,9 @@ dependencies = [ [[package]] name = "holochain_keystore" -version = "0.4.0-dev.22" +version = "0.4.0-dev.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c0c8cdaa7098a946ecd6ff4a8d6b5eb0e2a117c0b1d6b2db2946021596b0d34" +checksum = "1374e4539572ebe6a9e97154f910eada4fc60453a4f6d2abdf1f0bbf231b7fcd" dependencies = [ "base64 0.22.1", "derive_more 0.99.18", @@ -1708,9 +1677,9 @@ dependencies = [ [[package]] name = "holochain_sqlite" -version = "0.4.0-dev.21" +version = "0.4.0-dev.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "442cb846bf887b42ebf7636118b3c57145e140391990cbb727aa34273abbffbf" +checksum = "41c7072812ba7f0f7abe7db6fda69aa75cfa1f7f20ebea4e716c6855289d3304" dependencies = [ "anyhow", "async-trait", @@ -1753,9 +1722,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", @@ -1764,9 +1733,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 0.99.18", @@ -1782,9 +1751,9 @@ dependencies = [ [[package]] name = "holochain_types" -version = "0.4.0-dev.24" +version = "0.4.0-dev.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "605386a24b66b4effc7057645b11e6cd62eec14a5ed88962417956bb700766b1" +checksum = "b9e062e52ac6a2104ceb2a18f5e2dd2d17fbb480f1ba8b14d8104566ffb943a2" dependencies = [ "anyhow", "async-trait", @@ -1799,7 +1768,6 @@ dependencies = [ "flate2", "futures", "getrandom 0.2.15", - "hc_deepkey_sdk", "holo_hash", "holochain_keystore", "holochain_nonce", @@ -1835,9 +1803,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", @@ -1848,7 +1816,6 @@ dependencies = [ "rpassword", "sodoken", "tokio", - "tracing", ] [[package]] @@ -1880,9 +1847,9 @@ dependencies = [ [[package]] name = "holochain_websocket" -version = "0.4.0-dev.24" +version = "0.4.0-dev.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26b58d60f421cc793d999e6a0445a44061af0809569e522afcfca42b64d5602b" +checksum = "4242b1eb257688d55bba7fc925c99ccf9187b5fb5da8107be851e7c00c4e3f17" dependencies = [ "async-trait", "futures", @@ -1912,9 +1879,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 0.99.18", @@ -1934,7 +1901,6 @@ dependencies = [ "serde_yaml", "shrinkwraprs", "subtle", - "subtle-encoding", "thiserror", "tracing", ] @@ -2082,15 +2048,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", @@ -2128,9 +2094,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", @@ -2141,16 +2107,15 @@ dependencies = [ "pin-project-lite", "socket2", "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", @@ -2227,7 +2192,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "232929e1d75fe899576a3d5c7416ad0d88dbfbb3c3d6aa00873a7408a50ddb88" dependencies = [ "ahash", - "clap 4.5.16", + "clap 4.5.18", "crossbeam-channel", "crossbeam-utils", "dashmap", @@ -2273,9 +2238,9 @@ dependencies = [ [[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" @@ -2338,9 +2303,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 0.99.18", @@ -2353,9 +2318,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", @@ -2364,9 +2329,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", @@ -2388,9 +2353,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 0.99.18", @@ -2422,9 +2387,9 @@ dependencies = [ [[package]] name = "kitsune_p2p_types" -version = "0.4.0-dev.13" +version = "0.4.0-dev.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0305bc228d171847cc35439e6ad56d41bd61da019900964026d771b5de69f896" +checksum = "804723a2aa21d96161cee620ede247550009662e632c92f8b83d00ad28239354" dependencies = [ "base64 0.22.1", "derive_more 0.99.18", @@ -2453,9 +2418,9 @@ dependencies = [ [[package]] name = "lair_keystore" -version = "0.5.1" +version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff167fc218b19e270557f6e688969bf137521b4dcfe00ebbfb00df8a14caa5a4" +checksum = "64d28639d61fce26c920ba0a786cd662d609cd40832762c74716df1355cf53db" dependencies = [ "lair_keystore_api", "pretty_assertions", @@ -2469,9 +2434,9 @@ dependencies = [ [[package]] name = "lair_keystore_api" -version = "0.5.1" +version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "241847cf5de13da9c60930b6ccd0d6411e68d9f6b2f942dd029bb668e3aa9e1d" +checksum = "20b5bd4a14c91039d6d28aaffe11c36060ec0e542123c81f901f661e3cfcb94f" dependencies = [ "base64 0.22.1", "dunce", @@ -2510,9 +2475,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" @@ -2552,14 +2517,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", @@ -2674,15 +2639,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" @@ -2706,9 +2662,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 0.99.18", "flate2", @@ -3064,7 +3020,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", ] @@ -3134,15 +3090,15 @@ 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 = "portable-atomic" -version = "1.7.0" +version = "1.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da544ee218f0d287a911e9c99a39a8c9bc8fcad3cb8db5959940044ecfc67265" +checksum = "d30538d42559de6b034bc76fd6dd4c38961b1ee5c6c56e3808c50128fdbc22ce" [[package]] name = "powerfmt" @@ -3161,9 +3117,9 @@ 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", @@ -3427,9 +3383,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", ] @@ -3568,7 +3524,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 0.6.0", "hyper-util", "ipnet", @@ -3733,9 +3689,9 @@ dependencies = [ [[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", @@ -3758,13 +3714,13 @@ dependencies = [ [[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", ] @@ -3806,9 +3762,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", @@ -3853,11 +3809,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]] @@ -3900,9 +3856,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", @@ -3957,9 +3913,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", @@ -3970,9 +3926,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", ] @@ -4435,9 +4391,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", @@ -4520,18 +4476,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", @@ -4666,7 +4622,7 @@ 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", ] @@ -4685,9 +4641,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", @@ -4719,9 +4675,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", @@ -4730,27 +4686,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" @@ -4909,7 +4844,7 @@ name = "trycp_wind_tunnel_runner" version = "0.3.0-alpha.1" dependencies = [ "anyhow", - "clap 4.5.16", + "clap 4.5.18", "derive_more 1.0.0", "env_logger", "holochain_client", @@ -5011,24 +4946,24 @@ 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" @@ -5038,9 +4973,9 @@ checksum = "e51733f11c9c4f72aa0c160008246859e340b00807569a0da0e7a1079b27ba85" [[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" @@ -5418,7 +5353,7 @@ name = "wind_tunnel_runner" version = "0.3.0-alpha.1" dependencies = [ "anyhow", - "clap 4.5.16", + "clap 4.5.18", "derive_more 1.0.0", "env_logger", "indicatif", @@ -5683,9 +5618,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", ] @@ -5750,9 +5685,9 @@ dependencies = [ [[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/Cargo.toml b/Cargo.toml index 9987286a..9192c05c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,64 +1,64 @@ [workspace] resolver = "2" members = [ - "framework/core", - "framework/instruments", - "framework/instruments_derive", - "framework/runner", + "framework/core", + "framework/instruments", + "framework/instruments_derive", + "framework/runner", - "bindings/client", - "bindings/runner", - "bindings/trycp_client", - "bindings/trycp_runner", + "bindings/client", + "bindings/runner", + "bindings/trycp_client", + "bindings/trycp_runner", - "happ_builder", + "happ_builder", - "scenarios/app_install", - "scenarios/dht_sync_lag", - "scenarios/single_write_many_read", - "scenarios/zome_call_single_value", - "scenarios/first_call", - "scenarios/write_read", - "scenarios/write_query", - "scenarios/local_signals", - "scenarios/remote_call_rate", - "scenarios/two_party_countersigning", - "scenarios/write_validated", - "scenarios/trycp_write_validated", - "scenarios/validation_receipts", + "scenarios/app_install", + "scenarios/dht_sync_lag", + "scenarios/single_write_many_read", + "scenarios/zome_call_single_value", + "scenarios/first_call", + "scenarios/write_read", + "scenarios/write_query", + "scenarios/local_signals", + "scenarios/remote_call_rate", + "scenarios/two_party_countersigning", + "scenarios/write_validated", + "scenarios/trycp_write_validated", + "scenarios/validation_receipts", - "zomes/return_single_value/coordinator", - "zomes/crud/coordinator", - "zomes/crud/integrity", - "zomes/timed/coordinator", - "zomes/timed/integrity", - "zomes/callback/coordinator", - "zomes/callback/integrity", - "zomes/large/coordinator", - "zomes/signal/coordinator", - "zomes/remote_call/coordinator", - "zomes/remote_call/integrity", - "zomes/countersigning/coordinator", - "zomes/countersigning/integrity", - "zomes/validated/coordinator", - "zomes/validated/integrity" + "zomes/return_single_value/coordinator", + "zomes/crud/coordinator", + "zomes/crud/integrity", + "zomes/timed/coordinator", + "zomes/timed/integrity", + "zomes/callback/coordinator", + "zomes/callback/integrity", + "zomes/large/coordinator", + "zomes/signal/coordinator", + "zomes/remote_call/coordinator", + "zomes/remote_call/integrity", + "zomes/countersigning/coordinator", + "zomes/countersigning/integrity", + "zomes/validated/coordinator", + "zomes/validated/integrity", ] # By default, don't build the scenarios or zomes. # The scenarios should only be built when they are being run. # The zomes should only be built into wasm as part of running scenarios. default-members = [ - "framework/core", - "framework/instruments", - "framework/instruments_derive", - "framework/runner", + "framework/core", + "framework/instruments", + "framework/instruments_derive", + "framework/runner", - "bindings/client", - "bindings/runner", - "bindings/trycp_client", - "bindings/trycp_runner", + "bindings/client", + "bindings/runner", + "bindings/trycp_client", + "bindings/trycp_runner", - "happ_builder", + "happ_builder", ] [workspace.dependencies] @@ -79,7 +79,9 @@ url = "2.5.0" tabled = "0.16.0" indicatif = "0.17.8" # TODO waiting for 0.7.3+ relase to use the new reqwest-client-native-tls-vendored feature -influxdb = { version = "0.7.3-beta.1", package = "ts_influxdb", features = ["reqwest-client-native-tls-vendored"] } +influxdb = { version = "0.7.3-beta.1", package = "ts_influxdb", features = [ + "reqwest-client-native-tls-vendored", +] } influxive-core = "0.0.2-alpha.1" nanoid = "0.4.0" which = "6.0.1" @@ -89,19 +91,19 @@ rand = "0.8" ed25519-dalek = "2.1" # Deps for Holochain -holochain_client = { version = "=0.6.0-dev.9" } +holochain_client = { version = "=0.6.0-dev.10" } trycp_client = { version = "0.17.0-dev.5" } trycp_api = { version = "0.17.0-dev.5" } -holochain_zome_types = { version = "0.4.0-dev.17" } -holo_hash = { version = "0.4.0-dev.12" } -holochain_types = { version = "0.4.0-dev.24" } -holochain_conductor_api = { version = "0.4.0-dev.25" } +holochain_zome_types = { version = "0.4.0-dev.18" } +holo_hash = { version = "0.4.0-dev.13" } +holochain_types = { version = "0.4.0-dev.26" } +holochain_conductor_api = { version = "0.4.0-dev.27" } holochain_nonce = { version = "0.4.0-dev.7" } -kitsune_p2p_types = { version = "0.4.0-dev.13" } -holochain_websocket = { version = "0.4.0-dev.24"} -hdk = { version = "0.4.0-dev.17" } -hdi = "0.5.0-dev.15" -mr_bundle = "0.4.0-dev.7" +kitsune_p2p_types = { version = "0.4.0-dev.15" } +holochain_websocket = { version = "0.4.0-dev.26" } +hdk = { version = "0.4.0-dev.19" } +hdi = "0.5.0-dev.17" +mr_bundle = "0.4.0-dev.8" holochain_serialized_bytes = "0.0.55" # Framework diff --git a/flake.lock b/flake.lock index 9c39741e..271370af 100644 --- a/flake.lock +++ b/flake.lock @@ -30,11 +30,11 @@ }, "crane": { "locked": { - "lastModified": 1727060013, - "narHash": "sha256-/fC5YlJy4IoAW9GhkJiwyzk0K/gQd9Qi4rRcoweyG9E=", + "lastModified": 1727316705, + "narHash": "sha256-/mumx8AQ5xFuCJqxCIOFCHTVlxHkMT21idpbgbm/TIE=", "owner": "ipetkov", "repo": "crane", - "rev": "6b40cc876c929bfe1e3a24bf538ce3b5622646ba", + "rev": "5b03654ce046b5167e7b0bccbd8244cb56c16f0e", "type": "github" }, "original": { @@ -98,16 +98,16 @@ "holochain": { "flake": false, "locked": { - "lastModified": 1726621288, - "narHash": "sha256-zUvEfTRX7acCzhEBgL8gkrngH7ryT18p1J2lOTE9uOo=", + "lastModified": 1727364075, + "narHash": "sha256-VNgxDgeq2sX/L7D8J7F3QErqMVKdZTCX6SR3Cs5YKgM=", "owner": "holochain", "repo": "holochain", - "rev": "1c38ad228103e2994399e735ccca9c4d850aec19", + "rev": "116f88d9baaf2b710c7cbbb7776a4b09e311b076", "type": "github" }, "original": { "owner": "holochain", - "ref": "holochain-0.4.0-dev.25", + "ref": "holochain-0.4.0-dev.27", "repo": "holochain", "type": "github" } @@ -132,11 +132,11 @@ ] }, "locked": { - "lastModified": 1726665849, - "narHash": "sha256-c6+HhJ5xSUuCVbvS67+52EDH8cSDCWYk5c2v84/yZqw=", + "lastModified": 1727381822, + "narHash": "sha256-wa8racInCgydxkm9KOv4DQzqldAMLPnrEisl3jT0ofw=", "owner": "holochain", "repo": "holonix", - "rev": "25e2d39e876b93cfef091f484e80dafcf287bf83", + "rev": "e78f71a0bf90ff538792d5b9a60c476dc87096bd", "type": "github" }, "original": { @@ -149,16 +149,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" } @@ -231,11 +231,11 @@ ] }, "locked": { - "lastModified": 1727058553, - "narHash": "sha256-tY/UU3Qk5gP/J0uUM4DZ6wo4arNLGAVqLKBotILykfQ=", + "lastModified": 1727404165, + "narHash": "sha256-kZCiYpQJBZ3kL9QymS88mCxpQwqo8KqvZeHk6LATuY8=", "owner": "oxalica", "repo": "rust-overlay", - "rev": "edc5b0f896170f07bd39ad59d6186fcc7859bbb2", + "rev": "76f0a61e733259e1034dd6523e039d04932ffefc", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index 26c521a4..aac73c7e 100644 --- a/flake.nix +++ b/flake.nix @@ -78,6 +78,8 @@ pkgs.httpie pkgs.shellcheck pkgs.statix + pkgs.taplo + pkgs.yamlfmt pkgs.perl inputs'.holonix.packages.holochain inputs'.holonix.packages.lair-keystore @@ -100,11 +102,11 @@ }; devShells.ci = pkgs.mkShell { - inputsFrom = [ inputs'.holonix.devShells ]; - packages = [ pkgs.shellcheck pkgs.statix + pkgs.taplo + pkgs.yamlfmt inputs'.holonix.packages.holochain inputs'.holonix.packages.lair-keystore inputs'.tryorama.packages.trycp-server diff --git a/scenarios/remote_call_rate/Cargo.toml b/scenarios/remote_call_rate/Cargo.toml index bfca07d9..ef8b3f97 100644 --- a/scenarios/remote_call_rate/Cargo.toml +++ b/scenarios/remote_call_rate/Cargo.toml @@ -12,7 +12,7 @@ log = { workspace = true } holochain_types = { workspace = true } trycp_wind_tunnel_runner = { workspace = true } -remote_call_integrity = { workspace = true} +remote_call_integrity = { workspace = true } [build-dependencies] happ_builder = { workspace = true } diff --git a/scenarios/two_party_countersigning/Cargo.toml b/scenarios/two_party_countersigning/Cargo.toml index db5bbe00..a1d8624c 100644 --- a/scenarios/two_party_countersigning/Cargo.toml +++ b/scenarios/two_party_countersigning/Cargo.toml @@ -13,7 +13,7 @@ rmp-serde = { workspace = true } holochain_types = { workspace = true } trycp_wind_tunnel_runner = { workspace = true } -countersigning_integrity = { workspace = true} +countersigning_integrity = { workspace = true } [build-dependencies] happ_builder = { workspace = true } diff --git a/scripts/format-toml.sh b/scripts/format-toml.sh new file mode 100755 index 00000000..3f3a74a4 --- /dev/null +++ b/scripts/format-toml.sh @@ -0,0 +1,12 @@ +#!/usr/bin/env bash +# Usage to format: ./scripts/format-toml.sh +# Usage to check: ./scripts/format-toml.sh --check + +set -eux + +EXTRA_ARG=${1:-} + +taplo format "$EXTRA_ARG" ./*.toml +taplo format "$EXTRA_ARG" ./bindings/**/*.toml +taplo format "$EXTRA_ARG" ./framework/**/*.toml +taplo format "$EXTRA_ARG" ./scenarios/**/*.toml diff --git a/scripts/format-yaml.sh b/scripts/format-yaml.sh new file mode 100755 index 00000000..aa14e4ac --- /dev/null +++ b/scripts/format-yaml.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env bash +# Usage to format: ./scripts/format-yaml.sh +# Usage to check: ./scripts/format-yaml.sh -lint + +set -eux + +EXTRA_ARG=${1:-} + +yamlfmt "$EXTRA_ARG" .