blob: d1ae1a9b034d1c9cdbf9fed95833543c29661551 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
use std::collections::BTreeMap;
use chrono::NaiveDate;
pub mod heatmap;
/// The type used for the collection of date/value pairs.
pub type Data = BTreeMap<NaiveDate, f64>;
/// The Error type used within the library.
pub type Error = Box<dyn std::error::Error>;
/// The Result type used within the library.
pub type Result<T> = std::result::Result<T, Error>;
|