diff --git a/Cargo.lock b/Cargo.lock index 8d49c41c2..bd9841714 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -491,12 +491,6 @@ dependencies = [ "uuid", ] -[[package]] -name = "diff" -version = "0.1.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56254986775e3233ffa9c4d7d3faaf6d36a2c09d30b20687e9f88bc8bafc16c8" - [[package]] name = "digest" version = "0.10.7" @@ -1706,7 +1700,6 @@ dependencies = [ name = "oxc_semantic" version = "0.9.0" dependencies = [ - "bitflags 2.4.2", "indexmap", "insta", "itertools 0.12.1", @@ -1719,7 +1712,6 @@ dependencies = [ "oxc_syntax", "petgraph", "phf", - "pretty_assertions", "rustc-hash", "serde", "tsify", @@ -1982,16 +1974,6 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" -[[package]] -name = "pretty_assertions" -version = "1.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af7cee1a6c8a5b9208b3cb1061f10c0cb689087b3d8ce85fb9d2dd7a29b6ba66" -dependencies = [ - "diff", - "yansi 0.5.1", -] - [[package]] name = "proc-macro-crate" version = "1.3.1" @@ -2021,7 +2003,7 @@ dependencies = [ "quote", "syn 2.0.52", "version_check", - "yansi 1.0.0", + "yansi", ] [[package]] @@ -3207,12 +3189,6 @@ dependencies = [ "linked-hash-map", ] -[[package]] -name = "yansi" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09041cd90cf85f7f8b2df60c646f853b7f535ce68f85244eb6731cf89fa498ec" - [[package]] name = "yansi" version = "1.0.0" diff --git a/crates/oxc_minifier/Cargo.toml b/crates/oxc_minifier/Cargo.toml index 3c9f76890..8c312038d 100644 --- a/crates/oxc_minifier/Cargo.toml +++ b/crates/oxc_minifier/Cargo.toml @@ -38,3 +38,6 @@ oxc_codegen = { workspace = true } insta = { workspace = true } walkdir = { workspace = true } pico-args = { workspace = true } + +[package.metadata.cargo-machete] +ignored = ["insta", "walkdir"] diff --git a/crates/oxc_semantic/Cargo.toml b/crates/oxc_semantic/Cargo.toml index 32e64dd05..a488c3a2b 100644 --- a/crates/oxc_semantic/Cargo.toml +++ b/crates/oxc_semantic/Cargo.toml @@ -39,12 +39,10 @@ wasm-bindgen = { workspace = true, optional = true } oxc_parser = { workspace = true } itertools = { workspace = true } -bitflags = { workspace = true } indexmap = { workspace = true } insta = { workspace = true } phf = { workspace = true, features = ["macros"] } rustc-hash = { workspace = true } -pretty_assertions = "1.4.0" [features] default = [] diff --git a/napi/parser/Cargo.toml b/napi/parser/Cargo.toml index 6eba3eada..08058e939 100644 --- a/napi/parser/Cargo.toml +++ b/napi/parser/Cargo.toml @@ -40,4 +40,4 @@ napi-derive = { workspace = true } napi-build = "2" [package.metadata.cargo-machete] -ignored = ["napi"] +ignored = ["napi_build"]