bytesandbrains-core 0.2.2

Core traits and types for BytesAndBrains decentralized networking and ML protocols
Documentation
pub mod peer_id;
pub mod address;
pub mod peer;
pub mod embedding;
pub mod overlay;
pub mod peer_sampling;
pub mod codec;
pub mod op;
pub mod index;
pub mod pending_requests;
#[cfg(feature = "proto")]
pub mod proto;

pub use peer_id::PeerId;
pub use address::{Address, AddressBook};
pub use peer::Peer;
pub use overlay::{OverlayProtocol, Step, OutMessage};
pub use peer_sampling::PeerSampling;
pub use codec::Codec;
pub use op::{OpId, OpRef, NoopOpRef};
pub use index::Index;
pub use embedding::{
    Distance, Embedding, EmbeddingSpace,
    F32Distance, F32Embedding,
    F32L2Space, F32CosineSpace,
};
pub use pending_requests::{PendingRequestManager, InsertResult, RequestId, RequestKey, RequestTracker};