fix: use my own tokio

This commit is contained in:
uku 2025-05-19 22:06:13 +02:00
parent 3315b38806
commit 7742bc9361
Signed by: uku
SSH key fingerprint: SHA256:4P0aN6M8ajKukNi6aPOaX0LacanGYtlfjmN+m/sHY/o
4 changed files with 9 additions and 8 deletions

1
Cargo.lock generated
View file

@ -2406,6 +2406,7 @@ dependencies = [
"rfd",
"serde",
"serde_json",
"tokio",
"tokio-util",
"toml",
"tracing",

View file

@ -13,6 +13,7 @@ reqwest = { version = "0.12.15", default-features = false, features = ["http2",
rfd = { version = "0.15.3", default-features = false, features = ["tokio", "xdg-portal"] }
serde = { version = "1.0.219", features = ["derive"] }
serde_json = "1.0.140"
tokio = { version = "1.45.0", features = ["fs", "io-util", "process"] }
tokio-util = { version = "0.7.15", features = ["io"] }
toml = "0.8.22"
tracing = "0.1.41"

View file

@ -5,13 +5,11 @@ use std::{
use color_eyre::eyre::{ContextCompat, Result, bail};
use futures::channel::oneshot;
use relm4::{
Sender,
tokio::{
self,
io::{AsyncBufReadExt, BufReader},
process::Command,
},
use relm4::Sender;
use tokio::{
self,
io::{AsyncBufReadExt, BufReader},
process::Command,
};
use crate::ProgressMessage;

View file

@ -2,12 +2,13 @@ use std::{path::Path, sync::LazyLock};
use color_eyre::eyre::{Result, bail};
use futures::StreamExt;
use relm4::{Sender, tokio::fs::File};
use relm4::Sender;
use reqwest::{
Body, Client, StatusCode,
header::AUTHORIZATION,
multipart::{Form, Part},
};
use tokio::fs::File;
use tokio_util::io::ReaderStream;
use crate::{Config, ProgressMessage};