Skip to content

Commit 9ba9217

Browse files
refactor(bindgen): use upstream indexmap dep
1 parent 1c9ad29 commit 9ba9217

3 files changed

Lines changed: 1 addition & 4 deletions

File tree

Cargo.lock

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/js-component-bindgen/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ all-features = true
2828
anyhow = { workspace = true }
2929
base64 = { workspace = true, features = [ "alloc" ] }
3030
heck = { workspace = true }
31-
indexmap = "2"
3231
log = { workspace = true }
3332
semver = { workspace = true }
3433
wasm-encoder = { workspace = true }

crates/js-component-bindgen/src/core.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,12 @@
3838
3939
use std::collections::{HashMap, HashSet};
4040

41-
use indexmap::IndexMap;
42-
4341
use anyhow::{Result, bail};
4442
use wasm_encoder::{
4543
CodeSection, EntityType, ExportKind, ExportSection, Function, FunctionSection, ImportSection,
4644
Module, TypeSection,
4745
};
46+
use wasmparser::collections::IndexMap;
4847
use wasmparser::types::TypeIdentifier as _;
4948
use wasmparser::{
5049
Export, ExternalKind, FunctionBody, Import, Parser, Payload, TypeRef, Validator, VisitOperator,

0 commit comments

Comments
 (0)