mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-16 23:31:24 +01:00
remove pointless pub(crate) and use self::
And also fix the ordering of things in state_compressor.
This commit is contained in:
parent
c7e03a06f7
commit
0643a3f081
3 changed files with 8 additions and 6 deletions
|
|
@ -11,7 +11,7 @@ use tracing::warn;
|
|||
|
||||
mod proxy;
|
||||
|
||||
use self::proxy::ProxyConfig;
|
||||
use proxy::ProxyConfig;
|
||||
|
||||
#[allow(clippy::struct_excessive_bools)]
|
||||
#[derive(Clone, Debug, Deserialize)]
|
||||
|
|
|
|||
|
|
@ -40,8 +40,8 @@ use tower_http::{
|
|||
};
|
||||
use tracing::{debug, info, info_span, warn, Instrument};
|
||||
|
||||
pub(crate) mod api;
|
||||
pub(crate) mod clap;
|
||||
mod api;
|
||||
mod clap;
|
||||
mod config;
|
||||
mod database;
|
||||
mod error;
|
||||
|
|
|
|||
|
|
@ -1,20 +1,22 @@
|
|||
pub(crate) mod data;
|
||||
use std::{
|
||||
collections::HashSet,
|
||||
mem::size_of,
|
||||
sync::{Arc, Mutex},
|
||||
};
|
||||
|
||||
pub(crate) use data::Data;
|
||||
use lru_cache::LruCache;
|
||||
use ruma::{EventId, RoomId};
|
||||
|
||||
use self::data::StateDiff;
|
||||
use crate::{
|
||||
observability::{FoundIn, Lookup, METRICS},
|
||||
services, utils, Result,
|
||||
};
|
||||
|
||||
pub(crate) mod data;
|
||||
|
||||
pub(crate) use data::Data;
|
||||
use data::StateDiff;
|
||||
|
||||
#[derive(Clone)]
|
||||
pub(crate) struct CompressedStateLayer {
|
||||
pub(crate) shortstatehash: u64,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue