From 78970d630991f9552e5cdd9b404b655bc612bc8f Mon Sep 17 00:00:00 2001 From: Yuki Kishimoto Date: Fri, 7 Jun 2024 11:10:00 -0400 Subject: [PATCH] sqlite: add `rt-multi-thread` feature to `tokio` Signed-off-by: Yuki Kishimoto --- crates/nostr-sqlite/Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/nostr-sqlite/Cargo.toml b/crates/nostr-sqlite/Cargo.toml index c761eb90a..512d73e38 100644 --- a/crates/nostr-sqlite/Cargo.toml +++ b/crates/nostr-sqlite/Cargo.toml @@ -17,9 +17,9 @@ nostr = { workspace = true, features = ["std"] } nostr-database = { workspace = true, features = ["flatbuf"] } rusqlite = { version = "0.31", features = ["bundled"] } thiserror.workspace = true -tokio = { workspace = true, features = ["sync"] } +tokio = { workspace = true, features = ["rt-multi-thread", "sync"] } tracing = { workspace = true, features = ["std", "attributes"] } [dev-dependencies] -tokio = { workspace = true, features = ["macros", "rt-multi-thread", "time"] } +tokio = { workspace = true, features = ["macros", "time"] } tracing-subscriber.workspace = true