minerva 0.2.0

Causal ordering for distributed systems
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! The studio: a minimal collaborative text editor composed entirely from the
//! crate's shipped materials, assembled as tests (S110). The composition is a
//! probe: it measures where the shipped parts fit and where they chafe, so the
//! `measurements_report` test and the slice's returned report can drive the
//! next round of design. No production code is touched; the editor lives here.

mod blocks;
mod editor;
mod measurements;
mod sessions;

/// A dot literal, for the probes that spell an identity by hand. Panics on
/// the non-dot counter zero, which no scenario here means to name.
fn d(station: u32, counter: u64) -> crate::metis::Dot {
    crate::metis::Dot::from_parts(station, counter).expect("a test literal names a real dot")
}