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
#![cfg(feature = "summary")]
use crate::{
error::Error,
markers::TryInfoImageList,
protos::{
event::What,
summary::{value::Value as ValueEnum, Audio, Image, Value},
Event, HistogramProto, Summary, TensorProto,
},
writer::{RecordWriter, RecordWriterInit},
};
#[cfg(feature = "async_")]
use futures::io::AsyncWriteExt;
use std::{
convert::TryInto,
fs,
io::Write,
path::{Path, PathBuf, MAIN_SEPARATOR},
string::ToString,
time::SystemTime,
};
mod event;
mod writer;
pub use event::*;
pub use writer::*;