Skip to main content

Crate munin_msbuild

Crate munin_msbuild 

Source
Expand description

Munin — MSBuild binary log (.binlog) reader and seekable data model.

This crate reads and decodes the MSBuild binary log format, providing both sequential streaming access and a seekable indexed data model over the build events recorded in a .binlog file.

The binary log format is a GZip-compressed stream of serialized BuildEventArgs records with deduplicated string and name-value-list tables. See the MSBuild repository for the canonical format documentation: https://github.com/dotnet/msbuild/blob/main/documentation/wiki/Binary-Log.md

Re-exports§

pub use context::BuildEventContext;
pub use error::MuninError;
pub use field_flags::BuildEventArgsFieldFlags;
pub use fields::BuildEventArgsFields;
pub use fields::ExtendedDataFields;
pub use header::BinlogHeader;
pub use header::open_binlog;
pub use index::BinlogIndex;
pub use index::EventMeta;
pub use nvl_table::NameValueListTable;
pub use nvl_table::NameValuePair;
pub use primitives::BinlogDateTime;
pub use reader::ArchiveEntry;
pub use reader::BinlogEvent;
pub use reader::BinlogReader;
pub use readers::read_dedup_string;
pub use readers::read_optional_string;
pub use readers::read_string_dictionary;
pub use record_kind::BinaryLogRecordKind;
pub use string_table::StringTable;

Modules§

context
BuildEventContext — seven fields identifying the execution context of a build event (node, project, target, task, submission, project instance, and evaluation).
error
Error types for the munin binlog reader.
events
Typed event structs and reader functions for MSBuild binary log events.
field_flags
Bitflags indicating which fields are present on a serialized BuildEventArgs.
fields
BuildEventArgsFields — the common field block that prefixes every serialized build event.
header
Binlog header reader and GZip decompression setup.
index
Seekable indexed data model over a .binlog file.
jsonlog
Jsonlog — a JSON-based, human-authorable mirror of the binlog format.
nvl_table
Deduplicated name-value list table for binlog reading.
primitives
Low-level binary primitives: 7-bit variable-length integers, .NET-style length-prefixed strings, and other primitive type readers matching the binlog wire format.
reader
Sequential binlog reader — reads a .binlog stream record by record, ingesting auxiliary data (string table, name-value lists, embedded archives) and yielding typed build events.
readers
Higher-level read helpers that compose primitive readers with the string and name-value-list tables.
record_kind
Record kind discriminants for the binary log format.
redact
Redaction of sensitive strings from a BinlogIndex.
string_table
Deduplicated string table for binlog reading.
writers
Writer primitives and per-event encoders mirroring crate::readers and crate::primitives.

Type Aliases§

Result
Alias for Result<T, MuninError>.