vectorclock-rs 0.0.1

Vector clock implementation for distributed systems
Documentation
  • Coverage
  • 0%
    0 out of 2 items documented0 out of 0 items with examples
  • Size
  • Source code size: 6.56 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.37 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • Homepage
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • mhallin

Vector Clocks for Rust


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

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:

.. code:: 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.

.. _Vector Clock: http://en.wikipedia.org/wiki/Vector_clock .. _clock.rs: src/clock.rs