privacy-scaling-explorations / mpz

Multi-party computation libraries written in Rust 🦀
182 stars 39 forks source link

Replace usage of `gen` prior to next Rust edition #180

Open sinui0 opened 1 week ago

sinui0 commented 1 week ago

The keyword gen is being reserved and we use it various places related to a garbled circuit generator. We must replace our usage.

heeckhau commented 1 week ago

You can make Clippy flag this with:

RUSTFLAGS="-D keyword_idents_2024" cargo clippy
heeckhau commented 1 week ago

Cargo clippy has an automatic fix:

RUSTFLAGS="-D keyword_idents_2024" cargo clippy --fix