datadot 0.0.1

A Data Dot is a micro executable that acts on its specified data point that is defined at start up, join a cluster, and interact with the colony.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#[macro_export]
macro_rules! update_datapoint {
    ( $d: ident, $u: ident ) => {
        {
            use json::JsonValue;

            let mut data = $d.clone();
            let mut dat= json::JsonValue::new_array();

            for byt in $u{
                dat.push(*byt as u64);
            }

            data["data"] = dat;
            data.clone()
        }
    }
}