From 6a5cb22451aa099ae3b0b5d64f091cf073caf1f1 Mon Sep 17 00:00:00 2001 From: Euclid Ye Date: Thu, 6 Feb 2025 17:16:51 +0800 Subject: [PATCH] malloc_size_of: enable sync in tokio (#35320) Signed-off-by: Euclid Ye --- components/malloc_size_of/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/malloc_size_of/Cargo.toml b/components/malloc_size_of/Cargo.toml index 69c6d4a870b..2f0db5627c5 100644 --- a/components/malloc_size_of/Cargo.toml +++ b/components/malloc_size_of/Cargo.toml @@ -31,7 +31,7 @@ style = { workspace = true } style_dom = { workspace = true } style_malloc_size_of = { workspace = true } thin-vec = { workspace = true } -tokio = { workspace = true } +tokio = { workspace = true, features = ["sync"] } url = { workspace = true } uuid = { workspace = true } webrender_api = { workspace = true }