Re-export itertools from tuwunel_core crate.
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
3
Cargo.lock
generated
3
Cargo.lock
generated
@@ -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",
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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::{
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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::{
|
||||
|
||||
@@ -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,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user