Skip to content
This repository was archived by the owner on Aug 3, 2026. It is now read-only.

chore: cargo fmt - #681

Merged
smtmfft merged 1 commit into
mainfrom
cargo-fmt
Mar 16, 2026
Merged

chore: cargo fmt#681
smtmfft merged 1 commit into
mainfrom
cargo-fmt

Conversation

@smtmfft

@smtmfft smtmfft commented Mar 16, 2026

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings March 16, 2026 08:48

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR is labeled as a formatting pass (cargo fmt) and primarily updates Rust code formatting and import ordering across several prover crates and core/library modules.

Changes:

  • Reformat Rust code to match cargo fmt output (line wrapping, indentation, whitespace).
  • Normalize use ordering in several prover modules.
  • Reformat generated RISC0 method constants to multi-line include_bytes!/array layouts.

Reviewed changes

Copilot reviewed 12 out of 13 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
provers/sp1/driver/src/lib.rs Formatting-only changes (import ordering, closure formatting, line wrapping).
provers/sgx/prover/src/sgx_register_utils.rs Formats a long assert! into multi-line form.
provers/sgx/prover/src/lib.rs Formats a match arm into a block for line-length compliance.
provers/risc0/driver/src/snarks.rs Reorders use hex; to satisfy formatting/import grouping.
provers/risc0/driver/src/methods/boundless_shasta_aggregation.rs Reformats constants for include_bytes! and ID array.
provers/risc0/driver/src/methods/boundless_batch.rs Reformats constants for include_bytes! and ID array.
provers/risc0/driver/src/methods/boundless_aggregation.rs Reformats constants for include_bytes! and ID array.
provers/risc0/driver/src/lib.rs Formatting-only changes (import ordering, whitespace).
provers/risc0/driver/src/boundless.rs Mostly formatting; also changes load_proof implementation (see PR comment).
lib/src/utils/shasta_rules.rs Formats a return call onto one line.
lib/src/manifest/mod.rs Reorders module declarations and re-exports.
core/src/provider/mod.rs Trailing whitespace/newline formatting at file end.
core/src/interfaces.rs Formats write! arguments onto one line.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread provers/risc0/driver/src/boundless.rs
@smtmfft
smtmfft enabled auto-merge March 16, 2026 14:33
@smtmfft
smtmfft added this pull request to the merge queue Mar 16, 2026
Merged via the queue into main with commit 6250c6e Mar 16, 2026
24 of 25 checks passed
@smtmfft
smtmfft deleted the cargo-fmt branch March 16, 2026 14:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants