Update dependencies

This commit is contained in:
Dominik Werder
2023-08-24 12:38:02 +02:00
parent 191d98bc5c
commit ab9a4d69ec
36 changed files with 420 additions and 471 deletions

View File

@@ -8,17 +8,14 @@ edition = "2021"
path = "src/commonio.rs"
[dependencies]
tokio = { version = "1.21.1", features = ["io-util", "net", "time", "fs"] }
tracing = "0.1"
futures-core = "0.3.15"
futures-util = "0.3.15"
bytes = "1"
serde = { version = "1", features = ["derive"] }
serde_derive = "1"
serde_json = "1"
chrono = "0.4"
async-channel = "1.8.0"
parking_lot = "0.11"
async-channel = "1.9.0"
parking_lot = "0.12"
crc32fast = "1.2"
err = { path = "../err" }
taskrun = { path = "../taskrun" }

View File

@@ -24,6 +24,7 @@ use std::path::PathBuf;
use std::sync::atomic::AtomicUsize;
use std::sync::atomic::Ordering;
use std::time::Instant;
use taskrun::tokio;
use tokio::fs::File;
use tokio::fs::OpenOptions;
use tokio::io::AsyncReadExt;

View File

@@ -1,8 +1,12 @@
use crate::{read, seek, StatsChannel};
use crate::read;
use crate::seek;
use crate::StatsChannel;
use err::Error;
use netpod::log::*;
use std::borrow::BorrowMut;
use std::fmt;
use std::{borrow::BorrowMut, io::SeekFrom};
use std::io::SeekFrom;
use taskrun::tokio;
use tokio::fs::File;
pub struct RingBuf<F> {