Expand description
§Meadows
Meadows is an experimental library written in Rust.
§Crate Features
tracing_config
(disabled by default) - When enabled, thecrate::tracing::config
module is available.
§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 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 |
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.