#![warn(missing_docs)]
#![allow(clippy::missing_errors_doc, clippy::module_name_repetitions)]
mod blob;
mod block;
pub mod bucket;
#[allow(dead_code)]
mod cache;
mod checksum;
mod codec;
mod compaction;
pub mod db;
mod durability;
pub mod error;
#[allow(dead_code)]
mod filter;
mod internal_key;
mod io;
pub mod iterator;
mod lsm;
mod manifest;
#[allow(dead_code)]
mod memtable;
#[allow(dead_code)]
mod mvcc;
pub mod options;
mod point_value;
pub mod prefix;
mod range_tombstone;
pub mod recovery;
pub mod runtime;
pub mod search;
pub mod snapshot;
pub mod stats;
mod storage;
mod table;
pub mod transaction;
pub mod types;
mod version;
mod wal;
pub mod write_batch;
pub use bucket::{Bucket, BucketName, BucketReader};
pub use db::{Db, IntoOpenOptions, MaintenanceBudget, MaintenanceOutcome};
pub use error::{Error, Result};
pub use iterator::{Direction, Iter, LazyIter, LazyKeyValue, LazyValue};
pub use mvcc::SnapshotSequence;
pub use options::{
BlobGcRatio, BlobLevelMergePolicy, BucketOptions, CompressionProfile, DbOptions,
DurabilityMode, FailOnCorruptionPolicy, FilterPolicy, HostStorageBackend, IndexSearchPolicy,
PrefixFilterPolicy, StorageMode, WriteOptions,
};
pub use point_value::PointValue;
pub use prefix::PrefixExtractor;
pub use recovery::RecoveryReport;
pub use runtime::{CancellationToken, RuntimeCapabilities, RuntimeMode, RuntimeOptions};
pub use snapshot::Snapshot;
pub use stats::DbStats;
pub use transaction::{Transaction, TransactionOptions};
pub use types::{CommitInfo, KeyRange, KeyValue, Sequence, Value};
pub use write_batch::WriteBatch;
#[cfg(test)]
mod persistent_wal_tests {
use crate as trine_kv;
include!("../tests/internal/persistent_wal.rs");
}