just/src/lib.rs

139 lines
2.5 KiB
Rust
Raw Normal View History

#![deny(clippy::all, clippy::pedantic, clippy::restriction)]
#![allow(
2020-10-09 15:44:17 -07:00
clippy::blanket_clippy_restriction_lints,
clippy::comparison_chain,
clippy::else_if_without_else,
clippy::enum_glob_use,
clippy::expect_used,
clippy::filter_map,
clippy::if_not_else,
clippy::implicit_return,
clippy::indexing_slicing,
clippy::integer_arithmetic,
clippy::let_underscore_must_use,
clippy::map_unwrap_or,
clippy::match_same_arms,
clippy::missing_docs_in_private_items,
clippy::missing_errors_doc,
clippy::missing_inline_in_public_items,
clippy::needless_pass_by_value,
clippy::non_ascii_literal,
clippy::option_if_let_else,
clippy::panic,
clippy::panic_in_result_fn,
2020-10-09 15:44:17 -07:00
clippy::pattern_type_mismatch,
clippy::print_stdout,
clippy::shadow_unrelated,
clippy::string_add,
clippy::struct_excessive_bools,
clippy::too_many_lines,
clippy::unnecessary_wraps,
clippy::unreachable,
clippy::unwrap_in_result,
clippy::unwrap_used,
clippy::use_debug,
clippy::wildcard_enum_match_arm,
clippy::wildcard_imports
)]
2018-10-13 03:12:35 -07:00
#[macro_use]
extern crate lazy_static;
#[cfg(test)]
#[macro_use]
pub mod testing;
#[cfg(test)]
#[macro_use]
pub mod tree;
#[cfg(test)]
pub mod node;
2018-10-13 03:12:35 -07:00
#[cfg(fuzzing)]
pub(crate) mod fuzzing;
2018-10-13 03:12:35 -07:00
mod alias;
mod analyzer;
mod assignment;
2018-10-13 03:12:35 -07:00
mod assignment_resolver;
mod binding;
2018-10-13 03:12:35 -07:00
mod color;
mod command_ext;
mod common;
mod compilation_error;
mod compilation_error_kind;
mod compiler;
mod config;
mod config_error;
mod count;
mod default;
mod delimiter;
mod dependency;
mod empty;
mod enclosure;
mod error;
mod error_result_ext;
mod evaluator;
2018-10-13 03:12:35 -07:00
mod expression;
mod fragment;
mod function;
mod function_context;
mod interrupt_guard;
2018-10-13 03:12:35 -07:00
mod interrupt_handler;
mod item;
2018-10-13 03:12:35 -07:00
mod justfile;
mod keyed;
mod keyword;
2018-10-13 03:12:35 -07:00
mod lexer;
mod line;
mod list;
2018-10-13 03:12:35 -07:00
mod load_dotenv;
mod load_error;
mod module;
mod name;
2019-04-19 02:17:43 -07:00
mod ordinal;
mod output;
mod output_error;
2018-10-13 03:12:35 -07:00
mod parameter;
mod parameter_kind;
2018-10-13 03:12:35 -07:00
mod parser;
mod platform;
mod platform_interface;
mod position;
mod positional;
2018-10-13 03:12:35 -07:00
mod range_ext;
mod recipe;
mod recipe_context;
2018-10-13 03:12:35 -07:00
mod recipe_resolver;
mod run;
mod runtime_error;
mod scope;
mod search;
mod search_config;
mod search_error;
mod set;
mod setting;
mod settings;
2018-10-13 03:12:35 -07:00
mod shebang;
mod show_whitespace;
mod string_kind;
mod string_literal;
2019-10-07 04:04:39 -07:00
mod subcommand;
mod suggestion;
mod table;
mod thunk;
2018-10-13 03:12:35 -07:00
mod token;
mod token_kind;
mod unresolved_dependency;
mod unresolved_recipe;
mod use_color;
mod variables;
2018-10-13 03:12:35 -07:00
mod verbosity;
mod warning;
2018-10-13 03:12:35 -07:00
pub use crate::run::run;
#[cfg(feature = "summary")]
pub mod summary;