diff --git a/Cargo.toml b/Cargo.toml index 933f38c0ba..7dc8bb8dba 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -68,7 +68,7 @@ ansi_term = "0.12.1" tracing = { workspace = true } tracing-texray = { workspace = true } tracing-subscriber = { workspace = true, features = ["env-filter"] } -elsa = { version = "1.9.0", git = "https://github.com/lurk-lab/elsa", branch = "sync_index_map", features = ["indexmap"] } +elsa = { version = "1.9.0", git = "https://github.com/lurk-lab/elsa", branch = "sync_frozen", features = ["indexmap"] } arc-swap = "1.6.0" [target.'cfg(not(target_arch = "wasm32"))'.dependencies] diff --git a/src/hash.rs b/src/hash.rs index 95f0b49af6..9a89e13902 100644 --- a/src/hash.rs +++ b/src/hash.rs @@ -2,7 +2,7 @@ use std::hash::Hash; use std::sync::Arc; use crate::field::{FWrap, LurkField}; -use elsa::{sync::FrozenMap, sync_index_map::FrozenIndexMap}; +use elsa::{sync::FrozenMap, sync::index_map::FrozenIndexMap}; use generic_array::typenum::{U3, U4, U6, U8}; use neptune::{poseidon::PoseidonConstants, Poseidon}; diff --git a/src/lem/store.rs b/src/lem/store.rs index 0d21f9baf4..d82b36ba1f 100644 --- a/src/lem/store.rs +++ b/src/lem/store.rs @@ -2,7 +2,7 @@ use anyhow::{bail, Result}; use arc_swap::ArcSwap; use elsa::{ sync::{FrozenMap, FrozenVec}, - sync_index_set::FrozenIndexSet, + sync::index_set::FrozenIndexSet, }; use indexmap::IndexSet; use nom::{sequence::preceded, Parser}; diff --git a/src/store.rs b/src/store.rs index 5f32e1dcef..53065d6ec1 100644 --- a/src/store.rs +++ b/src/store.rs @@ -1,6 +1,6 @@ use arc_swap::ArcSwap; use elsa::sync::{FrozenMap, FrozenVec}; -use elsa::sync_index_set::FrozenIndexSet; +use elsa::sync::index_set::FrozenIndexSet; use once_cell::sync::OnceCell; use rayon::prelude::{IntoParallelRefIterator, ParallelIterator}; use std::fmt;