Cargo Features
[dependencies]
cloudfront-logs = { version = "0.9.0", default-features = false, features = ["alloc", "time", "chrono", "parquet"] }
- default = alloc, chrono, parquet, time
-
for now we enable all features by default;
this might change in the future.
use default-features = false + features = ["..."] to narrow it to your needs - alloc default chrono time
-
when you need owned versions of the structured log data; enabled by default
- time default = alloc
-
use typed variants with time's date and time types
Enables time
Affects
typed::time
,consts::TIME_DATE_FMT
,consts::TIME_TIME_FMT
,typed::time
… - chrono default parquet = alloc
-
use typed variants with chrono's date and time types;
also needed for parquet support as wellEnables chrono
Affects
typed::chrono
,consts::CHRONO_DATE_FMT
,consts::CHRONO_TIME_FMT
,typed::chrono
… - parquet default = chrono
-
provides parquet (record writer) support
Enables parquet ^52.0.0 and parquet_derive ^52.0.0
Affects
borrowed::parquet
,consts::parquet_schemata
,owned::parquet
,referential::parquet
…