micromegas_perfetto/
lib.rs

1//! Library to write Perfetto traces, part of Micromegas.
2#![allow(missing_docs, clippy::missing_errors_doc)]
3
4/// Protobufs (generated code)
5#[allow(
6    clippy::doc_lazy_continuation,
7    clippy::len_without_is_empty,
8    clippy::large_enum_variant,
9    clippy::doc_overindented_list_items
10)]
11#[cfg(not(feature = "protogen"))]
12pub mod protos {
13    include!("perfetto.protos.rs");
14}
15
16/// Async writer trait
17#[cfg(not(feature = "protogen"))]
18pub mod async_writer;
19
20/// Utility functions
21#[cfg(not(feature = "protogen"))]
22pub mod utils;
23
24/// Streaming Trace Writer
25#[cfg(not(feature = "protogen"))]
26pub mod streaming_writer;
27
28/// Chunk sender for streaming traces
29#[cfg(not(feature = "protogen"))]
30pub mod chunk_sender;