auric-runtime 0.1.3

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

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