gnitz-core 0.1.4

Client core for the gnitz database: connection, protocol, client-side schema and batches
//! Unit tests live in `tests/<module>.rs`, attached with `#[path]` to the module
//! they cover, so each stays that module's own `tests` child and reaches its
//! private items.
//!
//! `src/tests/` holds those; the crate-root `tests/` beside `src/` is the
//! integration suite, gated on the `integration` feature.

mod client;
mod connection;
mod error;
mod mirror;
mod protocol;
mod rel_name;
#[cfg(test)]
mod test_support;

pub use client::{
    block_on, key_reply, not_found, retraction_batch, segment_id, serve, BlockingHost, BoxFut, FkTarget, GnitzClient,
    Host, IndexRow, InlineUniqueIndex, Job, Op, ParkHook, Pending, PlannedView, ViewBundle, MAX_CHAIN_SEGMENTS,
    RMW_MAX_ATTEMPTS,
};
pub use connection::{
    promise, DeltaCursor, Interest, Promise, RelDescriptor, Request, ScanReply, Sent, Session, Target, MAX_IN_FLIGHT,
    MAX_QUEUED_BYTES,
};
pub use error::ClientError;
pub use mirror::{Invalidate, MirrorError, MirrorStore, PollOutcome, PollResult};
pub use protocol::error::ProtocolError;
pub use protocol::message::{encode_ddl_txn, PushFamily};
pub(crate) use protocol::message::{encode_frame, encode_push_txn};
pub(crate) use protocol::transport::ClientTransport;
pub use protocol::types::{
    push_zero_cell, sys_schema, BatchAppender, BatchMark, PayloadColumn, PkColumn, Schema, ZSetBatch,
};
pub use protocol::wal_block::append_own_regions;
pub use rel_name::RelName;