Skip to content

Commit

Permalink
perf(turbopack): Update rustc-hash from 1.1.0 to 2.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bgw committed Feb 3, 2025
1 parent 0138605 commit 0edd4df
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 18 deletions.
33 changes: 17 additions & 16 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ rayon = "1.10.0"
regex = "1.10.6"
reqwest = { version = "=0.11.17", default-features = false }
rstest = "0.16.0"
rustc-hash = "1.1.0"
rustc-hash = "2.1.0"
semver = "1.0.16"
serde = { version = "1.0.217", features = ["derive"] }
serde_json = "1.0.138"
Expand All @@ -201,6 +201,7 @@ smallvec = { version = "1.13.1", features = [
] }
sourcemap = "9.0.0"
strsim = "0.11.1"
swc-rustc-hash = { package = "rustc-hash", version = "1.1.0" } # used with swc
syn = "1.0.107"
tempfile = "3.3.0"
thread_local = "1.1.8"
Expand Down
1 change: 1 addition & 0 deletions crates/next-custom-transforms/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ once_cell = { workspace = true }
pathdiff = { workspace = true }
regex = "1.5"
rustc-hash = { workspace = true }
swc-rustc-hash = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true, features = ["preserve_order"] }
sha1 = "0.10.1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ struct State {

extra_stmts: Vec<Stmt>,

rename_map: FxHashMap<Id, Id>,
rename_map: swc_rustc_hash::FxHashMap<Id, Id>,

/// Ignored identifiers for `obj` of [MemberExpr].
ignored: FxHashSet<Id>,
Expand Down

0 comments on commit 0edd4df

Please sign in to comment.