martianbook 0.1.0

Transform ordinary Rust codebases into explainable execution artifacts.
Documentation
use std::sync::Mutex;
use once_cell::sync::Lazy;

use crate::schema::ExecutionNode;

pub struct Session {
    pub nodes:Vec<ExecutionNode>,
    pub counter:u32
}

pub static SESSION:Lazy<Mutex<Session>>=
Lazy::new(||{
    Mutex::new(
        Session{
            nodes:vec![],
            counter:0
        }
    )
});