Re-export itertools from tuwunel_core crate.

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk
2026-01-18 13:19:08 +00:00
parent 6579df299a
commit b3f8118f0e
9 changed files with 7 additions and 11 deletions

3
Cargo.lock generated
View File

@@ -5151,7 +5151,6 @@ dependencies = [
"http-body-util",
"hyper",
"ipaddress",
"itertools 0.14.0",
"log",
"rand 0.8.5",
"reqwest",
@@ -5237,7 +5236,6 @@ dependencies = [
"criterion",
"ctor",
"futures",
"itertools 0.14.0",
"log",
"minicbor",
"minicbor-serde",
@@ -5309,7 +5307,6 @@ dependencies = [
"http",
"image",
"ipaddress",
"itertools 0.14.0",
"ldap3",
"log",
"loole",

View File

@@ -88,7 +88,6 @@ http.workspace = true
http-body-util.workspace = true
hyper.workspace = true
ipaddress.workspace = true
itertools.workspace = true
log.workspace = true
rand.workspace = true
reqwest.workspace = true

View File

@@ -3,7 +3,6 @@ use std::{collections::BTreeMap, net::IpAddr, time::Instant};
use axum::extract::State;
use axum_client_ip::InsecureClientIp;
use futures::{FutureExt, Stream, StreamExt, TryFutureExt, TryStreamExt};
use itertools::Itertools;
use ruma::{
CanonicalJsonObject, OwnedEventId, OwnedRoomId, OwnedUserId, RoomId, ServerName, UserId,
api::{
@@ -25,6 +24,7 @@ use tuwunel_core::{
Err, Error, Result, debug,
debug::INFO_SPAN_LEVEL,
debug_warn, err, error,
itertools::Itertools,
result::LogErr,
trace,
utils::{

View File

@@ -14,6 +14,7 @@ pub mod utils;
pub use ::arrayvec;
pub use ::http;
pub use ::itertools;
pub use ::jsonwebtoken as jwt;
pub use ::ruma;
pub use ::smallstr;

View File

@@ -57,7 +57,6 @@ async-channel.workspace = true
const-str.workspace = true
ctor.workspace = true
futures.workspace = true
itertools.workspace = true
log.workspace = true
minicbor.workspace = true
minicbor-serde.workspace = true

View File

@@ -4,9 +4,10 @@ use std::{
sync::{Arc, atomic::AtomicU32},
};
use itertools::Itertools;
use rocksdb::{ColumnFamilyDescriptor, Options};
use tuwunel_core::{Result, debug, debug_warn, implement, info, trace, warn};
use tuwunel_core::{
Result, debug, debug_warn, implement, info, itertools::Itertools, trace, warn,
};
use super::{
Db, Engine, cf_opts::cf_options, context, db_opts::db_options, descriptor,

View File

@@ -97,7 +97,6 @@ http.workspace = true
image.workspace = true
image.optional = true
ipaddress.workspace = true
itertools.workspace = true
ldap3.workspace = true
ldap3.optional = true
log.workspace = true

View File

@@ -1,7 +1,6 @@
use std::cmp;
use futures::{FutureExt, StreamExt};
use itertools::Itertools;
use ruma::{
OwnedUserId, RoomId, UserId,
events::{
@@ -11,6 +10,7 @@ use ruma::{
};
use tuwunel_core::{
Err, Result, debug, debug_info, debug_warn, error, info,
itertools::Itertools,
matrix::PduCount,
result::NotFound,
utils::{

View File

@@ -1,5 +1,4 @@
use futures::{Stream, StreamExt, stream::iter};
use itertools::Itertools;
use ruma::{
OwnedServerName, RoomId, ServerName,
events::{StateEventType, room::power_levels::RoomPowerLevelsEventContent},
@@ -7,6 +6,7 @@ use ruma::{
};
use tuwunel_core::{
Result, implement,
itertools::Itertools,
utils::{StreamTools, stream::TryIgnore},
warn,
};