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
// lib.rs
//! # Meadows
//!
//! Meadows is an experimental library written in Rust.
//!
//! ## Crate Features
//!
//! - **`tracing_config`** (disabled by default) - When enabled, the [`crate::tracing::config`] module is
//! available.
//!
//! ## Logging
//!
//! Internally, Meadows uses the [`tracing`](::tracing) crate for logging.
//!
//! ## Colored Terminal Output
//!
//! For styled/colored output, Meadows uses [`anstream::stdout`] and [`anstream::stderr`], which in turn
//! call [`anstream::AutoStream::choice`] to configure the streams. The following envionment variables
//! are read:
//!
//! | Environment Variable | Description
//! | :------------------- | :-----------
//! | `CLICOLOR` | Set it to `0` to disable colored output
//! | `CLICOLOR_FORCE` | Set it to `1` to enforce colored output. This overrides `CLICOLOR`
//! | `NO_COLOR` | Set it to `1` to disable colored output. This overrides `CLICOLOR_FORCE`
// Constants ------------------------------------------------------------------------------------------------
/// A general formatting hint.
///
/// This may be the assumed minimum column width of a terminal or editor, including line breaks. Lines may be
/// wrapped if they exceed `TEXT_WIDTH` - 1 columns.
pub const TEXT_WIDTH: usize = 110;
/// The crate version.
pub const VERSION: &str = env!;
// Modules --------------------------------------------------------------------------------------------------
// EOF