#![cfg_attr(
test,
allow(
clippy::unwrap_used,
clippy::expect_used,
clippy::as_conversions,
clippy::arithmetic_side_effects,
clippy::panic
)
)]
mod batch;
mod error;
mod log;
mod manifest;
mod seal;
mod table;
mod varint;
pub use batch::{BatchEntry, WriteBatch};
pub use error::{Error, Result};
pub use log::{
EndKind, FRAME_HEADER_BYTES, FrameReader, LogEnd, LogRead, concat_checksum, encode_frame,
frame_bytes, frame_header, payload_checksum,
};
pub use manifest::{KeyspaceRecord, ManifestEdit, TableMeta, TableRef, peek_store_format};
pub use seal::{
Cipher, FileKind, FileSealer, HEADER_BYTES as SEAL_HEADER_BYTES, ROOT_KEY_BYTES, RootKey,
SealHeader, TAG_BYTES as SEAL_TAG_BYTES,
};
pub use table::block::{Block, BlockBuilder, BlockIter, Compare};
pub use table::filter::{BloomBuilder, BloomFilter, hash as key_hash};
pub use table::{
BlockHandle, BlockSource, Compression, FOOTER_BYTES, OpenError, Table, TableBuilder, TableIter,
TableOptions, unseal_block,
};