Skip to content

chore: switch imt-tree to crates.io v0.1.0#11

Merged
czarcas7ic merged 1 commit into
adam/sean-comment-round-1from
adam/p6-p9-lockfile
Apr 10, 2026
Merged

chore: switch imt-tree to crates.io v0.1.0#11
czarcas7ic merged 1 commit into
adam/sean-comment-round-1from
adam/p6-p9-lockfile

Conversation

@czarcas7ic

Copy link
Copy Markdown
Collaborator

Summary

Context

Sean's review (P6) identified that imt-tree was unregistered on crates.io, creating a namesquatting/supply-chain risk. The mismatched git URL forms between voting-circuits (using ?branch=main) and librustvoting (using bare URL) also caused imt-tree to be double-compiled in the iOS SDK build. Switching both consumers to the crates.io version eliminates both issues.

Test plan

  • cargo update -p imt-tree cleanly swaps git dep to crates.io
  • cargo test — all 125 tests pass (121 unit + 4 integration, 3 row_budget ignored)

Replace the floating `branch = "main"` git dependency on
vote-nullifier-pir with the now-published crates.io version.
Eliminates the URL-form mismatch that caused imt-tree to be
double-compiled in the iOS SDK build (P4/P6).
@czarcas7ic czarcas7ic merged commit 045773b into adam/sean-comment-round-1 Apr 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants