Crate dbn

source ·
Expand description

A crate for reading DBN and legacy DBZ files and converting them to other Encodings.

Re-exports

Modules

  • Decoding DBN and Zstd-compressed DBN files and streams. Decoders implement the DecodeDbn trait.
  • Encoding DBN and Zstd-compressed DBN files and streams. Encoders implement the EncodeDbn trait.
  • Enums used in Databento APIs.
  • Types for errors that can occur in databento-defs and dependent crates.
  • Contains Metadata struct which comes at the beginning of any DBN file or stream and MetadataBuilder for creating a Metadata with defaults.
  • Market data types for encoding different Databento Schemas and conversion functions.

Constants

  • The current version of the DBN encoding, which is different from the crate version.