aboutsummaryrefslogtreecommitdiff
path: root/src/fmt/writer/termcolor/mod.rs
blob: f3e6768cd05103cbdd21c0dbcd743c952550c2f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/*
This internal module contains the style and terminal writing implementation.

Its public API is available when the `termcolor` crate is available.
The terminal printing is shimmed when the `termcolor` crate is not available.
*/

#[cfg_attr(feature = "termcolor", path = "extern_impl.rs")]
#[cfg_attr(not(feature = "termcolor"), path = "shim_impl.rs")]
mod imp;

pub(in crate::fmt) use self::imp::*;