diff --git a/Cargo.lock b/Cargo.lock index a0122e94c9516..1c37b43f79237 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1563,9 +1563,13 @@ dependencies = [ name = "oxc_mangler" version = "0.21.0" dependencies = [ + "insta", "itertools 0.13.0", + "oxc_allocator", "oxc_ast", + "oxc_codegen", "oxc_index", + "oxc_parser", "oxc_semantic", "oxc_span", ] diff --git a/crates/oxc_mangler/Cargo.toml b/crates/oxc_mangler/Cargo.toml index 3a8d3819cc8c2..b808906b9a024 100644 --- a/crates/oxc_mangler/Cargo.toml +++ b/crates/oxc_mangler/Cargo.toml @@ -26,3 +26,12 @@ oxc_ast = { workspace = true } oxc_semantic = { workspace = true } oxc_index = { workspace = true } itertools = { workspace = true } + +[dev-dependencies] +# Using `path` instead of `workspace = true` Workaround for https://github.com/rust-lang/cargo/issues/4242 +# ref: https://github.com/rust-lang/futures-rs/pull/2305 +oxc_codegen = { path = "../oxc_codegen" } +oxc_parser = { workspace = true } +oxc_span = { workspace = true } +oxc_allocator = { workspace = true } +insta = { workspace = true }