mars-xlog
mars-xlog is the public Rust API for this repository's xlog implementation.
It provides:
- async and sync appenders
- zlib and zstd compression
- optional public-key encryption
- global appender helpers
tracing-subscriberintegration behind thetracingfeature
This crate is the intended entry point for Rust users.
MSRV
mars-xlog currently targets Rust 1.85 or newer.
Quick start
use ;
Feature flags
macros: enables thexlog!family of call-site macrostracing: enablesXlogLayerfortracing-subscribermetrics: emits runtime metrics via themetricscrate (requires a recorder)metrics-prometheus: enables the Prometheus recorder for bench/example usage
Scope
This crate is the release-facing Rust surface. Legacy C++ parity and benchmark support stay in the repository, but are not part of the intended default Rust integration path.
License
MIT. See the repository root LICENSE and NOTICE.