Crate thag_rs

Source

Re-exports§

pub use builder::execute;
pub use builder::gen_build_run;
pub use builder::process_expr;
pub use cmd_args::get_args;
pub use cmd_args::get_proc_flags;
pub use cmd_args::validate_args;
pub use cmd_args::Cli;
pub use cmd_args::ProcFlags;
pub use code_utils::create_temp_source_file;
pub use code_utils::disentangle;
pub use code_utils::extract_ast_expr;
pub use code_utils::extract_manifest;
pub use code_utils::modified_since_compiled;
pub use colors::coloring;
pub use colors::Ansi16DarkStyle;
pub use colors::Ansi16LightStyle;
pub use colors::ColorSupport;
pub use colors::Lvl;
pub use colors::MessageLevel;
pub use colors::TermTheme;
pub use colors::Xterm256DarkStyle;
pub use colors::Xterm256LightStyle;
pub use config::load;
pub use config::maybe_config;
pub use config::Colors;
pub use config::Config;
pub use config::Context;
pub use config::Dependencies;
pub use config::FeatureOverride;
pub use config::Logging;
pub use config::Misc;
pub use config::ProcMacros;
pub use errors::ThagError;
pub use errors::ThagResult;
pub use keys::KeyCombination;
pub use logging::get_verbosity;
pub use logging::Verbosity;
pub use logging::V;
pub use shared::debug_timings;
pub use shared::display_timings;
pub use shared::escape_path_for_windows;
pub use shared::Ast;
pub use shared::BuildState;
pub use shared::CrosstermEventReader;
pub use shared::EventReader;
pub use shared::KeyDisplayLine;
pub use shared::MockEventReader;
pub use shared::ScriptState;
pub use termbg;
pub use log;

Modules§

__private
builder
cmd_args
code_utils
colors
config
errors
file_dialog
keys
logging
manifest
repl
shared
stdin
tui_editor

Macros§

cprtln
A line print macro that prints a styled and coloured message.
cvprtln
A line print macro that conditionally prints a message using cprtln if the current global verbosity is at least as verbose as the Verbosity (alias V) level passed in.
debug_log
Control debug logging
generate_styles
A macro to generate mappings from the supported message levels to the initialised terminal theme and colour support level.
key
A macro that calls the private key proc macro to create a KeyCombination from an idiomatic shorthand. Directly borrowed from the crokey crate.
key_mappings
lazy_static_var
regex
repeat_dash
vlog

Constants§

BUILT_IN_CRATES
DYNAMIC_SUBDIR
FLOWER_BOX_LEN
PACKAGE_NAME
REPL_SCRIPT_NAME
REPL_SUBDIR
RS_SUFFIX
TEMP_DIR_NAME
TEMP_SCRIPT_NAME
TOML_NAME
VERSION

Statics§

TMPDIR