remove unnecessary features from async-std & tokio

This commit is contained in:
MaxOhn
2021-05-07 12:44:10 +02:00
parent 10d42de58e
commit 67c6ad8d8e
7 changed files with 20 additions and 8 deletions
+2 -1
View File
@@ -68,7 +68,8 @@ fn fruits_sync() {
#[cfg(feature = "async_tokio")]
#[test]
fn fruits_async_tokio() {
tokio::runtime::Runtime::new()
tokio::runtime::Builder::new_current_thread()
.build()
.expect("could not start runtime")
.block_on(async {
for result in RESULTS {
+2 -1
View File
@@ -68,7 +68,8 @@ fn mania_sync() {
#[cfg(feature = "async_tokio")]
#[test]
fn mania_async_tokio() {
tokio::runtime::Runtime::new()
tokio::runtime::Builder::new_current_thread()
.build()
.expect("could not start runtime")
.block_on(async {
for result in RESULTS {
+2 -1
View File
@@ -82,7 +82,8 @@ fn osu_sync() {
#[cfg(feature = "async_tokio")]
#[test]
fn osu_async_tokio() {
tokio::runtime::Runtime::new()
tokio::runtime::Builder::new_current_thread()
.build()
.expect("could not start runtime")
.block_on(async {
for result in RESULTS {
+2 -1
View File
@@ -68,7 +68,8 @@ fn taiko_sync() {
#[cfg(feature = "async_tokio")]
#[test]
fn taiko_async_tokio() {
tokio::runtime::Runtime::new()
tokio::runtime::Builder::new_current_thread()
.build()
.expect("could not start runtime")
.block_on(async {
for result in RESULTS {