VClock
VClock is an experimental vector clock implemented in Rust.
It offers a partial order of events in a distributed system. In practice, it implements the rust partial order trait over hash maps which maintain an integer count of each modification, per key.
Status
For now this is a toy project, clearly NOT suitable for production use.
Usage
use VClock;
let c1 = new; // c1 is now a:1
let mut c2 = new; // c2 is now b:1
c2.incr; // c1 is now a:1,b:1
assert!;
Links
License
VClock is licensed under the MIT license.