Services refactor
Replace structs of Dep<Service> with OnceServices, so each service has a Services reference Remove service name => Service map Flatten Services.rooms Make reqwest Clients lazy initialized (client service)
This commit is contained in:
@@ -27,7 +27,7 @@ pub mod transaction_ids;
|
||||
pub mod uiaa;
|
||||
pub mod users;
|
||||
|
||||
pub(crate) use service::{Args, Dep, Service};
|
||||
pub(crate) use service::{Args, Service};
|
||||
|
||||
pub use crate::services::Services;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user