Skip to main content

marser_trace_schema/
lib.rs

1//! AI assistance: this file was written with AI assistance. The maintainer reviewed it and did not find errors.
2//!
3//! Types and serde I/O for marser parser trace logs (JSON / JSONL).
4//!
5//! **Experimental:** APIs and serialized trace formats may change between releases;
6//! see the crate README on GitHub for the current stability note.
7
8mod event;
9mod io;
10mod rule;
11mod session;
12mod version;
13
14pub use event::{
15    ExplicitMarkerEndOutcome, NodeTrace, NodeTraceKind, NodeTraceStatus, TraceEventKind,
16    TraceMarkerFailureSnapshot, TraceMarkerPhase,
17};
18pub use io::{TraceFormat, detect_trace_format, load_json, load_jsonl, load_trace_file};
19pub use rule::{RuleIdentity, RuleSourceMetadata, TraceLocation};
20pub use session::TraceSession;
21pub use version::{
22    SCHEMA_VERSION, SUPPORTED_TRACE_VERSION_MAX, SUPPORTED_TRACE_VERSION_MIN,
23    UnsupportedTraceVersion, check_trace_version,
24};