p2panda_stream/lib.rs
1// SPDX-License-Identifier: MIT OR Apache-2.0
2
3//! Stream-based methods to conveniently handle p2panda operations.
4//!
5//! `p2panda-stream` is a collection of various methods which help to decode, validate, order,
6//! prune or store p2panda operations. More methods are planned in the future.
7//!
8//! With the stream-based design it is easy to "stack" these methods on top of each other,
9//! depending on the requirements of the application (or each "topic" data stream). Like this a
10//! user can decide if they want to persist data or keep it "ephemeral", apply automatic pruning
11//! techniques for outdated operations etc.
12mod macros;
13pub mod operation;
14mod stream;
15#[cfg(test)]
16mod test_utils;
17
18pub use stream::*;