chore: replace async-std with tokio (#813)
Signed-off-by: Zomatree <me@zomatree.live>
This commit is contained in:
@@ -14,7 +14,7 @@ redis-is-patched = []
|
||||
|
||||
[dev-dependencies]
|
||||
# Async
|
||||
async-std = { workspace = true, features = ["attributes"] }
|
||||
tokio = { workspace = true }
|
||||
|
||||
# Config for loading Redis URI
|
||||
revolt-config = { workspace = true }
|
||||
@@ -26,4 +26,4 @@ rand = { workspace = true }
|
||||
once_cell = { workspace = true }
|
||||
|
||||
# Redis
|
||||
redis-kiss = { workspace = true }
|
||||
redis-kiss = { workspace = true, default-features = false, features = ["tokio-runtime"] }
|
||||
|
||||
@@ -195,7 +195,7 @@ mod tests {
|
||||
use crate::{clear_region, create_session, delete_session, filter_online, is_online};
|
||||
use rand::Rng;
|
||||
|
||||
#[async_std::test]
|
||||
#[tokio::test]
|
||||
async fn it_works() {
|
||||
revolt_config::config().await;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user