2019-04-11 15:23:14 -07:00
|
|
|
pub(crate) use std::{
|
|
|
|
borrow::Cow,
|
|
|
|
cmp,
|
|
|
|
collections::{BTreeMap, BTreeSet},
|
|
|
|
env,
|
|
|
|
fmt::{self, Display, Formatter},
|
|
|
|
fs, io, iter,
|
|
|
|
ops::{Range, RangeInclusive},
|
|
|
|
path::{Path, PathBuf},
|
|
|
|
process,
|
|
|
|
process::Command,
|
2019-04-15 22:40:02 -07:00
|
|
|
str::Chars,
|
2019-04-11 15:23:14 -07:00
|
|
|
sync::{Mutex, MutexGuard},
|
|
|
|
usize, vec,
|
|
|
|
};
|
2018-03-17 09:17:41 -07:00
|
|
|
|
2019-04-11 15:23:14 -07:00
|
|
|
pub(crate) use edit_distance::edit_distance;
|
|
|
|
pub(crate) use libc::{EXIT_FAILURE, EXIT_SUCCESS};
|
|
|
|
pub(crate) use log::warn;
|
|
|
|
pub(crate) use tempdir::TempDir;
|
|
|
|
pub(crate) use unicode_width::UnicodeWidthChar;
|
2018-03-17 09:17:41 -07:00
|
|
|
|
2019-04-11 15:23:14 -07:00
|
|
|
pub(crate) use crate::{
|
|
|
|
alias::Alias,
|
|
|
|
alias_resolver::AliasResolver,
|
|
|
|
assignment_evaluator::AssignmentEvaluator,
|
|
|
|
assignment_resolver::AssignmentResolver,
|
|
|
|
color::Color,
|
|
|
|
compilation_error::{CompilationError, CompilationErrorKind, CompilationResult},
|
|
|
|
configuration::Configuration,
|
|
|
|
expression::Expression,
|
|
|
|
fragment::Fragment,
|
2019-04-15 22:40:02 -07:00
|
|
|
function::{evaluate_function, resolve_function},
|
|
|
|
function_context::FunctionContext,
|
|
|
|
functions::Functions,
|
|
|
|
interrupt_guard::InterruptGuard,
|
2019-04-11 15:23:14 -07:00
|
|
|
interrupt_handler::InterruptHandler,
|
|
|
|
justfile::Justfile,
|
|
|
|
lexer::Lexer,
|
|
|
|
load_dotenv::load_dotenv,
|
|
|
|
misc::{default, empty},
|
|
|
|
parameter::Parameter,
|
|
|
|
parser::Parser,
|
2019-04-15 22:40:02 -07:00
|
|
|
position::Position,
|
|
|
|
recipe::Recipe,
|
|
|
|
recipe_context::RecipeContext,
|
2019-04-11 15:23:14 -07:00
|
|
|
recipe_resolver::RecipeResolver,
|
|
|
|
runtime_error::{RunResult, RuntimeError},
|
|
|
|
shebang::Shebang,
|
2019-04-15 22:40:02 -07:00
|
|
|
state::State,
|
|
|
|
string_literal::StringLiteral,
|
|
|
|
token::Token,
|
|
|
|
token_kind::TokenKind,
|
|
|
|
use_color::UseColor,
|
|
|
|
variables::Variables,
|
2019-04-11 15:23:14 -07:00
|
|
|
verbosity::Verbosity,
|
|
|
|
};
|
|
|
|
|
|
|
|
#[allow(unused_imports)]
|
|
|
|
pub(crate) use std::io::prelude::*;
|
|
|
|
|
|
|
|
#[allow(unused_imports)]
|
|
|
|
pub(crate) use crate::command_ext::CommandExt;
|
|
|
|
|
|
|
|
#[allow(unused_imports)]
|
|
|
|
pub(crate) use crate::range_ext::RangeExt;
|