toposware / frost

A fork of frost-dalek, made WASM compatible, and upgraded to Static ICE-FROST
BSD 3-Clause "New" or "Revised" License
14 stars 2 forks source link

Remove hashbrown by moving from HashMap to BTreeMap? #15

Closed Nashtare closed 2 years ago

Nashtare commented 3 years ago

This commit inserted hashbrown in the dependencies of this crate to be able to fully compile in no-std (previously blocked by the use of std::collections::HashMap).

Using BTreeMap instead of HashMap would allow us to use alloc::collections::BTreeMap directly, and then remove the need for an external extra dependency. This would also make us able to have by default ordering on the participants during the signing phase