#![doc=include_str!("../README.md")]
mod scope;
mod syndicate;
#[cfg(feature = "scope")]
pub use scope::scope;
#[cfg(feature = "log")]
pub use syndicate::{Publisher, SharedSubscription, Subscription, Syndicate};
use std::hash::Hash;
pub trait Compactable
where
Self::Key: Eq + Hash,
{
type Key;
fn compaction_key(&self) -> Self::Key;
}