dbn

build license Current Crates.io Version

The official library for working with the Databento Binary Encoding (DBN, formerly DBZ).

Usage

To read a DBN file with MBO data and print each row: ```rust use dbn::{ decode::dbn::Decoder, records::MboMsg, }; use streaming_iterator::StreamingIterator;

let mut dbnstream = Decoder::fromzstdfile("20201228.dbn.zst")?.decodestream::()?; while let Some(mbomsg) = dbnstream.next() { println!("{mbo_msg:?}"); } ```

Documentation

See the docs for more detailed usage.

License

Distributed under the Apache 2.0 License.