From 2aa08cdff67d626a0c55fadc7bcfe09af0de3eee Mon Sep 17 00:00:00 2001 From: Taylor Thomas Date: Fri, 27 Sep 2024 15:37:04 -0700 Subject: [PATCH] fix(common): Fix tokio dep enablement Signed-off-by: Taylor Thomas --- crates/wasm-pkg-common/Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/wasm-pkg-common/Cargo.toml b/crates/wasm-pkg-common/Cargo.toml index 3134111..8d4ee0a 100644 --- a/crates/wasm-pkg-common/Cargo.toml +++ b/crates/wasm-pkg-common/Cargo.toml @@ -10,7 +10,7 @@ readme = "../../README.md" [features] metadata-client = ["dep:reqwest"] -tokio = ["dep:tokio"] +tokio = ["tokio/io-util"] [dependencies] anyhow = { workspace = true } @@ -29,7 +29,7 @@ semver = { workspace = true } serde = { workspace = true } serde_json = { workspace = true } sha2 = { workspace = true } -tokio = { workspace = true, features = ["io-util", "fs"], optional = true } +tokio = { workspace = true, features = ["fs"] } toml = { workspace = true } thiserror = { workspace = true } tracing = { workspace = true }