From a46dcc70658b67bd6e9471645dffd8adb7735833 Mon Sep 17 00:00:00 2001 From: Yusuke Tanaka Date: Wed, 18 Dec 2024 11:06:15 +0900 Subject: [PATCH] chore(deno_resolver): make sync feature of transitive deps optional --- resolvers/deno/Cargo.toml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/resolvers/deno/Cargo.toml b/resolvers/deno/Cargo.toml index a7273c7e73837f..a1fff6b1a76f77 100644 --- a/resolvers/deno/Cargo.toml +++ b/resolvers/deno/Cargo.toml @@ -14,7 +14,7 @@ description = "Deno resolution algorithm" path = "lib.rs" [features] -sync = ["dashmap"] +sync = ["dashmap", "deno_package_json/sync", "node_resolver/sync"] [dependencies] anyhow.workspace = true @@ -24,11 +24,9 @@ dashmap = { workspace = true, optional = true } deno_config.workspace = true deno_media_type.workspace = true deno_package_json.workspace = true -deno_package_json.features = ["sync"] deno_path_util.workspace = true deno_semver.workspace = true node_resolver.workspace = true -node_resolver.features = ["sync"] thiserror.workspace = true url.workspace = true