mirror of
https://mirror.ghproxy.com/https://github.com/StarCitizenToolBox/app.git
synced 2024-12-23 00:33:42 +08:00
feat: rm async-std , use futures
This commit is contained in:
parent
24313ab3b8
commit
155c8a0564
@ -13,8 +13,8 @@ crate-type = ["cdylib", "staticlib"]
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
flutter_rust_bridge = "=2.0.0-dev.33"
|
flutter_rust_bridge = "=2.0.0-dev.33"
|
||||||
tokio = { version = "1", features = ["rt", "rt-multi-thread", "macros", "process"] }
|
tokio = { version = "1", features = ["rt", "rt-multi-thread", "macros", "process"] }
|
||||||
|
futures = { version = "0.3", default-features = false, features = ["executor"] }
|
||||||
url = "2.5"
|
url = "2.5"
|
||||||
async-std = "1.12"
|
|
||||||
once_cell = "1.19"
|
once_cell = "1.19"
|
||||||
reqwest = { version = "0.12", features = ["rustls-tls-webpki-roots", "cookies", "gzip", "json", "stream"] }
|
reqwest = { version = "0.12", features = ["rustls-tls-webpki-roots", "cookies", "gzip", "json", "stream"] }
|
||||||
hickory-resolver = { version = "0.24" }
|
hickory-resolver = { version = "0.24" }
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
use std::collections::HashMap;
|
use std::collections::HashMap;
|
||||||
use std::sync::Arc;
|
use std::sync::Arc;
|
||||||
|
use futures::executor::block_on;
|
||||||
use async_std::task::block_on;
|
|
||||||
use once_cell::sync::Lazy;
|
use once_cell::sync::Lazy;
|
||||||
use scopeguard::defer;
|
use scopeguard::defer;
|
||||||
use tokio::io::AsyncBufReadExt;
|
use tokio::io::AsyncBufReadExt;
|
||||||
|
Loading…
Reference in New Issue
Block a user