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
//! A double entry accounting system/library.
//! 
//! The doublecount package has the following optional cargo features:
//! 
//! # Optional Features
//! 
//! + `serde-support`
//!   + Optional
//!   + Enables support for serialization/de-serialization via `serde`
//!   + Enables support for json serialization/de-serialization via `serde_json`

extern crate chrono;
extern crate nanoid;
extern crate rust_decimal;
extern crate commodity;
extern crate thiserror;

#[cfg(feature = "serde-support")]
extern crate serde;
#[cfg(feature = "serde-support")]
extern crate serde_json;

pub mod accounting;
pub mod exchange_rate;

#[doc(no_inline)] pub use accounting::*;