yadi 1.0.0-alpha

YaDI is yet another dependency injection framework for writing applications with the Rust programming language
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
pub struct Tag<'a>(&'a str);

impl<'a> Tag<'a> {
    pub fn new(raw_tag: &'a str) -> Self {
        Self(raw_tag)
    }
}

impl<'a> From<&'a str> for Tag<'a> {
    fn from(value: &'a str) -> Self {
        Self::new(value)
    }
}