Skip to content

mhallin/vectorclock-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vector Clocks for Rust

https://travis-ci.org/mhallin/vectorclock-rs.svg?branch=master

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.

About

Vector clock implementation for distributed systems, in Rust

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages