auric-runtime 0.1.5

Runtime for the Ember-inspired Auric SPA framework
Documentation
1
2
3
4
5
6
7
8
9
10
use crate::Config;
use crate::data::Store;
use crate::routing::Router;
use std::sync::Arc;

pub trait Context {
    fn config(&self) -> &Config;
    fn router(&self) -> Arc<Router>;
    fn store(&self) -> Arc<Store>;
}