Skip to content

Commit 3fc6ae2

Browse files
chore(indexer): update iota deps and dedupe the dependency graph (#1215)
* chore(indexer): update iota deps and dedupe the dependency graph Updating the unpinned `iotaledger/iota` git deps moved them from 0d0f52a to 748d3a8, which pulled in two upstream restructures and split two crates into duplicate copies. fastcrypto: iota now takes `fastcrypto` from crates.io (forced by `iota-sdk-crypto`, a published crate that pins `=0.1.11` from the registry) while `fastcrypto-tbls` stays on git, where it reaches fastcrypto through an in-repo path dep. Upstream added a `[patch]` for this, but Cargo only honors `[patch]` in the root manifest of a build, so it is not inherited by dependents. Repeat it here. iota-sdk-types: iota moved its `iota-rust-sdk` pin from e7af68b to 00c80ad while ours stayed, so the rev mismatch split the source in two. Bump ours to match. Two API changes came with the iota bump: - `iota_types::effects` no longer re-exports `TransactionEffects`; import it from `iota_sdk_ext::types` instead. This only type-checks because the iota-sdk-types copies were unified above. - `iota-metrics` switched from `prometheus` to the vendored `prometheus-filtered`, so `RegistryService::default_registry()` returns the wrapper type. Take a direct dep on `prometheus-filtered` and use its `Registry`; the metric types are re-exported from `prometheus` unchanged. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * fix deny * update nightly tag --------- Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
1 parent 14fdec3 commit 3fc6ae2

6 files changed

Lines changed: 1213 additions & 1634 deletions

File tree

.github/workflows/indexer.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
steps:
2121
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
2222

23-
- run: cargo +nightly-2026-01-07 fmt --check --manifest-path indexer/Cargo.toml
23+
- run: cargo +nightly-2026-08-09 fmt --check --manifest-path indexer/Cargo.toml
2424

2525
udeps:
2626
name: Check unused dependencies
@@ -30,7 +30,7 @@ jobs:
3030
steps:
3131
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
3232

33-
- run: cargo +nightly-2026-01-07 udeps --manifest-path indexer/Cargo.toml
33+
- run: cargo +nightly-2026-08-09 udeps --manifest-path indexer/Cargo.toml
3434

3535
deny-bans-licenses-sources:
3636
name: Cargo deny (bans, licenses, sources)

0 commit comments

Comments
 (0)