Boot hashbrown (#5505)

As of Rust 1.36.0, hashbrown now implements the HashMap in std (which
implements HashSet).

https://blog.rust-lang.org/2019/07/04/Rust-1.36.0.html#a-new-hashmapk,-v%3E-implementation
This commit is contained in:
Greg Fitzgerald
2019-08-12 16:46:49 -06:00
committed by GitHub
parent 687818aad6
commit a43922ccbf
11 changed files with 5 additions and 25 deletions

View File

@@ -9,7 +9,6 @@ homepage = "https://solana.com/"
edition = "2018"
[dependencies]
hashbrown = "0.5.0"
solana-bpf-loader-api = { path = "../programs/bpf_loader_api", version = "0.18.0-pre1" }
solana-bpf-loader-program = { path = "../programs/bpf_loader_program", version = "0.18.0-pre1" }
solana-budget-api= { path = "../programs/budget_api", version = "0.18.0-pre0" }

View File

@@ -35,7 +35,7 @@ pub fn get() -> Vec<(String, Pubkey)> {
#[cfg(test)]
mod tests {
use hashbrown::HashSet;
use std::collections::HashSet;
#[test]
fn test_id_uniqueness() {