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
// Copyright (c) 2016-2017 <daggerbot@gmail.com>
// This software is available under the terms of the zlib license.
// See COPYING.md for more information.

#![cfg_attr(feature = "serde_derive", feature(proc_macro))]

extern crate aurum_numeric as numeric;
#[cfg(feature = "rustc-serialize")]
extern crate rustc_serialize;
#[cfg(feature = "serde")]
extern crate serde;
#[cfg(feature = "serde_derive")]
#[macro_use]
extern crate serde_derive;

mod color;
mod conv;
mod lum;
mod map;
mod rgb;

pub use color::{Black, Transparent, WebColor, White, argb, rgb};
pub use conv::{FromColor, IntoColor};
pub use lum::{Lum, LumAlpha};
pub use map::{Invert, invert};
pub use rgb::{Rgb, Rgba};