arkworks-rs / crypto-primitives

Interfaces and implementations of cryptographic primitives, along with R1CS constraints for them
https://www.arkworks.rs
Apache License 2.0
175 stars 86 forks source link

`cargo build --features=r1cs --no-default-features` fails #51

Closed zhenfeizhang closed 3 years ago

zhenfeizhang commented 3 years ago

seems like this file relies on std. can be fixed with

use ark_std::vec::Vec;
zhenfeizhang commented 3 years ago

related to this, CI https://github.com/arkworks-rs/crypto-primitives/blob/3a83d9ff29f529b04c9f7862e1a2a6f15312df85/.github/workflows/ci.yml#L120 seems to missed the r1cs gate and did not check any of the constraint.rs

Pratyush commented 3 years ago

cc @weikengchen

weikengchen commented 3 years ago

Thanks for catching this. I will update soon