Commit 3fc6ae2
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
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
0 commit comments