mirror of
https://github.com/fawney19/Aether.git
synced 2026-10-07 09:57:47 +08:00
refactor(workspace): enforce layered crate boundaries
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
use crate::config::ServiceRuntimeConfig;
|
||||
use crate::error::RuntimeBootstrapError;
|
||||
|
||||
pub fn init_service_runtime(config: ServiceRuntimeConfig) -> Result<(), RuntimeBootstrapError> {
|
||||
crate::tracing::init_tracing(config.clone())?;
|
||||
crate::metrics::init_metrics(config);
|
||||
Ok(())
|
||||
}
|
||||
Reference in New Issue
Block a user