From 0ea8ea2bd68f47e2a88e42148f1e184987979383 Mon Sep 17 00:00:00 2001 From: Dunqing Date: Tue, 23 Jul 2024 15:56:42 +0800 Subject: [PATCH] Revert "chore: fix failed publish caused by cyclic dev dependencies " (#4419) Reverts oxc-project/oxc#4416 This trick doesn't work for crates that have circular dependencies on each other that all need to be published! --- crates/oxc_mangler/Cargo.toml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/crates/oxc_mangler/Cargo.toml b/crates/oxc_mangler/Cargo.toml index b808906b9a024..e5717b71d7068 100644 --- a/crates/oxc_mangler/Cargo.toml +++ b/crates/oxc_mangler/Cargo.toml @@ -28,9 +28,7 @@ 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_codegen = { workspace = true } oxc_parser = { workspace = true } oxc_span = { workspace = true } oxc_allocator = { workspace = true }