From 39beb02bf50ef424d1bebd1d10cb6e7bdec9d8ed Mon Sep 17 00:00:00 2001 From: Blake Griffith Date: Tue, 22 Oct 2024 17:57:12 -0400 Subject: [PATCH] remove tokio dependency --- Cargo.toml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index d87fb1b..b629d16 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -39,7 +39,6 @@ futures = "0.3" crc32fast = "1" intmap = "2" moka = { version = "0.12", optional = true, features = ["sync"] } -tokio = { version = "1.27.0", features = ["rt", "sync"], optional = true} async-broadcast = { version = "0.7.1", optional = true } async-lock = {version = "3.4.0", optional = true } @@ -65,7 +64,7 @@ tracing-subscriber = { version = "0.3.16", features = ["env-filter", "fmt"] } default = ["tokio", "sparse"] replication = ["dep:async-broadcast", "dep:async-lock"] sparse = ["random-access-disk/sparse"] -tokio = ["dep:tokio", "random-access-disk/tokio"] +tokio = ["random-access-disk/tokio"] async-std = ["random-access-disk/async-std"] cache = ["moka"] # Used only in interoperability tests under tests/js-interop which use the javascript version of hypercore