p2panda_stream/
lib.rs

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