sids 1.0.3

An actor-model concurrency framework providing abstraction over async and blocking actors.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use env_logger::{Builder, Env};
use log::info;
use std::io::Error;

fn init_logger() {
    let env = Env::default().filter_or("MY_LOG_LEVEL", "info");
    Builder::from_env(env).init()
}

#[tokio::main]
async fn main() -> Result<(), Error> {
    init_logger();
    info!("Sending message to get actor reference");
    Ok(())
}