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
30
31
32
/*!
# dimensioned

**dimensioned** is a library for compile time type checking for arbitrary unit systems.

For in depth tutorials, check [here](http://paholg.com/project/dimensioned).
 */
#![doc(html_logo_url = "http://paholg.com/dimensioned/imgs/favicon.png",
       html_favicon_url = "http://paholg.com/dimensioned/imgs/favicon.png",
       html_root_url = "http://paholg.com/dimensioned")]
#![warn(missing_docs)]

#![feature(optin_builtin_traits, zero_one, const_fn)]
#![feature(type_macros)]


extern crate typenum;
extern crate num;

pub use typenum::Same;
pub use typenum::int::Integer;
pub use typenum::consts::{N9, N8, N7, N6, N5, N4, N3, N2, N1, Z0, P1, P2, P3, P4, P5, P6, P7, P8, P9};

pub use dimensioned::*;

#[macro_use]
pub mod dimensioned;
#[macro_use]
mod make_units;

pub mod si;
pub mod cgs;