mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-18 08:11:24 +01:00
fix mod/use order
Yes, it does actually bother me, thanks for asking.
This commit is contained in:
parent
287f6b9163
commit
5a490a4397
30 changed files with 83 additions and 50 deletions
|
|
@ -1,4 +1,3 @@
|
|||
mod data;
|
||||
use std::{
|
||||
collections::{BTreeMap, HashMap},
|
||||
error::Error as StdError,
|
||||
|
|
@ -15,7 +14,6 @@ use std::{
|
|||
};
|
||||
|
||||
use base64::{engine::general_purpose, Engine as _};
|
||||
pub(crate) use data::{Data, SigningKeys};
|
||||
use futures_util::FutureExt;
|
||||
use hyper::service::Service as _;
|
||||
use hyper_util::{
|
||||
|
|
@ -48,6 +46,10 @@ use crate::{
|
|||
Config, Error, Result,
|
||||
};
|
||||
|
||||
mod data;
|
||||
|
||||
pub(crate) use data::{Data, SigningKeys};
|
||||
|
||||
type WellKnownMap = HashMap<OwnedServerName, (FedDest, String)>;
|
||||
type TlsNameMap = HashMap<String, (Vec<IpAddr>, u16)>;
|
||||
// Time if last failed try, number of failed tries
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue