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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
//! Convenience re-export of Farben's full public API.
//!
//! Importing this module with `use farben::prelude::*` brings every user-facing
//! item into scope: functions, macros, and types; gated by the same feature
//! flags as their definitions.
//!
//! # What is included
//!
//! | Item | Condition |
//! |------|-----------|
//! | [`try_color`], [`strip_ansi`] | always |
//! | [`color`], [`colorb`] | always (function without `compile`; proc-macro with `compile`) |
//! | [`markdown`] | `markdown` or `markdown-compile` feature |
//! | [`LexError`] | always (needed to match on [`try_color`] results) |
//! | [`color_fmt!`], [`cprint!`], [`cprintln!`], [`cprintb!`], [`cprintbln!`] | always |
//! | [`ceprint!`], [`ceprintln!`], [`ceprintb!`], [`ceprintbln!`] | always |
//! | [`ansi_strip!`] | always |
//! | [`md_fmt!`], [`mdprint!`], [`mdprintln!`], [`mdeprint!`], [`mdeprintln!`] | `markdown` or `markdown-compile` feature |
//! | [`style!`], [`prefix!`] | `format` feature |
//! | [`Style`], [`insert_style`], [`set_prefix`] | `format` feature |
//!
//! `color_runtime` and `validate_color` are intentionally excluded — they are
//! public for macro expansion purposes but are not part of the user-facing API.
pub use cratestrip_ansi;
pub use cratetry_color;
pub use crate::;
pub use crate::;
pub use cratemarkdown;
pub use LexError;
pub use crate::;
pub use crate::;
pub use crateansi_strip;
pub use crate::;
pub use crate::;
pub use Style;
pub use crate::;