Open hadronized opened 5 years ago
The current code requires someone to depend on both spectra::app::runner
and spectra::resource::context
to build an application. Maybe we could lift that into spectra::app
directly? The idea is that:
The last point shows that we should accept a type as argument to runner builders and constraint them with the required traits.
spectra needs to log things. Logging is done by using a user-provided object that logs whatever spectra needs to. A trait is currently available in
spectra::logger
.Left to do:
Context
type containing it?