arkworks-rs / crypto-primitives

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

Sort the imports and merge them #143

Open autquis opened 4 months ago

autquis commented 4 months ago

This PR sorts the imports by cargo fmt and merges them. Also, I removed some places that were using core and replaced them with ark_std. Please check if it is correct.

By the way, there is pub(crate) use ark_std::vec::Vec in lib.rs. I don't understand why we still have to import it when it is no-std? @mmagician


Before we can merge this PR, please make sure that all the following items have been checked off. If any of the checklist items are not applicable, please leave them but write a little note why.