hosting 0.1.0

Dependency injection and application hosting modeled on Microsoft.Extensions.Hosting
Documentation
1
2
3
4
5
6
7
8
use hosting::abstraction;

#[abstraction]
trait Sender<'a>: Send + Sync {
    fn send(&self, message: &'a str);
}

fn main() {}