1/*
2This internal module contains the style and terminal writing implementation.
3
4Its public API is available when the `termcolor` crate is available.
5The terminal printing is shimmed when the `termcolor` crate is not available.
6*/
7
8#[cfg(feature = "color")]
9mod termcolor;
10#[cfg(feature = "color")]
11pub(in crate::fmt) use self::termcolor::*;
12#[cfg(not(feature = "color"))]
13mod plain;
14#[cfg(not(feature = "color"))]
15pub(in crate::fmt) use plain::*;
16