indexedlog/
lib.rs

1/*
2 * Copyright (c) Meta Platforms, Inc. and affiliates.
3 *
4 * This source code is licensed under the MIT license found in the
5 * LICENSE file in the root directory of this source tree.
6 */
7
8#![allow(dead_code)]
9
10//! # Indexed Log
11//!
12//! Indexed Log provides an integrity-checked, append-only storage
13//! with index support.
14//!
15//! See [log::Log] for the main structure. The index can be used independently.
16//! See [index::Index] for details.
17
18#[macro_use]
19mod macros;
20
21pub mod base16;
22mod change_detect;
23pub mod config;
24mod errors;
25pub mod index;
26pub mod lock;
27pub mod log;
28pub mod multi;
29mod page_out;
30mod repair;
31pub mod rotate;
32pub mod utils;
33
34#[cfg(all(unix, feature = "sigbus-handler"))]
35mod sigbus;
36
37pub use errors::Error;
38pub use errors::Result;
39pub use repair::DefaultOpenOptions;
40pub use repair::OpenWithRepair;
41pub use repair::Repair;
42
43#[cfg(test)]
44dev_logger::init!();