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