make everything pub(crate) instead of pub
conduwuit is not a library Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
472c32f453
commit
66bb88a03a
135 changed files with 1366 additions and 1247 deletions
|
@ -1,25 +1,25 @@
|
|||
pub mod alias;
|
||||
pub mod auth_chain;
|
||||
pub mod directory;
|
||||
pub mod event_handler;
|
||||
pub mod lazy_loading;
|
||||
pub mod metadata;
|
||||
pub mod outlier;
|
||||
pub mod pdu_metadata;
|
||||
pub mod read_receipt;
|
||||
pub mod search;
|
||||
pub mod short;
|
||||
pub mod spaces;
|
||||
pub mod state;
|
||||
pub mod state_accessor;
|
||||
pub mod state_cache;
|
||||
pub mod state_compressor;
|
||||
pub mod threads;
|
||||
pub mod timeline;
|
||||
pub mod typing;
|
||||
pub mod user;
|
||||
pub(crate) mod alias;
|
||||
pub(crate) mod auth_chain;
|
||||
pub(crate) mod directory;
|
||||
pub(crate) mod event_handler;
|
||||
pub(crate) mod lazy_loading;
|
||||
pub(crate) mod metadata;
|
||||
pub(crate) mod outlier;
|
||||
pub(crate) mod pdu_metadata;
|
||||
pub(crate) mod read_receipt;
|
||||
pub(crate) mod search;
|
||||
pub(crate) mod short;
|
||||
pub(crate) mod spaces;
|
||||
pub(crate) mod state;
|
||||
pub(crate) mod state_accessor;
|
||||
pub(crate) mod state_cache;
|
||||
pub(crate) mod state_compressor;
|
||||
pub(crate) mod threads;
|
||||
pub(crate) mod timeline;
|
||||
pub(crate) mod typing;
|
||||
pub(crate) mod user;
|
||||
|
||||
pub trait Data:
|
||||
pub(crate) trait Data:
|
||||
alias::Data
|
||||
+ auth_chain::Data
|
||||
+ directory::Data
|
||||
|
@ -40,25 +40,25 @@ pub trait Data:
|
|||
{
|
||||
}
|
||||
|
||||
pub struct Service {
|
||||
pub alias: alias::Service,
|
||||
pub auth_chain: auth_chain::Service,
|
||||
pub directory: directory::Service,
|
||||
pub event_handler: event_handler::Service,
|
||||
pub lazy_loading: lazy_loading::Service,
|
||||
pub metadata: metadata::Service,
|
||||
pub outlier: outlier::Service,
|
||||
pub pdu_metadata: pdu_metadata::Service,
|
||||
pub read_receipt: read_receipt::Service,
|
||||
pub search: search::Service,
|
||||
pub short: short::Service,
|
||||
pub state: state::Service,
|
||||
pub state_accessor: state_accessor::Service,
|
||||
pub state_cache: state_cache::Service,
|
||||
pub state_compressor: state_compressor::Service,
|
||||
pub timeline: timeline::Service,
|
||||
pub threads: threads::Service,
|
||||
pub typing: typing::Service,
|
||||
pub spaces: spaces::Service,
|
||||
pub user: user::Service,
|
||||
pub(crate) struct Service {
|
||||
pub(crate) alias: alias::Service,
|
||||
pub(crate) auth_chain: auth_chain::Service,
|
||||
pub(crate) directory: directory::Service,
|
||||
pub(crate) event_handler: event_handler::Service,
|
||||
pub(crate) lazy_loading: lazy_loading::Service,
|
||||
pub(crate) metadata: metadata::Service,
|
||||
pub(crate) outlier: outlier::Service,
|
||||
pub(crate) pdu_metadata: pdu_metadata::Service,
|
||||
pub(crate) read_receipt: read_receipt::Service,
|
||||
pub(crate) search: search::Service,
|
||||
pub(crate) short: short::Service,
|
||||
pub(crate) state: state::Service,
|
||||
pub(crate) state_accessor: state_accessor::Service,
|
||||
pub(crate) state_cache: state_cache::Service,
|
||||
pub(crate) state_compressor: state_compressor::Service,
|
||||
pub(crate) timeline: timeline::Service,
|
||||
pub(crate) threads: threads::Service,
|
||||
pub(crate) typing: typing::Service,
|
||||
pub(crate) spaces: spaces::Service,
|
||||
pub(crate) user: user::Service,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue