1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// This module contains the definition of `Count`, `Actor` and `EventSet`
// traits.
mod traits;

// This module contains the implementation of a Max Set.
pub mod maxset;

// This module contains the implementation of an Above-Extra Set.
pub mod above_exset;

// This module contains the implementation of a Below-Exception Set.
pub mod below_exset;

// This module contains the implementation of a Clock.
pub mod clock;

// This module contains the implementation of a Multi Set.
pub mod multiset;

// This module contains the implementation of Threshold Clock.
pub mod tclock;

// Top-level re-exports.
pub use crate::above_exset::AboveExSet;
pub use crate::below_exset::BelowExSet;
pub use crate::clock::{AEClock, BEClock, Clock, Dot, VClock};
pub use crate::maxset::MaxSet;
pub use crate::multiset::MultiSet;
pub use crate::tclock::TClock;
pub use crate::traits::{Actor, Count, EventSet};

// Tests
#[cfg(test)]
mod tests;