Update Rust crate `libp2p` to 0.54.0
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| libp2p | dependencies | minor | 0.53.2 -> 0.54.0 |
Release Notes
libp2p/rust-libp2p (libp2p)
v0.54.0
See individual changelogs for details.
Thanks everyone who contributed to it! :heart:
Configuration
📅 Schedule: Branch creation - "before 4am every weekday,every weekend" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.
⚠️ Artifact update problem
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
- any of the package files in this branch needs updating, or
- the branch becomes conflicted, or
- you click the rebase/retry checkbox if found above, or
- you rename this PR's title to start with "rebase!" to trigger it manually
The artifact failure details are included below:
File name: Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path Cargo.toml --workspace
error: failed to parse manifest at `/tmp/renovate/repos/github/hashintel/hash/Cargo.toml`
Caused by:
the cargo feature `edition2024` requires a nightly version of Cargo, but this is the `stable` channel
See https://doc.rust-lang.org/book/appendix-07-nightly-rust.html for more information about Rust release channels.
See https://doc.rust-lang.org/cargo/reference/unstable.html#edition-2024 for more information about using this feature.
@indietyp This auto-opened Renovate PR seems to be HaRPC-related, @indietyp, so I'm tagging you in. Hope that's okay. Not an urgent one, though!
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 17.67%. Comparing base (
ee4e9e1) to head (c9f35c0). Report is 1591 commits behind head on main.
Additional details and impacted files
@@ Coverage Diff @@
## main #4832 +/- ##
=======================================
Coverage 17.67% 17.67%
=======================================
Files 506 506
Lines 16566 16566
Branches 2546 2546
=======================================
Hits 2928 2928
Misses 13600 13600
Partials 38 38
| Flag | Coverage Δ | |
|---|---|---|
| apps.hash-ai-worker-ts | 1.39% <ø> (ø) |
|
| apps.hash-api | 1.18% <ø> (ø) |
|
| blockprotocol.type-system | 48.46% <ø> (ø) |
|
| local.hash-backend-utils | 8.81% <ø> (ø) |
|
| local.hash-isomorphic-utils | 1.06% <ø> (ø) |
|
| local.hash-subgraph | 24.32% <ø> (ø) |
|
| rust.deer | 5.88% <ø> (ø) |
|
| rust.error-stack | 72.68% <ø> (ø) |
|
| rust.sarif | 87.75% <ø> (ø) |
Flags with carried forward coverage won't be shown. Click here to find out more.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
🚀 New features to boost your workflow:
- ❄ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
- 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
Edited/Blocked Notification
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
⚠️ Warning: custom changes will be lost.
Benchmark results
@rust/graph-benches – Integrations
representative_read_multiple_entities
| Function | Value | Mean | Flame graphs |
|---|---|---|---|
| entity_by_property | depths: DT=0, PT=2, ET=2, E=2 | $$50.1 \mathrm{ms} \pm 345 \mathrm{μs}\left({\color{gray}-1.318 \mathrm{\%}}\right) $$ | Flame Graph |
| entity_by_property | depths: DT=2, PT=2, ET=2, E=2 | $$54.4 \mathrm{ms} \pm 386 \mathrm{μs}\left({\color{gray}-0.181 \mathrm{\%}}\right) $$ | Flame Graph |
| entity_by_property | depths: DT=0, PT=0, ET=0, E=2 | $$39.7 \mathrm{ms} \pm 154 \mathrm{μs}\left({\color{gray}-0.089 \mathrm{\%}}\right) $$ | Flame Graph |
| entity_by_property | depths: DT=0, PT=0, ET=2, E=2 | $$46.1 \mathrm{ms} \pm 293 \mathrm{μs}\left({\color{gray}-0.467 \mathrm{\%}}\right) $$ | Flame Graph |
| entity_by_property | depths: DT=255, PT=255, ET=255, E=255 | $$62.9 \mathrm{ms} \pm 350 \mathrm{μs}\left({\color{gray}-0.356 \mathrm{\%}}\right) $$ | Flame Graph |
| entity_by_property | depths: DT=0, PT=0, ET=0, E=0 | $$35.9 \mathrm{ms} \pm 301 \mathrm{μs}\left({\color{gray}0.877 \mathrm{\%}}\right) $$ | Flame Graph |
| link_by_source_by_property | depths: DT=0, PT=2, ET=2, E=2 | $$89.1 \mathrm{ms} \pm 472 \mathrm{μs}\left({\color{gray}0.075 \mathrm{\%}}\right) $$ | Flame Graph |
| link_by_source_by_property | depths: DT=2, PT=2, ET=2, E=2 | $$93.1 \mathrm{ms} \pm 499 \mathrm{μs}\left({\color{gray}0.083 \mathrm{\%}}\right) $$ | Flame Graph |
| link_by_source_by_property | depths: DT=0, PT=0, ET=0, E=2 | $$74.5 \mathrm{ms} \pm 508 \mathrm{μs}\left({\color{gray}-0.128 \mathrm{\%}}\right) $$ | Flame Graph |
| link_by_source_by_property | depths: DT=0, PT=0, ET=2, E=2 | $$85.1 \mathrm{ms} \pm 510 \mathrm{μs}\left({\color{gray}0.278 \mathrm{\%}}\right) $$ | Flame Graph |
| link_by_source_by_property | depths: DT=255, PT=255, ET=255, E=255 | $$102 \mathrm{ms} \pm 839 \mathrm{μs}\left({\color{gray}0.532 \mathrm{\%}}\right) $$ | Flame Graph |
| link_by_source_by_property | depths: DT=0, PT=0, ET=0, E=0 | $$38.3 \mathrm{ms} \pm 292 \mathrm{μs}\left({\color{gray}1.17 \mathrm{\%}}\right) $$ | Flame Graph |
representative_read_entity
| Function | Value | Mean | Flame graphs |
|---|---|---|---|
| entity_by_id | entity type ID: https://blockprotocol.org/@alice/types/entity-type/book/v/1 |
$$14.5 \mathrm{ms} \pm 176 \mathrm{μs}\left({\color{lightgreen}-19.417 \mathrm{\%}}\right) $$ | Flame Graph |
| entity_by_id | entity type ID: https://blockprotocol.org/@alice/types/entity-type/uk-address/v/1 |
$$16.4 \mathrm{ms} \pm 174 \mathrm{μs}\left({\color{gray}4.50 \mathrm{\%}}\right) $$ | Flame Graph |
| entity_by_id | entity type ID: https://blockprotocol.org/@alice/types/entity-type/page/v/2 |
$$15.6 \mathrm{ms} \pm 165 \mathrm{μs}\left({\color{gray}-0.766 \mathrm{\%}}\right) $$ | Flame Graph |
| entity_by_id | entity type ID: https://blockprotocol.org/@alice/types/entity-type/block/v/1 |
$$15.2 \mathrm{ms} \pm 231 \mathrm{μs}\left({\color{gray}-1.130 \mathrm{\%}}\right) $$ | Flame Graph |
| entity_by_id | entity type ID: https://blockprotocol.org/@alice/types/entity-type/building/v/1 |
$$16.2 \mathrm{ms} \pm 170 \mathrm{μs}\left({\color{gray}4.82 \mathrm{\%}}\right) $$ | Flame Graph |
| entity_by_id | entity type ID: https://blockprotocol.org/@alice/types/entity-type/song/v/1 |
$$15.7 \mathrm{ms} \pm 197 \mathrm{μs}\left({\color{gray}0.949 \mathrm{\%}}\right) $$ | Flame Graph |
| entity_by_id | entity type ID: https://blockprotocol.org/@alice/types/entity-type/playlist/v/1 |
$$15.8 \mathrm{ms} \pm 196 \mathrm{μs}\left({\color{gray}3.67 \mathrm{\%}}\right) $$ | Flame Graph |
| entity_by_id | entity type ID: https://blockprotocol.org/@alice/types/entity-type/organization/v/1 |
$$15.6 \mathrm{ms} \pm 186 \mathrm{μs}\left({\color{gray}-2.340 \mathrm{\%}}\right) $$ | Flame Graph |
| entity_by_id | entity type ID: https://blockprotocol.org/@alice/types/entity-type/person/v/1 |
$$15.6 \mathrm{ms} \pm 169 \mathrm{μs}\left({\color{gray}-2.118 \mathrm{\%}}\right) $$ | Flame Graph |
scaling_read_entity_complete_one_depth
| Function | Value | Mean | Flame graphs |
|---|---|---|---|
| entity_by_id | 10 entities | $$51.0 \mathrm{ms} \pm 216 \mathrm{μs}\left({\color{gray}-0.319 \mathrm{\%}}\right) $$ | Flame Graph |
| entity_by_id | 25 entities | $$73.9 \mathrm{ms} \pm 583 \mathrm{μs}\left({\color{gray}1.38 \mathrm{\%}}\right) $$ | Flame Graph |
| entity_by_id | 50 entities | $$1.55 \mathrm{s} \pm 4.42 \mathrm{ms}\left({\color{gray}0.590 \mathrm{\%}}\right) $$ | Flame Graph |
| entity_by_id | 5 entities | $$25.1 \mathrm{ms} \pm 448 \mathrm{μs}\left({\color{gray}1.15 \mathrm{\%}}\right) $$ | Flame Graph |
| entity_by_id | 1 entities | $$19.7 \mathrm{ms} \pm 107 \mathrm{μs}\left({\color{gray}-1.076 \mathrm{\%}}\right) $$ | Flame Graph |
scaling_read_entity_complete_zero_depth
| Function | Value | Mean | Flame graphs |
|---|---|---|---|
| entity_by_id | 10 entities | $$2.01 \mathrm{ms} \pm 8.65 \mathrm{μs}\left({\color{gray}-2.152 \mathrm{\%}}\right) $$ | Flame Graph |
| entity_by_id | 25 entities | $$2.54 \mathrm{ms} \pm 8.85 \mathrm{μs}\left({\color{gray}0.889 \mathrm{\%}}\right) $$ | Flame Graph |
| entity_by_id | 50 entities | $$3.88 \mathrm{ms} \pm 20.7 \mathrm{μs}\left({\color{lightgreen}-6.419 \mathrm{\%}}\right) $$ | Flame Graph |
| entity_by_id | 5 entities | $$1.91 \mathrm{ms} \pm 13.6 \mathrm{μs}\left({\color{gray}-0.728 \mathrm{\%}}\right) $$ | Flame Graph |
| entity_by_id | 1 entities | $$1.85 \mathrm{ms} \pm 11.2 \mathrm{μs}\left({\color{gray}0.223 \mathrm{\%}}\right) $$ | Flame Graph |
representative_read_entity_type
| Function | Value | Mean | Flame graphs |
|---|---|---|---|
| get_entity_type_by_id | Account ID: d4e16033-c281-4cde-aa35-9085bf2e7579 |
$$1.40 \mathrm{ms} \pm 3.79 \mathrm{μs}\left({\color{gray}-2.244 \mathrm{\%}}\right) $$ | Flame Graph |
scaling_read_entity_linkless
| Function | Value | Mean | Flame graphs |
|---|---|---|---|
| entity_by_id | 10 entities | $$1.82 \mathrm{ms} \pm 7.65 \mathrm{μs}\left({\color{gray}-0.577 \mathrm{\%}}\right) $$ | Flame Graph |
| entity_by_id | 100 entities | $$2.00 \mathrm{ms} \pm 8.45 \mathrm{μs}\left({\color{gray}0.221 \mathrm{\%}}\right) $$ | Flame Graph |
| entity_by_id | 1000 entities | $$2.70 \mathrm{ms} \pm 10.2 \mathrm{μs}\left({\color{gray}-0.421 \mathrm{\%}}\right) $$ | Flame Graph |
| entity_by_id | 10000 entities | $$12.9 \mathrm{ms} \pm 148 \mathrm{μs}\left({\color{gray}-2.070 \mathrm{\%}}\right) $$ | Flame Graph |
| entity_by_id | 1 entities | $$1.82 \mathrm{ms} \pm 6.49 \mathrm{μs}\left({\color{gray}-0.159 \mathrm{\%}}\right) $$ | Flame Graph |