minerva 0.2.0

Causal ordering for distributed systems
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
extern crate std;

use crate::metis::VersionVector;
use std::hash::{Hash, Hasher};

mod difference;
mod lattice;
mod observation;
mod order;
mod restriction;

fn hash_of(v: &VersionVector) -> u64 {
    let mut h = std::collections::hash_map::DefaultHasher::new();
    v.hash(&mut h);
    h.finish()
}