35 lines
843 B
Rust
35 lines
843 B
Rust
//! tines-core: content-defined Observation identity and shared-memory core.
|
|
#![no_std]
|
|
|
|
#[cfg(feature = "alloc")]
|
|
extern crate alloc;
|
|
|
|
pub mod belief;
|
|
pub mod bloom;
|
|
pub mod consts;
|
|
pub mod exchange;
|
|
pub mod frag;
|
|
#[cfg(feature = "alloc")]
|
|
pub mod mem_store;
|
|
pub mod node;
|
|
pub mod observation;
|
|
pub mod store;
|
|
pub mod transport;
|
|
pub mod wire;
|
|
|
|
pub use belief::{BeliefPolicy, LatestWins, SelfFirst};
|
|
pub use bloom::Bloom;
|
|
pub use exchange::{Exchange, Peer};
|
|
pub use frag::{fragment, Reassembler};
|
|
pub use node::{Node, ObserveError};
|
|
pub use observation::{NodeId, Observation, ObservationId, Payload, Tick, Topic};
|
|
pub use store::{Store, StoreError, TrimPolicy};
|
|
pub use transport::{Event, FrameBuf, SendError, Transport};
|
|
pub use wire::{Frame, WireError};
|
|
|
|
#[cfg(feature = "alloc")]
|
|
pub use mem_store::MemStore;
|
|
|
|
#[cfg(test)]
|
|
extern crate std;
|