Skip to content

Commit

Permalink
fix(security): update hashbrown dependency to 0.15.2 (#342)
Browse files Browse the repository at this point in the history
* update deps

* fix format

* fix format

* revert without &

---------

Co-authored-by: Roman Kolesnikov <[email protected]>
  • Loading branch information
quanterion and ms-rkolesnikov authored Dec 30, 2024
1 parent 1458b82 commit 30c9ec1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ version = "0.9.5"
[dependencies]
env_logger = { version = "0.9.0", default-features = false }
fxhash = "0.2.1"
hashbrown = "0.12.1"
indexmap = "1.8.1"
hashbrown = "0.15.2"
indexmap = "2.7.0"
quanta = "0.12"
log = "0.4.17"
smallvec = { version = "1.8.0", features = ["union", "const_generics"] }
symbol_table = { version = "0.2.0", features = ["global"] }
symbol_table = { version = "0.4.0", features = ["global"] }
symbolic_expressions = "5.0.3"
thiserror = "1.0.31"
num-bigint = "0.4"
Expand All @@ -45,7 +45,7 @@ lp = ["coin_cbc"]
reports = ["serde-1", "serde_json"]
serde-1 = [
"serde",
"indexmap/serde-1",
"indexmap/serde",
"hashbrown/serde",
"symbol_table/serde",
"vectorize",
Expand Down
2 changes: 1 addition & 1 deletion src/egraph.rs
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ impl<L: Language, N: Analysis<L>> EGraph<L, N> {
&self,
op: &L::Discriminant,
) -> Option<impl ExactSizeIterator<Item = Id> + '_> {
self.classes_by_op.get(&op).map(|s| s.iter().copied())
self.classes_by_op.get(op).map(|s| s.iter().copied())
}

/// Exposes the actual nodes in the egraph.
Expand Down

0 comments on commit 30c9ec1

Please sign in to comment.