cloudfront_logs/borrowed/
mod.rs

1//! Logline types which (mostly) borrow their data from a [`&str`]
2//!
3//! Therefore they are only suitable for cases where the log date is immediately processed/consumed
4//! and the struct can be discarded quickly afterwards.
5
6pub mod raw;
7pub mod simple;
8pub mod typed;
9
10#[cfg(feature = "parquet")]
11pub mod parquet;
12
13pub use raw::{
14    UnvalidatedLogline as UnvalidatedRawLogline, ValidatedLogline as ValidatedRawLogline,
15};
16
17pub use simple::{
18    UnvalidatedLogline as UnvalidatedSimpleLogline, ValidatedLogline as ValidatedSimpleLogline,
19};
20
21#[cfg(feature = "chrono")]
22pub use typed::chrono::{
23    UnvalidatedLogline as UnvalidatedChronoLogline, ValidatedLogline as ValidatedChronoLogline,
24};
25
26#[cfg(feature = "time")]
27pub use typed::time::{
28    UnvalidatedLogline as UnvalidatedTimeLogline, ValidatedLogline as ValidatedTimeLogline,
29};
30
31#[cfg(feature = "parquet")]
32pub use parquet::{
33    UnvalidatedLogline as UnvalidatedParquetLogline, ValidatedLogline as ValidatedParquetLogline,
34};