fix: replace futures dependency with futures-util

This commit is contained in:
ThetaDev 2024-12-01 22:24:00 +01:00
parent 72d46ee45b
commit 5c39bf4842
No known key found for this signature in database
GPG key ID: E319D3C5148D65B6
12 changed files with 12 additions and 12 deletions

View file

@ -12,7 +12,7 @@ publish = false
rustypipe = { path = "../" }
reqwest.workspace = true
tokio = { workspace = true, features = ["rt-multi-thread"] }
futures.workspace = true
futures-util.workspace = true
serde.workspace = true
serde_json.workspace = true
serde_with.workspace = true

View file

@ -1,7 +1,7 @@
use std::collections::BTreeMap;
use anyhow::{bail, Result};
use futures::{stream, StreamExt};
use futures_util::{stream, StreamExt};
use indicatif::{ProgressBar, ProgressStyle};
use num_enum::TryFromPrimitive;
use once_cell::sync::Lazy;

View file

@ -1,6 +1,6 @@
use std::{collections::BTreeMap, fs::File, io::BufReader};
use futures::stream::{self, StreamExt};
use futures_util::stream::{self, StreamExt};
use path_macro::path;
use rustypipe::{
client::{ClientType, RustyPipe, RustyPipeQuery},

View file

@ -6,7 +6,7 @@ use std::{
};
use anyhow::{Context, Result};
use futures::{stream, StreamExt};
use futures_util::{stream, StreamExt};
use once_cell::sync::Lazy;
use path_macro::path;
use regex::Regex;

View file

@ -5,7 +5,7 @@ use std::{
io::BufReader,
};
use futures::{stream, StreamExt};
use futures_util::{stream, StreamExt};
use ordered_hash_map::OrderedHashMap;
use path_macro::path;
use rustypipe::{

View file

@ -3,7 +3,7 @@ use std::{
fs::File,
};
use futures::{stream, StreamExt};
use futures_util::{stream, StreamExt};
use path_macro::path;
use rustypipe::{
client::{RustyPipe, RustyPipeQuery},

View file

@ -5,7 +5,7 @@ use std::{
};
use anyhow::Result;
use futures::{stream, StreamExt};
use futures_util::{stream, StreamExt};
use path_macro::path;
use rustypipe::{
client::{ClientType, RustyPipe, RustyPipeQuery},