optimize with SmallString; consolidate related re-exports
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
ecc9099127
commit
b872f8e593
39 changed files with 113 additions and 96 deletions
|
@ -1,7 +1,7 @@
|
|||
use std::{net::IpAddr, sync::Arc, time::SystemTime};
|
||||
|
||||
use arrayvec::ArrayVec;
|
||||
use conduwuit::{
|
||||
arrayvec::ArrayVec,
|
||||
at, err, implement,
|
||||
utils::{math::Expected, rand, stream::TryIgnore},
|
||||
Result,
|
||||
|
|
|
@ -4,8 +4,7 @@ use std::{
|
|||
net::{IpAddr, SocketAddr},
|
||||
};
|
||||
|
||||
use arrayvec::ArrayString;
|
||||
use conduwuit::utils::math::Expected;
|
||||
use conduwuit::{arrayvec::ArrayString, utils::math::Expected};
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
#[derive(Clone, Debug, Deserialize, PartialEq, Eq, Serialize)]
|
||||
|
|
|
@ -6,8 +6,7 @@ mod tests;
|
|||
|
||||
use std::sync::Arc;
|
||||
|
||||
use arrayvec::ArrayString;
|
||||
use conduwuit::{utils::MutexMap, Result, Server};
|
||||
use conduwuit::{arrayvec::ArrayString, utils::MutexMap, Result, Server};
|
||||
|
||||
use self::{cache::Cache, dns::Resolver};
|
||||
use crate::{client, Dep};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue