Closed eightfilms closed 1 month ago
This is so nice! It simplifies the things a lot! There is a conflict with the main branch. Do you mind resolving it? Otherwise it looks all good to me.
@katat resolved - also made r1cs-bn254
the default for the run command
derive
ValueEnum
forBackendOpt
- we useclap
's builtin enum support to do validation and parsing.Also implement
From<BackendOpt> for BackendKind
to simplify the flow.Some screenshots:
Not specifying any backends:
cargo run -- run --backend
Mistyping a backend:
cargo run -- run --backend kimchi