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
//! tdb_core is a financial data storage library
#![deny(missing_docs)]

extern crate libc;
extern crate csv;
extern crate indexmap;
extern crate serde;
extern crate serde_json;
#[macro_use]
extern crate serde_derive;
extern crate uuid;
extern crate byteorder;
#[macro_use]
extern crate bitflags;
extern crate log;
#[macro_use]
extern crate lazy_static;

/// functions for histogram, event analytics
pub mod postprocessing;
/// data structures that describe data storage
pub mod storage;
/// helper functions
pub mod utils;
/// DTF(Dense Tick Format) implmentation
pub mod dtf;

/// Constant prefix during encoding/decoding raw insert command
pub const RAW_INSERT_PREFIX: &'static [u8; 2] = b"ra";