Crate meadows

Source
Expand description

§Meadows

Meadows is an experimental library written in Rust.

§Crate Features

§Logging

Internally, Meadows uses the 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 VariableDescription
CLICOLORSet it to 0 to disable colored output
CLICOLOR_FORCESet it to 1 to enforce colored output. This overrides CLICOLOR
NO_COLORSet it to 1 to disable colored output. This overrides CLICOLOR_FORCE

Modules§

collections
Collections and collection-related utilities.
config
Configuration-related utilities.
env
Environment-related utilities.
io
I/O-related utilities.
macros
Macros.
math
Math module.
prelude
A prelude module for commonly used items.
process
Process-related utilities.
str
String-related utilities.
tracing
Utilities related to the tracing crate.
vec
Utilities related to Vec.

Macros§

process_error
Prints the process invocation name, an error label, and a message to a stream.
process_note
Prints the process invocation name and a message to , a note label, and a message to a stream.
process_warn
Prints the process invocation name, a warning label, and a message to a stream.

Constants§

TEXT_WIDTH
A general formatting hint.
VERSION
The crate version.