Skip to content

Conversation

@dannywillems
Copy link
Member

Summary

  • Add no-std feature to poly-commitment with prover/verifier split
  • SRS trait: verification methods (max_poly_size, blinding_commitment, size) available in no-std, prover methods require std
  • OpenProof trait: verify method available in no-std, open method requires std
  • Feature-gate std-only modules: combine, utils, ipa, kzg, lagrange_basis, precomputed_srs, hash_map_cache, pbt_srs
  • Update commitment.rs: core types available in no-std, EndoCurve and multi_scalar_mul require std
  • Add poly-commitment to CI no-std workflow

Fixes o1-labs/mina-rust#1990

Test plan

  • cargo check -p poly-commitment --features no-std --no-default-features passes
  • cargo check -p poly-commitment passes (std build)
  • cargo clippy passes for both modes

Add no-std support to poly-commitment with prover/verifier split:

- SRS trait: verification methods available in no-std, prover methods
  (commit, mask, create, etc.) require std
- OpenProof trait: verify method available in no-std, open method
  requires std
- Feature-gate std-only modules: combine, utils, ipa, kzg, lagrange_basis,
  precomputed_srs, hash_map_cache, pbt_srs
- Update commitment.rs: core types available in no-std, EndoCurve and
  multi_scalar_mul require std
- Add poly-commitment to CI no-std workflow

Fixes o1-labs/mina-rust#1990

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
@dannywillems dannywillems linked an issue Jan 6, 2026 that may be closed by this pull request
10 tasks
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.

Add no-std support to poly-commitment crate

2 participants