parsec/gossip/
mod.rs

1// Copyright 2018 MaidSafe.net limited.
2//
3// This SAFE Network Software is licensed to you under The General Public License (GPL), version 3.
4// Unless required by applicable law or agreed to in writing, the SAFE Network Software distributed
5// under the GPL Licence is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
6// KIND, either express or implied. Please review the Licences for the specific language governing
7// permissions and limitations relating to use of the SAFE Network Software.
8
9mod abstract_event;
10mod cause;
11mod content;
12mod event;
13mod event_context;
14mod event_hash;
15mod event_utils;
16mod graph;
17mod messages;
18mod packed_event;
19
20#[cfg(any(test, feature = "testing", feature = "dump-graphs"))]
21pub(super) use self::cause::Cause;
22#[cfg(any(all(test, feature = "mock"), feature = "testing"))]
23pub(super) use self::event::CauseInput;
24#[cfg(any(all(test, feature = "mock"), feature = "dump-graphs"))]
25pub(super) use self::graph::snapshot::GraphSnapshot;
26pub(super) use self::{
27    abstract_event::AbstractEventRef,
28    event::Event,
29    event_context::EventContextRef,
30    graph::{EventIndex, Graph, IndexedEventRef},
31};
32pub use self::{
33    event_hash::EventHash,
34    messages::{Request, Response},
35    packed_event::PackedEvent,
36};