Prepare privacy crates for crates.io publishing#372
Conversation
Complete publish metadata for privacy-prove and privacy-circuit-verify (homepage, keywords, categories), add homepage to [workspace.package], and fix the publish script ordering so privacy-circuit-verify is published before privacy-prove (privacy-prove depends on it; the reverse edge is only a dev-dependency). Note: both crates depend on git revs of the stwo-circuits and stwo-cairo crate families, which must be published to crates.io first. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
PR SummaryLow Risk Overview Workspace:
Reviewed by Cursor Bugbot for commit 8f8c8f8. Bugbot is set up for automated code reviews on this repo. Configure here. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #372 +/- ##
==========================================
+ Coverage 60.39% 64.29% +3.89%
==========================================
Files 36 39 +3
Lines 5333 5613 +280
==========================================
+ Hits 3221 3609 +388
+ Misses 2112 2004 -108 🚀 New features to boost your workflow:
|
|
Superseding: re-basing this prep onto the exact revs pinned by proving-utils tag v0.14.3-rust-bump (to publish that snapshot). A replacement PR will follow. |
Summary
Prepares the privacy crates (
privacy-prove,privacy-circuit-verify) for publishing to crates.io.homepage.workspace = true,keywords,categories.homepageto[workspace.package]so all crates inherit it.privacy-circuit-verifynow publishes beforeprivacy-prove(privacy-prove depends on it; the reverse edge is a dev-dependency only, so no cycle). Final order:cairo-program-runner-lib → cairo-program-runner → privacy-circuit-verify → privacy-prove → stwo-vm-runner → stwo-run-and-prove.Both privacy crates pull the
stwo-circuitscrate family (circuit-*,circuits) and the stwo-cairo crates viagitrevs. Those must be published to crates.io first, then these git deps swapped for version deps.Also flagged for a follow-up: the
[workspace.dependencies]entries forcairo-program-runner-libandprivacy-circuit-verifyare pinnedversion = "1.0.0"while the crates carry1.2.2— reconcile before publishing.Final link in the chain: stwo 2.3.0 → stwo-cairo 1.3.0 → stwo-circuits 1.0.0 → proving-utils privacy crates.
🤖 Generated with Claude Code
This change is