1 unstable release
Uses old Rust 2015
0.0.1 | Apr 6, 2015 |
---|
#118 in #clock
6KB
126 lines
Vector Clocks for Rust
A Vector Clock is a data structure and algorithm for detecting partial ordering of events in distributed systems. This is an implementation for Rust.
Usage
Add vectorclock to your Cargo.toml:
[dependencies] vectorclock = "*"
The data structure is contained in the VectorClock<HostType> generic struct. You specialize this struct based on how you identify your processes, via IP addresses, usernames, Uuids, or anything else.
Look at the tests in clock.rs for usage examples.