1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
//! Core building blocks for the Rust-native xlog engine.
//!
//! `mars-xlog-core` is the implementation layer behind the top-level
//! `mars-xlog` crate. Most external users should start with `mars-xlog` unless
//! they are intentionally composing lower-level buffer, protocol, or appender
//! primitives.
/// Append engine, flush control, and async pending-block primitives.
/// Persistent mmap-backed buffer and recovery helpers.
/// Compression helpers and streaming compressor implementations.
/// ECDH+TEA encryption helpers.
/// Xlog file decoder for Mars-compatible log files.
/// Human-readable dump utilities for log buffers.
/// File lifecycle, cache movement, and active log append helpers.
/// Line formatter used by the Rust runtime path.
/// Thin mmap storage wrapper used by persistent buffers.
/// One-shot flush path used to drain mmap/cache state into log files.
/// Platform console forwarding helpers.
/// Platform thread id helpers.
/// Protocol constants and header helpers.
/// Log record model used by formatter and runtime paths.
/// Instance registry helpers.