Crate causal_length

Crate causal_length 

Source
Expand description

CRDT’s based on “A Low-Cost Set CRDT Based on Causal Lengths” combined with an optional tag. The tag can be any type that satisfies Ord + Copy. A simple integer, wall clock, lamport timestamp, or even a hybrid logical clock from “Logical Physical Clocks and Consistent Snapshots in Globally Distributed Databases” may be used.

Re-exports§

pub use self::map::*;
pub use self::register::*;
pub use self::set::*;

Modules§

map
Causal length Map
register
Causal length Register
set
Causal length Set

Traits§

CausalLength
CausalLength is abstracted to allow any of Rust’s integer types to be used.
Key
Key type used in the CRDTs
TagT
Tag type used in the CRDTs
Value
Value type used in the CRDTs