ruvel 0.1.3

The laravel alternative framework with rust performance
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use std::collections::HashMap;

/// The IoC Container
#[derive(Default)]
pub struct Container {
    // We will build TypeId + Arc bindings here later
    pub bindings: HashMap<String, String>,
}

impl Container {
    pub fn new() -> Self {
        Self {
            bindings: HashMap::new(),
        }
    }
}